index
int64 | repo_id
string | file_path
string | content
string |
|---|---|---|---|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/ListActivatedAlertsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.v5.arms.model.v20190808.ListActivatedAlertsResponse;
import com.aliyuncs.v5.arms.model.v20190808.ListActivatedAlertsResponse.Page;
import com.aliyuncs.v5.arms.model.v20190808.ListActivatedAlertsResponse.Page.Alert;
import com.aliyuncs.v5.arms.model.v20190808.ListActivatedAlertsResponse.Page.Alert.DispatchRule;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class ListActivatedAlertsResponseUnmarshaller {
public static ListActivatedAlertsResponse unmarshall(ListActivatedAlertsResponse listActivatedAlertsResponse, UnmarshallerContext _ctx) {
listActivatedAlertsResponse.setRequestId(_ctx.stringValue("ListActivatedAlertsResponse.RequestId"));
Page page = new Page();
page.setPage(_ctx.integerValue("ListActivatedAlertsResponse.Page.Page"));
page.setPageSize(_ctx.integerValue("ListActivatedAlertsResponse.Page.PageSize"));
page.setTotal(_ctx.integerValue("ListActivatedAlertsResponse.Page.Total"));
List<Alert> alertsList = new ArrayList<Alert>();
for (int i = 0; i < _ctx.lengthValue("ListActivatedAlertsResponse.Page.Alerts.Length"); i++) {
Alert alert = new Alert();
alert.setAlertName(_ctx.stringValue("ListActivatedAlertsResponse.Page.Alerts["+ i +"].AlertName"));
alert.setAlertType(_ctx.stringValue("ListActivatedAlertsResponse.Page.Alerts["+ i +"].AlertType"));
alert.setCount(_ctx.integerValue("ListActivatedAlertsResponse.Page.Alerts["+ i +"].Count"));
alert.setCreateTime(_ctx.longValue("ListActivatedAlertsResponse.Page.Alerts["+ i +"].CreateTime"));
alert.setEndsAt(_ctx.longValue("ListActivatedAlertsResponse.Page.Alerts["+ i +"].EndsAt"));
alert.setExpandFields(_ctx.stringValue("ListActivatedAlertsResponse.Page.Alerts["+ i +"].ExpandFields"));
alert.setAlertId(_ctx.stringValue("ListActivatedAlertsResponse.Page.Alerts["+ i +"].AlertId"));
alert.setIntegrationName(_ctx.stringValue("ListActivatedAlertsResponse.Page.Alerts["+ i +"].IntegrationName"));
alert.setIntegrationType(_ctx.stringValue("ListActivatedAlertsResponse.Page.Alerts["+ i +"].IntegrationType"));
alert.setInvolvedObjectKind(_ctx.stringValue("ListActivatedAlertsResponse.Page.Alerts["+ i +"].InvolvedObjectKind"));
alert.setInvolvedObjectName(_ctx.stringValue("ListActivatedAlertsResponse.Page.Alerts["+ i +"].InvolvedObjectName"));
alert.setMessage(_ctx.stringValue("ListActivatedAlertsResponse.Page.Alerts["+ i +"].Message"));
alert.setSeverity(_ctx.stringValue("ListActivatedAlertsResponse.Page.Alerts["+ i +"].Severity"));
alert.setStartsAt(_ctx.longValue("ListActivatedAlertsResponse.Page.Alerts["+ i +"].StartsAt"));
alert.setStatus(_ctx.stringValue("ListActivatedAlertsResponse.Page.Alerts["+ i +"].Status"));
List<DispatchRule> dispatchRulesList = new ArrayList<DispatchRule>();
for (int j = 0; j < _ctx.lengthValue("ListActivatedAlertsResponse.Page.Alerts["+ i +"].DispatchRules.Length"); j++) {
DispatchRule dispatchRule = new DispatchRule();
dispatchRule.setRuleName(_ctx.stringValue("ListActivatedAlertsResponse.Page.Alerts["+ i +"].DispatchRules["+ j +"].RuleName"));
dispatchRule.setRuleId(_ctx.integerValue("ListActivatedAlertsResponse.Page.Alerts["+ i +"].DispatchRules["+ j +"].RuleId"));
dispatchRulesList.add(dispatchRule);
}
alert.setDispatchRules(dispatchRulesList);
alertsList.add(alert);
}
page.setAlerts(alertsList);
listActivatedAlertsResponse.setPage(page);
return listActivatedAlertsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/ListClusterFromGrafanaResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.v5.arms.model.v20190808.ListClusterFromGrafanaResponse;
import com.aliyuncs.v5.arms.model.v20190808.ListClusterFromGrafanaResponse.PromCluster;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class ListClusterFromGrafanaResponseUnmarshaller {
public static ListClusterFromGrafanaResponse unmarshall(ListClusterFromGrafanaResponse listClusterFromGrafanaResponse, UnmarshallerContext _ctx) {
listClusterFromGrafanaResponse.setRequestId(_ctx.stringValue("ListClusterFromGrafanaResponse.RequestId"));
List<PromCluster> promClusterListList = new ArrayList<PromCluster>();
for (int i = 0; i < _ctx.lengthValue("ListClusterFromGrafanaResponse.PromClusterList.Length"); i++) {
PromCluster promCluster = new PromCluster();
promCluster.setId(_ctx.longValue("ListClusterFromGrafanaResponse.PromClusterList["+ i +"].Id"));
promCluster.setClusterId(_ctx.stringValue("ListClusterFromGrafanaResponse.PromClusterList["+ i +"].ClusterId"));
promCluster.setClusterName(_ctx.stringValue("ListClusterFromGrafanaResponse.PromClusterList["+ i +"].ClusterName"));
promCluster.setAgentStatus(_ctx.stringValue("ListClusterFromGrafanaResponse.PromClusterList["+ i +"].AgentStatus"));
promCluster.setClusterType(_ctx.stringValue("ListClusterFromGrafanaResponse.PromClusterList["+ i +"].ClusterType"));
promCluster.setControllerId(_ctx.stringValue("ListClusterFromGrafanaResponse.PromClusterList["+ i +"].ControllerId"));
promCluster.setIsControllerInstalled(_ctx.booleanValue("ListClusterFromGrafanaResponse.PromClusterList["+ i +"].IsControllerInstalled"));
promCluster.setUserId(_ctx.stringValue("ListClusterFromGrafanaResponse.PromClusterList["+ i +"].UserId"));
promCluster.setRegionId(_ctx.stringValue("ListClusterFromGrafanaResponse.PromClusterList["+ i +"].RegionId"));
promCluster.setPluginsJsonArray(_ctx.stringValue("ListClusterFromGrafanaResponse.PromClusterList["+ i +"].PluginsJsonArray"));
promCluster.setStateJson(_ctx.stringValue("ListClusterFromGrafanaResponse.PromClusterList["+ i +"].StateJson"));
promCluster.setNodeNum(_ctx.integerValue("ListClusterFromGrafanaResponse.PromClusterList["+ i +"].NodeNum"));
promCluster.setCreateTime(_ctx.longValue("ListClusterFromGrafanaResponse.PromClusterList["+ i +"].CreateTime"));
promCluster.setUpdateTime(_ctx.longValue("ListClusterFromGrafanaResponse.PromClusterList["+ i +"].UpdateTime"));
promCluster.setLastHeartBeatTime(_ctx.longValue("ListClusterFromGrafanaResponse.PromClusterList["+ i +"].LastHeartBeatTime"));
promCluster.setInstallTime(_ctx.longValue("ListClusterFromGrafanaResponse.PromClusterList["+ i +"].InstallTime"));
promCluster.setExtra(_ctx.stringValue("ListClusterFromGrafanaResponse.PromClusterList["+ i +"].Extra"));
promCluster.setOptions(_ctx.stringValue("ListClusterFromGrafanaResponse.PromClusterList["+ i +"].Options"));
promClusterListList.add(promCluster);
}
listClusterFromGrafanaResponse.setPromClusterList(promClusterListList);
return listClusterFromGrafanaResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/ListDashboardsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.v5.arms.model.v20190808.ListDashboardsResponse;
import com.aliyuncs.v5.arms.model.v20190808.ListDashboardsResponse.DashboardVosItem;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class ListDashboardsResponseUnmarshaller {
public static ListDashboardsResponse unmarshall(ListDashboardsResponse listDashboardsResponse, UnmarshallerContext _ctx) {
listDashboardsResponse.setRequestId(_ctx.stringValue("ListDashboardsResponse.RequestId"));
List<DashboardVosItem> dashboardVosList = new ArrayList<DashboardVosItem>();
for (int i = 0; i < _ctx.lengthValue("ListDashboardsResponse.DashboardVos.Length"); i++) {
DashboardVosItem dashboardVosItem = new DashboardVosItem();
dashboardVosItem.setId(_ctx.stringValue("ListDashboardsResponse.DashboardVos["+ i +"].Id"));
dashboardVosItem.setUid(_ctx.stringValue("ListDashboardsResponse.DashboardVos["+ i +"].Uid"));
dashboardVosItem.setTitle(_ctx.stringValue("ListDashboardsResponse.DashboardVos["+ i +"].Title"));
dashboardVosItem.setTime(_ctx.stringValue("ListDashboardsResponse.DashboardVos["+ i +"].Time"));
dashboardVosItem.setUrl(_ctx.stringValue("ListDashboardsResponse.DashboardVos["+ i +"].Url"));
dashboardVosItem.setType(_ctx.stringValue("ListDashboardsResponse.DashboardVos["+ i +"].Type"));
dashboardVosItem.setExporter(_ctx.stringValue("ListDashboardsResponse.DashboardVos["+ i +"].Exporter"));
dashboardVosItem.setIsArmsExporter(_ctx.booleanValue("ListDashboardsResponse.DashboardVos["+ i +"].IsArmsExporter"));
dashboardVosItem.setName(_ctx.stringValue("ListDashboardsResponse.DashboardVos["+ i +"].Name"));
dashboardVosItem.setVersion(_ctx.stringValue("ListDashboardsResponse.DashboardVos["+ i +"].Version"));
dashboardVosItem.setDashboardType(_ctx.stringValue("ListDashboardsResponse.DashboardVos["+ i +"].DashboardType"));
dashboardVosItem.setKind(_ctx.stringValue("ListDashboardsResponse.DashboardVos["+ i +"].Kind"));
dashboardVosItem.setNeedUpdate(_ctx.booleanValue("ListDashboardsResponse.DashboardVos["+ i +"].NeedUpdate"));
dashboardVosItem.setHttpUrl(_ctx.stringValue("ListDashboardsResponse.DashboardVos["+ i +"].HttpUrl"));
dashboardVosItem.setHttpsUrl(_ctx.stringValue("ListDashboardsResponse.DashboardVos["+ i +"].HttpsUrl"));
List<String> tags = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("ListDashboardsResponse.DashboardVos["+ i +"].Tags.Length"); j++) {
tags.add(_ctx.stringValue("ListDashboardsResponse.DashboardVos["+ i +"].Tags["+ j +"]"));
}
dashboardVosItem.setTags(tags);
dashboardVosList.add(dashboardVosItem);
}
listDashboardsResponse.setDashboardVos(dashboardVosList);
return listDashboardsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/ListDispatchRuleResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.v5.arms.model.v20190808.ListDispatchRuleResponse;
import com.aliyuncs.v5.arms.model.v20190808.ListDispatchRuleResponse.DispatchRule;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class ListDispatchRuleResponseUnmarshaller {
public static ListDispatchRuleResponse unmarshall(ListDispatchRuleResponse listDispatchRuleResponse, UnmarshallerContext _ctx) {
listDispatchRuleResponse.setRequestId(_ctx.stringValue("ListDispatchRuleResponse.RequestId"));
List<DispatchRule> dispatchRulesList = new ArrayList<DispatchRule>();
for (int i = 0; i < _ctx.lengthValue("ListDispatchRuleResponse.DispatchRules.Length"); i++) {
DispatchRule dispatchRule = new DispatchRule();
dispatchRule.setRuleId(_ctx.longValue("ListDispatchRuleResponse.DispatchRules["+ i +"].RuleId"));
dispatchRule.setName(_ctx.stringValue("ListDispatchRuleResponse.DispatchRules["+ i +"].Name"));
dispatchRule.setState(_ctx.stringValue("ListDispatchRuleResponse.DispatchRules["+ i +"].State"));
dispatchRulesList.add(dispatchRule);
}
listDispatchRuleResponse.setDispatchRules(dispatchRulesList);
return listDispatchRuleResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/ListPrometheusAlertRulesResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.v5.arms.model.v20190808.ListPrometheusAlertRulesResponse;
import com.aliyuncs.v5.arms.model.v20190808.ListPrometheusAlertRulesResponse.PrometheusAlertRule;
import com.aliyuncs.v5.arms.model.v20190808.ListPrometheusAlertRulesResponse.PrometheusAlertRule.Annotation;
import com.aliyuncs.v5.arms.model.v20190808.ListPrometheusAlertRulesResponse.PrometheusAlertRule.Label;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class ListPrometheusAlertRulesResponseUnmarshaller {
public static ListPrometheusAlertRulesResponse unmarshall(ListPrometheusAlertRulesResponse listPrometheusAlertRulesResponse, UnmarshallerContext _ctx) {
listPrometheusAlertRulesResponse.setRequestId(_ctx.stringValue("ListPrometheusAlertRulesResponse.RequestId"));
List<PrometheusAlertRule> prometheusAlertRulesList = new ArrayList<PrometheusAlertRule>();
for (int i = 0; i < _ctx.lengthValue("ListPrometheusAlertRulesResponse.PrometheusAlertRules.Length"); i++) {
PrometheusAlertRule prometheusAlertRule = new PrometheusAlertRule();
prometheusAlertRule.setAlertId(_ctx.longValue("ListPrometheusAlertRulesResponse.PrometheusAlertRules["+ i +"].AlertId"));
prometheusAlertRule.setAlertName(_ctx.stringValue("ListPrometheusAlertRulesResponse.PrometheusAlertRules["+ i +"].AlertName"));
prometheusAlertRule.setMessage(_ctx.stringValue("ListPrometheusAlertRulesResponse.PrometheusAlertRules["+ i +"].Message"));
prometheusAlertRule.setType(_ctx.stringValue("ListPrometheusAlertRulesResponse.PrometheusAlertRules["+ i +"].Type"));
prometheusAlertRule.setExpression(_ctx.stringValue("ListPrometheusAlertRulesResponse.PrometheusAlertRules["+ i +"].Expression"));
prometheusAlertRule.setDuration(_ctx.stringValue("ListPrometheusAlertRulesResponse.PrometheusAlertRules["+ i +"].Duration"));
prometheusAlertRule.setClusterId(_ctx.stringValue("ListPrometheusAlertRulesResponse.PrometheusAlertRules["+ i +"].ClusterId"));
prometheusAlertRule.setStatus(_ctx.integerValue("ListPrometheusAlertRulesResponse.PrometheusAlertRules["+ i +"].Status"));
prometheusAlertRule.setDispatchRuleId(_ctx.longValue("ListPrometheusAlertRulesResponse.PrometheusAlertRules["+ i +"].DispatchRuleId"));
prometheusAlertRule.setNotifyType(_ctx.stringValue("ListPrometheusAlertRulesResponse.PrometheusAlertRules["+ i +"].NotifyType"));
List<Label> labelsList = new ArrayList<Label>();
for (int j = 0; j < _ctx.lengthValue("ListPrometheusAlertRulesResponse.PrometheusAlertRules["+ i +"].Labels.Length"); j++) {
Label label = new Label();
label.setName(_ctx.stringValue("ListPrometheusAlertRulesResponse.PrometheusAlertRules["+ i +"].Labels["+ j +"].Name"));
label.setValue(_ctx.stringValue("ListPrometheusAlertRulesResponse.PrometheusAlertRules["+ i +"].Labels["+ j +"].Value"));
labelsList.add(label);
}
prometheusAlertRule.setLabels(labelsList);
List<Annotation> annotationsList = new ArrayList<Annotation>();
for (int j = 0; j < _ctx.lengthValue("ListPrometheusAlertRulesResponse.PrometheusAlertRules["+ i +"].Annotations.Length"); j++) {
Annotation annotation = new Annotation();
annotation.setName(_ctx.stringValue("ListPrometheusAlertRulesResponse.PrometheusAlertRules["+ i +"].Annotations["+ j +"].Name"));
annotation.setValue(_ctx.stringValue("ListPrometheusAlertRulesResponse.PrometheusAlertRules["+ i +"].Annotations["+ j +"].Value"));
annotationsList.add(annotation);
}
prometheusAlertRule.setAnnotations(annotationsList);
prometheusAlertRulesList.add(prometheusAlertRule);
}
listPrometheusAlertRulesResponse.setPrometheusAlertRules(prometheusAlertRulesList);
return listPrometheusAlertRulesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/ListPrometheusAlertTemplatesResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.v5.arms.model.v20190808.ListPrometheusAlertTemplatesResponse;
import com.aliyuncs.v5.arms.model.v20190808.ListPrometheusAlertTemplatesResponse.PrometheusAlertTemplate;
import com.aliyuncs.v5.arms.model.v20190808.ListPrometheusAlertTemplatesResponse.PrometheusAlertTemplate.Annotation;
import com.aliyuncs.v5.arms.model.v20190808.ListPrometheusAlertTemplatesResponse.PrometheusAlertTemplate.Label;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class ListPrometheusAlertTemplatesResponseUnmarshaller {
public static ListPrometheusAlertTemplatesResponse unmarshall(ListPrometheusAlertTemplatesResponse listPrometheusAlertTemplatesResponse, UnmarshallerContext _ctx) {
listPrometheusAlertTemplatesResponse.setRequestId(_ctx.stringValue("ListPrometheusAlertTemplatesResponse.RequestId"));
List<PrometheusAlertTemplate> prometheusAlertTemplatesList = new ArrayList<PrometheusAlertTemplate>();
for (int i = 0; i < _ctx.lengthValue("ListPrometheusAlertTemplatesResponse.PrometheusAlertTemplates.Length"); i++) {
PrometheusAlertTemplate prometheusAlertTemplate = new PrometheusAlertTemplate();
prometheusAlertTemplate.setAlertName(_ctx.stringValue("ListPrometheusAlertTemplatesResponse.PrometheusAlertTemplates["+ i +"].AlertName"));
prometheusAlertTemplate.setDescription(_ctx.stringValue("ListPrometheusAlertTemplatesResponse.PrometheusAlertTemplates["+ i +"].Description"));
prometheusAlertTemplate.setType(_ctx.stringValue("ListPrometheusAlertTemplatesResponse.PrometheusAlertTemplates["+ i +"].Type"));
prometheusAlertTemplate.setExpression(_ctx.stringValue("ListPrometheusAlertTemplatesResponse.PrometheusAlertTemplates["+ i +"].Expression"));
prometheusAlertTemplate.setDuration(_ctx.stringValue("ListPrometheusAlertTemplatesResponse.PrometheusAlertTemplates["+ i +"].Duration"));
prometheusAlertTemplate.setVersion(_ctx.stringValue("ListPrometheusAlertTemplatesResponse.PrometheusAlertTemplates["+ i +"].Version"));
List<Label> labelsList = new ArrayList<Label>();
for (int j = 0; j < _ctx.lengthValue("ListPrometheusAlertTemplatesResponse.PrometheusAlertTemplates["+ i +"].Labels.Length"); j++) {
Label label = new Label();
label.setName(_ctx.stringValue("ListPrometheusAlertTemplatesResponse.PrometheusAlertTemplates["+ i +"].Labels["+ j +"].Name"));
label.setValue(_ctx.stringValue("ListPrometheusAlertTemplatesResponse.PrometheusAlertTemplates["+ i +"].Labels["+ j +"].Value"));
labelsList.add(label);
}
prometheusAlertTemplate.setLabels(labelsList);
List<Annotation> annotationsList = new ArrayList<Annotation>();
for (int j = 0; j < _ctx.lengthValue("ListPrometheusAlertTemplatesResponse.PrometheusAlertTemplates["+ i +"].Annotations.Length"); j++) {
Annotation annotation = new Annotation();
annotation.setName(_ctx.stringValue("ListPrometheusAlertTemplatesResponse.PrometheusAlertTemplates["+ i +"].Annotations["+ j +"].Name"));
annotation.setValue(_ctx.stringValue("ListPrometheusAlertTemplatesResponse.PrometheusAlertTemplates["+ i +"].Annotations["+ j +"].Value"));
annotationsList.add(annotation);
}
prometheusAlertTemplate.setAnnotations(annotationsList);
prometheusAlertTemplatesList.add(prometheusAlertTemplate);
}
listPrometheusAlertTemplatesResponse.setPrometheusAlertTemplates(prometheusAlertTemplatesList);
return listPrometheusAlertTemplatesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/ListRetcodeAppsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.v5.arms.model.v20190808.ListRetcodeAppsResponse;
import com.aliyuncs.v5.arms.model.v20190808.ListRetcodeAppsResponse.RetcodeApp;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class ListRetcodeAppsResponseUnmarshaller {
public static ListRetcodeAppsResponse unmarshall(ListRetcodeAppsResponse listRetcodeAppsResponse, UnmarshallerContext _ctx) {
listRetcodeAppsResponse.setRequestId(_ctx.stringValue("ListRetcodeAppsResponse.RequestId"));
List<RetcodeApp> retcodeAppsList = new ArrayList<RetcodeApp>();
for (int i = 0; i < _ctx.lengthValue("ListRetcodeAppsResponse.RetcodeApps.Length"); i++) {
RetcodeApp retcodeApp = new RetcodeApp();
retcodeApp.setAppId(_ctx.longValue("ListRetcodeAppsResponse.RetcodeApps["+ i +"].AppId"));
retcodeApp.setPid(_ctx.stringValue("ListRetcodeAppsResponse.RetcodeApps["+ i +"].Pid"));
retcodeApp.setAppName(_ctx.stringValue("ListRetcodeAppsResponse.RetcodeApps["+ i +"].AppName"));
retcodeApp.setRetcodeAppType(_ctx.stringValue("ListRetcodeAppsResponse.RetcodeApps["+ i +"].RetcodeAppType"));
retcodeAppsList.add(retcodeApp);
}
listRetcodeAppsResponse.setRetcodeApps(retcodeAppsList);
return listRetcodeAppsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/ListScenarioResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.v5.arms.model.v20190808.ListScenarioResponse;
import com.aliyuncs.v5.arms.model.v20190808.ListScenarioResponse.ArmsScenariosItem;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class ListScenarioResponseUnmarshaller {
public static ListScenarioResponse unmarshall(ListScenarioResponse listScenarioResponse, UnmarshallerContext _ctx) {
listScenarioResponse.setRequestId(_ctx.stringValue("ListScenarioResponse.RequestId"));
List<ArmsScenariosItem> armsScenariosList = new ArrayList<ArmsScenariosItem>();
for (int i = 0; i < _ctx.lengthValue("ListScenarioResponse.ArmsScenarios.Length"); i++) {
ArmsScenariosItem armsScenariosItem = new ArmsScenariosItem();
armsScenariosItem.setId(_ctx.longValue("ListScenarioResponse.ArmsScenarios["+ i +"].Id"));
armsScenariosItem.setCreateTime(_ctx.stringValue("ListScenarioResponse.ArmsScenarios["+ i +"].CreateTime"));
armsScenariosItem.setUpdateTime(_ctx.stringValue("ListScenarioResponse.ArmsScenarios["+ i +"].UpdateTime"));
armsScenariosItem.setName(_ctx.stringValue("ListScenarioResponse.ArmsScenarios["+ i +"].Name"));
armsScenariosItem.setSign(_ctx.stringValue("ListScenarioResponse.ArmsScenarios["+ i +"].Sign"));
armsScenariosItem.setUserId(_ctx.stringValue("ListScenarioResponse.ArmsScenarios["+ i +"].UserId"));
armsScenariosItem.setRegionId(_ctx.stringValue("ListScenarioResponse.ArmsScenarios["+ i +"].RegionId"));
armsScenariosItem.setAppId(_ctx.stringValue("ListScenarioResponse.ArmsScenarios["+ i +"].AppId"));
armsScenariosItem.setExtensions(_ctx.stringValue("ListScenarioResponse.ArmsScenarios["+ i +"].Extensions"));
armsScenariosList.add(armsScenariosItem);
}
listScenarioResponse.setArmsScenarios(armsScenariosList);
return listScenarioResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/ListTraceAppsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.v5.arms.model.v20190808.ListTraceAppsResponse;
import com.aliyuncs.v5.arms.model.v20190808.ListTraceAppsResponse.TraceApp;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class ListTraceAppsResponseUnmarshaller {
public static ListTraceAppsResponse unmarshall(ListTraceAppsResponse listTraceAppsResponse, UnmarshallerContext _ctx) {
listTraceAppsResponse.setRequestId(_ctx.stringValue("ListTraceAppsResponse.RequestId"));
listTraceAppsResponse.setSuccess(_ctx.booleanValue("ListTraceAppsResponse.Success"));
listTraceAppsResponse.setCode(_ctx.integerValue("ListTraceAppsResponse.Code"));
listTraceAppsResponse.setMessage(_ctx.stringValue("ListTraceAppsResponse.Message"));
List<TraceApp> traceAppsList = new ArrayList<TraceApp>();
for (int i = 0; i < _ctx.lengthValue("ListTraceAppsResponse.TraceApps.Length"); i++) {
TraceApp traceApp = new TraceApp();
traceApp.setAppId(_ctx.longValue("ListTraceAppsResponse.TraceApps["+ i +"].AppId"));
traceApp.setPid(_ctx.stringValue("ListTraceAppsResponse.TraceApps["+ i +"].Pid"));
traceApp.setAppName(_ctx.stringValue("ListTraceAppsResponse.TraceApps["+ i +"].AppName"));
traceApp.setType(_ctx.stringValue("ListTraceAppsResponse.TraceApps["+ i +"].Type"));
traceApp.setUserId(_ctx.stringValue("ListTraceAppsResponse.TraceApps["+ i +"].UserId"));
traceApp.setCreateTime(_ctx.longValue("ListTraceAppsResponse.TraceApps["+ i +"].CreateTime"));
traceApp.setUpdateTime(_ctx.longValue("ListTraceAppsResponse.TraceApps["+ i +"].UpdateTime"));
traceApp.setRegionId(_ctx.stringValue("ListTraceAppsResponse.TraceApps["+ i +"].RegionId"));
traceApp.setShow(_ctx.booleanValue("ListTraceAppsResponse.TraceApps["+ i +"].Show"));
List<String> labels = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("ListTraceAppsResponse.TraceApps["+ i +"].Labels.Length"); j++) {
labels.add(_ctx.stringValue("ListTraceAppsResponse.TraceApps["+ i +"].Labels["+ j +"]"));
}
traceApp.setLabels(labels);
traceAppsList.add(traceApp);
}
listTraceAppsResponse.setTraceApps(traceAppsList);
return listTraceAppsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/OpenArmsDefaultSLRResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import com.aliyuncs.v5.arms.model.v20190808.OpenArmsDefaultSLRResponse;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class OpenArmsDefaultSLRResponseUnmarshaller {
public static OpenArmsDefaultSLRResponse unmarshall(OpenArmsDefaultSLRResponse openArmsDefaultSLRResponse, UnmarshallerContext _ctx) {
openArmsDefaultSLRResponse.setRequestId(_ctx.stringValue("OpenArmsDefaultSLRResponse.RequestId"));
openArmsDefaultSLRResponse.setData(_ctx.stringValue("OpenArmsDefaultSLRResponse.Data"));
return openArmsDefaultSLRResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/OpenArmsServiceSecondVersionResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import com.aliyuncs.v5.arms.model.v20190808.OpenArmsServiceSecondVersionResponse;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class OpenArmsServiceSecondVersionResponseUnmarshaller {
public static OpenArmsServiceSecondVersionResponse unmarshall(OpenArmsServiceSecondVersionResponse openArmsServiceSecondVersionResponse, UnmarshallerContext _ctx) {
openArmsServiceSecondVersionResponse.setRequestId(_ctx.stringValue("OpenArmsServiceSecondVersionResponse.RequestId"));
openArmsServiceSecondVersionResponse.setOrderId(_ctx.stringValue("OpenArmsServiceSecondVersionResponse.OrderId"));
return openArmsServiceSecondVersionResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/OpenXtraceDefaultSLRResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import com.aliyuncs.v5.arms.model.v20190808.OpenXtraceDefaultSLRResponse;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class OpenXtraceDefaultSLRResponseUnmarshaller {
public static OpenXtraceDefaultSLRResponse unmarshall(OpenXtraceDefaultSLRResponse openXtraceDefaultSLRResponse, UnmarshallerContext _ctx) {
openXtraceDefaultSLRResponse.setRequestId(_ctx.stringValue("OpenXtraceDefaultSLRResponse.RequestId"));
openXtraceDefaultSLRResponse.setData(_ctx.stringValue("OpenXtraceDefaultSLRResponse.Data"));
return openXtraceDefaultSLRResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/QueryDatasetResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import com.aliyuncs.v5.arms.model.v20190808.QueryDatasetResponse;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class QueryDatasetResponseUnmarshaller {
public static QueryDatasetResponse unmarshall(QueryDatasetResponse queryDatasetResponse, UnmarshallerContext _ctx) {
queryDatasetResponse.setRequestId(_ctx.stringValue("QueryDatasetResponse.RequestId"));
queryDatasetResponse.setData(_ctx.stringValue("QueryDatasetResponse.Data"));
return queryDatasetResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/QueryMetricByPageResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.v5.arms.model.v20190808.QueryMetricByPageResponse;
import com.aliyuncs.v5.arms.model.v20190808.QueryMetricByPageResponse.Data;
import java.util.Map;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class QueryMetricByPageResponseUnmarshaller {
public static QueryMetricByPageResponse unmarshall(QueryMetricByPageResponse queryMetricByPageResponse, UnmarshallerContext _ctx) {
queryMetricByPageResponse.setRequestId(_ctx.stringValue("QueryMetricByPageResponse.RequestId"));
queryMetricByPageResponse.setCode(_ctx.stringValue("QueryMetricByPageResponse.Code"));
queryMetricByPageResponse.setSuccess(_ctx.booleanValue("QueryMetricByPageResponse.Success"));
queryMetricByPageResponse.setMessage(_ctx.stringValue("QueryMetricByPageResponse.Message"));
Data data = new Data();
data.setTotal(_ctx.integerValue("QueryMetricByPageResponse.Data.Total"));
data.setPage(_ctx.integerValue("QueryMetricByPageResponse.Data.Page"));
data.setPageSize(_ctx.integerValue("QueryMetricByPageResponse.Data.PageSize"));
List<Map<Object, Object>> items = _ctx.listMapValue("QueryMetricByPageResponse.Data.Items");
data.setItems(items);
queryMetricByPageResponse.setData(data);
return queryMetricByPageResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/SaveTraceAppConfigResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import com.aliyuncs.v5.arms.model.v20190808.SaveTraceAppConfigResponse;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class SaveTraceAppConfigResponseUnmarshaller {
public static SaveTraceAppConfigResponse unmarshall(SaveTraceAppConfigResponse saveTraceAppConfigResponse, UnmarshallerContext _ctx) {
saveTraceAppConfigResponse.setRequestId(_ctx.stringValue("SaveTraceAppConfigResponse.RequestId"));
saveTraceAppConfigResponse.setData(_ctx.stringValue("SaveTraceAppConfigResponse.Data"));
return saveTraceAppConfigResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/SearchAlertContactGroupResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.v5.arms.model.v20190808.SearchAlertContactGroupResponse;
import com.aliyuncs.v5.arms.model.v20190808.SearchAlertContactGroupResponse.ContactGroup;
import com.aliyuncs.v5.arms.model.v20190808.SearchAlertContactGroupResponse.ContactGroup.Contact;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class SearchAlertContactGroupResponseUnmarshaller {
public static SearchAlertContactGroupResponse unmarshall(SearchAlertContactGroupResponse searchAlertContactGroupResponse, UnmarshallerContext _ctx) {
searchAlertContactGroupResponse.setRequestId(_ctx.stringValue("SearchAlertContactGroupResponse.RequestId"));
List<ContactGroup> contactGroupsList = new ArrayList<ContactGroup>();
for (int i = 0; i < _ctx.lengthValue("SearchAlertContactGroupResponse.ContactGroups.Length"); i++) {
ContactGroup contactGroup = new ContactGroup();
contactGroup.setContactGroupId(_ctx.longValue("SearchAlertContactGroupResponse.ContactGroups["+ i +"].ContactGroupId"));
contactGroup.setContactGroupName(_ctx.stringValue("SearchAlertContactGroupResponse.ContactGroups["+ i +"].ContactGroupName"));
contactGroup.setUserId(_ctx.stringValue("SearchAlertContactGroupResponse.ContactGroups["+ i +"].UserId"));
contactGroup.setCreateTime(_ctx.longValue("SearchAlertContactGroupResponse.ContactGroups["+ i +"].CreateTime"));
contactGroup.setUpdateTime(_ctx.longValue("SearchAlertContactGroupResponse.ContactGroups["+ i +"].UpdateTime"));
List<Contact> contactsList = new ArrayList<Contact>();
for (int j = 0; j < _ctx.lengthValue("SearchAlertContactGroupResponse.ContactGroups["+ i +"].Contacts.Length"); j++) {
Contact contact = new Contact();
contact.setContactId(_ctx.longValue("SearchAlertContactGroupResponse.ContactGroups["+ i +"].Contacts["+ j +"].ContactId"));
contact.setContactName(_ctx.stringValue("SearchAlertContactGroupResponse.ContactGroups["+ i +"].Contacts["+ j +"].ContactName"));
contact.setPhone(_ctx.stringValue("SearchAlertContactGroupResponse.ContactGroups["+ i +"].Contacts["+ j +"].Phone"));
contact.setEmail(_ctx.stringValue("SearchAlertContactGroupResponse.ContactGroups["+ i +"].Contacts["+ j +"].Email"));
contact.setUserId(_ctx.stringValue("SearchAlertContactGroupResponse.ContactGroups["+ i +"].Contacts["+ j +"].UserId"));
contact.setDingRobot(_ctx.stringValue("SearchAlertContactGroupResponse.ContactGroups["+ i +"].Contacts["+ j +"].DingRobot"));
contact.setCreateTime(_ctx.longValue("SearchAlertContactGroupResponse.ContactGroups["+ i +"].Contacts["+ j +"].CreateTime"));
contact.setUpdateTime(_ctx.longValue("SearchAlertContactGroupResponse.ContactGroups["+ i +"].Contacts["+ j +"].UpdateTime"));
contact.setSystemNoc(_ctx.booleanValue("SearchAlertContactGroupResponse.ContactGroups["+ i +"].Contacts["+ j +"].SystemNoc"));
contactsList.add(contact);
}
contactGroup.setContacts(contactsList);
contactGroupsList.add(contactGroup);
}
searchAlertContactGroupResponse.setContactGroups(contactGroupsList);
return searchAlertContactGroupResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/SearchAlertContactResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.v5.arms.model.v20190808.SearchAlertContactResponse;
import com.aliyuncs.v5.arms.model.v20190808.SearchAlertContactResponse.PageBean;
import com.aliyuncs.v5.arms.model.v20190808.SearchAlertContactResponse.PageBean.Contact;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class SearchAlertContactResponseUnmarshaller {
public static SearchAlertContactResponse unmarshall(SearchAlertContactResponse searchAlertContactResponse, UnmarshallerContext _ctx) {
searchAlertContactResponse.setRequestId(_ctx.stringValue("SearchAlertContactResponse.RequestId"));
PageBean pageBean = new PageBean();
pageBean.setTotalCount(_ctx.integerValue("SearchAlertContactResponse.PageBean.TotalCount"));
pageBean.setPageNumber(_ctx.integerValue("SearchAlertContactResponse.PageBean.PageNumber"));
pageBean.setPageSize(_ctx.integerValue("SearchAlertContactResponse.PageBean.PageSize"));
List<Contact> contactsList = new ArrayList<Contact>();
for (int i = 0; i < _ctx.lengthValue("SearchAlertContactResponse.PageBean.Contacts.Length"); i++) {
Contact contact = new Contact();
contact.setContactId(_ctx.longValue("SearchAlertContactResponse.PageBean.Contacts["+ i +"].ContactId"));
contact.setContactName(_ctx.stringValue("SearchAlertContactResponse.PageBean.Contacts["+ i +"].ContactName"));
contact.setPhone(_ctx.stringValue("SearchAlertContactResponse.PageBean.Contacts["+ i +"].Phone"));
contact.setEmail(_ctx.stringValue("SearchAlertContactResponse.PageBean.Contacts["+ i +"].Email"));
contact.setUserId(_ctx.stringValue("SearchAlertContactResponse.PageBean.Contacts["+ i +"].UserId"));
contact.setDingRobot(_ctx.stringValue("SearchAlertContactResponse.PageBean.Contacts["+ i +"].DingRobot"));
contact.setCreateTime(_ctx.longValue("SearchAlertContactResponse.PageBean.Contacts["+ i +"].CreateTime"));
contact.setUpdateTime(_ctx.longValue("SearchAlertContactResponse.PageBean.Contacts["+ i +"].UpdateTime"));
contact.setSystemNoc(_ctx.booleanValue("SearchAlertContactResponse.PageBean.Contacts["+ i +"].SystemNoc"));
contact.setWebhook(_ctx.stringValue("SearchAlertContactResponse.PageBean.Contacts["+ i +"].Webhook"));
contact.setContent(_ctx.stringValue("SearchAlertContactResponse.PageBean.Contacts["+ i +"].Content"));
contactsList.add(contact);
}
pageBean.setContacts(contactsList);
searchAlertContactResponse.setPageBean(pageBean);
return searchAlertContactResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/SearchAlertHistoriesResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.v5.arms.model.v20190808.SearchAlertHistoriesResponse;
import com.aliyuncs.v5.arms.model.v20190808.SearchAlertHistoriesResponse.PageBean;
import com.aliyuncs.v5.arms.model.v20190808.SearchAlertHistoriesResponse.PageBean.AlarmHistory;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class SearchAlertHistoriesResponseUnmarshaller {
public static SearchAlertHistoriesResponse unmarshall(SearchAlertHistoriesResponse searchAlertHistoriesResponse, UnmarshallerContext _ctx) {
searchAlertHistoriesResponse.setRequestId(_ctx.stringValue("SearchAlertHistoriesResponse.RequestId"));
PageBean pageBean = new PageBean();
pageBean.setTotalCount(_ctx.integerValue("SearchAlertHistoriesResponse.PageBean.TotalCount"));
pageBean.setPageNumber(_ctx.integerValue("SearchAlertHistoriesResponse.PageBean.PageNumber"));
pageBean.setPageSize(_ctx.integerValue("SearchAlertHistoriesResponse.PageBean.PageSize"));
List<AlarmHistory> alarmHistoriesList = new ArrayList<AlarmHistory>();
for (int i = 0; i < _ctx.lengthValue("SearchAlertHistoriesResponse.PageBean.AlarmHistories.Length"); i++) {
AlarmHistory alarmHistory = new AlarmHistory();
alarmHistory.setId(_ctx.longValue("SearchAlertHistoriesResponse.PageBean.AlarmHistories["+ i +"].Id"));
alarmHistory.setStrategyId(_ctx.stringValue("SearchAlertHistoriesResponse.PageBean.AlarmHistories["+ i +"].StrategyId"));
alarmHistory.setUserId(_ctx.stringValue("SearchAlertHistoriesResponse.PageBean.AlarmHistories["+ i +"].UserId"));
alarmHistory.setTarget(_ctx.stringValue("SearchAlertHistoriesResponse.PageBean.AlarmHistories["+ i +"].Target"));
alarmHistory.setPhones(_ctx.stringValue("SearchAlertHistoriesResponse.PageBean.AlarmHistories["+ i +"].Phones"));
alarmHistory.setEmails(_ctx.stringValue("SearchAlertHistoriesResponse.PageBean.AlarmHistories["+ i +"].Emails"));
alarmHistory.setAlarmTime(_ctx.longValue("SearchAlertHistoriesResponse.PageBean.AlarmHistories["+ i +"].AlarmTime"));
alarmHistory.setAlarmType(_ctx.integerValue("SearchAlertHistoriesResponse.PageBean.AlarmHistories["+ i +"].AlarmType"));
alarmHistory.setAlarmResponseCode(_ctx.integerValue("SearchAlertHistoriesResponse.PageBean.AlarmHistories["+ i +"].AlarmResponseCode"));
alarmHistory.setAlarmContent(_ctx.stringValue("SearchAlertHistoriesResponse.PageBean.AlarmHistories["+ i +"].AlarmContent"));
alarmHistory.setAlarmSources(_ctx.stringValue("SearchAlertHistoriesResponse.PageBean.AlarmHistories["+ i +"].AlarmSources"));
alarmHistoriesList.add(alarmHistory);
}
pageBean.setAlarmHistories(alarmHistoriesList);
searchAlertHistoriesResponse.setPageBean(pageBean);
return searchAlertHistoriesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/SearchAlertRulesResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.v5.arms.model.v20190808.SearchAlertRulesResponse;
import com.aliyuncs.v5.arms.model.v20190808.SearchAlertRulesResponse.PageBean;
import com.aliyuncs.v5.arms.model.v20190808.SearchAlertRulesResponse.PageBean.AlertRuleEntity;
import com.aliyuncs.v5.arms.model.v20190808.SearchAlertRulesResponse.PageBean.AlertRuleEntity.AlarmContext;
import com.aliyuncs.v5.arms.model.v20190808.SearchAlertRulesResponse.PageBean.AlertRuleEntity.AlertRule;
import com.aliyuncs.v5.arms.model.v20190808.SearchAlertRulesResponse.PageBean.AlertRuleEntity.AlertRule.Rule;
import com.aliyuncs.v5.arms.model.v20190808.SearchAlertRulesResponse.PageBean.AlertRuleEntity.MetricParam;
import com.aliyuncs.v5.arms.model.v20190808.SearchAlertRulesResponse.PageBean.AlertRuleEntity.MetricParam.Dimension;
import com.aliyuncs.v5.arms.model.v20190808.SearchAlertRulesResponse.PageBean.AlertRuleEntity.Notice;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class SearchAlertRulesResponseUnmarshaller {
public static SearchAlertRulesResponse unmarshall(SearchAlertRulesResponse searchAlertRulesResponse, UnmarshallerContext _ctx) {
searchAlertRulesResponse.setRequestId(_ctx.stringValue("SearchAlertRulesResponse.RequestId"));
PageBean pageBean = new PageBean();
pageBean.setTotalCount(_ctx.integerValue("SearchAlertRulesResponse.PageBean.TotalCount"));
pageBean.setPageNumber(_ctx.integerValue("SearchAlertRulesResponse.PageBean.PageNumber"));
pageBean.setPageSize(_ctx.integerValue("SearchAlertRulesResponse.PageBean.PageSize"));
List<AlertRuleEntity> alertRulesList = new ArrayList<AlertRuleEntity>();
for (int i = 0; i < _ctx.lengthValue("SearchAlertRulesResponse.PageBean.AlertRules.Length"); i++) {
AlertRuleEntity alertRuleEntity = new AlertRuleEntity();
alertRuleEntity.setAlertTitle(_ctx.stringValue("SearchAlertRulesResponse.PageBean.AlertRules["+ i +"].AlertTitle"));
alertRuleEntity.setAlertLevel(_ctx.stringValue("SearchAlertRulesResponse.PageBean.AlertRules["+ i +"].AlertLevel"));
alertRuleEntity.setAlertType(_ctx.integerValue("SearchAlertRulesResponse.PageBean.AlertRules["+ i +"].AlertType"));
alertRuleEntity.setAlertVersion(_ctx.integerValue("SearchAlertRulesResponse.PageBean.AlertRules["+ i +"].AlertVersion"));
alertRuleEntity.setConfig(_ctx.stringValue("SearchAlertRulesResponse.PageBean.AlertRules["+ i +"].Config"));
alertRuleEntity.setContactGroupIdList(_ctx.stringValue("SearchAlertRulesResponse.PageBean.AlertRules["+ i +"].ContactGroupIdList"));
alertRuleEntity.setCreateTime(_ctx.longValue("SearchAlertRulesResponse.PageBean.AlertRules["+ i +"].CreateTime"));
alertRuleEntity.setId(_ctx.longValue("SearchAlertRulesResponse.PageBean.AlertRules["+ i +"].Id"));
alertRuleEntity.setRegionId(_ctx.stringValue("SearchAlertRulesResponse.PageBean.AlertRules["+ i +"].RegionId"));
alertRuleEntity.setStatus(_ctx.stringValue("SearchAlertRulesResponse.PageBean.AlertRules["+ i +"].Status"));
alertRuleEntity.setTaskId(_ctx.longValue("SearchAlertRulesResponse.PageBean.AlertRules["+ i +"].TaskId"));
alertRuleEntity.setTaskStatus(_ctx.stringValue("SearchAlertRulesResponse.PageBean.AlertRules["+ i +"].TaskStatus"));
alertRuleEntity.setUpdateTime(_ctx.longValue("SearchAlertRulesResponse.PageBean.AlertRules["+ i +"].UpdateTime"));
alertRuleEntity.setUserId(_ctx.stringValue("SearchAlertRulesResponse.PageBean.AlertRules["+ i +"].UserId"));
alertRuleEntity.setTitle(_ctx.stringValue("SearchAlertRulesResponse.PageBean.AlertRules["+ i +"].Title"));
alertRuleEntity.setContactGroupIds(_ctx.stringValue("SearchAlertRulesResponse.PageBean.AlertRules["+ i +"].ContactGroupIds"));
alertRuleEntity.setHostByAlertManager(_ctx.booleanValue("SearchAlertRulesResponse.PageBean.AlertRules["+ i +"].HostByAlertManager"));
List<String> alertWays = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("SearchAlertRulesResponse.PageBean.AlertRules["+ i +"].AlertWays.Length"); j++) {
alertWays.add(_ctx.stringValue("SearchAlertRulesResponse.PageBean.AlertRules["+ i +"].AlertWays["+ j +"]"));
}
alertRuleEntity.setAlertWays(alertWays);
List<String> alertWay = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("SearchAlertRulesResponse.PageBean.AlertRules["+ i +"].AlertWay.Length"); j++) {
alertWay.add(_ctx.stringValue("SearchAlertRulesResponse.PageBean.AlertRules["+ i +"].AlertWay["+ j +"]"));
}
alertRuleEntity.setAlertWay(alertWay);
AlarmContext alarmContext = new AlarmContext();
alarmContext.setAlarmContentTemplate(_ctx.stringValue("SearchAlertRulesResponse.PageBean.AlertRules["+ i +"].AlarmContext.AlarmContentTemplate"));
alarmContext.setAlarmContentSubTitle(_ctx.stringValue("SearchAlertRulesResponse.PageBean.AlertRules["+ i +"].AlarmContext.AlarmContentSubTitle"));
alarmContext.setContent(_ctx.stringValue("SearchAlertRulesResponse.PageBean.AlertRules["+ i +"].AlarmContext.Content"));
alarmContext.setSubTitle(_ctx.stringValue("SearchAlertRulesResponse.PageBean.AlertRules["+ i +"].AlarmContext.SubTitle"));
alertRuleEntity.setAlarmContext(alarmContext);
AlertRule alertRule = new AlertRule();
alertRule.setOperator(_ctx.stringValue("SearchAlertRulesResponse.PageBean.AlertRules["+ i +"].AlertRule.Operator"));
List<Rule> rulesList = new ArrayList<Rule>();
for (int j = 0; j < _ctx.lengthValue("SearchAlertRulesResponse.PageBean.AlertRules["+ i +"].AlertRule.Rules.Length"); j++) {
Rule rule = new Rule();
rule.setAggregates(_ctx.stringValue("SearchAlertRulesResponse.PageBean.AlertRules["+ i +"].AlertRule.Rules["+ j +"].Aggregates"));
rule.setAlias(_ctx.stringValue("SearchAlertRulesResponse.PageBean.AlertRules["+ i +"].AlertRule.Rules["+ j +"].Alias"));
rule.setMeasure(_ctx.stringValue("SearchAlertRulesResponse.PageBean.AlertRules["+ i +"].AlertRule.Rules["+ j +"].Measure"));
rule.setNValue(_ctx.integerValue("SearchAlertRulesResponse.PageBean.AlertRules["+ i +"].AlertRule.Rules["+ j +"].NValue"));
rule.setOperator(_ctx.stringValue("SearchAlertRulesResponse.PageBean.AlertRules["+ i +"].AlertRule.Rules["+ j +"].Operator"));
rule.setValue(_ctx.floatValue("SearchAlertRulesResponse.PageBean.AlertRules["+ i +"].AlertRule.Rules["+ j +"].Value"));
rulesList.add(rule);
}
alertRule.setRules(rulesList);
alertRuleEntity.setAlertRule(alertRule);
MetricParam metricParam = new MetricParam();
metricParam.setAppGroupId(_ctx.stringValue("SearchAlertRulesResponse.PageBean.AlertRules["+ i +"].MetricParam.AppGroupId"));
metricParam.setAppId(_ctx.stringValue("SearchAlertRulesResponse.PageBean.AlertRules["+ i +"].MetricParam.AppId"));
metricParam.setPid(_ctx.stringValue("SearchAlertRulesResponse.PageBean.AlertRules["+ i +"].MetricParam.Pid"));
metricParam.setType(_ctx.stringValue("SearchAlertRulesResponse.PageBean.AlertRules["+ i +"].MetricParam.Type"));
List<Dimension> dimensionsList = new ArrayList<Dimension>();
for (int j = 0; j < _ctx.lengthValue("SearchAlertRulesResponse.PageBean.AlertRules["+ i +"].MetricParam.Dimensions.Length"); j++) {
Dimension dimension = new Dimension();
dimension.setKey(_ctx.stringValue("SearchAlertRulesResponse.PageBean.AlertRules["+ i +"].MetricParam.Dimensions["+ j +"].Key"));
dimension.setType(_ctx.stringValue("SearchAlertRulesResponse.PageBean.AlertRules["+ i +"].MetricParam.Dimensions["+ j +"].Type"));
dimension.setValue(_ctx.stringValue("SearchAlertRulesResponse.PageBean.AlertRules["+ i +"].MetricParam.Dimensions["+ j +"].Value"));
dimensionsList.add(dimension);
}
metricParam.setDimensions(dimensionsList);
alertRuleEntity.setMetricParam(metricParam);
Notice notice = new Notice();
notice.setEndTime(_ctx.longValue("SearchAlertRulesResponse.PageBean.AlertRules["+ i +"].Notice.EndTime"));
notice.setNoticeEndTime(_ctx.longValue("SearchAlertRulesResponse.PageBean.AlertRules["+ i +"].Notice.NoticeEndTime"));
notice.setNoticeStartTime(_ctx.longValue("SearchAlertRulesResponse.PageBean.AlertRules["+ i +"].Notice.NoticeStartTime"));
notice.setStartTime(_ctx.longValue("SearchAlertRulesResponse.PageBean.AlertRules["+ i +"].Notice.StartTime"));
alertRuleEntity.setNotice(notice);
alertRulesList.add(alertRuleEntity);
}
pageBean.setAlertRules(alertRulesList);
searchAlertRulesResponse.setPageBean(pageBean);
return searchAlertRulesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/SearchEventsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.v5.arms.model.v20190808.SearchEventsResponse;
import com.aliyuncs.v5.arms.model.v20190808.SearchEventsResponse.PageBean;
import com.aliyuncs.v5.arms.model.v20190808.SearchEventsResponse.PageBean.EventItem;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class SearchEventsResponseUnmarshaller {
public static SearchEventsResponse unmarshall(SearchEventsResponse searchEventsResponse, UnmarshallerContext _ctx) {
searchEventsResponse.setRequestId(_ctx.stringValue("SearchEventsResponse.RequestId"));
searchEventsResponse.setIsTrigger(_ctx.integerValue("SearchEventsResponse.IsTrigger"));
PageBean pageBean = new PageBean();
pageBean.setTotalCount(_ctx.integerValue("SearchEventsResponse.PageBean.TotalCount"));
pageBean.setPageNumber(_ctx.integerValue("SearchEventsResponse.PageBean.PageNumber"));
pageBean.setPageSize(_ctx.integerValue("SearchEventsResponse.PageBean.PageSize"));
List<EventItem> eventList = new ArrayList<EventItem>();
for (int i = 0; i < _ctx.lengthValue("SearchEventsResponse.PageBean.Event.Length"); i++) {
EventItem eventItem = new EventItem();
eventItem.setId(_ctx.longValue("SearchEventsResponse.PageBean.Event["+ i +"].Id"));
eventItem.setEventTime(_ctx.longValue("SearchEventsResponse.PageBean.Event["+ i +"].EventTime"));
eventItem.setAlertType(_ctx.integerValue("SearchEventsResponse.PageBean.Event["+ i +"].AlertType"));
eventItem.setEventLevel(_ctx.stringValue("SearchEventsResponse.PageBean.Event["+ i +"].EventLevel"));
eventItem.setMessage(_ctx.stringValue("SearchEventsResponse.PageBean.Event["+ i +"].Message"));
eventItem.setAlertId(_ctx.longValue("SearchEventsResponse.PageBean.Event["+ i +"].AlertId"));
eventItem.setAlertName(_ctx.stringValue("SearchEventsResponse.PageBean.Event["+ i +"].AlertName"));
eventItem.setAlertRule(_ctx.stringValue("SearchEventsResponse.PageBean.Event["+ i +"].AlertRule"));
List<String> links = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("SearchEventsResponse.PageBean.Event["+ i +"].Links.Length"); j++) {
links.add(_ctx.stringValue("SearchEventsResponse.PageBean.Event["+ i +"].Links["+ j +"]"));
}
eventItem.setLinks(links);
eventList.add(eventItem);
}
pageBean.setEvent(eventList);
searchEventsResponse.setPageBean(pageBean);
return searchEventsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/SearchRetcodeAppByPageResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.v5.arms.model.v20190808.SearchRetcodeAppByPageResponse;
import com.aliyuncs.v5.arms.model.v20190808.SearchRetcodeAppByPageResponse.PageBean;
import com.aliyuncs.v5.arms.model.v20190808.SearchRetcodeAppByPageResponse.PageBean.RetcodeApp;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class SearchRetcodeAppByPageResponseUnmarshaller {
public static SearchRetcodeAppByPageResponse unmarshall(SearchRetcodeAppByPageResponse searchRetcodeAppByPageResponse, UnmarshallerContext _ctx) {
searchRetcodeAppByPageResponse.setRequestId(_ctx.stringValue("SearchRetcodeAppByPageResponse.RequestId"));
PageBean pageBean = new PageBean();
pageBean.setTotalCount(_ctx.integerValue("SearchRetcodeAppByPageResponse.PageBean.TotalCount"));
pageBean.setPageNumber(_ctx.integerValue("SearchRetcodeAppByPageResponse.PageBean.PageNumber"));
pageBean.setPageSize(_ctx.integerValue("SearchRetcodeAppByPageResponse.PageBean.PageSize"));
List<RetcodeApp> retcodeAppsList = new ArrayList<RetcodeApp>();
for (int i = 0; i < _ctx.lengthValue("SearchRetcodeAppByPageResponse.PageBean.RetcodeApps.Length"); i++) {
RetcodeApp retcodeApp = new RetcodeApp();
retcodeApp.setAppId(_ctx.longValue("SearchRetcodeAppByPageResponse.PageBean.RetcodeApps["+ i +"].AppId"));
retcodeApp.setPid(_ctx.stringValue("SearchRetcodeAppByPageResponse.PageBean.RetcodeApps["+ i +"].Pid"));
retcodeApp.setAppName(_ctx.stringValue("SearchRetcodeAppByPageResponse.PageBean.RetcodeApps["+ i +"].AppName"));
retcodeApp.setType(_ctx.stringValue("SearchRetcodeAppByPageResponse.PageBean.RetcodeApps["+ i +"].Type"));
retcodeApp.setUserId(_ctx.stringValue("SearchRetcodeAppByPageResponse.PageBean.RetcodeApps["+ i +"].UserId"));
retcodeApp.setRegionId(_ctx.stringValue("SearchRetcodeAppByPageResponse.PageBean.RetcodeApps["+ i +"].RegionId"));
retcodeApp.setCreateTime(_ctx.longValue("SearchRetcodeAppByPageResponse.PageBean.RetcodeApps["+ i +"].CreateTime"));
retcodeApp.setUpdateTime(_ctx.longValue("SearchRetcodeAppByPageResponse.PageBean.RetcodeApps["+ i +"].UpdateTime"));
retcodeApp.setRetcodeAppType(_ctx.stringValue("SearchRetcodeAppByPageResponse.PageBean.RetcodeApps["+ i +"].RetcodeAppType"));
retcodeAppsList.add(retcodeApp);
}
pageBean.setRetcodeApps(retcodeAppsList);
searchRetcodeAppByPageResponse.setPageBean(pageBean);
return searchRetcodeAppByPageResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/SearchTraceAppByNameResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.v5.arms.model.v20190808.SearchTraceAppByNameResponse;
import com.aliyuncs.v5.arms.model.v20190808.SearchTraceAppByNameResponse.TraceApp;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class SearchTraceAppByNameResponseUnmarshaller {
public static SearchTraceAppByNameResponse unmarshall(SearchTraceAppByNameResponse searchTraceAppByNameResponse, UnmarshallerContext _ctx) {
searchTraceAppByNameResponse.setRequestId(_ctx.stringValue("SearchTraceAppByNameResponse.RequestId"));
List<TraceApp> traceAppsList = new ArrayList<TraceApp>();
for (int i = 0; i < _ctx.lengthValue("SearchTraceAppByNameResponse.TraceApps.Length"); i++) {
TraceApp traceApp = new TraceApp();
traceApp.setAppId(_ctx.longValue("SearchTraceAppByNameResponse.TraceApps["+ i +"].AppId"));
traceApp.setPid(_ctx.stringValue("SearchTraceAppByNameResponse.TraceApps["+ i +"].Pid"));
traceApp.setAppName(_ctx.stringValue("SearchTraceAppByNameResponse.TraceApps["+ i +"].AppName"));
traceApp.setType(_ctx.stringValue("SearchTraceAppByNameResponse.TraceApps["+ i +"].Type"));
traceApp.setUserId(_ctx.stringValue("SearchTraceAppByNameResponse.TraceApps["+ i +"].UserId"));
traceApp.setRegionId(_ctx.stringValue("SearchTraceAppByNameResponse.TraceApps["+ i +"].RegionId"));
traceApp.setCreateTime(_ctx.longValue("SearchTraceAppByNameResponse.TraceApps["+ i +"].CreateTime"));
traceApp.setUpdateTime(_ctx.longValue("SearchTraceAppByNameResponse.TraceApps["+ i +"].UpdateTime"));
traceApp.setShow(_ctx.booleanValue("SearchTraceAppByNameResponse.TraceApps["+ i +"].Show"));
List<String> labels = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("SearchTraceAppByNameResponse.TraceApps["+ i +"].Labels.Length"); j++) {
labels.add(_ctx.stringValue("SearchTraceAppByNameResponse.TraceApps["+ i +"].Labels["+ j +"]"));
}
traceApp.setLabels(labels);
traceAppsList.add(traceApp);
}
searchTraceAppByNameResponse.setTraceApps(traceAppsList);
return searchTraceAppByNameResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/SearchTraceAppByPageResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.v5.arms.model.v20190808.SearchTraceAppByPageResponse;
import com.aliyuncs.v5.arms.model.v20190808.SearchTraceAppByPageResponse.PageBean;
import com.aliyuncs.v5.arms.model.v20190808.SearchTraceAppByPageResponse.PageBean.TraceApp;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class SearchTraceAppByPageResponseUnmarshaller {
public static SearchTraceAppByPageResponse unmarshall(SearchTraceAppByPageResponse searchTraceAppByPageResponse, UnmarshallerContext _ctx) {
searchTraceAppByPageResponse.setRequestId(_ctx.stringValue("SearchTraceAppByPageResponse.RequestId"));
PageBean pageBean = new PageBean();
pageBean.setTotalCount(_ctx.integerValue("SearchTraceAppByPageResponse.PageBean.TotalCount"));
pageBean.setPageNumber(_ctx.integerValue("SearchTraceAppByPageResponse.PageBean.PageNumber"));
pageBean.setPageSize(_ctx.integerValue("SearchTraceAppByPageResponse.PageBean.PageSize"));
List<TraceApp> traceAppsList = new ArrayList<TraceApp>();
for (int i = 0; i < _ctx.lengthValue("SearchTraceAppByPageResponse.PageBean.TraceApps.Length"); i++) {
TraceApp traceApp = new TraceApp();
traceApp.setAppId(_ctx.longValue("SearchTraceAppByPageResponse.PageBean.TraceApps["+ i +"].AppId"));
traceApp.setPid(_ctx.stringValue("SearchTraceAppByPageResponse.PageBean.TraceApps["+ i +"].Pid"));
traceApp.setAppName(_ctx.stringValue("SearchTraceAppByPageResponse.PageBean.TraceApps["+ i +"].AppName"));
traceApp.setType(_ctx.stringValue("SearchTraceAppByPageResponse.PageBean.TraceApps["+ i +"].Type"));
traceApp.setUserId(_ctx.stringValue("SearchTraceAppByPageResponse.PageBean.TraceApps["+ i +"].UserId"));
traceApp.setRegionId(_ctx.stringValue("SearchTraceAppByPageResponse.PageBean.TraceApps["+ i +"].RegionId"));
traceApp.setCreateTime(_ctx.longValue("SearchTraceAppByPageResponse.PageBean.TraceApps["+ i +"].CreateTime"));
traceApp.setUpdateTime(_ctx.longValue("SearchTraceAppByPageResponse.PageBean.TraceApps["+ i +"].UpdateTime"));
traceApp.setShow(_ctx.booleanValue("SearchTraceAppByPageResponse.PageBean.TraceApps["+ i +"].Show"));
List<String> labels = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("SearchTraceAppByPageResponse.PageBean.TraceApps["+ i +"].Labels.Length"); j++) {
labels.add(_ctx.stringValue("SearchTraceAppByPageResponse.PageBean.TraceApps["+ i +"].Labels["+ j +"]"));
}
traceApp.setLabels(labels);
traceAppsList.add(traceApp);
}
pageBean.setTraceApps(traceAppsList);
searchTraceAppByPageResponse.setPageBean(pageBean);
return searchTraceAppByPageResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/SearchTracesByPageResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.v5.arms.model.v20190808.SearchTracesByPageResponse;
import com.aliyuncs.v5.arms.model.v20190808.SearchTracesByPageResponse.PageBean;
import com.aliyuncs.v5.arms.model.v20190808.SearchTracesByPageResponse.PageBean.TraceInfo;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class SearchTracesByPageResponseUnmarshaller {
public static SearchTracesByPageResponse unmarshall(SearchTracesByPageResponse searchTracesByPageResponse, UnmarshallerContext _ctx) {
searchTracesByPageResponse.setRequestId(_ctx.stringValue("SearchTracesByPageResponse.RequestId"));
PageBean pageBean = new PageBean();
pageBean.setTotal(_ctx.integerValue("SearchTracesByPageResponse.PageBean.Total"));
pageBean.setPageNumber(_ctx.integerValue("SearchTracesByPageResponse.PageBean.PageNumber"));
pageBean.setPageSize(_ctx.integerValue("SearchTracesByPageResponse.PageBean.PageSize"));
List<TraceInfo> traceInfosList = new ArrayList<TraceInfo>();
for (int i = 0; i < _ctx.lengthValue("SearchTracesByPageResponse.PageBean.TraceInfos.Length"); i++) {
TraceInfo traceInfo = new TraceInfo();
traceInfo.setTraceID(_ctx.stringValue("SearchTracesByPageResponse.PageBean.TraceInfos["+ i +"].TraceID"));
traceInfo.setOperationName(_ctx.stringValue("SearchTracesByPageResponse.PageBean.TraceInfos["+ i +"].OperationName"));
traceInfo.setServiceName(_ctx.stringValue("SearchTracesByPageResponse.PageBean.TraceInfos["+ i +"].ServiceName"));
traceInfo.setServiceIp(_ctx.stringValue("SearchTracesByPageResponse.PageBean.TraceInfos["+ i +"].ServiceIp"));
traceInfo.setDuration(_ctx.longValue("SearchTracesByPageResponse.PageBean.TraceInfos["+ i +"].Duration"));
traceInfo.setTimestamp(_ctx.longValue("SearchTracesByPageResponse.PageBean.TraceInfos["+ i +"].Timestamp"));
traceInfosList.add(traceInfo);
}
pageBean.setTraceInfos(traceInfosList);
searchTracesByPageResponse.setPageBean(pageBean);
return searchTracesByPageResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/SearchTracesResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.v5.arms.model.v20190808.SearchTracesResponse;
import com.aliyuncs.v5.arms.model.v20190808.SearchTracesResponse.TraceInfo;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class SearchTracesResponseUnmarshaller {
public static SearchTracesResponse unmarshall(SearchTracesResponse searchTracesResponse, UnmarshallerContext _ctx) {
searchTracesResponse.setRequestId(_ctx.stringValue("SearchTracesResponse.RequestId"));
List<TraceInfo> traceInfosList = new ArrayList<TraceInfo>();
for (int i = 0; i < _ctx.lengthValue("SearchTracesResponse.TraceInfos.Length"); i++) {
TraceInfo traceInfo = new TraceInfo();
traceInfo.setTraceID(_ctx.stringValue("SearchTracesResponse.TraceInfos["+ i +"].TraceID"));
traceInfo.setOperationName(_ctx.stringValue("SearchTracesResponse.TraceInfos["+ i +"].OperationName"));
traceInfo.setServiceName(_ctx.stringValue("SearchTracesResponse.TraceInfos["+ i +"].ServiceName"));
traceInfo.setServiceIp(_ctx.stringValue("SearchTracesResponse.TraceInfos["+ i +"].ServiceIp"));
traceInfo.setDuration(_ctx.longValue("SearchTracesResponse.TraceInfos["+ i +"].Duration"));
traceInfo.setTimestamp(_ctx.longValue("SearchTracesResponse.TraceInfos["+ i +"].Timestamp"));
traceInfosList.add(traceInfo);
}
searchTracesResponse.setTraceInfos(traceInfosList);
return searchTracesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/SetRetcodeShareStatusResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import com.aliyuncs.v5.arms.model.v20190808.SetRetcodeShareStatusResponse;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class SetRetcodeShareStatusResponseUnmarshaller {
public static SetRetcodeShareStatusResponse unmarshall(SetRetcodeShareStatusResponse setRetcodeShareStatusResponse, UnmarshallerContext _ctx) {
setRetcodeShareStatusResponse.setRequestId(_ctx.stringValue("SetRetcodeShareStatusResponse.RequestId"));
setRetcodeShareStatusResponse.setIsSuccess(_ctx.booleanValue("SetRetcodeShareStatusResponse.IsSuccess"));
return setRetcodeShareStatusResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/StartAlertResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import com.aliyuncs.v5.arms.model.v20190808.StartAlertResponse;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class StartAlertResponseUnmarshaller {
public static StartAlertResponse unmarshall(StartAlertResponse startAlertResponse, UnmarshallerContext _ctx) {
startAlertResponse.setRequestId(_ctx.stringValue("StartAlertResponse.RequestId"));
startAlertResponse.setIsSuccess(_ctx.booleanValue("StartAlertResponse.IsSuccess"));
return startAlertResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/StopAlertResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import com.aliyuncs.v5.arms.model.v20190808.StopAlertResponse;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class StopAlertResponseUnmarshaller {
public static StopAlertResponse unmarshall(StopAlertResponse stopAlertResponse, UnmarshallerContext _ctx) {
stopAlertResponse.setRequestId(_ctx.stringValue("StopAlertResponse.RequestId"));
stopAlertResponse.setIsSuccess(_ctx.booleanValue("StopAlertResponse.IsSuccess"));
return stopAlertResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/UpdateAlertContactGroupResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import com.aliyuncs.v5.arms.model.v20190808.UpdateAlertContactGroupResponse;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class UpdateAlertContactGroupResponseUnmarshaller {
public static UpdateAlertContactGroupResponse unmarshall(UpdateAlertContactGroupResponse updateAlertContactGroupResponse, UnmarshallerContext _ctx) {
updateAlertContactGroupResponse.setRequestId(_ctx.stringValue("UpdateAlertContactGroupResponse.RequestId"));
updateAlertContactGroupResponse.setIsSuccess(_ctx.booleanValue("UpdateAlertContactGroupResponse.IsSuccess"));
return updateAlertContactGroupResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/UpdateAlertContactResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import com.aliyuncs.v5.arms.model.v20190808.UpdateAlertContactResponse;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class UpdateAlertContactResponseUnmarshaller {
public static UpdateAlertContactResponse unmarshall(UpdateAlertContactResponse updateAlertContactResponse, UnmarshallerContext _ctx) {
updateAlertContactResponse.setRequestId(_ctx.stringValue("UpdateAlertContactResponse.RequestId"));
updateAlertContactResponse.setIsSuccess(_ctx.booleanValue("UpdateAlertContactResponse.IsSuccess"));
return updateAlertContactResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/UpdateAlertRuleResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import com.aliyuncs.v5.arms.model.v20190808.UpdateAlertRuleResponse;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class UpdateAlertRuleResponseUnmarshaller {
public static UpdateAlertRuleResponse unmarshall(UpdateAlertRuleResponse updateAlertRuleResponse, UnmarshallerContext _ctx) {
updateAlertRuleResponse.setRequestId(_ctx.stringValue("UpdateAlertRuleResponse.RequestId"));
updateAlertRuleResponse.setData(_ctx.stringValue("UpdateAlertRuleResponse.Data"));
updateAlertRuleResponse.setAlertId(_ctx.longValue("UpdateAlertRuleResponse.AlertId"));
return updateAlertRuleResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/UpdateDispatchRuleResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import com.aliyuncs.v5.arms.model.v20190808.UpdateDispatchRuleResponse;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class UpdateDispatchRuleResponseUnmarshaller {
public static UpdateDispatchRuleResponse unmarshall(UpdateDispatchRuleResponse updateDispatchRuleResponse, UnmarshallerContext _ctx) {
updateDispatchRuleResponse.setRequestId(_ctx.stringValue("UpdateDispatchRuleResponse.RequestId"));
updateDispatchRuleResponse.setSuccess(_ctx.booleanValue("UpdateDispatchRuleResponse.Success"));
return updateDispatchRuleResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/UpdatePrometheusAlertRuleResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.v5.arms.model.v20190808.UpdatePrometheusAlertRuleResponse;
import com.aliyuncs.v5.arms.model.v20190808.UpdatePrometheusAlertRuleResponse.PrometheusAlertRule;
import com.aliyuncs.v5.arms.model.v20190808.UpdatePrometheusAlertRuleResponse.PrometheusAlertRule.Annotation;
import com.aliyuncs.v5.arms.model.v20190808.UpdatePrometheusAlertRuleResponse.PrometheusAlertRule.Label;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class UpdatePrometheusAlertRuleResponseUnmarshaller {
public static UpdatePrometheusAlertRuleResponse unmarshall(UpdatePrometheusAlertRuleResponse updatePrometheusAlertRuleResponse, UnmarshallerContext _ctx) {
updatePrometheusAlertRuleResponse.setRequestId(_ctx.stringValue("UpdatePrometheusAlertRuleResponse.RequestId"));
PrometheusAlertRule prometheusAlertRule = new PrometheusAlertRule();
prometheusAlertRule.setAlertId(_ctx.longValue("UpdatePrometheusAlertRuleResponse.PrometheusAlertRule.AlertId"));
prometheusAlertRule.setAlertName(_ctx.stringValue("UpdatePrometheusAlertRuleResponse.PrometheusAlertRule.AlertName"));
prometheusAlertRule.setMessage(_ctx.stringValue("UpdatePrometheusAlertRuleResponse.PrometheusAlertRule.Message"));
prometheusAlertRule.setType(_ctx.stringValue("UpdatePrometheusAlertRuleResponse.PrometheusAlertRule.Type"));
prometheusAlertRule.setExpression(_ctx.stringValue("UpdatePrometheusAlertRuleResponse.PrometheusAlertRule.Expression"));
prometheusAlertRule.setDuration(_ctx.stringValue("UpdatePrometheusAlertRuleResponse.PrometheusAlertRule.Duration"));
prometheusAlertRule.setClusterId(_ctx.stringValue("UpdatePrometheusAlertRuleResponse.PrometheusAlertRule.ClusterId"));
prometheusAlertRule.setStatus(_ctx.integerValue("UpdatePrometheusAlertRuleResponse.PrometheusAlertRule.Status"));
prometheusAlertRule.setDispatchRuleId(_ctx.longValue("UpdatePrometheusAlertRuleResponse.PrometheusAlertRule.DispatchRuleId"));
prometheusAlertRule.setNotifyType(_ctx.stringValue("UpdatePrometheusAlertRuleResponse.PrometheusAlertRule.NotifyType"));
List<Label> labelsList = new ArrayList<Label>();
for (int i = 0; i < _ctx.lengthValue("UpdatePrometheusAlertRuleResponse.PrometheusAlertRule.Labels.Length"); i++) {
Label label = new Label();
label.setName(_ctx.stringValue("UpdatePrometheusAlertRuleResponse.PrometheusAlertRule.Labels["+ i +"].Name"));
label.setValue(_ctx.stringValue("UpdatePrometheusAlertRuleResponse.PrometheusAlertRule.Labels["+ i +"].Value"));
labelsList.add(label);
}
prometheusAlertRule.setLabels(labelsList);
List<Annotation> annotationsList = new ArrayList<Annotation>();
for (int i = 0; i < _ctx.lengthValue("UpdatePrometheusAlertRuleResponse.PrometheusAlertRule.Annotations.Length"); i++) {
Annotation annotation = new Annotation();
annotation.setName(_ctx.stringValue("UpdatePrometheusAlertRuleResponse.PrometheusAlertRule.Annotations["+ i +"].Name"));
annotation.setValue(_ctx.stringValue("UpdatePrometheusAlertRuleResponse.PrometheusAlertRule.Annotations["+ i +"].Value"));
annotationsList.add(annotation);
}
prometheusAlertRule.setAnnotations(annotationsList);
updatePrometheusAlertRuleResponse.setPrometheusAlertRule(prometheusAlertRule);
return updatePrometheusAlertRuleResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/UpdateWebhookResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import com.aliyuncs.v5.arms.model.v20190808.UpdateWebhookResponse;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class UpdateWebhookResponseUnmarshaller {
public static UpdateWebhookResponse unmarshall(UpdateWebhookResponse updateWebhookResponse, UnmarshallerContext _ctx) {
updateWebhookResponse.setRequestId(_ctx.stringValue("UpdateWebhookResponse.RequestId"));
updateWebhookResponse.setIsSuccess(_ctx.booleanValue("UpdateWebhookResponse.IsSuccess"));
return updateWebhookResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms4finance/2.0.1/com/aliyuncs/arms4finance/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms4finance/2.0.1/com/aliyuncs/arms4finance/model/v20171130/ARMSQueryDataSetRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms4finance.model.v20171130;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
/**
* @author auto create
* @version
*/
public class ARMSQueryDataSetRequest extends RpcAcsRequest<ARMSQueryDataSetResponse> {
public ARMSQueryDataSetRequest() {
super("ARMS4FINANCE", "2017-11-30", "ARMSQueryDataSet", "arms4finance");
}
private List<String> measuress;
private Integer intervalInSec;
private String dateStr;
private Boolean isDrillDown;
private Long minTime;
private Long datasetId;
private Long maxTime;
private List<Dimensions> dimensionss;
public List<String> getMeasuress() {
return this.measuress;
}
public void setMeasuress(List<String> measuress) {
this.measuress = measuress;
if (measuress != null) {
for (int i = 0; i < measuress.size(); i++) {
putQueryParameter("Measures." + (i + 1) , measuress.get(i));
}
}
}
public Integer getIntervalInSec() {
return this.intervalInSec;
}
public void setIntervalInSec(Integer intervalInSec) {
this.intervalInSec = intervalInSec;
if(intervalInSec != null){
putQueryParameter("IntervalInSec", intervalInSec.toString());
}
}
public String getDateStr() {
return this.dateStr;
}
public void setDateStr(String dateStr) {
this.dateStr = dateStr;
if(dateStr != null){
putQueryParameter("DateStr", dateStr);
}
}
public Boolean getIsDrillDown() {
return this.isDrillDown;
}
public void setIsDrillDown(Boolean isDrillDown) {
this.isDrillDown = isDrillDown;
if(isDrillDown != null){
putQueryParameter("IsDrillDown", isDrillDown.toString());
}
}
public Long getMinTime() {
return this.minTime;
}
public void setMinTime(Long minTime) {
this.minTime = minTime;
if(minTime != null){
putQueryParameter("MinTime", minTime.toString());
}
}
public Long getDatasetId() {
return this.datasetId;
}
public void setDatasetId(Long datasetId) {
this.datasetId = datasetId;
if(datasetId != null){
putQueryParameter("DatasetId", datasetId.toString());
}
}
public Long getMaxTime() {
return this.maxTime;
}
public void setMaxTime(Long maxTime) {
this.maxTime = maxTime;
if(maxTime != null){
putQueryParameter("MaxTime", maxTime.toString());
}
}
public List<Dimensions> getDimensionss() {
return this.dimensionss;
}
public void setDimensionss(List<Dimensions> dimensionss) {
this.dimensionss = dimensionss;
if (dimensionss != null) {
for (int depth1 = 0; depth1 < dimensionss.size(); depth1++) {
putQueryParameter("Dimensions." + (depth1 + 1) + ".Value" , dimensionss.get(depth1).getValue());
putQueryParameter("Dimensions." + (depth1 + 1) + ".Key" , dimensionss.get(depth1).getKey());
}
}
}
public static class Dimensions {
private String value;
private String key;
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
}
@Override
public Class<ARMSQueryDataSetResponse> getResponseClass() {
return ARMSQueryDataSetResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms4finance/2.0.1/com/aliyuncs/arms4finance/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms4finance/2.0.1/com/aliyuncs/arms4finance/model/v20171130/ARMSQueryDataSetResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms4finance.model.v20171130;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.arms4finance.transform.v20171130.ARMSQueryDataSetResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ARMSQueryDataSetResponse extends AcsResponse {
private String data;
public String getData() {
return this.data;
}
public void setData(String data) {
this.data = data;
}
@Override
public ARMSQueryDataSetResponse getInstance(UnmarshallerContext context) {
return ARMSQueryDataSetResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms4finance/2.0.1/com/aliyuncs/arms4finance/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms4finance/2.0.1/com/aliyuncs/arms4finance/model/v20171130/WhereInDimQueryRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms4finance.model.v20171130;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
/**
* @author auto create
* @version
*/
public class WhereInDimQueryRequest extends RpcAcsRequest<WhereInDimQueryResponse> {
public WhereInDimQueryRequest() {
super("ARMS4FINANCE", "2017-11-30", "WhereInDimQuery", "arms4finance");
}
private String whereInKey;
private List<String> measuress;
private Integer intervalInSec;
private String dateStr;
private Boolean isDrillDown;
private Long minTime;
private Long datasetId;
private List<String> whereInValuess;
private Long maxTime;
private List<Dimensions> dimensionss;
public String getWhereInKey() {
return this.whereInKey;
}
public void setWhereInKey(String whereInKey) {
this.whereInKey = whereInKey;
if(whereInKey != null){
putQueryParameter("WhereInKey", whereInKey);
}
}
public List<String> getMeasuress() {
return this.measuress;
}
public void setMeasuress(List<String> measuress) {
this.measuress = measuress;
if (measuress != null) {
for (int i = 0; i < measuress.size(); i++) {
putQueryParameter("Measures." + (i + 1) , measuress.get(i));
}
}
}
public Integer getIntervalInSec() {
return this.intervalInSec;
}
public void setIntervalInSec(Integer intervalInSec) {
this.intervalInSec = intervalInSec;
if(intervalInSec != null){
putQueryParameter("IntervalInSec", intervalInSec.toString());
}
}
public String getDateStr() {
return this.dateStr;
}
public void setDateStr(String dateStr) {
this.dateStr = dateStr;
if(dateStr != null){
putQueryParameter("DateStr", dateStr);
}
}
public Boolean getIsDrillDown() {
return this.isDrillDown;
}
public void setIsDrillDown(Boolean isDrillDown) {
this.isDrillDown = isDrillDown;
if(isDrillDown != null){
putQueryParameter("IsDrillDown", isDrillDown.toString());
}
}
public Long getMinTime() {
return this.minTime;
}
public void setMinTime(Long minTime) {
this.minTime = minTime;
if(minTime != null){
putQueryParameter("MinTime", minTime.toString());
}
}
public Long getDatasetId() {
return this.datasetId;
}
public void setDatasetId(Long datasetId) {
this.datasetId = datasetId;
if(datasetId != null){
putQueryParameter("DatasetId", datasetId.toString());
}
}
public List<String> getWhereInValuess() {
return this.whereInValuess;
}
public void setWhereInValuess(List<String> whereInValuess) {
this.whereInValuess = whereInValuess;
if (whereInValuess != null) {
for (int i = 0; i < whereInValuess.size(); i++) {
putQueryParameter("WhereInValues." + (i + 1) , whereInValuess.get(i));
}
}
}
public Long getMaxTime() {
return this.maxTime;
}
public void setMaxTime(Long maxTime) {
this.maxTime = maxTime;
if(maxTime != null){
putQueryParameter("MaxTime", maxTime.toString());
}
}
public List<Dimensions> getDimensionss() {
return this.dimensionss;
}
public void setDimensionss(List<Dimensions> dimensionss) {
this.dimensionss = dimensionss;
if (dimensionss != null) {
for (int depth1 = 0; depth1 < dimensionss.size(); depth1++) {
putQueryParameter("Dimensions." + (depth1 + 1) + ".Value" , dimensionss.get(depth1).getValue());
putQueryParameter("Dimensions." + (depth1 + 1) + ".Key" , dimensionss.get(depth1).getKey());
}
}
}
public static class Dimensions {
private String value;
private String key;
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
}
@Override
public Class<WhereInDimQueryResponse> getResponseClass() {
return WhereInDimQueryResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms4finance/2.0.1/com/aliyuncs/arms4finance/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms4finance/2.0.1/com/aliyuncs/arms4finance/model/v20171130/WhereInDimQueryResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms4finance.model.v20171130;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.arms4finance.transform.v20171130.WhereInDimQueryResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class WhereInDimQueryResponse extends AcsResponse {
private String data;
public String getData() {
return this.data;
}
public void setData(String data) {
this.data = data;
}
@Override
public WhereInDimQueryResponse getInstance(UnmarshallerContext context) {
return WhereInDimQueryResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms4finance/2.0.1/com/aliyuncs/arms4finance/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms4finance/2.0.1/com/aliyuncs/arms4finance/transform/v20171130/ARMSQueryDataSetResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms4finance.transform.v20171130;
import com.aliyuncs.arms4finance.model.v20171130.ARMSQueryDataSetResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ARMSQueryDataSetResponseUnmarshaller {
public static ARMSQueryDataSetResponse unmarshall(ARMSQueryDataSetResponse aRMSQueryDataSetResponse, UnmarshallerContext context) {
aRMSQueryDataSetResponse.setData(context.stringValue("ARMSQueryDataSetResponse.Data"));
return aRMSQueryDataSetResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms4finance/2.0.1/com/aliyuncs/arms4finance/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms4finance/2.0.1/com/aliyuncs/arms4finance/transform/v20171130/WhereInDimQueryResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.arms4finance.transform.v20171130;
import com.aliyuncs.arms4finance.model.v20171130.WhereInDimQueryResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class WhereInDimQueryResponseUnmarshaller {
public static WhereInDimQueryResponse unmarshall(WhereInDimQueryResponse whereInDimQueryResponse, UnmarshallerContext context) {
whereInDimQueryResponse.setData(context.stringValue("WhereInDimQueryResponse.Data"));
return whereInDimQueryResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-autodriveclouddata/1.0.0/com/aliyuncs/autodriveclouddata/model
|
java-sources/com/aliyun/aliyun-java-sdk-autodriveclouddata/1.0.0/com/aliyuncs/autodriveclouddata/model/v20220830/OpenapiSemantemeSearchSaveRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.autodriveclouddata.model.v20220830;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class OpenapiSemantemeSearchSaveRequest extends RoaAcsRequest<OpenapiSemantemeSearchSaveResponse> {
private String body;
public OpenapiSemantemeSearchSaveRequest() {
super("AutoDriveCloudData", "2022-08-30", "OpenapiSemantemeSearchSave");
setUriPattern("/autoDrive/openapi/semantemeSearchSave");
setMethod(MethodType.POST);
}
public String getBody() {
return this.body;
}
public void setBody(String body) {
this.body = body;
if(body != null){
putBodyParameter("body", body);
}
}
@Override
public Class<OpenapiSemantemeSearchSaveResponse> getResponseClass() {
return OpenapiSemantemeSearchSaveResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-autodriveclouddata/1.0.0/com/aliyuncs/autodriveclouddata/model
|
java-sources/com/aliyun/aliyun-java-sdk-autodriveclouddata/1.0.0/com/aliyuncs/autodriveclouddata/model/v20220830/OpenapiSemantemeSearchSaveResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.autodriveclouddata.model.v20220830;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.autodriveclouddata.transform.v20220830.OpenapiSemantemeSearchSaveResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class OpenapiSemantemeSearchSaveResponse extends AcsResponse {
@Override
public OpenapiSemantemeSearchSaveResponse getInstance(UnmarshallerContext context) {
return OpenapiSemantemeSearchSaveResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-autodriveclouddata/1.0.0/com/aliyuncs/autodriveclouddata/transform
|
java-sources/com/aliyun/aliyun-java-sdk-autodriveclouddata/1.0.0/com/aliyuncs/autodriveclouddata/transform/v20220830/OpenapiSemantemeSearchSaveResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.autodriveclouddata.transform.v20220830;
import com.aliyuncs.autodriveclouddata.model.v20220830.OpenapiSemantemeSearchSaveResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class OpenapiSemantemeSearchSaveResponseUnmarshaller {
public static OpenapiSemantemeSearchSaveResponse unmarshall(OpenapiSemantemeSearchSaveResponse openapiSemantemeSearchSaveResponse, UnmarshallerContext _ctx) {
return openapiSemantemeSearchSaveResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model/v20220130/CancelVideoTaskRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.avatar.model.v20220130;
import com.aliyuncs.RpcAcsRequest;
import com.google.gson.Gson;
import com.google.gson.annotations.SerializedName;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class CancelVideoTaskRequest extends RpcAcsRequest<CancelVideoTaskResponse> {
@SerializedName("app")
private App app;
private Long tenantId;
private String taskUuid;
public CancelVideoTaskRequest() {
super("avatar", "2022-01-30", "CancelVideoTask");
setMethod(MethodType.POST);
}
public App getApp() {
return this.app;
}
public void setApp(App app) {
this.app = app;
if (app != null) {
putQueryParameter("App" , new Gson().toJson(app));
}
}
public Long getTenantId() {
return this.tenantId;
}
public void setTenantId(Long tenantId) {
this.tenantId = tenantId;
if(tenantId != null){
putQueryParameter("TenantId", tenantId.toString());
}
}
public String getTaskUuid() {
return this.taskUuid;
}
public void setTaskUuid(String taskUuid) {
this.taskUuid = taskUuid;
if(taskUuid != null){
putQueryParameter("TaskUuid", taskUuid);
}
}
public static class App {
@SerializedName("AppId")
private String appId;
public String getAppId() {
return this.appId;
}
public void setAppId(String appId) {
this.appId = appId;
}
}
@Override
public Class<CancelVideoTaskResponse> getResponseClass() {
return CancelVideoTaskResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model/v20220130/CancelVideoTaskResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.avatar.model.v20220130;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.avatar.transform.v20220130.CancelVideoTaskResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CancelVideoTaskResponse extends AcsResponse {
private String requestId;
private String code;
private String message;
private Boolean success;
private Data data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private String taskUuid;
private Boolean isCancel;
private String failReason;
public String getTaskUuid() {
return this.taskUuid;
}
public void setTaskUuid(String taskUuid) {
this.taskUuid = taskUuid;
}
public Boolean getIsCancel() {
return this.isCancel;
}
public void setIsCancel(Boolean isCancel) {
this.isCancel = isCancel;
}
public String getFailReason() {
return this.failReason;
}
public void setFailReason(String failReason) {
this.failReason = failReason;
}
}
@Override
public CancelVideoTaskResponse getInstance(UnmarshallerContext context) {
return CancelVideoTaskResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model/v20220130/ClientAuthRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.avatar.model.v20220130;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.ProtocolType;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class ClientAuthRequest extends RpcAcsRequest<ClientAuthResponse> {
private String deviceId;
private String deviceType;
private String license;
private String appId;
private Long tenantId;
private String deviceInfo;
public ClientAuthRequest() {
super("avatar", "2022-01-30", "ClientAuth");
setProtocol(ProtocolType.HTTPS);
setMethod(MethodType.POST);
}
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
if(deviceId != null){
putQueryParameter("DeviceId", deviceId);
}
}
public String getDeviceType() {
return this.deviceType;
}
public void setDeviceType(String deviceType) {
this.deviceType = deviceType;
if(deviceType != null){
putQueryParameter("DeviceType", deviceType);
}
}
public String getLicense() {
return this.license;
}
public void setLicense(String license) {
this.license = license;
if(license != null){
putQueryParameter("License", license);
}
}
public String getAppId() {
return this.appId;
}
public void setAppId(String appId) {
this.appId = appId;
if(appId != null){
putQueryParameter("AppId", appId);
}
}
public Long getTenantId() {
return this.tenantId;
}
public void setTenantId(Long tenantId) {
this.tenantId = tenantId;
if(tenantId != null){
putQueryParameter("TenantId", tenantId.toString());
}
}
public String getDeviceInfo() {
return this.deviceInfo;
}
public void setDeviceInfo(String deviceInfo) {
this.deviceInfo = deviceInfo;
if(deviceInfo != null){
putQueryParameter("DeviceInfo", deviceInfo);
}
}
@Override
public Class<ClientAuthResponse> getResponseClass() {
return ClientAuthResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model/v20220130/ClientAuthResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.avatar.model.v20220130;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.avatar.transform.v20220130.ClientAuthResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ClientAuthResponse extends AcsResponse {
private String requestId;
private Boolean success;
private String code;
private String message;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
@Override
public ClientAuthResponse getInstance(UnmarshallerContext context) {
return ClientAuthResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model/v20220130/ClientStartRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.avatar.model.v20220130;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.ProtocolType;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class ClientStartRequest extends RpcAcsRequest<ClientStartResponse> {
private String appId;
private Long tenantId;
public ClientStartRequest() {
super("avatar", "2022-01-30", "ClientStart");
setProtocol(ProtocolType.HTTPS);
setMethod(MethodType.POST);
}
public String getAppId() {
return this.appId;
}
public void setAppId(String appId) {
this.appId = appId;
if(appId != null){
putQueryParameter("AppId", appId);
}
}
public Long getTenantId() {
return this.tenantId;
}
public void setTenantId(Long tenantId) {
this.tenantId = tenantId;
if(tenantId != null){
putQueryParameter("TenantId", tenantId.toString());
}
}
@Override
public Class<ClientStartResponse> getResponseClass() {
return ClientStartResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model/v20220130/ClientStartResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.avatar.model.v20220130;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.avatar.transform.v20220130.ClientStartResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ClientStartResponse extends AcsResponse {
private String requestId;
private Boolean success;
private String code;
private String message;
private Data data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private String imToken;
public String getImToken() {
return this.imToken;
}
public void setImToken(String imToken) {
this.imToken = imToken;
}
}
@Override
public ClientStartResponse getInstance(UnmarshallerContext context) {
return ClientStartResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model/v20220130/ClientUnbindDeviceRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.avatar.model.v20220130;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.ProtocolType;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class ClientUnbindDeviceRequest extends RpcAcsRequest<ClientUnbindDeviceResponse> {
private Long tenantId;
private String deviceId;
public ClientUnbindDeviceRequest() {
super("avatar", "2022-01-30", "ClientUnbindDevice");
setProtocol(ProtocolType.HTTPS);
setMethod(MethodType.POST);
}
public Long getTenantId() {
return this.tenantId;
}
public void setTenantId(Long tenantId) {
this.tenantId = tenantId;
if(tenantId != null){
putQueryParameter("TenantId", tenantId.toString());
}
}
public String getDeviceId() {
return this.deviceId;
}
public void setDeviceId(String deviceId) {
this.deviceId = deviceId;
if(deviceId != null){
putQueryParameter("DeviceId", deviceId);
}
}
@Override
public Class<ClientUnbindDeviceResponse> getResponseClass() {
return ClientUnbindDeviceResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model/v20220130/ClientUnbindDeviceResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.avatar.model.v20220130;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.avatar.transform.v20220130.ClientUnbindDeviceResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ClientUnbindDeviceResponse extends AcsResponse {
private String requestId;
private Boolean success;
private String code;
private String message;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
@Override
public ClientUnbindDeviceResponse getInstance(UnmarshallerContext context) {
return ClientUnbindDeviceResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model/v20220130/CloseTimedResetOperateRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.avatar.model.v20220130;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class CloseTimedResetOperateRequest extends RpcAcsRequest<CloseTimedResetOperateResponse> {
private String instanceId;
private Long tenantId;
public CloseTimedResetOperateRequest() {
super("avatar", "2022-01-30", "CloseTimedResetOperate");
setMethod(MethodType.POST);
}
public String getInstanceId() {
return this.instanceId;
}
public void setInstanceId(String instanceId) {
this.instanceId = instanceId;
if(instanceId != null){
putQueryParameter("InstanceId", instanceId);
}
}
public Long getTenantId() {
return this.tenantId;
}
public void setTenantId(Long tenantId) {
this.tenantId = tenantId;
if(tenantId != null){
putQueryParameter("TenantId", tenantId.toString());
}
}
@Override
public Class<CloseTimedResetOperateResponse> getResponseClass() {
return CloseTimedResetOperateResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model/v20220130/CloseTimedResetOperateResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.avatar.model.v20220130;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.avatar.transform.v20220130.CloseTimedResetOperateResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CloseTimedResetOperateResponse extends AcsResponse {
private String requestId;
private String code;
private String message;
private Boolean success;
private Data data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private String instanceId;
private Long tenantId;
public String getInstanceId() {
return this.instanceId;
}
public void setInstanceId(String instanceId) {
this.instanceId = instanceId;
}
public Long getTenantId() {
return this.tenantId;
}
public void setTenantId(Long tenantId) {
this.tenantId = tenantId;
}
}
@Override
public CloseTimedResetOperateResponse getInstance(UnmarshallerContext context) {
return CloseTimedResetOperateResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model/v20220130/ConfirmAvatar2dTrainRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.avatar.model.v20220130;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.ProtocolType;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class ConfirmAvatar2dTrainRequest extends RpcAcsRequest<ConfirmAvatar2dTrainResponse> {
private String confirm;
private String code;
private Long tenantId;
public ConfirmAvatar2dTrainRequest() {
super("avatar", "2022-01-30", "ConfirmAvatar2dTrain");
setProtocol(ProtocolType.HTTPS);
setMethod(MethodType.POST);
}
public String getConfirm() {
return this.confirm;
}
public void setConfirm(String confirm) {
this.confirm = confirm;
if(confirm != null){
putQueryParameter("Confirm", confirm);
}
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
if(code != null){
putQueryParameter("Code", code);
}
}
public Long getTenantId() {
return this.tenantId;
}
public void setTenantId(Long tenantId) {
this.tenantId = tenantId;
if(tenantId != null){
putQueryParameter("TenantId", tenantId.toString());
}
}
@Override
public Class<ConfirmAvatar2dTrainResponse> getResponseClass() {
return ConfirmAvatar2dTrainResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model/v20220130/ConfirmAvatar2dTrainResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.avatar.model.v20220130;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.avatar.transform.v20220130.ConfirmAvatar2dTrainResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ConfirmAvatar2dTrainResponse extends AcsResponse {
private String requestId;
private String code;
private String message;
private Boolean success;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
@Override
public ConfirmAvatar2dTrainResponse getInstance(UnmarshallerContext context) {
return ConfirmAvatar2dTrainResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model/v20220130/Create2dAvatarRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.avatar.model.v20220130;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class Create2dAvatarRequest extends RpcAcsRequest<Create2dAvatarResponse> {
private String image;
private Integer orientation;
private String description;
private String video;
private String portrait;
private Boolean transparent;
private Long tenantId;
private String name;
private Boolean callback;
public Create2dAvatarRequest() {
super("avatar", "2022-01-30", "Create2dAvatar");
setMethod(MethodType.POST);
}
public String getImage() {
return this.image;
}
public void setImage(String image) {
this.image = image;
if(image != null){
putQueryParameter("Image", image);
}
}
public Integer getOrientation() {
return this.orientation;
}
public void setOrientation(Integer orientation) {
this.orientation = orientation;
if(orientation != null){
putQueryParameter("Orientation", orientation.toString());
}
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
if(description != null){
putQueryParameter("Description", description);
}
}
public String getVideo() {
return this.video;
}
public void setVideo(String video) {
this.video = video;
if(video != null){
putQueryParameter("Video", video);
}
}
public String getPortrait() {
return this.portrait;
}
public void setPortrait(String portrait) {
this.portrait = portrait;
if(portrait != null){
putQueryParameter("Portrait", portrait);
}
}
public Boolean getTransparent() {
return this.transparent;
}
public void setTransparent(Boolean transparent) {
this.transparent = transparent;
if(transparent != null){
putQueryParameter("Transparent", transparent.toString());
}
}
public Long getTenantId() {
return this.tenantId;
}
public void setTenantId(Long tenantId) {
this.tenantId = tenantId;
if(tenantId != null){
putQueryParameter("TenantId", tenantId.toString());
}
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
if(name != null){
putQueryParameter("Name", name);
}
}
public Boolean getCallback() {
return this.callback;
}
public void setCallback(Boolean callback) {
this.callback = callback;
if(callback != null){
putQueryParameter("Callback", callback.toString());
}
}
@Override
public Class<Create2dAvatarResponse> getResponseClass() {
return Create2dAvatarResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model/v20220130/Create2dAvatarResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.avatar.model.v20220130;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.avatar.transform.v20220130.Create2dAvatarResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class Create2dAvatarResponse extends AcsResponse {
private String requestId;
private String code;
private String message;
private Boolean success;
private Data data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private String code;
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
}
@Override
public Create2dAvatarResponse getInstance(UnmarshallerContext context) {
return Create2dAvatarResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model/v20220130/DeleteAvatarRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.avatar.model.v20220130;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class DeleteAvatarRequest extends RpcAcsRequest<DeleteAvatarResponse> {
private String code;
private Long tenantId;
public DeleteAvatarRequest() {
super("avatar", "2022-01-30", "DeleteAvatar");
setMethod(MethodType.POST);
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
if(code != null){
putQueryParameter("Code", code);
}
}
public Long getTenantId() {
return this.tenantId;
}
public void setTenantId(Long tenantId) {
this.tenantId = tenantId;
if(tenantId != null){
putQueryParameter("TenantId", tenantId.toString());
}
}
@Override
public Class<DeleteAvatarResponse> getResponseClass() {
return DeleteAvatarResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model/v20220130/DeleteAvatarResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.avatar.model.v20220130;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.avatar.transform.v20220130.DeleteAvatarResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DeleteAvatarResponse extends AcsResponse {
private String requestId;
private String code;
private String message;
private Boolean success;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
@Override
public DeleteAvatarResponse getInstance(UnmarshallerContext context) {
return DeleteAvatarResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model/v20220130/DuplexDecisionRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.avatar.model.v20220130;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.google.gson.Gson;
import com.google.gson.annotations.SerializedName;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class DuplexDecisionRequest extends RpcAcsRequest<DuplexDecisionResponse> {
private Integer interruptType;
@SerializedName("customKeywords")
private List<String> customKeywords;
private String sessionId;
private String dialogStatus;
@SerializedName("dialogContext")
private DialogContext dialogContext;
private Integer callTime;
private String appId;
private Long tenantId;
private String text;
private String bizRequestId;
public DuplexDecisionRequest() {
super("avatar", "2022-01-30", "DuplexDecision");
setMethod(MethodType.POST);
}
public Integer getInterruptType() {
return this.interruptType;
}
public void setInterruptType(Integer interruptType) {
this.interruptType = interruptType;
if(interruptType != null){
putQueryParameter("InterruptType", interruptType.toString());
}
}
public List<String> getCustomKeywords() {
return this.customKeywords;
}
public void setCustomKeywords(List<String> customKeywords) {
this.customKeywords = customKeywords;
if (customKeywords != null) {
putQueryParameter("CustomKeywords" , new Gson().toJson(customKeywords));
}
}
public String getSessionId() {
return this.sessionId;
}
public void setSessionId(String sessionId) {
this.sessionId = sessionId;
if(sessionId != null){
putQueryParameter("SessionId", sessionId);
}
}
public String getDialogStatus() {
return this.dialogStatus;
}
public void setDialogStatus(String dialogStatus) {
this.dialogStatus = dialogStatus;
if(dialogStatus != null){
putQueryParameter("DialogStatus", dialogStatus);
}
}
public DialogContext getDialogContext() {
return this.dialogContext;
}
public void setDialogContext(DialogContext dialogContext) {
this.dialogContext = dialogContext;
if (dialogContext != null) {
putQueryParameter("DialogContext" , new Gson().toJson(dialogContext));
}
}
public Integer getCallTime() {
return this.callTime;
}
public void setCallTime(Integer callTime) {
this.callTime = callTime;
if(callTime != null){
putQueryParameter("CallTime", callTime.toString());
}
}
public String getAppId() {
return this.appId;
}
public void setAppId(String appId) {
this.appId = appId;
if(appId != null){
putQueryParameter("AppId", appId);
}
}
public Long getTenantId() {
return this.tenantId;
}
public void setTenantId(Long tenantId) {
this.tenantId = tenantId;
if(tenantId != null){
putQueryParameter("TenantId", tenantId.toString());
}
}
public String getText() {
return this.text;
}
public void setText(String text) {
this.text = text;
if(text != null){
putQueryParameter("Text", text);
}
}
public String getBizRequestId() {
return this.bizRequestId;
}
public void setBizRequestId(String bizRequestId) {
this.bizRequestId = bizRequestId;
if(bizRequestId != null){
putQueryParameter("BizRequestId", bizRequestId);
}
}
public static class DialogContext {
@SerializedName("Histories")
private List<HistoriesItem> histories;
@SerializedName("CurUtteranceIdx")
private Integer curUtteranceIdx;
public List<HistoriesItem> getHistories() {
return this.histories;
}
public void setHistories(List<HistoriesItem> histories) {
this.histories = histories;
}
public Integer getCurUtteranceIdx() {
return this.curUtteranceIdx;
}
public void setCurUtteranceIdx(Integer curUtteranceIdx) {
this.curUtteranceIdx = curUtteranceIdx;
}
public static class HistoriesItem {
@SerializedName("Robot")
private String robot;
@SerializedName("User")
private String user;
public String getRobot() {
return this.robot;
}
public void setRobot(String robot) {
this.robot = robot;
}
public String getUser() {
return this.user;
}
public void setUser(String user) {
this.user = user;
}
}
}
@Override
public Class<DuplexDecisionResponse> getResponseClass() {
return DuplexDecisionResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model/v20220130/DuplexDecisionResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.avatar.model.v20220130;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.avatar.transform.v20220130.DuplexDecisionResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DuplexDecisionResponse extends AcsResponse {
private String code;
private String message;
private String success;
private String requestId;
private Data data;
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getSuccess() {
return this.success;
}
public void setSuccess(String success) {
this.success = success;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private String actionType;
private String outputText;
private String grabType;
public String getActionType() {
return this.actionType;
}
public void setActionType(String actionType) {
this.actionType = actionType;
}
public String getOutputText() {
return this.outputText;
}
public void setOutputText(String outputText) {
this.outputText = outputText;
}
public String getGrabType() {
return this.grabType;
}
public void setGrabType(String grabType) {
this.grabType = grabType;
}
}
@Override
public DuplexDecisionResponse getInstance(UnmarshallerContext context) {
return DuplexDecisionResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model/v20220130/GetVideoTaskInfoRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.avatar.model.v20220130;
import com.aliyuncs.RpcAcsRequest;
import com.google.gson.Gson;
import com.google.gson.annotations.SerializedName;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class GetVideoTaskInfoRequest extends RpcAcsRequest<GetVideoTaskInfoResponse> {
@SerializedName("app")
private App app;
private Long tenantId;
private String taskUuid;
public GetVideoTaskInfoRequest() {
super("avatar", "2022-01-30", "GetVideoTaskInfo");
setMethod(MethodType.GET);
}
public App getApp() {
return this.app;
}
public void setApp(App app) {
this.app = app;
if (app != null) {
putQueryParameter("App" , new Gson().toJson(app));
}
}
public Long getTenantId() {
return this.tenantId;
}
public void setTenantId(Long tenantId) {
this.tenantId = tenantId;
if(tenantId != null){
putQueryParameter("TenantId", tenantId.toString());
}
}
public String getTaskUuid() {
return this.taskUuid;
}
public void setTaskUuid(String taskUuid) {
this.taskUuid = taskUuid;
if(taskUuid != null){
putQueryParameter("TaskUuid", taskUuid);
}
}
public static class App {
@SerializedName("AppId")
private String appId;
public String getAppId() {
return this.appId;
}
public void setAppId(String appId) {
this.appId = appId;
}
}
@Override
public Class<GetVideoTaskInfoResponse> getResponseClass() {
return GetVideoTaskInfoResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model/v20220130/GetVideoTaskInfoResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.avatar.model.v20220130;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.avatar.transform.v20220130.GetVideoTaskInfoResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class GetVideoTaskInfoResponse extends AcsResponse {
private String requestId;
private String code;
private String message;
private Boolean success;
private Data data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private String taskUuid;
private String type;
private String status;
private String process;
private TaskResult taskResult;
public String getTaskUuid() {
return this.taskUuid;
}
public void setTaskUuid(String taskUuid) {
this.taskUuid = taskUuid;
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public String getStatus() {
return this.status;
}
public void setStatus(String status) {
this.status = status;
}
public String getProcess() {
return this.process;
}
public void setProcess(String process) {
this.process = process;
}
public TaskResult getTaskResult() {
return this.taskResult;
}
public void setTaskResult(TaskResult taskResult) {
this.taskResult = taskResult;
}
public static class TaskResult {
private String videoUrl;
private String subtitlesUrl;
private String wordSubtitlesUrl;
private String failReason;
private String failCode;
private Integer videoDuration;
private String alphaUrl;
private String previewPic;
private String attachmentUrl;
public String getVideoUrl() {
return this.videoUrl;
}
public void setVideoUrl(String videoUrl) {
this.videoUrl = videoUrl;
}
public String getSubtitlesUrl() {
return this.subtitlesUrl;
}
public void setSubtitlesUrl(String subtitlesUrl) {
this.subtitlesUrl = subtitlesUrl;
}
public String getWordSubtitlesUrl() {
return this.wordSubtitlesUrl;
}
public void setWordSubtitlesUrl(String wordSubtitlesUrl) {
this.wordSubtitlesUrl = wordSubtitlesUrl;
}
public String getFailReason() {
return this.failReason;
}
public void setFailReason(String failReason) {
this.failReason = failReason;
}
public String getFailCode() {
return this.failCode;
}
public void setFailCode(String failCode) {
this.failCode = failCode;
}
public Integer getVideoDuration() {
return this.videoDuration;
}
public void setVideoDuration(Integer videoDuration) {
this.videoDuration = videoDuration;
}
public String getAlphaUrl() {
return this.alphaUrl;
}
public void setAlphaUrl(String alphaUrl) {
this.alphaUrl = alphaUrl;
}
public String getPreviewPic() {
return this.previewPic;
}
public void setPreviewPic(String previewPic) {
this.previewPic = previewPic;
}
public String getAttachmentUrl() {
return this.attachmentUrl;
}
public void setAttachmentUrl(String attachmentUrl) {
this.attachmentUrl = attachmentUrl;
}
}
}
@Override
public GetVideoTaskInfoResponse getInstance(UnmarshallerContext context) {
return GetVideoTaskInfoResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model/v20220130/LicenseAuthRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.avatar.model.v20220130;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class LicenseAuthRequest extends RpcAcsRequest<LicenseAuthResponse> {
private String license;
private String appId;
private Long tenantId;
public LicenseAuthRequest() {
super("avatar", "2022-01-30", "LicenseAuth");
setMethod(MethodType.POST);
}
public String getLicense() {
return this.license;
}
public void setLicense(String license) {
this.license = license;
if(license != null){
putQueryParameter("License", license);
}
}
public String getAppId() {
return this.appId;
}
public void setAppId(String appId) {
this.appId = appId;
if(appId != null){
putQueryParameter("AppId", appId);
}
}
public Long getTenantId() {
return this.tenantId;
}
public void setTenantId(Long tenantId) {
this.tenantId = tenantId;
if(tenantId != null){
putQueryParameter("TenantId", tenantId.toString());
}
}
@Override
public Class<LicenseAuthResponse> getResponseClass() {
return LicenseAuthResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model/v20220130/LicenseAuthResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.avatar.model.v20220130;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.avatar.transform.v20220130.LicenseAuthResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class LicenseAuthResponse extends AcsResponse {
private String requestId;
private String code;
private String message;
private Boolean success;
private Data data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private String token;
public String getToken() {
return this.token;
}
public void setToken(String token) {
this.token = token;
}
}
@Override
public LicenseAuthResponse getInstance(UnmarshallerContext context) {
return LicenseAuthResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model/v20220130/QueryAvatarListRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.avatar.model.v20220130;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class QueryAvatarListRequest extends RpcAcsRequest<QueryAvatarListResponse> {
private String modelType;
private Integer pageNo;
private Long tenantId;
private Integer pageSize;
public QueryAvatarListRequest() {
super("avatar", "2022-01-30", "QueryAvatarList");
setMethod(MethodType.POST);
}
public String getModelType() {
return this.modelType;
}
public void setModelType(String modelType) {
this.modelType = modelType;
if(modelType != null){
putQueryParameter("ModelType", modelType);
}
}
public Integer getPageNo() {
return this.pageNo;
}
public void setPageNo(Integer pageNo) {
this.pageNo = pageNo;
if(pageNo != null){
putQueryParameter("PageNo", pageNo.toString());
}
}
public Long getTenantId() {
return this.tenantId;
}
public void setTenantId(Long tenantId) {
this.tenantId = tenantId;
if(tenantId != null){
putQueryParameter("TenantId", tenantId.toString());
}
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
if(pageSize != null){
putQueryParameter("PageSize", pageSize.toString());
}
}
@Override
public Class<QueryAvatarListResponse> getResponseClass() {
return QueryAvatarListResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model/v20220130/QueryAvatarListResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.avatar.model.v20220130;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.avatar.transform.v20220130.QueryAvatarListResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class QueryAvatarListResponse extends AcsResponse {
private String requestId;
private String code;
private String message;
private Boolean success;
private Data data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private Integer totalCount;
private Integer pageNo;
private Integer pageSize;
private Integer totalPage;
private List<ListItem> list;
public Integer getTotalCount() {
return this.totalCount;
}
public void setTotalCount(Integer totalCount) {
this.totalCount = totalCount;
}
public Integer getPageNo() {
return this.pageNo;
}
public void setPageNo(Integer pageNo) {
this.pageNo = pageNo;
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
}
public Integer getTotalPage() {
return this.totalPage;
}
public void setTotalPage(Integer totalPage) {
this.totalPage = totalPage;
}
public List<ListItem> getList() {
return this.list;
}
public void setList(List<ListItem> list) {
this.list = list;
}
public static class ListItem {
private String code;
private String name;
private String image;
private String portrait;
private String description;
private String avatarType;
private String modelType;
private String makeStatus;
private String makeFailReason;
private String makeStage;
private String preview;
private SupportedResolutions supportedResolutions;
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getImage() {
return this.image;
}
public void setImage(String image) {
this.image = image;
}
public String getPortrait() {
return this.portrait;
}
public void setPortrait(String portrait) {
this.portrait = portrait;
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
}
public String getAvatarType() {
return this.avatarType;
}
public void setAvatarType(String avatarType) {
this.avatarType = avatarType;
}
public String getModelType() {
return this.modelType;
}
public void setModelType(String modelType) {
this.modelType = modelType;
}
public String getMakeStatus() {
return this.makeStatus;
}
public void setMakeStatus(String makeStatus) {
this.makeStatus = makeStatus;
}
public String getMakeFailReason() {
return this.makeFailReason;
}
public void setMakeFailReason(String makeFailReason) {
this.makeFailReason = makeFailReason;
}
public String getMakeStage() {
return this.makeStage;
}
public void setMakeStage(String makeStage) {
this.makeStage = makeStage;
}
public String getPreview() {
return this.preview;
}
public void setPreview(String preview) {
this.preview = preview;
}
public SupportedResolutions getSupportedResolutions() {
return this.supportedResolutions;
}
public void setSupportedResolutions(SupportedResolutions supportedResolutions) {
this.supportedResolutions = supportedResolutions;
}
public static class SupportedResolutions {
private List<OfflineItem> offline;
private List<OnlineItem> online;
public List<OfflineItem> getOffline() {
return this.offline;
}
public void setOffline(List<OfflineItem> offline) {
this.offline = offline;
}
public List<OnlineItem> getOnline() {
return this.online;
}
public void setOnline(List<OnlineItem> online) {
this.online = online;
}
public static class OfflineItem {
private Integer width;
private Integer height;
private String desc;
public Integer getWidth() {
return this.width;
}
public void setWidth(Integer width) {
this.width = width;
}
public Integer getHeight() {
return this.height;
}
public void setHeight(Integer height) {
this.height = height;
}
public String getDesc() {
return this.desc;
}
public void setDesc(String desc) {
this.desc = desc;
}
}
public static class OnlineItem {
private Integer width;
private Integer height;
private String desc;
public Integer getWidth() {
return this.width;
}
public void setWidth(Integer width) {
this.width = width;
}
public Integer getHeight() {
return this.height;
}
public void setHeight(Integer height) {
this.height = height;
}
public String getDesc() {
return this.desc;
}
public void setDesc(String desc) {
this.desc = desc;
}
}
}
}
}
@Override
public QueryAvatarListResponse getInstance(UnmarshallerContext context) {
return QueryAvatarListResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model/v20220130/QueryAvatarRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.avatar.model.v20220130;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class QueryAvatarRequest extends RpcAcsRequest<QueryAvatarResponse> {
private String code;
private Long tenantId;
public QueryAvatarRequest() {
super("avatar", "2022-01-30", "QueryAvatar");
setMethod(MethodType.POST);
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
if(code != null){
putQueryParameter("Code", code);
}
}
public Long getTenantId() {
return this.tenantId;
}
public void setTenantId(Long tenantId) {
this.tenantId = tenantId;
if(tenantId != null){
putQueryParameter("TenantId", tenantId.toString());
}
}
@Override
public Class<QueryAvatarResponse> getResponseClass() {
return QueryAvatarResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model/v20220130/QueryAvatarResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.avatar.model.v20220130;
import java.util.List;
import java.util.Map;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.avatar.transform.v20220130.QueryAvatarResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class QueryAvatarResponse extends AcsResponse {
private String requestId;
private String code;
private String message;
private Boolean success;
private Data data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private String name;
private String description;
private String portrait;
private String image;
private Map<Object,Object> allLocateImages;
private String modelType;
private String avatarType;
private String makeStatus;
private String makeFailReason;
private String makeStage;
private String preview;
private SupportedResolutions supportedResolutions;
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
}
public String getPortrait() {
return this.portrait;
}
public void setPortrait(String portrait) {
this.portrait = portrait;
}
public String getImage() {
return this.image;
}
public void setImage(String image) {
this.image = image;
}
public Map<Object,Object> getAllLocateImages() {
return this.allLocateImages;
}
public void setAllLocateImages(Map<Object,Object> allLocateImages) {
this.allLocateImages = allLocateImages;
}
public String getModelType() {
return this.modelType;
}
public void setModelType(String modelType) {
this.modelType = modelType;
}
public String getAvatarType() {
return this.avatarType;
}
public void setAvatarType(String avatarType) {
this.avatarType = avatarType;
}
public String getMakeStatus() {
return this.makeStatus;
}
public void setMakeStatus(String makeStatus) {
this.makeStatus = makeStatus;
}
public String getMakeFailReason() {
return this.makeFailReason;
}
public void setMakeFailReason(String makeFailReason) {
this.makeFailReason = makeFailReason;
}
public String getMakeStage() {
return this.makeStage;
}
public void setMakeStage(String makeStage) {
this.makeStage = makeStage;
}
public String getPreview() {
return this.preview;
}
public void setPreview(String preview) {
this.preview = preview;
}
public SupportedResolutions getSupportedResolutions() {
return this.supportedResolutions;
}
public void setSupportedResolutions(SupportedResolutions supportedResolutions) {
this.supportedResolutions = supportedResolutions;
}
public static class SupportedResolutions {
private List<OfflineItem> offline;
private List<OnlineItem> online;
public List<OfflineItem> getOffline() {
return this.offline;
}
public void setOffline(List<OfflineItem> offline) {
this.offline = offline;
}
public List<OnlineItem> getOnline() {
return this.online;
}
public void setOnline(List<OnlineItem> online) {
this.online = online;
}
public static class OfflineItem {
private Integer width;
private Integer height;
private String desc;
public Integer getWidth() {
return this.width;
}
public void setWidth(Integer width) {
this.width = width;
}
public Integer getHeight() {
return this.height;
}
public void setHeight(Integer height) {
this.height = height;
}
public String getDesc() {
return this.desc;
}
public void setDesc(String desc) {
this.desc = desc;
}
}
public static class OnlineItem {
private Integer width;
private Integer height;
private String desc;
public Integer getWidth() {
return this.width;
}
public void setWidth(Integer width) {
this.width = width;
}
public Integer getHeight() {
return this.height;
}
public void setHeight(Integer height) {
this.height = height;
}
public String getDesc() {
return this.desc;
}
public void setDesc(String desc) {
this.desc = desc;
}
}
}
}
@Override
public QueryAvatarResponse getInstance(UnmarshallerContext context) {
return QueryAvatarResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model/v20220130/QueryRunningInstanceRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.avatar.model.v20220130;
import com.aliyuncs.RpcAcsRequest;
import com.google.gson.Gson;
import com.google.gson.annotations.SerializedName;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class QueryRunningInstanceRequest extends RpcAcsRequest<QueryRunningInstanceResponse> {
@SerializedName("app")
private App app;
private Long tenantId;
private String sessionId;
public QueryRunningInstanceRequest() {
super("avatar", "2022-01-30", "QueryRunningInstance");
setMethod(MethodType.POST);
}
public App getApp() {
return this.app;
}
public void setApp(App app) {
this.app = app;
if (app != null) {
putQueryParameter("App" , new Gson().toJson(app));
}
}
public Long getTenantId() {
return this.tenantId;
}
public void setTenantId(Long tenantId) {
this.tenantId = tenantId;
if(tenantId != null){
putQueryParameter("TenantId", tenantId.toString());
}
}
public String getSessionId() {
return this.sessionId;
}
public void setSessionId(String sessionId) {
this.sessionId = sessionId;
if(sessionId != null){
putQueryParameter("SessionId", sessionId);
}
}
public static class App {
@SerializedName("AppId")
private String appId;
public String getAppId() {
return this.appId;
}
public void setAppId(String appId) {
this.appId = appId;
}
}
@Override
public Class<QueryRunningInstanceResponse> getResponseClass() {
return QueryRunningInstanceResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model/v20220130/QueryRunningInstanceResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.avatar.model.v20220130;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.avatar.transform.v20220130.QueryRunningInstanceResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class QueryRunningInstanceResponse extends AcsResponse {
private String requestId;
private String code;
private String message;
private Boolean success;
private List<DataItem> data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public List<DataItem> getData() {
return this.data;
}
public void setData(List<DataItem> data) {
this.data = data;
}
public static class DataItem {
private String sessionId;
private String token;
private Channel channel;
private User user;
public String getSessionId() {
return this.sessionId;
}
public void setSessionId(String sessionId) {
this.sessionId = sessionId;
}
public String getToken() {
return this.token;
}
public void setToken(String token) {
this.token = token;
}
public Channel getChannel() {
return this.channel;
}
public void setChannel(Channel channel) {
this.channel = channel;
}
public User getUser() {
return this.user;
}
public void setUser(User user) {
this.user = user;
}
public static class Channel {
private String channelId;
private String token;
private String type;
private String expiredTime;
private String nonce;
private String userId;
private String appId;
private String userInfoInChannel;
private List<String> gslb;
public String getChannelId() {
return this.channelId;
}
public void setChannelId(String channelId) {
this.channelId = channelId;
}
public String getToken() {
return this.token;
}
public void setToken(String token) {
this.token = token;
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public String getExpiredTime() {
return this.expiredTime;
}
public void setExpiredTime(String expiredTime) {
this.expiredTime = expiredTime;
}
public String getNonce() {
return this.nonce;
}
public void setNonce(String nonce) {
this.nonce = nonce;
}
public String getUserId() {
return this.userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
public String getAppId() {
return this.appId;
}
public void setAppId(String appId) {
this.appId = appId;
}
public String getUserInfoInChannel() {
return this.userInfoInChannel;
}
public void setUserInfoInChannel(String userInfoInChannel) {
this.userInfoInChannel = userInfoInChannel;
}
public List<String> getGslb() {
return this.gslb;
}
public void setGslb(List<String> gslb) {
this.gslb = gslb;
}
}
public static class User {
private String userId;
private String userName;
public String getUserId() {
return this.userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
public String getUserName() {
return this.userName;
}
public void setUserName(String userName) {
this.userName = userName;
}
}
}
@Override
public QueryRunningInstanceResponse getInstance(UnmarshallerContext context) {
return QueryRunningInstanceResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model/v20220130/QueryTimedResetOperateStatusRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.avatar.model.v20220130;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class QueryTimedResetOperateStatusRequest extends RpcAcsRequest<QueryTimedResetOperateStatusResponse> {
private String instanceId;
private Long tenantId;
public QueryTimedResetOperateStatusRequest() {
super("avatar", "2022-01-30", "QueryTimedResetOperateStatus");
setMethod(MethodType.POST);
}
public String getInstanceId() {
return this.instanceId;
}
public void setInstanceId(String instanceId) {
this.instanceId = instanceId;
if(instanceId != null){
putQueryParameter("InstanceId", instanceId);
}
}
public Long getTenantId() {
return this.tenantId;
}
public void setTenantId(Long tenantId) {
this.tenantId = tenantId;
if(tenantId != null){
putQueryParameter("TenantId", tenantId.toString());
}
}
@Override
public Class<QueryTimedResetOperateStatusResponse> getResponseClass() {
return QueryTimedResetOperateStatusResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model/v20220130/QueryTimedResetOperateStatusResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.avatar.model.v20220130;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.avatar.transform.v20220130.QueryTimedResetOperateStatusResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class QueryTimedResetOperateStatusResponse extends AcsResponse {
private String requestId;
private String code;
private String message;
private Boolean success;
private Data data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private String instanceId;
private String statusStr;
private String tenantId;
private Long status;
public String getInstanceId() {
return this.instanceId;
}
public void setInstanceId(String instanceId) {
this.instanceId = instanceId;
}
public String getStatusStr() {
return this.statusStr;
}
public void setStatusStr(String statusStr) {
this.statusStr = statusStr;
}
public String getTenantId() {
return this.tenantId;
}
public void setTenantId(String tenantId) {
this.tenantId = tenantId;
}
public Long getStatus() {
return this.status;
}
public void setStatus(Long status) {
this.status = status;
}
}
@Override
public QueryTimedResetOperateStatusResponse getInstance(UnmarshallerContext context) {
return QueryTimedResetOperateStatusResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model/v20220130/QueryVideoTaskInfoRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.avatar.model.v20220130;
import com.aliyuncs.RpcAcsRequest;
import com.google.gson.Gson;
import com.google.gson.annotations.SerializedName;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class QueryVideoTaskInfoRequest extends RpcAcsRequest<QueryVideoTaskInfoResponse> {
@SerializedName("app")
private App app;
private String title;
private Integer type;
private String orderById;
private Integer pageNo;
private Long tenantId;
private Integer pageSize;
private String taskUuid;
private Integer status;
public QueryVideoTaskInfoRequest() {
super("avatar", "2022-01-30", "QueryVideoTaskInfo");
setMethod(MethodType.POST);
}
public App getApp() {
return this.app;
}
public void setApp(App app) {
this.app = app;
if (app != null) {
putQueryParameter("App" , new Gson().toJson(app));
}
}
public String getTitle() {
return this.title;
}
public void setTitle(String title) {
this.title = title;
if(title != null){
putQueryParameter("Title", title);
}
}
public Integer getType() {
return this.type;
}
public void setType(Integer type) {
this.type = type;
if(type != null){
putQueryParameter("Type", type.toString());
}
}
public String getOrderById() {
return this.orderById;
}
public void setOrderById(String orderById) {
this.orderById = orderById;
if(orderById != null){
putQueryParameter("OrderById", orderById);
}
}
public Integer getPageNo() {
return this.pageNo;
}
public void setPageNo(Integer pageNo) {
this.pageNo = pageNo;
if(pageNo != null){
putQueryParameter("PageNo", pageNo.toString());
}
}
public Long getTenantId() {
return this.tenantId;
}
public void setTenantId(Long tenantId) {
this.tenantId = tenantId;
if(tenantId != null){
putQueryParameter("TenantId", tenantId.toString());
}
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
if(pageSize != null){
putQueryParameter("PageSize", pageSize.toString());
}
}
public String getTaskUuid() {
return this.taskUuid;
}
public void setTaskUuid(String taskUuid) {
this.taskUuid = taskUuid;
if(taskUuid != null){
putQueryParameter("TaskUuid", taskUuid);
}
}
public Integer getStatus() {
return this.status;
}
public void setStatus(Integer status) {
this.status = status;
if(status != null){
putQueryParameter("Status", status.toString());
}
}
public static class App {
@SerializedName("AppId")
private String appId;
public String getAppId() {
return this.appId;
}
public void setAppId(String appId) {
this.appId = appId;
}
}
@Override
public Class<QueryVideoTaskInfoResponse> getResponseClass() {
return QueryVideoTaskInfoResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model/v20220130/QueryVideoTaskInfoResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.avatar.model.v20220130;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.avatar.transform.v20220130.QueryVideoTaskInfoResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class QueryVideoTaskInfoResponse extends AcsResponse {
private String requestId;
private Boolean success;
private String code;
private String message;
private Data data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private Integer pageNo;
private Integer pageSize;
private Long totalCount;
private List<ListItem> list;
public Integer getPageNo() {
return this.pageNo;
}
public void setPageNo(Integer pageNo) {
this.pageNo = pageNo;
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
}
public Long getTotalCount() {
return this.totalCount;
}
public void setTotalCount(Long totalCount) {
this.totalCount = totalCount;
}
public List<ListItem> getList() {
return this.list;
}
public void setList(List<ListItem> list) {
this.list = list;
}
public static class ListItem {
private String taskUuid;
private String title;
private Integer type;
private Integer status;
private TaskResult taskResult;
public String getTaskUuid() {
return this.taskUuid;
}
public void setTaskUuid(String taskUuid) {
this.taskUuid = taskUuid;
}
public String getTitle() {
return this.title;
}
public void setTitle(String title) {
this.title = title;
}
public Integer getType() {
return this.type;
}
public void setType(Integer type) {
this.type = type;
}
public Integer getStatus() {
return this.status;
}
public void setStatus(Integer status) {
this.status = status;
}
public TaskResult getTaskResult() {
return this.taskResult;
}
public void setTaskResult(TaskResult taskResult) {
this.taskResult = taskResult;
}
public static class TaskResult {
private String videoUrl;
private String subtitlesUrl;
private String wordSubtitlesUrl;
private Integer videoDuration;
private String failReason;
private String failCode;
private String alphaUrl;
private String previewPic;
private String attachmentUrl;
public String getVideoUrl() {
return this.videoUrl;
}
public void setVideoUrl(String videoUrl) {
this.videoUrl = videoUrl;
}
public String getSubtitlesUrl() {
return this.subtitlesUrl;
}
public void setSubtitlesUrl(String subtitlesUrl) {
this.subtitlesUrl = subtitlesUrl;
}
public String getWordSubtitlesUrl() {
return this.wordSubtitlesUrl;
}
public void setWordSubtitlesUrl(String wordSubtitlesUrl) {
this.wordSubtitlesUrl = wordSubtitlesUrl;
}
public Integer getVideoDuration() {
return this.videoDuration;
}
public void setVideoDuration(Integer videoDuration) {
this.videoDuration = videoDuration;
}
public String getFailReason() {
return this.failReason;
}
public void setFailReason(String failReason) {
this.failReason = failReason;
}
public String getFailCode() {
return this.failCode;
}
public void setFailCode(String failCode) {
this.failCode = failCode;
}
public String getAlphaUrl() {
return this.alphaUrl;
}
public void setAlphaUrl(String alphaUrl) {
this.alphaUrl = alphaUrl;
}
public String getPreviewPic() {
return this.previewPic;
}
public void setPreviewPic(String previewPic) {
this.previewPic = previewPic;
}
public String getAttachmentUrl() {
return this.attachmentUrl;
}
public void setAttachmentUrl(String attachmentUrl) {
this.attachmentUrl = attachmentUrl;
}
}
}
}
@Override
public QueryVideoTaskInfoResponse getInstance(UnmarshallerContext context) {
return QueryVideoTaskInfoResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model/v20220130/Render3dAvatarRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.avatar.model.v20220130;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.ProtocolType;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class Render3dAvatarRequest extends RpcAcsRequest<Render3dAvatarResponse> {
private String code;
private String appId;
private Long tenantId;
public Render3dAvatarRequest() {
super("avatar", "2022-01-30", "Render3dAvatar");
setProtocol(ProtocolType.HTTPS);
setMethod(MethodType.POST);
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
if(code != null){
putQueryParameter("Code", code);
}
}
public String getAppId() {
return this.appId;
}
public void setAppId(String appId) {
this.appId = appId;
if(appId != null){
putQueryParameter("AppId", appId);
}
}
public Long getTenantId() {
return this.tenantId;
}
public void setTenantId(Long tenantId) {
this.tenantId = tenantId;
if(tenantId != null){
putQueryParameter("TenantId", tenantId.toString());
}
}
@Override
public Class<Render3dAvatarResponse> getResponseClass() {
return Render3dAvatarResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model/v20220130/Render3dAvatarResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.avatar.model.v20220130;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.avatar.transform.v20220130.Render3dAvatarResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class Render3dAvatarResponse extends AcsResponse {
private String requestId;
private Boolean success;
private String code;
private String message;
private Data data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private String renderData;
public String getRenderData() {
return this.renderData;
}
public void setRenderData(String renderData) {
this.renderData = renderData;
}
}
@Override
public Render3dAvatarResponse getInstance(UnmarshallerContext context) {
return Render3dAvatarResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model/v20220130/SendCommandRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.avatar.model.v20220130;
import com.aliyuncs.RpcAcsRequest;
import java.util.Map;
import com.google.gson.Gson;
import com.google.gson.annotations.SerializedName;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class SendCommandRequest extends RpcAcsRequest<SendCommandResponse> {
private Boolean feedback;
private String code;
private String uniqueCode;
private Long tenantId;
private String sessionId;
@SerializedName("content")
private Map<String,String> content;
public SendCommandRequest() {
super("avatar", "2022-01-30", "SendCommand");
setMethod(MethodType.POST);
}
public Boolean getFeedback() {
return this.feedback;
}
public void setFeedback(Boolean feedback) {
this.feedback = feedback;
if(feedback != null){
putQueryParameter("Feedback", feedback.toString());
}
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
if(code != null){
putQueryParameter("Code", code);
}
}
public String getUniqueCode() {
return this.uniqueCode;
}
public void setUniqueCode(String uniqueCode) {
this.uniqueCode = uniqueCode;
if(uniqueCode != null){
putQueryParameter("UniqueCode", uniqueCode);
}
}
public Long getTenantId() {
return this.tenantId;
}
public void setTenantId(Long tenantId) {
this.tenantId = tenantId;
if(tenantId != null){
putQueryParameter("TenantId", tenantId.toString());
}
}
public String getSessionId() {
return this.sessionId;
}
public void setSessionId(String sessionId) {
this.sessionId = sessionId;
if(sessionId != null){
putQueryParameter("SessionId", sessionId);
}
}
public Map<String,String> getContent() {
return this.content;
}
public void setContent(Map<String,String> content) {
this.content = content;
if (content != null) {
putQueryParameter("Content" , new Gson().toJson(content));
}
}
@Override
public Class<SendCommandResponse> getResponseClass() {
return SendCommandResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model/v20220130/SendCommandResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.avatar.model.v20220130;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.avatar.transform.v20220130.SendCommandResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class SendCommandResponse extends AcsResponse {
private String requestId;
private String code;
private String message;
private Boolean success;
private Data data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private String sessionId;
private String uniqueCode;
public String getSessionId() {
return this.sessionId;
}
public void setSessionId(String sessionId) {
this.sessionId = sessionId;
}
public String getUniqueCode() {
return this.uniqueCode;
}
public void setUniqueCode(String uniqueCode) {
this.uniqueCode = uniqueCode;
}
}
@Override
public SendCommandResponse getInstance(UnmarshallerContext context) {
return SendCommandResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model/v20220130/SendMessageRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.avatar.model.v20220130;
import com.aliyuncs.RpcAcsRequest;
import com.google.gson.Gson;
import com.google.gson.annotations.SerializedName;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class SendMessageRequest extends RpcAcsRequest<SendMessageResponse> {
private Boolean feedback;
@SerializedName("streamExtension")
private StreamExtension streamExtension;
private String textRequest;
private Long tenantId;
@SerializedName("vAMLRequest")
private VAMLRequest vAMLRequest;
private String sessionId;
public SendMessageRequest() {
super("avatar", "2022-01-30", "SendMessage");
setMethod(MethodType.POST);
}
public Boolean getFeedback() {
return this.feedback;
}
public void setFeedback(Boolean feedback) {
this.feedback = feedback;
if(feedback != null){
putQueryParameter("Feedback", feedback.toString());
}
}
public StreamExtension getStreamExtension() {
return this.streamExtension;
}
public void setStreamExtension(StreamExtension streamExtension) {
this.streamExtension = streamExtension;
if (streamExtension != null) {
putQueryParameter("StreamExtension" , new Gson().toJson(streamExtension));
}
}
public String getTextRequest() {
return this.textRequest;
}
public void setTextRequest(String textRequest) {
this.textRequest = textRequest;
if(textRequest != null){
putQueryParameter("TextRequest", textRequest);
}
}
public Long getTenantId() {
return this.tenantId;
}
public void setTenantId(Long tenantId) {
this.tenantId = tenantId;
if(tenantId != null){
putQueryParameter("TenantId", tenantId.toString());
}
}
public VAMLRequest getVAMLRequest() {
return this.vAMLRequest;
}
public void setVAMLRequest(VAMLRequest vAMLRequest) {
this.vAMLRequest = vAMLRequest;
if (vAMLRequest != null) {
putQueryParameter("VAMLRequest" , new Gson().toJson(vAMLRequest));
}
}
public String getSessionId() {
return this.sessionId;
}
public void setSessionId(String sessionId) {
this.sessionId = sessionId;
if(sessionId != null){
putQueryParameter("SessionId", sessionId);
}
}
public static class StreamExtension {
@SerializedName("IsStream")
private Boolean isStream;
@SerializedName("Index")
private Integer index;
@SerializedName("Position")
private String position;
public Boolean getIsStream() {
return this.isStream;
}
public void setIsStream(Boolean isStream) {
this.isStream = isStream;
}
public Integer getIndex() {
return this.index;
}
public void setIndex(Integer index) {
this.index = index;
}
public String getPosition() {
return this.position;
}
public void setPosition(String position) {
this.position = position;
}
}
public static class VAMLRequest {
@SerializedName("Code")
private String code;
@SerializedName("Vaml")
private String vaml;
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getVaml() {
return this.vaml;
}
public void setVaml(String vaml) {
this.vaml = vaml;
}
}
@Override
public Class<SendMessageResponse> getResponseClass() {
return SendMessageResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model/v20220130/SendMessageResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.avatar.model.v20220130;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.avatar.transform.v20220130.SendMessageResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class SendMessageResponse extends AcsResponse {
private String code;
private String message;
private Boolean success;
private Data data;
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private String requestId;
private String sessionId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getSessionId() {
return this.sessionId;
}
public void setSessionId(String sessionId) {
this.sessionId = sessionId;
}
}
@Override
public SendMessageResponse getInstance(UnmarshallerContext context) {
return SendMessageResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model/v20220130/SendTextRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.avatar.model.v20220130;
import com.aliyuncs.RpcAcsRequest;
import com.google.gson.Gson;
import com.google.gson.annotations.SerializedName;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class SendTextRequest extends RpcAcsRequest<SendTextResponse> {
private Boolean feedback;
private String uniqueCode;
@SerializedName("streamExtension")
private StreamExtension streamExtension;
private Long tenantId;
private Boolean interrupt;
private String sessionId;
private String text;
public SendTextRequest() {
super("avatar", "2022-01-30", "SendText");
setMethod(MethodType.POST);
}
public Boolean getFeedback() {
return this.feedback;
}
public void setFeedback(Boolean feedback) {
this.feedback = feedback;
if(feedback != null){
putQueryParameter("Feedback", feedback.toString());
}
}
public String getUniqueCode() {
return this.uniqueCode;
}
public void setUniqueCode(String uniqueCode) {
this.uniqueCode = uniqueCode;
if(uniqueCode != null){
putQueryParameter("UniqueCode", uniqueCode);
}
}
public StreamExtension getStreamExtension() {
return this.streamExtension;
}
public void setStreamExtension(StreamExtension streamExtension) {
this.streamExtension = streamExtension;
if (streamExtension != null) {
putQueryParameter("StreamExtension" , new Gson().toJson(streamExtension));
}
}
public Long getTenantId() {
return this.tenantId;
}
public void setTenantId(Long tenantId) {
this.tenantId = tenantId;
if(tenantId != null){
putQueryParameter("TenantId", tenantId.toString());
}
}
public Boolean getInterrupt() {
return this.interrupt;
}
public void setInterrupt(Boolean interrupt) {
this.interrupt = interrupt;
if(interrupt != null){
putQueryParameter("Interrupt", interrupt.toString());
}
}
public String getSessionId() {
return this.sessionId;
}
public void setSessionId(String sessionId) {
this.sessionId = sessionId;
if(sessionId != null){
putQueryParameter("SessionId", sessionId);
}
}
public String getText() {
return this.text;
}
public void setText(String text) {
this.text = text;
if(text != null){
putQueryParameter("Text", text);
}
}
public static class StreamExtension {
@SerializedName("IsStream")
private Boolean isStream;
@SerializedName("Index")
private Integer index;
@SerializedName("Position")
private String position;
public Boolean getIsStream() {
return this.isStream;
}
public void setIsStream(Boolean isStream) {
this.isStream = isStream;
}
public Integer getIndex() {
return this.index;
}
public void setIndex(Integer index) {
this.index = index;
}
public String getPosition() {
return this.position;
}
public void setPosition(String position) {
this.position = position;
}
}
@Override
public Class<SendTextResponse> getResponseClass() {
return SendTextResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model/v20220130/SendTextResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.avatar.model.v20220130;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.avatar.transform.v20220130.SendTextResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class SendTextResponse extends AcsResponse {
private String requestId;
private String code;
private String message;
private Boolean success;
private Data data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private String sessionId;
private String uniqueCode;
public String getSessionId() {
return this.sessionId;
}
public void setSessionId(String sessionId) {
this.sessionId = sessionId;
}
public String getUniqueCode() {
return this.uniqueCode;
}
public void setUniqueCode(String uniqueCode) {
this.uniqueCode = uniqueCode;
}
}
@Override
public SendTextResponse getInstance(UnmarshallerContext context) {
return SendTextResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model/v20220130/SendVamlRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.avatar.model.v20220130;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class SendVamlRequest extends RpcAcsRequest<SendVamlResponse> {
private Long tenantId;
private String sessionId;
private String vaml;
public SendVamlRequest() {
super("avatar", "2022-01-30", "SendVaml");
setMethod(MethodType.POST);
}
public Long getTenantId() {
return this.tenantId;
}
public void setTenantId(Long tenantId) {
this.tenantId = tenantId;
if(tenantId != null){
putQueryParameter("TenantId", tenantId.toString());
}
}
public String getSessionId() {
return this.sessionId;
}
public void setSessionId(String sessionId) {
this.sessionId = sessionId;
if(sessionId != null){
putQueryParameter("SessionId", sessionId);
}
}
public String getVaml() {
return this.vaml;
}
public void setVaml(String vaml) {
this.vaml = vaml;
if(vaml != null){
putQueryParameter("Vaml", vaml);
}
}
@Override
public Class<SendVamlResponse> getResponseClass() {
return SendVamlResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model/v20220130/SendVamlResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.avatar.model.v20220130;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.avatar.transform.v20220130.SendVamlResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class SendVamlResponse extends AcsResponse {
private String requestId;
private String code;
private String message;
private Boolean success;
private Data data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private String sessionId;
private String uniqueCode;
public String getSessionId() {
return this.sessionId;
}
public void setSessionId(String sessionId) {
this.sessionId = sessionId;
}
public String getUniqueCode() {
return this.uniqueCode;
}
public void setUniqueCode(String uniqueCode) {
this.uniqueCode = uniqueCode;
}
}
@Override
public SendVamlResponse getInstance(UnmarshallerContext context) {
return SendVamlResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model/v20220130/StartInstanceRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.avatar.model.v20220130;
import com.aliyuncs.RpcAcsRequest;
import java.util.Map;
import com.google.gson.Gson;
import com.google.gson.annotations.SerializedName;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class StartInstanceRequest extends RpcAcsRequest<StartInstanceResponse> {
private String app;
@SerializedName("textRequest")
private TextRequest textRequest;
private Long tenantId;
private String bizId;
@SerializedName("channel")
private Channel channel;
@SerializedName("commandRequest")
private CommandRequest commandRequest;
private String user;
public StartInstanceRequest() {
super("avatar", "2022-01-30", "StartInstance");
setMethod(MethodType.POST);
}
public String getApp() {
return this.app;
}
public void setApp(String app) {
this.app = app;
if(app != null){
putQueryParameter("App", app);
}
}
public TextRequest getTextRequest() {
return this.textRequest;
}
public void setTextRequest(TextRequest textRequest) {
this.textRequest = textRequest;
if (textRequest != null) {
putQueryParameter("TextRequest" , new Gson().toJson(textRequest));
}
}
public Long getTenantId() {
return this.tenantId;
}
public void setTenantId(Long tenantId) {
this.tenantId = tenantId;
if(tenantId != null){
putQueryParameter("TenantId", tenantId.toString());
}
}
public String getBizId() {
return this.bizId;
}
public void setBizId(String bizId) {
this.bizId = bizId;
if(bizId != null){
putQueryParameter("BizId", bizId);
}
}
public Channel getChannel() {
return this.channel;
}
public void setChannel(Channel channel) {
this.channel = channel;
if (channel != null) {
putQueryParameter("Channel" , new Gson().toJson(channel));
}
}
public CommandRequest getCommandRequest() {
return this.commandRequest;
}
public void setCommandRequest(CommandRequest commandRequest) {
this.commandRequest = commandRequest;
if (commandRequest != null) {
putQueryParameter("CommandRequest" , new Gson().toJson(commandRequest));
}
}
public String getUser() {
return this.user;
}
public void setUser(String user) {
this.user = user;
if(user != null){
putQueryParameter("User", user);
}
}
public static class TextRequest {
@SerializedName("Voice")
private String voice;
@SerializedName("Volume")
private Integer volume;
@SerializedName("SpeechRate")
private Integer speechRate;
@SerializedName("PitchRate")
private Integer pitchRate;
public String getVoice() {
return this.voice;
}
public void setVoice(String voice) {
this.voice = voice;
}
public Integer getVolume() {
return this.volume;
}
public void setVolume(Integer volume) {
this.volume = volume;
}
public Integer getSpeechRate() {
return this.speechRate;
}
public void setSpeechRate(Integer speechRate) {
this.speechRate = speechRate;
}
public Integer getPitchRate() {
return this.pitchRate;
}
public void setPitchRate(Integer pitchRate) {
this.pitchRate = pitchRate;
}
}
public static class Channel {
@SerializedName("Type")
private String type;
@SerializedName("ReqConfig")
private Map<String,String> reqConfig;
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public Map<String,String> getReqConfig() {
return this.reqConfig;
}
public void setReqConfig(Map<String,String> reqConfig) {
this.reqConfig = reqConfig;
}
}
public static class CommandRequest {
@SerializedName("BackGroundImageUrl")
private String backGroundImageUrl;
@SerializedName("AlphaSwitch")
private Boolean alphaSwitch;
@SerializedName("Locate")
private Integer locate;
public String getBackGroundImageUrl() {
return this.backGroundImageUrl;
}
public void setBackGroundImageUrl(String backGroundImageUrl) {
this.backGroundImageUrl = backGroundImageUrl;
}
public Boolean getAlphaSwitch() {
return this.alphaSwitch;
}
public void setAlphaSwitch(Boolean alphaSwitch) {
this.alphaSwitch = alphaSwitch;
}
public Integer getLocate() {
return this.locate;
}
public void setLocate(Integer locate) {
this.locate = locate;
}
}
@Override
public Class<StartInstanceResponse> getResponseClass() {
return StartInstanceResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model/v20220130/StartInstanceResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.avatar.model.v20220130;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.avatar.transform.v20220130.StartInstanceResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class StartInstanceResponse extends AcsResponse {
private String code;
private String message;
private Boolean success;
private Data data;
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private String requestId;
private String sessionId;
private String token;
private Channel channel;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getSessionId() {
return this.sessionId;
}
public void setSessionId(String sessionId) {
this.sessionId = sessionId;
}
public String getToken() {
return this.token;
}
public void setToken(String token) {
this.token = token;
}
public Channel getChannel() {
return this.channel;
}
public void setChannel(Channel channel) {
this.channel = channel;
}
public static class Channel {
private String channelId;
private String token;
private String type;
private String expiredTime;
private String nonce;
private String userId;
private String appId;
private String userInfoInChannel;
private List<String> gslb;
public String getChannelId() {
return this.channelId;
}
public void setChannelId(String channelId) {
this.channelId = channelId;
}
public String getToken() {
return this.token;
}
public void setToken(String token) {
this.token = token;
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public String getExpiredTime() {
return this.expiredTime;
}
public void setExpiredTime(String expiredTime) {
this.expiredTime = expiredTime;
}
public String getNonce() {
return this.nonce;
}
public void setNonce(String nonce) {
this.nonce = nonce;
}
public String getUserId() {
return this.userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
public String getAppId() {
return this.appId;
}
public void setAppId(String appId) {
this.appId = appId;
}
public String getUserInfoInChannel() {
return this.userInfoInChannel;
}
public void setUserInfoInChannel(String userInfoInChannel) {
this.userInfoInChannel = userInfoInChannel;
}
public List<String> getGslb() {
return this.gslb;
}
public void setGslb(List<String> gslb) {
this.gslb = gslb;
}
}
}
@Override
public StartInstanceResponse getInstance(UnmarshallerContext context) {
return StartInstanceResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model/v20220130/StartTimedResetOperateRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.avatar.model.v20220130;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class StartTimedResetOperateRequest extends RpcAcsRequest<StartTimedResetOperateResponse> {
private String instanceId;
private Long tenantId;
public StartTimedResetOperateRequest() {
super("avatar", "2022-01-30", "StartTimedResetOperate");
setMethod(MethodType.POST);
}
public String getInstanceId() {
return this.instanceId;
}
public void setInstanceId(String instanceId) {
this.instanceId = instanceId;
if(instanceId != null){
putQueryParameter("InstanceId", instanceId);
}
}
public Long getTenantId() {
return this.tenantId;
}
public void setTenantId(Long tenantId) {
this.tenantId = tenantId;
if(tenantId != null){
putQueryParameter("TenantId", tenantId.toString());
}
}
@Override
public Class<StartTimedResetOperateResponse> getResponseClass() {
return StartTimedResetOperateResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model/v20220130/StartTimedResetOperateResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.avatar.model.v20220130;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.avatar.transform.v20220130.StartTimedResetOperateResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class StartTimedResetOperateResponse extends AcsResponse {
private String requestId;
private String code;
private String message;
private Boolean success;
private Data data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private String instanceId;
private Long tenantId;
public String getInstanceId() {
return this.instanceId;
}
public void setInstanceId(String instanceId) {
this.instanceId = instanceId;
}
public Long getTenantId() {
return this.tenantId;
}
public void setTenantId(Long tenantId) {
this.tenantId = tenantId;
}
}
@Override
public StartTimedResetOperateResponse getInstance(UnmarshallerContext context) {
return StartTimedResetOperateResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model/v20220130/StopInstanceRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.avatar.model.v20220130;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class StopInstanceRequest extends RpcAcsRequest<StopInstanceResponse> {
private Long tenantId;
private String sessionId;
public StopInstanceRequest() {
super("avatar", "2022-01-30", "StopInstance");
setMethod(MethodType.POST);
}
public Long getTenantId() {
return this.tenantId;
}
public void setTenantId(Long tenantId) {
this.tenantId = tenantId;
if(tenantId != null){
putQueryParameter("TenantId", tenantId.toString());
}
}
public String getSessionId() {
return this.sessionId;
}
public void setSessionId(String sessionId) {
this.sessionId = sessionId;
if(sessionId != null){
putQueryParameter("SessionId", sessionId);
}
}
@Override
public Class<StopInstanceResponse> getResponseClass() {
return StopInstanceResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model/v20220130/StopInstanceResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.avatar.model.v20220130;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.avatar.transform.v20220130.StopInstanceResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class StopInstanceResponse extends AcsResponse {
private String code;
private String message;
private Boolean success;
private Data data;
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private String requestId;
private String sessionId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getSessionId() {
return this.sessionId;
}
public void setSessionId(String sessionId) {
this.sessionId = sessionId;
}
}
@Override
public StopInstanceResponse getInstance(UnmarshallerContext context) {
return StopInstanceResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model/v20220130/SubmitAudioTo2DAvatarVideoTaskRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.avatar.model.v20220130;
import com.aliyuncs.RpcAcsRequest;
import com.google.gson.Gson;
import com.google.gson.annotations.SerializedName;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class SubmitAudioTo2DAvatarVideoTaskRequest extends RpcAcsRequest<SubmitAudioTo2DAvatarVideoTaskResponse> {
@SerializedName("app")
private App app;
@SerializedName("audioInfo")
private AudioInfo audioInfo;
@SerializedName("avatarInfo")
private AvatarInfo avatarInfo;
private String title;
private String extParams;
private String url;
@SerializedName("videoInfo")
private VideoInfo videoInfo;
private String callbackParams;
private Long tenantId;
private Boolean callback;
public SubmitAudioTo2DAvatarVideoTaskRequest() {
super("avatar", "2022-01-30", "SubmitAudioTo2DAvatarVideoTask");
setMethod(MethodType.POST);
}
public App getApp() {
return this.app;
}
public void setApp(App app) {
this.app = app;
if (app != null) {
putQueryParameter("App" , new Gson().toJson(app));
}
}
public AudioInfo getAudioInfo() {
return this.audioInfo;
}
public void setAudioInfo(AudioInfo audioInfo) {
this.audioInfo = audioInfo;
if (audioInfo != null) {
putQueryParameter("AudioInfo" , new Gson().toJson(audioInfo));
}
}
public AvatarInfo getAvatarInfo() {
return this.avatarInfo;
}
public void setAvatarInfo(AvatarInfo avatarInfo) {
this.avatarInfo = avatarInfo;
if (avatarInfo != null) {
putQueryParameter("AvatarInfo" , new Gson().toJson(avatarInfo));
}
}
public String getTitle() {
return this.title;
}
public void setTitle(String title) {
this.title = title;
if(title != null){
putQueryParameter("Title", title);
}
}
public String getExtParams() {
return this.extParams;
}
public void setExtParams(String extParams) {
this.extParams = extParams;
if(extParams != null){
putQueryParameter("ExtParams", extParams);
}
}
public String getUrl() {
return this.url;
}
public void setUrl(String url) {
this.url = url;
if(url != null){
putQueryParameter("Url", url);
}
}
public VideoInfo getVideoInfo() {
return this.videoInfo;
}
public void setVideoInfo(VideoInfo videoInfo) {
this.videoInfo = videoInfo;
if (videoInfo != null) {
putQueryParameter("VideoInfo" , new Gson().toJson(videoInfo));
}
}
public String getCallbackParams() {
return this.callbackParams;
}
public void setCallbackParams(String callbackParams) {
this.callbackParams = callbackParams;
if(callbackParams != null){
putQueryParameter("CallbackParams", callbackParams);
}
}
public Long getTenantId() {
return this.tenantId;
}
public void setTenantId(Long tenantId) {
this.tenantId = tenantId;
if(tenantId != null){
putQueryParameter("TenantId", tenantId.toString());
}
}
public Boolean getCallback() {
return this.callback;
}
public void setCallback(Boolean callback) {
this.callback = callback;
if(callback != null){
putQueryParameter("Callback", callback.toString());
}
}
public static class App {
@SerializedName("AppId")
private String appId;
public String getAppId() {
return this.appId;
}
public void setAppId(String appId) {
this.appId = appId;
}
}
public static class AudioInfo {
@SerializedName("SampleRate")
private Integer sampleRate;
public Integer getSampleRate() {
return this.sampleRate;
}
public void setSampleRate(Integer sampleRate) {
this.sampleRate = sampleRate;
}
}
public static class AvatarInfo {
@SerializedName("Code")
private String code;
@SerializedName("X")
private Integer x;
@SerializedName("Width")
private Integer width;
@SerializedName("Y")
private Integer y;
@SerializedName("Height")
private Integer height;
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public Integer getX() {
return this.x;
}
public void setX(Integer x) {
this.x = x;
}
public Integer getWidth() {
return this.width;
}
public void setWidth(Integer width) {
this.width = width;
}
public Integer getY() {
return this.y;
}
public void setY(Integer y) {
this.y = y;
}
public Integer getHeight() {
return this.height;
}
public void setHeight(Integer height) {
this.height = height;
}
}
public static class VideoInfo {
@SerializedName("IsAlpha")
private Boolean isAlpha;
@SerializedName("BackgroundImageUrl")
private String backgroundImageUrl;
@SerializedName("Resolution")
private Integer resolution;
@SerializedName("AlphaFormat")
private Integer alphaFormat;
public Boolean getIsAlpha() {
return this.isAlpha;
}
public void setIsAlpha(Boolean isAlpha) {
this.isAlpha = isAlpha;
}
public String getBackgroundImageUrl() {
return this.backgroundImageUrl;
}
public void setBackgroundImageUrl(String backgroundImageUrl) {
this.backgroundImageUrl = backgroundImageUrl;
}
public Integer getResolution() {
return this.resolution;
}
public void setResolution(Integer resolution) {
this.resolution = resolution;
}
public Integer getAlphaFormat() {
return this.alphaFormat;
}
public void setAlphaFormat(Integer alphaFormat) {
this.alphaFormat = alphaFormat;
}
}
@Override
public Class<SubmitAudioTo2DAvatarVideoTaskResponse> getResponseClass() {
return SubmitAudioTo2DAvatarVideoTaskResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model/v20220130/SubmitAudioTo2DAvatarVideoTaskResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.avatar.model.v20220130;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.avatar.transform.v20220130.SubmitAudioTo2DAvatarVideoTaskResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class SubmitAudioTo2DAvatarVideoTaskResponse extends AcsResponse {
private String requestId;
private String code;
private String message;
private Boolean success;
private Data data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private String taskUuid;
public String getTaskUuid() {
return this.taskUuid;
}
public void setTaskUuid(String taskUuid) {
this.taskUuid = taskUuid;
}
}
@Override
public SubmitAudioTo2DAvatarVideoTaskResponse getInstance(UnmarshallerContext context) {
return SubmitAudioTo2DAvatarVideoTaskResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model/v20220130/SubmitAudioTo3DAvatarVideoTaskRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.avatar.model.v20220130;
import com.aliyuncs.RpcAcsRequest;
import com.google.gson.Gson;
import com.google.gson.annotations.SerializedName;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class SubmitAudioTo3DAvatarVideoTaskRequest extends RpcAcsRequest<SubmitAudioTo3DAvatarVideoTaskResponse> {
@SerializedName("app")
private App app;
@SerializedName("audioInfo")
private AudioInfo audioInfo;
@SerializedName("avatarInfo")
private AvatarInfo avatarInfo;
private String title;
private String extParams;
private String url;
@SerializedName("videoInfo")
private VideoInfo videoInfo;
private String callbackParams;
private Long tenantId;
private Boolean callback;
public SubmitAudioTo3DAvatarVideoTaskRequest() {
super("avatar", "2022-01-30", "SubmitAudioTo3DAvatarVideoTask");
setMethod(MethodType.POST);
}
public App getApp() {
return this.app;
}
public void setApp(App app) {
this.app = app;
if (app != null) {
putQueryParameter("App" , new Gson().toJson(app));
}
}
public AudioInfo getAudioInfo() {
return this.audioInfo;
}
public void setAudioInfo(AudioInfo audioInfo) {
this.audioInfo = audioInfo;
if (audioInfo != null) {
putQueryParameter("AudioInfo" , new Gson().toJson(audioInfo));
}
}
public AvatarInfo getAvatarInfo() {
return this.avatarInfo;
}
public void setAvatarInfo(AvatarInfo avatarInfo) {
this.avatarInfo = avatarInfo;
if (avatarInfo != null) {
putQueryParameter("AvatarInfo" , new Gson().toJson(avatarInfo));
}
}
public String getTitle() {
return this.title;
}
public void setTitle(String title) {
this.title = title;
if(title != null){
putQueryParameter("Title", title);
}
}
public String getExtParams() {
return this.extParams;
}
public void setExtParams(String extParams) {
this.extParams = extParams;
if(extParams != null){
putQueryParameter("ExtParams", extParams);
}
}
public String getUrl() {
return this.url;
}
public void setUrl(String url) {
this.url = url;
if(url != null){
putQueryParameter("Url", url);
}
}
public VideoInfo getVideoInfo() {
return this.videoInfo;
}
public void setVideoInfo(VideoInfo videoInfo) {
this.videoInfo = videoInfo;
if (videoInfo != null) {
putQueryParameter("VideoInfo" , new Gson().toJson(videoInfo));
}
}
public String getCallbackParams() {
return this.callbackParams;
}
public void setCallbackParams(String callbackParams) {
this.callbackParams = callbackParams;
if(callbackParams != null){
putQueryParameter("CallbackParams", callbackParams);
}
}
public Long getTenantId() {
return this.tenantId;
}
public void setTenantId(Long tenantId) {
this.tenantId = tenantId;
if(tenantId != null){
putQueryParameter("TenantId", tenantId.toString());
}
}
public Boolean getCallback() {
return this.callback;
}
public void setCallback(Boolean callback) {
this.callback = callback;
if(callback != null){
putQueryParameter("Callback", callback.toString());
}
}
public static class App {
@SerializedName("AppId")
private String appId;
public String getAppId() {
return this.appId;
}
public void setAppId(String appId) {
this.appId = appId;
}
}
public static class AudioInfo {
@SerializedName("SampleRate")
private Integer sampleRate;
public Integer getSampleRate() {
return this.sampleRate;
}
public void setSampleRate(Integer sampleRate) {
this.sampleRate = sampleRate;
}
}
public static class AvatarInfo {
@SerializedName("Code")
private String code;
@SerializedName("Locate")
private Integer locate;
@SerializedName("Angle")
private Integer angle;
@SerializedName("IndustryCode")
private String industryCode;
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public Integer getLocate() {
return this.locate;
}
public void setLocate(Integer locate) {
this.locate = locate;
}
public Integer getAngle() {
return this.angle;
}
public void setAngle(Integer angle) {
this.angle = angle;
}
public String getIndustryCode() {
return this.industryCode;
}
public void setIndustryCode(String industryCode) {
this.industryCode = industryCode;
}
}
public static class VideoInfo {
@SerializedName("IsAlpha")
private Boolean isAlpha;
@SerializedName("BackgroundImageUrl")
private String backgroundImageUrl;
@SerializedName("Resolution")
private Integer resolution;
@SerializedName("AlphaFormat")
private Integer alphaFormat;
public Boolean getIsAlpha() {
return this.isAlpha;
}
public void setIsAlpha(Boolean isAlpha) {
this.isAlpha = isAlpha;
}
public String getBackgroundImageUrl() {
return this.backgroundImageUrl;
}
public void setBackgroundImageUrl(String backgroundImageUrl) {
this.backgroundImageUrl = backgroundImageUrl;
}
public Integer getResolution() {
return this.resolution;
}
public void setResolution(Integer resolution) {
this.resolution = resolution;
}
public Integer getAlphaFormat() {
return this.alphaFormat;
}
public void setAlphaFormat(Integer alphaFormat) {
this.alphaFormat = alphaFormat;
}
}
@Override
public Class<SubmitAudioTo3DAvatarVideoTaskResponse> getResponseClass() {
return SubmitAudioTo3DAvatarVideoTaskResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model/v20220130/SubmitAudioTo3DAvatarVideoTaskResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.avatar.model.v20220130;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.avatar.transform.v20220130.SubmitAudioTo3DAvatarVideoTaskResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class SubmitAudioTo3DAvatarVideoTaskResponse extends AcsResponse {
private String requestId;
private Boolean success;
private String code;
private String message;
private Data data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private String taskUuid;
public String getTaskUuid() {
return this.taskUuid;
}
public void setTaskUuid(String taskUuid) {
this.taskUuid = taskUuid;
}
}
@Override
public SubmitAudioTo3DAvatarVideoTaskResponse getInstance(UnmarshallerContext context) {
return SubmitAudioTo3DAvatarVideoTaskResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model/v20220130/SubmitAvatarVideoTaskRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.avatar.model.v20220130;
import com.aliyuncs.RpcAcsRequest;
import com.google.gson.Gson;
import com.google.gson.annotations.SerializedName;
import com.aliyuncs.http.ProtocolType;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class SubmitAvatarVideoTaskRequest extends RpcAcsRequest<SubmitAvatarVideoTaskResponse> {
private String title;
private String callbackParams;
private Long tenantId;
private String videoParams;
@SerializedName("app")
private App app;
private String extParams;
private Boolean callback;
public SubmitAvatarVideoTaskRequest() {
super("avatar", "2022-01-30", "SubmitAvatarVideoTask");
setProtocol(ProtocolType.HTTPS);
setMethod(MethodType.POST);
}
public String getTitle() {
return this.title;
}
public void setTitle(String title) {
this.title = title;
if(title != null){
putQueryParameter("Title", title);
}
}
public String getCallbackParams() {
return this.callbackParams;
}
public void setCallbackParams(String callbackParams) {
this.callbackParams = callbackParams;
if(callbackParams != null){
putQueryParameter("CallbackParams", callbackParams);
}
}
public Long getTenantId() {
return this.tenantId;
}
public void setTenantId(Long tenantId) {
this.tenantId = tenantId;
if(tenantId != null){
putQueryParameter("TenantId", tenantId.toString());
}
}
public String getVideoParams() {
return this.videoParams;
}
public void setVideoParams(String videoParams) {
this.videoParams = videoParams;
if(videoParams != null){
putQueryParameter("VideoParams", videoParams);
}
}
public App getApp() {
return this.app;
}
public void setApp(App app) {
this.app = app;
if (app != null) {
putQueryParameter("App" , new Gson().toJson(app));
}
}
public String getExtParams() {
return this.extParams;
}
public void setExtParams(String extParams) {
this.extParams = extParams;
if(extParams != null){
putQueryParameter("ExtParams", extParams);
}
}
public Boolean getCallback() {
return this.callback;
}
public void setCallback(Boolean callback) {
this.callback = callback;
if(callback != null){
putQueryParameter("Callback", callback.toString());
}
}
public static class App {
@SerializedName("AppId")
private String appId;
public String getAppId() {
return this.appId;
}
public void setAppId(String appId) {
this.appId = appId;
}
}
@Override
public Class<SubmitAvatarVideoTaskResponse> getResponseClass() {
return SubmitAvatarVideoTaskResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model/v20220130/SubmitAvatarVideoTaskResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.avatar.model.v20220130;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.avatar.transform.v20220130.SubmitAvatarVideoTaskResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class SubmitAvatarVideoTaskResponse extends AcsResponse {
private String requestId;
private Boolean success;
private String code;
private String message;
private Data data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private String taskUuid;
public String getTaskUuid() {
return this.taskUuid;
}
public void setTaskUuid(String taskUuid) {
this.taskUuid = taskUuid;
}
}
@Override
public SubmitAvatarVideoTaskResponse getInstance(UnmarshallerContext context) {
return SubmitAvatarVideoTaskResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model/v20220130/SubmitTextTo2DAvatarVideoTaskRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.avatar.model.v20220130;
import com.aliyuncs.RpcAcsRequest;
import com.google.gson.Gson;
import com.google.gson.annotations.SerializedName;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class SubmitTextTo2DAvatarVideoTaskRequest extends RpcAcsRequest<SubmitTextTo2DAvatarVideoTaskResponse> {
@SerializedName("app")
private App app;
@SerializedName("audioInfo")
private AudioInfo audioInfo;
@SerializedName("avatarInfo")
private AvatarInfo avatarInfo;
private String title;
private String extParams;
@SerializedName("videoInfo")
private VideoInfo videoInfo;
private String callbackParams;
private Long tenantId;
private Boolean callback;
private String text;
public SubmitTextTo2DAvatarVideoTaskRequest() {
super("avatar", "2022-01-30", "SubmitTextTo2DAvatarVideoTask");
setMethod(MethodType.POST);
}
public App getApp() {
return this.app;
}
public void setApp(App app) {
this.app = app;
if (app != null) {
putQueryParameter("App" , new Gson().toJson(app));
}
}
public AudioInfo getAudioInfo() {
return this.audioInfo;
}
public void setAudioInfo(AudioInfo audioInfo) {
this.audioInfo = audioInfo;
if (audioInfo != null) {
putQueryParameter("AudioInfo" , new Gson().toJson(audioInfo));
}
}
public AvatarInfo getAvatarInfo() {
return this.avatarInfo;
}
public void setAvatarInfo(AvatarInfo avatarInfo) {
this.avatarInfo = avatarInfo;
if (avatarInfo != null) {
putQueryParameter("AvatarInfo" , new Gson().toJson(avatarInfo));
}
}
public String getTitle() {
return this.title;
}
public void setTitle(String title) {
this.title = title;
if(title != null){
putQueryParameter("Title", title);
}
}
public String getExtParams() {
return this.extParams;
}
public void setExtParams(String extParams) {
this.extParams = extParams;
if(extParams != null){
putQueryParameter("ExtParams", extParams);
}
}
public VideoInfo getVideoInfo() {
return this.videoInfo;
}
public void setVideoInfo(VideoInfo videoInfo) {
this.videoInfo = videoInfo;
if (videoInfo != null) {
putQueryParameter("VideoInfo" , new Gson().toJson(videoInfo));
}
}
public String getCallbackParams() {
return this.callbackParams;
}
public void setCallbackParams(String callbackParams) {
this.callbackParams = callbackParams;
if(callbackParams != null){
putQueryParameter("CallbackParams", callbackParams);
}
}
public Long getTenantId() {
return this.tenantId;
}
public void setTenantId(Long tenantId) {
this.tenantId = tenantId;
if(tenantId != null){
putQueryParameter("TenantId", tenantId.toString());
}
}
public Boolean getCallback() {
return this.callback;
}
public void setCallback(Boolean callback) {
this.callback = callback;
if(callback != null){
putQueryParameter("Callback", callback.toString());
}
}
public String getText() {
return this.text;
}
public void setText(String text) {
this.text = text;
if(text != null){
putQueryParameter("Text", text);
}
}
public static class App {
@SerializedName("AppId")
private String appId;
public String getAppId() {
return this.appId;
}
public void setAppId(String appId) {
this.appId = appId;
}
}
public static class AudioInfo {
@SerializedName("Voice")
private String voice;
@SerializedName("Volume")
private Integer volume;
@SerializedName("SpeechRate")
private Integer speechRate;
@SerializedName("PitchRate")
private Integer pitchRate;
@SerializedName("SampleRate")
private Integer sampleRate;
public String getVoice() {
return this.voice;
}
public void setVoice(String voice) {
this.voice = voice;
}
public Integer getVolume() {
return this.volume;
}
public void setVolume(Integer volume) {
this.volume = volume;
}
public Integer getSpeechRate() {
return this.speechRate;
}
public void setSpeechRate(Integer speechRate) {
this.speechRate = speechRate;
}
public Integer getPitchRate() {
return this.pitchRate;
}
public void setPitchRate(Integer pitchRate) {
this.pitchRate = pitchRate;
}
public Integer getSampleRate() {
return this.sampleRate;
}
public void setSampleRate(Integer sampleRate) {
this.sampleRate = sampleRate;
}
}
public static class AvatarInfo {
@SerializedName("Code")
private String code;
@SerializedName("X")
private Integer x;
@SerializedName("Width")
private Integer width;
@SerializedName("Y")
private Integer y;
@SerializedName("Height")
private Integer height;
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public Integer getX() {
return this.x;
}
public void setX(Integer x) {
this.x = x;
}
public Integer getWidth() {
return this.width;
}
public void setWidth(Integer width) {
this.width = width;
}
public Integer getY() {
return this.y;
}
public void setY(Integer y) {
this.y = y;
}
public Integer getHeight() {
return this.height;
}
public void setHeight(Integer height) {
this.height = height;
}
}
public static class VideoInfo {
@SerializedName("IsAlpha")
private Boolean isAlpha;
@SerializedName("BackgroundImageUrl")
private String backgroundImageUrl;
@SerializedName("IsSubtitles")
private Boolean isSubtitles;
@SerializedName("SubtitleEmbedded")
private Boolean subtitleEmbedded;
@SerializedName("SubtitleStyle")
private SubtitleStyle subtitleStyle;
@SerializedName("Resolution")
private Integer resolution;
@SerializedName("AlphaFormat")
private Integer alphaFormat;
public Boolean getIsAlpha() {
return this.isAlpha;
}
public void setIsAlpha(Boolean isAlpha) {
this.isAlpha = isAlpha;
}
public String getBackgroundImageUrl() {
return this.backgroundImageUrl;
}
public void setBackgroundImageUrl(String backgroundImageUrl) {
this.backgroundImageUrl = backgroundImageUrl;
}
public Boolean getIsSubtitles() {
return this.isSubtitles;
}
public void setIsSubtitles(Boolean isSubtitles) {
this.isSubtitles = isSubtitles;
}
public Boolean getSubtitleEmbedded() {
return this.subtitleEmbedded;
}
public void setSubtitleEmbedded(Boolean subtitleEmbedded) {
this.subtitleEmbedded = subtitleEmbedded;
}
public SubtitleStyle getSubtitleStyle() {
return this.subtitleStyle;
}
public void setSubtitleStyle(SubtitleStyle subtitleStyle) {
this.subtitleStyle = subtitleStyle;
}
public Integer getResolution() {
return this.resolution;
}
public void setResolution(Integer resolution) {
this.resolution = resolution;
}
public Integer getAlphaFormat() {
return this.alphaFormat;
}
public void setAlphaFormat(Integer alphaFormat) {
this.alphaFormat = alphaFormat;
}
public static class SubtitleStyle {
@SerializedName("Color")
private String color;
@SerializedName("Size")
private Integer size;
@SerializedName("Name")
private String name;
@SerializedName("Y")
private Integer y;
@SerializedName("OutlineColor")
private String outlineColor;
public String getColor() {
return this.color;
}
public void setColor(String color) {
this.color = color;
}
public Integer getSize() {
return this.size;
}
public void setSize(Integer size) {
this.size = size;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public Integer getY() {
return this.y;
}
public void setY(Integer y) {
this.y = y;
}
public String getOutlineColor() {
return this.outlineColor;
}
public void setOutlineColor(String outlineColor) {
this.outlineColor = outlineColor;
}
}
}
@Override
public Class<SubmitTextTo2DAvatarVideoTaskResponse> getResponseClass() {
return SubmitTextTo2DAvatarVideoTaskResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model/v20220130/SubmitTextTo2DAvatarVideoTaskResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.avatar.model.v20220130;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.avatar.transform.v20220130.SubmitTextTo2DAvatarVideoTaskResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class SubmitTextTo2DAvatarVideoTaskResponse extends AcsResponse {
private String requestId;
private Boolean success;
private String code;
private String message;
private Data data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private String taskUuid;
public String getTaskUuid() {
return this.taskUuid;
}
public void setTaskUuid(String taskUuid) {
this.taskUuid = taskUuid;
}
}
@Override
public SubmitTextTo2DAvatarVideoTaskResponse getInstance(UnmarshallerContext context) {
return SubmitTextTo2DAvatarVideoTaskResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model
|
java-sources/com/aliyun/aliyun-java-sdk-avatar/2.0.8/com/aliyuncs/avatar/model/v20220130/SubmitTextTo3DAvatarVideoTaskRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.avatar.model.v20220130;
import com.aliyuncs.RpcAcsRequest;
import com.google.gson.Gson;
import com.google.gson.annotations.SerializedName;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class SubmitTextTo3DAvatarVideoTaskRequest extends RpcAcsRequest<SubmitTextTo3DAvatarVideoTaskResponse> {
@SerializedName("app")
private App app;
@SerializedName("audioInfo")
private AudioInfo audioInfo;
@SerializedName("avatarInfo")
private AvatarInfo avatarInfo;
private String title;
private String extParams;
@SerializedName("videoInfo")
private VideoInfo videoInfo;
private String callbackParams;
private Long tenantId;
private Boolean callback;
private String text;
public SubmitTextTo3DAvatarVideoTaskRequest() {
super("avatar", "2022-01-30", "SubmitTextTo3DAvatarVideoTask");
setMethod(MethodType.POST);
}
public App getApp() {
return this.app;
}
public void setApp(App app) {
this.app = app;
if (app != null) {
putQueryParameter("App" , new Gson().toJson(app));
}
}
public AudioInfo getAudioInfo() {
return this.audioInfo;
}
public void setAudioInfo(AudioInfo audioInfo) {
this.audioInfo = audioInfo;
if (audioInfo != null) {
putQueryParameter("AudioInfo" , new Gson().toJson(audioInfo));
}
}
public AvatarInfo getAvatarInfo() {
return this.avatarInfo;
}
public void setAvatarInfo(AvatarInfo avatarInfo) {
this.avatarInfo = avatarInfo;
if (avatarInfo != null) {
putQueryParameter("AvatarInfo" , new Gson().toJson(avatarInfo));
}
}
public String getTitle() {
return this.title;
}
public void setTitle(String title) {
this.title = title;
if(title != null){
putQueryParameter("Title", title);
}
}
public String getExtParams() {
return this.extParams;
}
public void setExtParams(String extParams) {
this.extParams = extParams;
if(extParams != null){
putQueryParameter("ExtParams", extParams);
}
}
public VideoInfo getVideoInfo() {
return this.videoInfo;
}
public void setVideoInfo(VideoInfo videoInfo) {
this.videoInfo = videoInfo;
if (videoInfo != null) {
putQueryParameter("VideoInfo" , new Gson().toJson(videoInfo));
}
}
public String getCallbackParams() {
return this.callbackParams;
}
public void setCallbackParams(String callbackParams) {
this.callbackParams = callbackParams;
if(callbackParams != null){
putQueryParameter("CallbackParams", callbackParams);
}
}
public Long getTenantId() {
return this.tenantId;
}
public void setTenantId(Long tenantId) {
this.tenantId = tenantId;
if(tenantId != null){
putQueryParameter("TenantId", tenantId.toString());
}
}
public Boolean getCallback() {
return this.callback;
}
public void setCallback(Boolean callback) {
this.callback = callback;
if(callback != null){
putQueryParameter("Callback", callback.toString());
}
}
public String getText() {
return this.text;
}
public void setText(String text) {
this.text = text;
if(text != null){
putQueryParameter("Text", text);
}
}
public static class App {
@SerializedName("AppId")
private String appId;
public String getAppId() {
return this.appId;
}
public void setAppId(String appId) {
this.appId = appId;
}
}
public static class AudioInfo {
@SerializedName("Voice")
private String voice;
@SerializedName("Volume")
private Integer volume;
@SerializedName("SpeechRate")
private Integer speechRate;
@SerializedName("PitchRate")
private Integer pitchRate;
@SerializedName("SampleRate")
private Integer sampleRate;
public String getVoice() {
return this.voice;
}
public void setVoice(String voice) {
this.voice = voice;
}
public Integer getVolume() {
return this.volume;
}
public void setVolume(Integer volume) {
this.volume = volume;
}
public Integer getSpeechRate() {
return this.speechRate;
}
public void setSpeechRate(Integer speechRate) {
this.speechRate = speechRate;
}
public Integer getPitchRate() {
return this.pitchRate;
}
public void setPitchRate(Integer pitchRate) {
this.pitchRate = pitchRate;
}
public Integer getSampleRate() {
return this.sampleRate;
}
public void setSampleRate(Integer sampleRate) {
this.sampleRate = sampleRate;
}
}
public static class AvatarInfo {
@SerializedName("Code")
private String code;
@SerializedName("Locate")
private Integer locate;
@SerializedName("Angle")
private Integer angle;
@SerializedName("IndustryCode")
private String industryCode;
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public Integer getLocate() {
return this.locate;
}
public void setLocate(Integer locate) {
this.locate = locate;
}
public Integer getAngle() {
return this.angle;
}
public void setAngle(Integer angle) {
this.angle = angle;
}
public String getIndustryCode() {
return this.industryCode;
}
public void setIndustryCode(String industryCode) {
this.industryCode = industryCode;
}
}
public static class VideoInfo {
@SerializedName("IsAlpha")
private Boolean isAlpha;
@SerializedName("BackgroundImageUrl")
private String backgroundImageUrl;
@SerializedName("IsSubtitles")
private Boolean isSubtitles;
@SerializedName("SubtitleEmbedded")
private Boolean subtitleEmbedded;
@SerializedName("SubtitleStyle")
private SubtitleStyle subtitleStyle;
@SerializedName("Resolution")
private Integer resolution;
@SerializedName("AlphaFormat")
private Integer alphaFormat;
public Boolean getIsAlpha() {
return this.isAlpha;
}
public void setIsAlpha(Boolean isAlpha) {
this.isAlpha = isAlpha;
}
public String getBackgroundImageUrl() {
return this.backgroundImageUrl;
}
public void setBackgroundImageUrl(String backgroundImageUrl) {
this.backgroundImageUrl = backgroundImageUrl;
}
public Boolean getIsSubtitles() {
return this.isSubtitles;
}
public void setIsSubtitles(Boolean isSubtitles) {
this.isSubtitles = isSubtitles;
}
public Boolean getSubtitleEmbedded() {
return this.subtitleEmbedded;
}
public void setSubtitleEmbedded(Boolean subtitleEmbedded) {
this.subtitleEmbedded = subtitleEmbedded;
}
public SubtitleStyle getSubtitleStyle() {
return this.subtitleStyle;
}
public void setSubtitleStyle(SubtitleStyle subtitleStyle) {
this.subtitleStyle = subtitleStyle;
}
public Integer getResolution() {
return this.resolution;
}
public void setResolution(Integer resolution) {
this.resolution = resolution;
}
public Integer getAlphaFormat() {
return this.alphaFormat;
}
public void setAlphaFormat(Integer alphaFormat) {
this.alphaFormat = alphaFormat;
}
public static class SubtitleStyle {
@SerializedName("Color")
private String color;
@SerializedName("Size")
private Integer size;
@SerializedName("Name")
private String name;
@SerializedName("Y")
private Integer y;
@SerializedName("OutlineColor")
private String outlineColor;
public String getColor() {
return this.color;
}
public void setColor(String color) {
this.color = color;
}
public Integer getSize() {
return this.size;
}
public void setSize(Integer size) {
this.size = size;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public Integer getY() {
return this.y;
}
public void setY(Integer y) {
this.y = y;
}
public String getOutlineColor() {
return this.outlineColor;
}
public void setOutlineColor(String outlineColor) {
this.outlineColor = outlineColor;
}
}
}
@Override
public Class<SubmitTextTo3DAvatarVideoTaskResponse> getResponseClass() {
return SubmitTextTo3DAvatarVideoTaskResponse.class;
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.