index
int64
repo_id
string
file_path
string
content
string
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/model
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/model/v20190101/PutExporterOutputResponse.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.cms.model.v20190101; import com.aliyuncs.AcsResponse; import com.aliyuncs.cms.transform.v20190101.PutExporterOutputResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class PutExporterOutputResponse extends AcsResponse { private String code; private String message; private String requestId; private Boolean 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 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; } @Override public PutExporterOutputResponse getInstance(UnmarshallerContext context) { return PutExporterOutputResponseUnmarshaller.unmarshall(this, context); } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/model
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/model/v20190101/PutExporterRuleRequest.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.cms.model.v20190101; import com.aliyuncs.RpcAcsRequest; import java.util.List; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class PutExporterRuleRequest extends RpcAcsRequest<PutExporterRuleResponse> { private String ruleName; private List<String> dstNamess; private String namespace; private String targetWindows; private String describe; private String metricName; public PutExporterRuleRequest() { super("Cms", "2019-01-01", "PutExporterRule", "cms"); setMethod(MethodType.POST); } public String getRuleName() { return this.ruleName; } public void setRuleName(String ruleName) { this.ruleName = ruleName; if(ruleName != null){ putQueryParameter("RuleName", ruleName); } } public List<String> getDstNamess() { return this.dstNamess; } public void setDstNamess(List<String> dstNamess) { this.dstNamess = dstNamess; if (dstNamess != null) { for (int i = 0; i < dstNamess.size(); i++) { putQueryParameter("DstNames." + (i + 1) , dstNamess.get(i)); } } } public String getNamespace() { return this.namespace; } public void setNamespace(String namespace) { this.namespace = namespace; if(namespace != null){ putQueryParameter("Namespace", namespace); } } public String getTargetWindows() { return this.targetWindows; } public void setTargetWindows(String targetWindows) { this.targetWindows = targetWindows; if(targetWindows != null){ putQueryParameter("TargetWindows", targetWindows); } } public String getDescribe() { return this.describe; } public void setDescribe(String describe) { this.describe = describe; if(describe != null){ putQueryParameter("Describe", describe); } } public String getMetricName() { return this.metricName; } public void setMetricName(String metricName) { this.metricName = metricName; if(metricName != null){ putQueryParameter("MetricName", metricName); } } @Override public Class<PutExporterRuleResponse> getResponseClass() { return PutExporterRuleResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/model
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/model/v20190101/PutExporterRuleResponse.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.cms.model.v20190101; import com.aliyuncs.AcsResponse; import com.aliyuncs.cms.transform.v20190101.PutExporterRuleResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class PutExporterRuleResponse extends AcsResponse { private String code; private String message; private String requestId; private Boolean 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 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; } @Override public PutExporterRuleResponse getInstance(UnmarshallerContext context) { return PutExporterRuleResponseUnmarshaller.unmarshall(this, context); } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/model
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/model/v20190101/PutGroupMetricRuleRequest.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.cms.model.v20190101; import com.aliyuncs.RpcAcsRequest; import java.util.List; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class PutGroupMetricRuleRequest extends RpcAcsRequest<PutGroupMetricRuleResponse> { private String webhook; private String escalationsWarnComparisonOperator; private String ruleName; private String effectiveInterval; private String noDataPolicy; private String noEffectiveInterval; private String emailSubject; private String metricName; private Integer escalationsWarnTimes; private String period; private String escalationsWarnThreshold; private String contactGroups; private String escalationsCriticalStatistics; private String groupId; private String extraDimensionJson; private List<Labels> labelss; private String interval; private String ruleId; private String escalationsCriticalThreshold; private String escalationsInfoStatistics; private String escalationsInfoComparisonOperator; private Integer silenceTime; private Integer escalationsInfoTimes; private Integer escalationsCriticalTimes; private String escalationsWarnStatistics; private String escalationsInfoThreshold; private String namespace; private String category; private String escalationsCriticalComparisonOperator; private String dimensions; public PutGroupMetricRuleRequest() { super("Cms", "2019-01-01", "PutGroupMetricRule", "cms"); setMethod(MethodType.POST); } public String getWebhook() { return this.webhook; } public void setWebhook(String webhook) { this.webhook = webhook; if(webhook != null){ putQueryParameter("Webhook", webhook); } } public String getEscalationsWarnComparisonOperator() { return this.escalationsWarnComparisonOperator; } public void setEscalationsWarnComparisonOperator(String escalationsWarnComparisonOperator) { this.escalationsWarnComparisonOperator = escalationsWarnComparisonOperator; if(escalationsWarnComparisonOperator != null){ putQueryParameter("Escalations.Warn.ComparisonOperator", escalationsWarnComparisonOperator); } } public String getRuleName() { return this.ruleName; } public void setRuleName(String ruleName) { this.ruleName = ruleName; if(ruleName != null){ putQueryParameter("RuleName", ruleName); } } public String getEffectiveInterval() { return this.effectiveInterval; } public void setEffectiveInterval(String effectiveInterval) { this.effectiveInterval = effectiveInterval; if(effectiveInterval != null){ putQueryParameter("EffectiveInterval", effectiveInterval); } } public String getNoDataPolicy() { return this.noDataPolicy; } public void setNoDataPolicy(String noDataPolicy) { this.noDataPolicy = noDataPolicy; if(noDataPolicy != null){ putQueryParameter("NoDataPolicy", noDataPolicy); } } public String getNoEffectiveInterval() { return this.noEffectiveInterval; } public void setNoEffectiveInterval(String noEffectiveInterval) { this.noEffectiveInterval = noEffectiveInterval; if(noEffectiveInterval != null){ putQueryParameter("NoEffectiveInterval", noEffectiveInterval); } } public String getEmailSubject() { return this.emailSubject; } public void setEmailSubject(String emailSubject) { this.emailSubject = emailSubject; if(emailSubject != null){ putQueryParameter("EmailSubject", emailSubject); } } public String getMetricName() { return this.metricName; } public void setMetricName(String metricName) { this.metricName = metricName; if(metricName != null){ putQueryParameter("MetricName", metricName); } } public Integer getEscalationsWarnTimes() { return this.escalationsWarnTimes; } public void setEscalationsWarnTimes(Integer escalationsWarnTimes) { this.escalationsWarnTimes = escalationsWarnTimes; if(escalationsWarnTimes != null){ putQueryParameter("Escalations.Warn.Times", escalationsWarnTimes.toString()); } } public String getPeriod() { return this.period; } public void setPeriod(String period) { this.period = period; if(period != null){ putQueryParameter("Period", period); } } public String getEscalationsWarnThreshold() { return this.escalationsWarnThreshold; } public void setEscalationsWarnThreshold(String escalationsWarnThreshold) { this.escalationsWarnThreshold = escalationsWarnThreshold; if(escalationsWarnThreshold != null){ putQueryParameter("Escalations.Warn.Threshold", escalationsWarnThreshold); } } public String getContactGroups() { return this.contactGroups; } public void setContactGroups(String contactGroups) { this.contactGroups = contactGroups; if(contactGroups != null){ putQueryParameter("ContactGroups", contactGroups); } } public String getEscalationsCriticalStatistics() { return this.escalationsCriticalStatistics; } public void setEscalationsCriticalStatistics(String escalationsCriticalStatistics) { this.escalationsCriticalStatistics = escalationsCriticalStatistics; if(escalationsCriticalStatistics != null){ putQueryParameter("Escalations.Critical.Statistics", escalationsCriticalStatistics); } } public String getGroupId() { return this.groupId; } public void setGroupId(String groupId) { this.groupId = groupId; if(groupId != null){ putQueryParameter("GroupId", groupId); } } public String getExtraDimensionJson() { return this.extraDimensionJson; } public void setExtraDimensionJson(String extraDimensionJson) { this.extraDimensionJson = extraDimensionJson; if(extraDimensionJson != null){ putQueryParameter("ExtraDimensionJson", extraDimensionJson); } } public List<Labels> getLabelss() { return this.labelss; } public void setLabelss(List<Labels> labelss) { this.labelss = labelss; if (labelss != null) { for (int depth1 = 0; depth1 < labelss.size(); depth1++) { putQueryParameter("Labels." + (depth1 + 1) + ".Value" , labelss.get(depth1).getValue()); putQueryParameter("Labels." + (depth1 + 1) + ".Key" , labelss.get(depth1).getKey()); } } } public String getInterval() { return this.interval; } public void setInterval(String interval) { this.interval = interval; if(interval != null){ putQueryParameter("Interval", interval); } } public String getRuleId() { return this.ruleId; } public void setRuleId(String ruleId) { this.ruleId = ruleId; if(ruleId != null){ putQueryParameter("RuleId", ruleId); } } public String getEscalationsCriticalThreshold() { return this.escalationsCriticalThreshold; } public void setEscalationsCriticalThreshold(String escalationsCriticalThreshold) { this.escalationsCriticalThreshold = escalationsCriticalThreshold; if(escalationsCriticalThreshold != null){ putQueryParameter("Escalations.Critical.Threshold", escalationsCriticalThreshold); } } public String getEscalationsInfoStatistics() { return this.escalationsInfoStatistics; } public void setEscalationsInfoStatistics(String escalationsInfoStatistics) { this.escalationsInfoStatistics = escalationsInfoStatistics; if(escalationsInfoStatistics != null){ putQueryParameter("Escalations.Info.Statistics", escalationsInfoStatistics); } } public String getEscalationsInfoComparisonOperator() { return this.escalationsInfoComparisonOperator; } public void setEscalationsInfoComparisonOperator(String escalationsInfoComparisonOperator) { this.escalationsInfoComparisonOperator = escalationsInfoComparisonOperator; if(escalationsInfoComparisonOperator != null){ putQueryParameter("Escalations.Info.ComparisonOperator", escalationsInfoComparisonOperator); } } public Integer getSilenceTime() { return this.silenceTime; } public void setSilenceTime(Integer silenceTime) { this.silenceTime = silenceTime; if(silenceTime != null){ putQueryParameter("SilenceTime", silenceTime.toString()); } } public Integer getEscalationsInfoTimes() { return this.escalationsInfoTimes; } public void setEscalationsInfoTimes(Integer escalationsInfoTimes) { this.escalationsInfoTimes = escalationsInfoTimes; if(escalationsInfoTimes != null){ putQueryParameter("Escalations.Info.Times", escalationsInfoTimes.toString()); } } public Integer getEscalationsCriticalTimes() { return this.escalationsCriticalTimes; } public void setEscalationsCriticalTimes(Integer escalationsCriticalTimes) { this.escalationsCriticalTimes = escalationsCriticalTimes; if(escalationsCriticalTimes != null){ putQueryParameter("Escalations.Critical.Times", escalationsCriticalTimes.toString()); } } public String getEscalationsWarnStatistics() { return this.escalationsWarnStatistics; } public void setEscalationsWarnStatistics(String escalationsWarnStatistics) { this.escalationsWarnStatistics = escalationsWarnStatistics; if(escalationsWarnStatistics != null){ putQueryParameter("Escalations.Warn.Statistics", escalationsWarnStatistics); } } public String getEscalationsInfoThreshold() { return this.escalationsInfoThreshold; } public void setEscalationsInfoThreshold(String escalationsInfoThreshold) { this.escalationsInfoThreshold = escalationsInfoThreshold; if(escalationsInfoThreshold != null){ putQueryParameter("Escalations.Info.Threshold", escalationsInfoThreshold); } } public String getNamespace() { return this.namespace; } public void setNamespace(String namespace) { this.namespace = namespace; if(namespace != null){ putQueryParameter("Namespace", namespace); } } public String getCategory() { return this.category; } public void setCategory(String category) { this.category = category; if(category != null){ putQueryParameter("Category", category); } } public String getEscalationsCriticalComparisonOperator() { return this.escalationsCriticalComparisonOperator; } public void setEscalationsCriticalComparisonOperator(String escalationsCriticalComparisonOperator) { this.escalationsCriticalComparisonOperator = escalationsCriticalComparisonOperator; if(escalationsCriticalComparisonOperator != null){ putQueryParameter("Escalations.Critical.ComparisonOperator", escalationsCriticalComparisonOperator); } } public String getDimensions() { return this.dimensions; } public void setDimensions(String dimensions) { this.dimensions = dimensions; if(dimensions != null){ putQueryParameter("Dimensions", dimensions); } } public static class Labels { 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<PutGroupMetricRuleResponse> getResponseClass() { return PutGroupMetricRuleResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/model
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/model/v20190101/PutGroupMetricRuleResponse.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.cms.model.v20190101; import com.aliyuncs.AcsResponse; import com.aliyuncs.cms.transform.v20190101.PutGroupMetricRuleResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class PutGroupMetricRuleResponse extends AcsResponse { private String code; private String message; private String requestId; private Boolean success; private Result result; 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 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 Result getResult() { return this.result; } public void setResult(Result result) { this.result = result; } public static class Result { private String ruleId; public String getRuleId() { return this.ruleId; } public void setRuleId(String ruleId) { this.ruleId = ruleId; } } @Override public PutGroupMetricRuleResponse getInstance(UnmarshallerContext context) { return PutGroupMetricRuleResponseUnmarshaller.unmarshall(this, context); } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/model
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/model/v20190101/PutHybridMonitorMetricDataRequest.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.cms.model.v20190101; import com.aliyuncs.RpcAcsRequest; import java.util.List; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class PutHybridMonitorMetricDataRequest extends RpcAcsRequest<PutHybridMonitorMetricDataResponse> { private List<MetricList> metricLists; private String namespace; public PutHybridMonitorMetricDataRequest() { super("Cms", "2019-01-01", "PutHybridMonitorMetricData", "cms"); setMethod(MethodType.POST); } public List<MetricList> getMetricLists() { return this.metricLists; } public void setMetricLists(List<MetricList> metricLists) { this.metricLists = metricLists; if (metricLists != null) { for (int depth1 = 0; depth1 < metricLists.size(); depth1++) { putQueryParameter("MetricList." + (depth1 + 1) + ".Name" , metricLists.get(depth1).getName()); putQueryParameter("MetricList." + (depth1 + 1) + ".Value" , metricLists.get(depth1).getValue()); if (metricLists.get(depth1).getLabelss() != null) { for (int depth2 = 0; depth2 < metricLists.get(depth1).getLabelss().size(); depth2++) { putQueryParameter("MetricList." + (depth1 + 1) + ".Labels." + (depth2 + 1) + ".Value" , metricLists.get(depth1).getLabelss().get(depth2).getValue()); putQueryParameter("MetricList." + (depth1 + 1) + ".Labels." + (depth2 + 1) + ".Key" , metricLists.get(depth1).getLabelss().get(depth2).getKey()); } } putQueryParameter("MetricList." + (depth1 + 1) + ".TS" , metricLists.get(depth1).getTS()); } } } public String getNamespace() { return this.namespace; } public void setNamespace(String namespace) { this.namespace = namespace; if(namespace != null){ putQueryParameter("Namespace", namespace); } } public static class MetricList { private String name; private String value; private List<Labels> labelss; private Long tS; public String getName() { return this.name; } public void setName(String name) { this.name = name; } public String getValue() { return this.value; } public void setValue(String value) { this.value = value; } public List<Labels> getLabelss() { return this.labelss; } public void setLabelss(List<Labels> labelss) { this.labelss = labelss; } public Long getTS() { return this.tS; } public void setTS(Long tS) { this.tS = tS; } public static class Labels { 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<PutHybridMonitorMetricDataResponse> getResponseClass() { return PutHybridMonitorMetricDataResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/model
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/model/v20190101/PutHybridMonitorMetricDataResponse.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.cms.model.v20190101; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.cms.transform.v20190101.PutHybridMonitorMetricDataResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class PutHybridMonitorMetricDataResponse extends AcsResponse { private String code; private String requestId; private List<Detail> errorDetail; public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public List<Detail> getErrorDetail() { return this.errorDetail; } public void setErrorDetail(List<Detail> errorDetail) { this.errorDetail = errorDetail; } public static class Detail { private Long index; private String errorMessage; public Long getIndex() { return this.index; } public void setIndex(Long index) { this.index = index; } public String getErrorMessage() { return this.errorMessage; } public void setErrorMessage(String errorMessage) { this.errorMessage = errorMessage; } } @Override public PutHybridMonitorMetricDataResponse getInstance(UnmarshallerContext context) { return PutHybridMonitorMetricDataResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/model
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/model/v20190101/PutLogMonitorRequest.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.cms.model.v20190101; import com.aliyuncs.RpcAcsRequest; import java.util.List; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class PutLogMonitorRequest extends RpcAcsRequest<PutLogMonitorResponse> { private String slsLogstore; private String slsProject; private List<ValueFilter> valueFilters; private String metricExpress; private String slsRegionId; private String metricName; private String groupId; private String tumblingwindows; private String valueFilterRelation; private String unit; private List<Groupbys> groupbyss; private String logId; private List<Aggregates> aggregatess; public PutLogMonitorRequest() { super("Cms", "2019-01-01", "PutLogMonitor", "cms"); setMethod(MethodType.POST); } public String getSlsLogstore() { return this.slsLogstore; } public void setSlsLogstore(String slsLogstore) { this.slsLogstore = slsLogstore; if(slsLogstore != null){ putQueryParameter("SlsLogstore", slsLogstore); } } public String getSlsProject() { return this.slsProject; } public void setSlsProject(String slsProject) { this.slsProject = slsProject; if(slsProject != null){ putQueryParameter("SlsProject", slsProject); } } public List<ValueFilter> getValueFilters() { return this.valueFilters; } public void setValueFilters(List<ValueFilter> valueFilters) { this.valueFilters = valueFilters; if (valueFilters != null) { for (int depth1 = 0; depth1 < valueFilters.size(); depth1++) { putQueryParameter("ValueFilter." + (depth1 + 1) + ".Value" , valueFilters.get(depth1).getValue()); putQueryParameter("ValueFilter." + (depth1 + 1) + ".Key" , valueFilters.get(depth1).getKey()); putQueryParameter("ValueFilter." + (depth1 + 1) + ".Operator" , valueFilters.get(depth1).getOperator()); } } } public String getMetricExpress() { return this.metricExpress; } public void setMetricExpress(String metricExpress) { this.metricExpress = metricExpress; if(metricExpress != null){ putQueryParameter("MetricExpress", metricExpress); } } public String getSlsRegionId() { return this.slsRegionId; } public void setSlsRegionId(String slsRegionId) { this.slsRegionId = slsRegionId; if(slsRegionId != null){ putQueryParameter("SlsRegionId", slsRegionId); } } public String getMetricName() { return this.metricName; } public void setMetricName(String metricName) { this.metricName = metricName; if(metricName != null){ putQueryParameter("MetricName", metricName); } } public String getGroupId() { return this.groupId; } public void setGroupId(String groupId) { this.groupId = groupId; if(groupId != null){ putQueryParameter("GroupId", groupId); } } public String getTumblingwindows() { return this.tumblingwindows; } public void setTumblingwindows(String tumblingwindows) { this.tumblingwindows = tumblingwindows; if(tumblingwindows != null){ putQueryParameter("Tumblingwindows", tumblingwindows); } } public String getValueFilterRelation() { return this.valueFilterRelation; } public void setValueFilterRelation(String valueFilterRelation) { this.valueFilterRelation = valueFilterRelation; if(valueFilterRelation != null){ putQueryParameter("ValueFilterRelation", valueFilterRelation); } } public String getUnit() { return this.unit; } public void setUnit(String unit) { this.unit = unit; if(unit != null){ putQueryParameter("Unit", unit); } } public List<Groupbys> getGroupbyss() { return this.groupbyss; } public void setGroupbyss(List<Groupbys> groupbyss) { this.groupbyss = groupbyss; if (groupbyss != null) { for (int depth1 = 0; depth1 < groupbyss.size(); depth1++) { putQueryParameter("Groupbys." + (depth1 + 1) + ".FieldName" , groupbyss.get(depth1).getFieldName()); putQueryParameter("Groupbys." + (depth1 + 1) + ".Alias" , groupbyss.get(depth1).getAlias()); } } } public String getLogId() { return this.logId; } public void setLogId(String logId) { this.logId = logId; if(logId != null){ putQueryParameter("LogId", logId); } } public List<Aggregates> getAggregatess() { return this.aggregatess; } public void setAggregatess(List<Aggregates> aggregatess) { this.aggregatess = aggregatess; if (aggregatess != null) { for (int depth1 = 0; depth1 < aggregatess.size(); depth1++) { putQueryParameter("Aggregates." + (depth1 + 1) + ".FieldName" , aggregatess.get(depth1).getFieldName()); putQueryParameter("Aggregates." + (depth1 + 1) + ".Function" , aggregatess.get(depth1).getFunction()); putQueryParameter("Aggregates." + (depth1 + 1) + ".Alias" , aggregatess.get(depth1).getAlias()); } } } public static class ValueFilter { private String value; private String key; private String operator; 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; } public String getOperator() { return this.operator; } public void setOperator(String operator) { this.operator = operator; } } public static class Groupbys { private String fieldName; private String alias; public String getFieldName() { return this.fieldName; } public void setFieldName(String fieldName) { this.fieldName = fieldName; } public String getAlias() { return this.alias; } public void setAlias(String alias) { this.alias = alias; } } public static class Aggregates { private String fieldName; private String function; private String alias; public String getFieldName() { return this.fieldName; } public void setFieldName(String fieldName) { this.fieldName = fieldName; } public String getFunction() { return this.function; } public void setFunction(String function) { this.function = function; } public String getAlias() { return this.alias; } public void setAlias(String alias) { this.alias = alias; } } @Override public Class<PutLogMonitorResponse> getResponseClass() { return PutLogMonitorResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/model
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/model/v20190101/PutLogMonitorResponse.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.cms.model.v20190101; import com.aliyuncs.AcsResponse; import com.aliyuncs.cms.transform.v20190101.PutLogMonitorResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class PutLogMonitorResponse extends AcsResponse { private String code; private String message; private String requestId; private String logId; private Boolean 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 String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public String getLogId() { return this.logId; } public void setLogId(String logId) { this.logId = logId; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } @Override public PutLogMonitorResponse getInstance(UnmarshallerContext context) { return PutLogMonitorResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/model
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/model/v20190101/PutMetricRuleTargetsRequest.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.cms.model.v20190101; import com.aliyuncs.RpcAcsRequest; import java.util.List; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class PutMetricRuleTargetsRequest extends RpcAcsRequest<PutMetricRuleTargetsResponse> { private List<Targets> targetss; private String ruleId; public PutMetricRuleTargetsRequest() { super("Cms", "2019-01-01", "PutMetricRuleTargets", "cms"); setMethod(MethodType.POST); } public List<Targets> getTargetss() { return this.targetss; } public void setTargetss(List<Targets> targetss) { this.targetss = targetss; if (targetss != null) { for (int depth1 = 0; depth1 < targetss.size(); depth1++) { putQueryParameter("Targets." + (depth1 + 1) + ".Level" , targetss.get(depth1).getLevel()); putQueryParameter("Targets." + (depth1 + 1) + ".Id" , targetss.get(depth1).getId()); putQueryParameter("Targets." + (depth1 + 1) + ".Arn" , targetss.get(depth1).getArn()); putQueryParameter("Targets." + (depth1 + 1) + ".JsonParams" , targetss.get(depth1).getJsonParams()); } } } public String getRuleId() { return this.ruleId; } public void setRuleId(String ruleId) { this.ruleId = ruleId; if(ruleId != null){ putQueryParameter("RuleId", ruleId); } } public static class Targets { private String level; private String id; private String arn; private String jsonParams; public String getLevel() { return this.level; } public void setLevel(String level) { this.level = level; } public String getId() { return this.id; } public void setId(String id) { this.id = id; } public String getArn() { return this.arn; } public void setArn(String arn) { this.arn = arn; } public String getJsonParams() { return this.jsonParams; } public void setJsonParams(String jsonParams) { this.jsonParams = jsonParams; } } @Override public Class<PutMetricRuleTargetsResponse> getResponseClass() { return PutMetricRuleTargetsResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/model
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/model/v20190101/PutMetricRuleTargetsResponse.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.cms.model.v20190101; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.cms.transform.v20190101.PutMetricRuleTargetsResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class PutMetricRuleTargetsResponse extends AcsResponse { private String code; private String message; private String requestId; private Boolean success; private FailData failData; 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 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 FailData getFailData() { return this.failData; } public void setFailData(FailData failData) { this.failData = failData; } public static class FailData { private List<Target> targets; public List<Target> getTargets() { return this.targets; } public void setTargets(List<Target> targets) { this.targets = targets; } public static class Target { private String id; private String arn; private String level; public String getId() { return this.id; } public void setId(String id) { this.id = id; } public String getArn() { return this.arn; } public void setArn(String arn) { this.arn = arn; } public String getLevel() { return this.level; } public void setLevel(String level) { this.level = level; } } } @Override public PutMetricRuleTargetsResponse getInstance(UnmarshallerContext context) { return PutMetricRuleTargetsResponseUnmarshaller.unmarshall(this, context); } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/model
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/model/v20190101/PutMonitorGroupDynamicRuleRequest.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.cms.model.v20190101; import com.aliyuncs.RpcAcsRequest; import java.util.List; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class PutMonitorGroupDynamicRuleRequest extends RpcAcsRequest<PutMonitorGroupDynamicRuleResponse> { private List<GroupRules> groupRuless; private Long groupId; private Boolean isAsync; public PutMonitorGroupDynamicRuleRequest() { super("Cms", "2019-01-01", "PutMonitorGroupDynamicRule", "cms"); setMethod(MethodType.POST); } public List<GroupRules> getGroupRuless() { return this.groupRuless; } public void setGroupRuless(List<GroupRules> groupRuless) { this.groupRuless = groupRuless; if (groupRuless != null) { for (int depth1 = 0; depth1 < groupRuless.size(); depth1++) { putQueryParameter("GroupRules." + (depth1 + 1) + ".FilterRelation" , groupRuless.get(depth1).getFilterRelation()); if (groupRuless.get(depth1).getFilterss() != null) { for (int depth2 = 0; depth2 < groupRuless.get(depth1).getFilterss().size(); depth2++) { putQueryParameter("GroupRules." + (depth1 + 1) + ".Filters." + (depth2 + 1) + ".Function" , groupRuless.get(depth1).getFilterss().get(depth2).getFunction()); putQueryParameter("GroupRules." + (depth1 + 1) + ".Filters." + (depth2 + 1) + ".Name" , groupRuless.get(depth1).getFilterss().get(depth2).getName()); putQueryParameter("GroupRules." + (depth1 + 1) + ".Filters." + (depth2 + 1) + ".Value" , groupRuless.get(depth1).getFilterss().get(depth2).getValue()); } } putQueryParameter("GroupRules." + (depth1 + 1) + ".Category" , groupRuless.get(depth1).getCategory()); } } } public Long getGroupId() { return this.groupId; } public void setGroupId(Long groupId) { this.groupId = groupId; if(groupId != null){ putQueryParameter("GroupId", groupId.toString()); } } public Boolean getIsAsync() { return this.isAsync; } public void setIsAsync(Boolean isAsync) { this.isAsync = isAsync; if(isAsync != null){ putQueryParameter("IsAsync", isAsync.toString()); } } public static class GroupRules { private String filterRelation; private List<Filters> filterss; private String category; public String getFilterRelation() { return this.filterRelation; } public void setFilterRelation(String filterRelation) { this.filterRelation = filterRelation; } public List<Filters> getFilterss() { return this.filterss; } public void setFilterss(List<Filters> filterss) { this.filterss = filterss; } public String getCategory() { return this.category; } public void setCategory(String category) { this.category = category; } public static class Filters { private String function; private String name; private String value; public String getFunction() { return this.function; } public void setFunction(String function) { this.function = function; } public String getName() { return this.name; } public void setName(String name) { this.name = name; } public String getValue() { return this.value; } public void setValue(String value) { this.value = value; } } } @Override public Class<PutMonitorGroupDynamicRuleResponse> getResponseClass() { return PutMonitorGroupDynamicRuleResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/model
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/model/v20190101/PutMonitorGroupDynamicRuleResponse.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.cms.model.v20190101; import com.aliyuncs.AcsResponse; import com.aliyuncs.cms.transform.v20190101.PutMonitorGroupDynamicRuleResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class PutMonitorGroupDynamicRuleResponse extends AcsResponse { private Integer code; private String message; private String requestId; private Boolean success; public Integer getCode() { return this.code; } public void setCode(Integer code) { this.code = code; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = 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; } @Override public PutMonitorGroupDynamicRuleResponse getInstance(UnmarshallerContext context) { return PutMonitorGroupDynamicRuleResponseUnmarshaller.unmarshall(this, context); } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/model
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/model/v20190101/PutMonitoringConfigRequest.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.cms.model.v20190101; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class PutMonitoringConfigRequest extends RpcAcsRequest<PutMonitoringConfigResponse> { private Boolean autoInstall; private Boolean enableInstallAgentNewECS; public PutMonitoringConfigRequest() { super("Cms", "2019-01-01", "PutMonitoringConfig", "cms"); setMethod(MethodType.POST); } public Boolean getAutoInstall() { return this.autoInstall; } public void setAutoInstall(Boolean autoInstall) { this.autoInstall = autoInstall; if(autoInstall != null){ putQueryParameter("AutoInstall", autoInstall.toString()); } } public Boolean getEnableInstallAgentNewECS() { return this.enableInstallAgentNewECS; } public void setEnableInstallAgentNewECS(Boolean enableInstallAgentNewECS) { this.enableInstallAgentNewECS = enableInstallAgentNewECS; if(enableInstallAgentNewECS != null){ putQueryParameter("EnableInstallAgentNewECS", enableInstallAgentNewECS.toString()); } } @Override public Class<PutMonitoringConfigResponse> getResponseClass() { return PutMonitoringConfigResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/model
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/model/v20190101/PutMonitoringConfigResponse.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.cms.model.v20190101; import com.aliyuncs.AcsResponse; import com.aliyuncs.cms.transform.v20190101.PutMonitoringConfigResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class PutMonitoringConfigResponse extends AcsResponse { private Integer code; private String message; private String requestId; private Boolean success; public Integer getCode() { return this.code; } public void setCode(Integer code) { this.code = code; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = 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; } @Override public PutMonitoringConfigResponse getInstance(UnmarshallerContext context) { return PutMonitoringConfigResponseUnmarshaller.unmarshall(this, context); } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/model
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/model/v20190101/PutResourceMetricRuleRequest.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.cms.model.v20190101; 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 PutResourceMetricRuleRequest extends RpcAcsRequest<PutResourceMetricRuleResponse> { private String webhook; private String escalationsWarnComparisonOperator; private String ruleName; private String effectiveInterval; private String noDataPolicy; private String noEffectiveInterval; private String emailSubject; private String metricName; private Integer escalationsWarnTimes; private String period; private String escalationsWarnThreshold; private String contactGroups; private String escalationsCriticalStatistics; private List<Labels> labelss; private String interval; private String ruleId; private String escalationsCriticalThreshold; private String escalationsInfoStatistics; private String escalationsInfoComparisonOperator; private Integer silenceTime; @SerializedName("prometheus") private Prometheus prometheus; @SerializedName("compositeExpression") private CompositeExpression compositeExpression; private String resources; private Integer escalationsInfoTimes; private Integer escalationsCriticalTimes; private String escalationsWarnStatistics; private String escalationsInfoThreshold; private String namespace; private String escalationsCriticalComparisonOperator; public PutResourceMetricRuleRequest() { super("Cms", "2019-01-01", "PutResourceMetricRule", "cms"); setMethod(MethodType.POST); } public String getWebhook() { return this.webhook; } public void setWebhook(String webhook) { this.webhook = webhook; if(webhook != null){ putQueryParameter("Webhook", webhook); } } public String getEscalationsWarnComparisonOperator() { return this.escalationsWarnComparisonOperator; } public void setEscalationsWarnComparisonOperator(String escalationsWarnComparisonOperator) { this.escalationsWarnComparisonOperator = escalationsWarnComparisonOperator; if(escalationsWarnComparisonOperator != null){ putQueryParameter("Escalations.Warn.ComparisonOperator", escalationsWarnComparisonOperator); } } public String getRuleName() { return this.ruleName; } public void setRuleName(String ruleName) { this.ruleName = ruleName; if(ruleName != null){ putQueryParameter("RuleName", ruleName); } } public String getEffectiveInterval() { return this.effectiveInterval; } public void setEffectiveInterval(String effectiveInterval) { this.effectiveInterval = effectiveInterval; if(effectiveInterval != null){ putQueryParameter("EffectiveInterval", effectiveInterval); } } public String getNoDataPolicy() { return this.noDataPolicy; } public void setNoDataPolicy(String noDataPolicy) { this.noDataPolicy = noDataPolicy; if(noDataPolicy != null){ putQueryParameter("NoDataPolicy", noDataPolicy); } } public String getNoEffectiveInterval() { return this.noEffectiveInterval; } public void setNoEffectiveInterval(String noEffectiveInterval) { this.noEffectiveInterval = noEffectiveInterval; if(noEffectiveInterval != null){ putQueryParameter("NoEffectiveInterval", noEffectiveInterval); } } public String getEmailSubject() { return this.emailSubject; } public void setEmailSubject(String emailSubject) { this.emailSubject = emailSubject; if(emailSubject != null){ putQueryParameter("EmailSubject", emailSubject); } } public String getMetricName() { return this.metricName; } public void setMetricName(String metricName) { this.metricName = metricName; if(metricName != null){ putQueryParameter("MetricName", metricName); } } public Integer getEscalationsWarnTimes() { return this.escalationsWarnTimes; } public void setEscalationsWarnTimes(Integer escalationsWarnTimes) { this.escalationsWarnTimes = escalationsWarnTimes; if(escalationsWarnTimes != null){ putQueryParameter("Escalations.Warn.Times", escalationsWarnTimes.toString()); } } public String getPeriod() { return this.period; } public void setPeriod(String period) { this.period = period; if(period != null){ putQueryParameter("Period", period); } } public String getEscalationsWarnThreshold() { return this.escalationsWarnThreshold; } public void setEscalationsWarnThreshold(String escalationsWarnThreshold) { this.escalationsWarnThreshold = escalationsWarnThreshold; if(escalationsWarnThreshold != null){ putQueryParameter("Escalations.Warn.Threshold", escalationsWarnThreshold); } } public String getContactGroups() { return this.contactGroups; } public void setContactGroups(String contactGroups) { this.contactGroups = contactGroups; if(contactGroups != null){ putQueryParameter("ContactGroups", contactGroups); } } public String getEscalationsCriticalStatistics() { return this.escalationsCriticalStatistics; } public void setEscalationsCriticalStatistics(String escalationsCriticalStatistics) { this.escalationsCriticalStatistics = escalationsCriticalStatistics; if(escalationsCriticalStatistics != null){ putQueryParameter("Escalations.Critical.Statistics", escalationsCriticalStatistics); } } public List<Labels> getLabelss() { return this.labelss; } public void setLabelss(List<Labels> labelss) { this.labelss = labelss; if (labelss != null) { for (int depth1 = 0; depth1 < labelss.size(); depth1++) { putQueryParameter("Labels." + (depth1 + 1) + ".Value" , labelss.get(depth1).getValue()); putQueryParameter("Labels." + (depth1 + 1) + ".Key" , labelss.get(depth1).getKey()); } } } public String getInterval() { return this.interval; } public void setInterval(String interval) { this.interval = interval; if(interval != null){ putQueryParameter("Interval", interval); } } public String getRuleId() { return this.ruleId; } public void setRuleId(String ruleId) { this.ruleId = ruleId; if(ruleId != null){ putQueryParameter("RuleId", ruleId); } } public String getEscalationsCriticalThreshold() { return this.escalationsCriticalThreshold; } public void setEscalationsCriticalThreshold(String escalationsCriticalThreshold) { this.escalationsCriticalThreshold = escalationsCriticalThreshold; if(escalationsCriticalThreshold != null){ putQueryParameter("Escalations.Critical.Threshold", escalationsCriticalThreshold); } } public String getEscalationsInfoStatistics() { return this.escalationsInfoStatistics; } public void setEscalationsInfoStatistics(String escalationsInfoStatistics) { this.escalationsInfoStatistics = escalationsInfoStatistics; if(escalationsInfoStatistics != null){ putQueryParameter("Escalations.Info.Statistics", escalationsInfoStatistics); } } public String getEscalationsInfoComparisonOperator() { return this.escalationsInfoComparisonOperator; } public void setEscalationsInfoComparisonOperator(String escalationsInfoComparisonOperator) { this.escalationsInfoComparisonOperator = escalationsInfoComparisonOperator; if(escalationsInfoComparisonOperator != null){ putQueryParameter("Escalations.Info.ComparisonOperator", escalationsInfoComparisonOperator); } } public Integer getSilenceTime() { return this.silenceTime; } public void setSilenceTime(Integer silenceTime) { this.silenceTime = silenceTime; if(silenceTime != null){ putQueryParameter("SilenceTime", silenceTime.toString()); } } public Prometheus getPrometheus() { return this.prometheus; } public void setPrometheus(Prometheus prometheus) { this.prometheus = prometheus; if (prometheus != null) { putQueryParameter("Prometheus" , new Gson().toJson(prometheus)); } } public CompositeExpression getCompositeExpression() { return this.compositeExpression; } public void setCompositeExpression(CompositeExpression compositeExpression) { this.compositeExpression = compositeExpression; if (compositeExpression != null) { putQueryParameter("CompositeExpression" , new Gson().toJson(compositeExpression)); } } public String getResources() { return this.resources; } public void setResources(String resources) { this.resources = resources; if(resources != null){ putQueryParameter("Resources", resources); } } public Integer getEscalationsInfoTimes() { return this.escalationsInfoTimes; } public void setEscalationsInfoTimes(Integer escalationsInfoTimes) { this.escalationsInfoTimes = escalationsInfoTimes; if(escalationsInfoTimes != null){ putQueryParameter("Escalations.Info.Times", escalationsInfoTimes.toString()); } } public Integer getEscalationsCriticalTimes() { return this.escalationsCriticalTimes; } public void setEscalationsCriticalTimes(Integer escalationsCriticalTimes) { this.escalationsCriticalTimes = escalationsCriticalTimes; if(escalationsCriticalTimes != null){ putQueryParameter("Escalations.Critical.Times", escalationsCriticalTimes.toString()); } } public String getEscalationsWarnStatistics() { return this.escalationsWarnStatistics; } public void setEscalationsWarnStatistics(String escalationsWarnStatistics) { this.escalationsWarnStatistics = escalationsWarnStatistics; if(escalationsWarnStatistics != null){ putQueryParameter("Escalations.Warn.Statistics", escalationsWarnStatistics); } } public String getEscalationsInfoThreshold() { return this.escalationsInfoThreshold; } public void setEscalationsInfoThreshold(String escalationsInfoThreshold) { this.escalationsInfoThreshold = escalationsInfoThreshold; if(escalationsInfoThreshold != null){ putQueryParameter("Escalations.Info.Threshold", escalationsInfoThreshold); } } public String getNamespace() { return this.namespace; } public void setNamespace(String namespace) { this.namespace = namespace; if(namespace != null){ putQueryParameter("Namespace", namespace); } } public String getEscalationsCriticalComparisonOperator() { return this.escalationsCriticalComparisonOperator; } public void setEscalationsCriticalComparisonOperator(String escalationsCriticalComparisonOperator) { this.escalationsCriticalComparisonOperator = escalationsCriticalComparisonOperator; if(escalationsCriticalComparisonOperator != null){ putQueryParameter("Escalations.Critical.ComparisonOperator", escalationsCriticalComparisonOperator); } } public static class Labels { 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; } } public static class Prometheus { @SerializedName("PromQL") private String promQL; @SerializedName("Times") private Integer times; @SerializedName("Level") private String level; @SerializedName("Annotations") private List<AnnotationsItem> annotations; public String getPromQL() { return this.promQL; } public void setPromQL(String promQL) { this.promQL = promQL; } public Integer getTimes() { return this.times; } public void setTimes(Integer times) { this.times = times; } public String getLevel() { return this.level; } public void setLevel(String level) { this.level = level; } public List<AnnotationsItem> getAnnotations() { return this.annotations; } public void setAnnotations(List<AnnotationsItem> annotations) { this.annotations = annotations; } public static class AnnotationsItem { @SerializedName("Value") private String value; @SerializedName("Key") 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; } } } public static class CompositeExpression { @SerializedName("Times") private Integer times; @SerializedName("ExpressionList") private List<ExpressionListItem> expressionList; @SerializedName("Level") private String level; @SerializedName("ExpressionRaw") private String expressionRaw; @SerializedName("ExpressionListJoin") private String expressionListJoin; public Integer getTimes() { return this.times; } public void setTimes(Integer times) { this.times = times; } public List<ExpressionListItem> getExpressionList() { return this.expressionList; } public void setExpressionList(List<ExpressionListItem> expressionList) { this.expressionList = expressionList; } public String getLevel() { return this.level; } public void setLevel(String level) { this.level = level; } public String getExpressionRaw() { return this.expressionRaw; } public void setExpressionRaw(String expressionRaw) { this.expressionRaw = expressionRaw; } public String getExpressionListJoin() { return this.expressionListJoin; } public void setExpressionListJoin(String expressionListJoin) { this.expressionListJoin = expressionListJoin; } public static class ExpressionListItem { @SerializedName("Period") private Long period; @SerializedName("Threshold") private String threshold; @SerializedName("Id") private String id; @SerializedName("MetricName") private String metricName; @SerializedName("ComparisonOperator") private String comparisonOperator; @SerializedName("Statistics") private String statistics; public Long getPeriod() { return this.period; } public void setPeriod(Long period) { this.period = period; } public String getThreshold() { return this.threshold; } public void setThreshold(String threshold) { this.threshold = threshold; } public String getId() { return this.id; } public void setId(String id) { this.id = id; } public String getMetricName() { return this.metricName; } public void setMetricName(String metricName) { this.metricName = metricName; } public String getComparisonOperator() { return this.comparisonOperator; } public void setComparisonOperator(String comparisonOperator) { this.comparisonOperator = comparisonOperator; } public String getStatistics() { return this.statistics; } public void setStatistics(String statistics) { this.statistics = statistics; } } } @Override public Class<PutResourceMetricRuleResponse> getResponseClass() { return PutResourceMetricRuleResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/model
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/model/v20190101/PutResourceMetricRuleResponse.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.cms.model.v20190101; import com.aliyuncs.AcsResponse; import com.aliyuncs.cms.transform.v20190101.PutResourceMetricRuleResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class PutResourceMetricRuleResponse extends AcsResponse { private String code; private String message; private String requestId; private Boolean 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 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; } @Override public PutResourceMetricRuleResponse getInstance(UnmarshallerContext context) { return PutResourceMetricRuleResponseUnmarshaller.unmarshall(this, context); } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/model
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/model/v20190101/PutResourceMetricRulesRequest.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.cms.model.v20190101; import com.aliyuncs.RpcAcsRequest; import java.util.List; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class PutResourceMetricRulesRequest extends RpcAcsRequest<PutResourceMetricRulesResponse> { private List<Rules> ruless; public PutResourceMetricRulesRequest() { super("Cms", "2019-01-01", "PutResourceMetricRules", "cms"); setMethod(MethodType.POST); } public List<Rules> getRuless() { return this.ruless; } public void setRuless(List<Rules> ruless) { this.ruless = ruless; if (ruless != null) { for (int depth1 = 0; depth1 < ruless.size(); depth1++) { putQueryParameter("Rules." + (depth1 + 1) + ".Webhook" , ruless.get(depth1).getWebhook()); putQueryParameter("Rules." + (depth1 + 1) + ".Escalations.Warn.ComparisonOperator" , ruless.get(depth1).getEscalationsWarnComparisonOperator()); putQueryParameter("Rules." + (depth1 + 1) + ".DynamicAlertSensitivity" , ruless.get(depth1).getDynamicAlertSensitivity()); putQueryParameter("Rules." + (depth1 + 1) + ".RuleName" , ruless.get(depth1).getRuleName()); putQueryParameter("Rules." + (depth1 + 1) + ".Escalations.Info.Statistics" , ruless.get(depth1).getEscalationsInfoStatistics()); putQueryParameter("Rules." + (depth1 + 1) + ".EffectiveInterval" , ruless.get(depth1).getEffectiveInterval()); putQueryParameter("Rules." + (depth1 + 1) + ".DynamicAlertHistoryDataRange" , ruless.get(depth1).getDynamicAlertHistoryDataRange()); putQueryParameter("Rules." + (depth1 + 1) + ".Escalations.Warn.PreCondition" , ruless.get(depth1).getEscalationsWarnPreCondition()); putQueryParameter("Rules." + (depth1 + 1) + ".Escalations.Info.ComparisonOperator" , ruless.get(depth1).getEscalationsInfoComparisonOperator()); putQueryParameter("Rules." + (depth1 + 1) + ".NoDataPolicy" , ruless.get(depth1).getNoDataPolicy()); putQueryParameter("Rules." + (depth1 + 1) + ".NoEffectiveInterval" , ruless.get(depth1).getNoEffectiveInterval()); putQueryParameter("Rules." + (depth1 + 1) + ".EmailSubject" , ruless.get(depth1).getEmailSubject()); putQueryParameter("Rules." + (depth1 + 1) + ".Options" , ruless.get(depth1).getOptions()); putQueryParameter("Rules." + (depth1 + 1) + ".SilenceTime" , ruless.get(depth1).getSilenceTime()); putQueryParameter("Rules." + (depth1 + 1) + ".Prometheus" , ruless.get(depth1).getPrometheus()); putQueryParameter("Rules." + (depth1 + 1) + ".Escalations.Info.PreCondition" , ruless.get(depth1).getEscalationsInfoPreCondition()); putQueryParameter("Rules." + (depth1 + 1) + ".MetricName" , ruless.get(depth1).getMetricName()); putQueryParameter("Rules." + (depth1 + 1) + ".Escalations.Warn.Times" , ruless.get(depth1).getEscalationsWarnTimes()); putQueryParameter("Rules." + (depth1 + 1) + ".CompositeExpression" , ruless.get(depth1).getCompositeExpression()); putQueryParameter("Rules." + (depth1 + 1) + ".Escalations.Warn.Threshold" , ruless.get(depth1).getEscalationsWarnThreshold()); putQueryParameter("Rules." + (depth1 + 1) + ".Period" , ruless.get(depth1).getPeriod()); putQueryParameter("Rules." + (depth1 + 1) + ".ContactGroups" , ruless.get(depth1).getContactGroups()); putQueryParameter("Rules." + (depth1 + 1) + ".Escalations.Critical.Statistics" , ruless.get(depth1).getEscalationsCriticalStatistics()); putQueryParameter("Rules." + (depth1 + 1) + ".RuleType" , ruless.get(depth1).getRuleType()); putQueryParameter("Rules." + (depth1 + 1) + ".GroupId" , ruless.get(depth1).getGroupId()); putQueryParameter("Rules." + (depth1 + 1) + ".Escalations.Info.Times" , ruless.get(depth1).getEscalationsInfoTimes()); putQueryParameter("Rules." + (depth1 + 1) + ".Resources" , ruless.get(depth1).getResources()); if (ruless.get(depth1).getLabelss() != null) { for (int depth2 = 0; depth2 < ruless.get(depth1).getLabelss().size(); depth2++) { putQueryParameter("Rules." + (depth1 + 1) + ".Labels." + (depth2 + 1) + ".Value" , ruless.get(depth1).getLabelss().get(depth2).getValue()); putQueryParameter("Rules." + (depth1 + 1) + ".Labels." + (depth2 + 1) + ".Key" , ruless.get(depth1).getLabelss().get(depth2).getKey()); } } putQueryParameter("Rules." + (depth1 + 1) + ".Escalations.Critical.Times" , ruless.get(depth1).getEscalationsCriticalTimes()); putQueryParameter("Rules." + (depth1 + 1) + ".Escalations.Info.Threshold" , ruless.get(depth1).getEscalationsInfoThreshold()); putQueryParameter("Rules." + (depth1 + 1) + ".Escalations.Warn.Statistics" , ruless.get(depth1).getEscalationsWarnStatistics()); putQueryParameter("Rules." + (depth1 + 1) + ".Namespace" , ruless.get(depth1).getNamespace()); putQueryParameter("Rules." + (depth1 + 1) + ".Interval" , ruless.get(depth1).getInterval()); putQueryParameter("Rules." + (depth1 + 1) + ".RuleId" , ruless.get(depth1).getRuleId()); putQueryParameter("Rules." + (depth1 + 1) + ".Escalations.Critical.ComparisonOperator" , ruless.get(depth1).getEscalationsCriticalComparisonOperator()); putQueryParameter("Rules." + (depth1 + 1) + ".Escalations.Critical.PreCondition" , ruless.get(depth1).getEscalationsCriticalPreCondition()); putQueryParameter("Rules." + (depth1 + 1) + ".Escalations.Critical.Threshold" , ruless.get(depth1).getEscalationsCriticalThreshold()); } } } public static class Rules { private String webhook; private String escalationsWarnComparisonOperator; private String dynamicAlertSensitivity; private String ruleName; private String escalationsInfoStatistics; private String effectiveInterval; private String dynamicAlertHistoryDataRange; private String escalationsWarnPreCondition; private String escalationsInfoComparisonOperator; private String noDataPolicy; private String noEffectiveInterval; private String emailSubject; private String options; private Integer silenceTime; private String prometheus; private String escalationsInfoPreCondition; private String metricName; private Integer escalationsWarnTimes; private String compositeExpression; private String escalationsWarnThreshold; private String period; private String contactGroups; private String escalationsCriticalStatistics; private String ruleType; private String groupId; private Integer escalationsInfoTimes; private String resources; private List<Labels> labelss; private Integer escalationsCriticalTimes; private String escalationsInfoThreshold; private String escalationsWarnStatistics; private String namespace; private String interval; private String ruleId; private String escalationsCriticalComparisonOperator; private String escalationsCriticalPreCondition; private String escalationsCriticalThreshold; public String getWebhook() { return this.webhook; } public void setWebhook(String webhook) { this.webhook = webhook; } public String getEscalationsWarnComparisonOperator() { return this.escalationsWarnComparisonOperator; } public void setEscalationsWarnComparisonOperator(String escalationsWarnComparisonOperator) { this.escalationsWarnComparisonOperator = escalationsWarnComparisonOperator; } public String getDynamicAlertSensitivity() { return this.dynamicAlertSensitivity; } public void setDynamicAlertSensitivity(String dynamicAlertSensitivity) { this.dynamicAlertSensitivity = dynamicAlertSensitivity; } public String getRuleName() { return this.ruleName; } public void setRuleName(String ruleName) { this.ruleName = ruleName; } public String getEscalationsInfoStatistics() { return this.escalationsInfoStatistics; } public void setEscalationsInfoStatistics(String escalationsInfoStatistics) { this.escalationsInfoStatistics = escalationsInfoStatistics; } public String getEffectiveInterval() { return this.effectiveInterval; } public void setEffectiveInterval(String effectiveInterval) { this.effectiveInterval = effectiveInterval; } public String getDynamicAlertHistoryDataRange() { return this.dynamicAlertHistoryDataRange; } public void setDynamicAlertHistoryDataRange(String dynamicAlertHistoryDataRange) { this.dynamicAlertHistoryDataRange = dynamicAlertHistoryDataRange; } public String getEscalationsWarnPreCondition() { return this.escalationsWarnPreCondition; } public void setEscalationsWarnPreCondition(String escalationsWarnPreCondition) { this.escalationsWarnPreCondition = escalationsWarnPreCondition; } public String getEscalationsInfoComparisonOperator() { return this.escalationsInfoComparisonOperator; } public void setEscalationsInfoComparisonOperator(String escalationsInfoComparisonOperator) { this.escalationsInfoComparisonOperator = escalationsInfoComparisonOperator; } public String getNoDataPolicy() { return this.noDataPolicy; } public void setNoDataPolicy(String noDataPolicy) { this.noDataPolicy = noDataPolicy; } public String getNoEffectiveInterval() { return this.noEffectiveInterval; } public void setNoEffectiveInterval(String noEffectiveInterval) { this.noEffectiveInterval = noEffectiveInterval; } public String getEmailSubject() { return this.emailSubject; } public void setEmailSubject(String emailSubject) { this.emailSubject = emailSubject; } public String getOptions() { return this.options; } public void setOptions(String options) { this.options = options; } public Integer getSilenceTime() { return this.silenceTime; } public void setSilenceTime(Integer silenceTime) { this.silenceTime = silenceTime; } public String getPrometheus() { return this.prometheus; } public void setPrometheus(String prometheus) { this.prometheus = prometheus; } public String getEscalationsInfoPreCondition() { return this.escalationsInfoPreCondition; } public void setEscalationsInfoPreCondition(String escalationsInfoPreCondition) { this.escalationsInfoPreCondition = escalationsInfoPreCondition; } public String getMetricName() { return this.metricName; } public void setMetricName(String metricName) { this.metricName = metricName; } public Integer getEscalationsWarnTimes() { return this.escalationsWarnTimes; } public void setEscalationsWarnTimes(Integer escalationsWarnTimes) { this.escalationsWarnTimes = escalationsWarnTimes; } public String getCompositeExpression() { return this.compositeExpression; } public void setCompositeExpression(String compositeExpression) { this.compositeExpression = compositeExpression; } public String getEscalationsWarnThreshold() { return this.escalationsWarnThreshold; } public void setEscalationsWarnThreshold(String escalationsWarnThreshold) { this.escalationsWarnThreshold = escalationsWarnThreshold; } public String getPeriod() { return this.period; } public void setPeriod(String period) { this.period = period; } public String getContactGroups() { return this.contactGroups; } public void setContactGroups(String contactGroups) { this.contactGroups = contactGroups; } public String getEscalationsCriticalStatistics() { return this.escalationsCriticalStatistics; } public void setEscalationsCriticalStatistics(String escalationsCriticalStatistics) { this.escalationsCriticalStatistics = escalationsCriticalStatistics; } public String getRuleType() { return this.ruleType; } public void setRuleType(String ruleType) { this.ruleType = ruleType; } public String getGroupId() { return this.groupId; } public void setGroupId(String groupId) { this.groupId = groupId; } public Integer getEscalationsInfoTimes() { return this.escalationsInfoTimes; } public void setEscalationsInfoTimes(Integer escalationsInfoTimes) { this.escalationsInfoTimes = escalationsInfoTimes; } public String getResources() { return this.resources; } public void setResources(String resources) { this.resources = resources; } public List<Labels> getLabelss() { return this.labelss; } public void setLabelss(List<Labels> labelss) { this.labelss = labelss; } public Integer getEscalationsCriticalTimes() { return this.escalationsCriticalTimes; } public void setEscalationsCriticalTimes(Integer escalationsCriticalTimes) { this.escalationsCriticalTimes = escalationsCriticalTimes; } public String getEscalationsInfoThreshold() { return this.escalationsInfoThreshold; } public void setEscalationsInfoThreshold(String escalationsInfoThreshold) { this.escalationsInfoThreshold = escalationsInfoThreshold; } public String getEscalationsWarnStatistics() { return this.escalationsWarnStatistics; } public void setEscalationsWarnStatistics(String escalationsWarnStatistics) { this.escalationsWarnStatistics = escalationsWarnStatistics; } public String getNamespace() { return this.namespace; } public void setNamespace(String namespace) { this.namespace = namespace; } public String getInterval() { return this.interval; } public void setInterval(String interval) { this.interval = interval; } public String getRuleId() { return this.ruleId; } public void setRuleId(String ruleId) { this.ruleId = ruleId; } public String getEscalationsCriticalComparisonOperator() { return this.escalationsCriticalComparisonOperator; } public void setEscalationsCriticalComparisonOperator(String escalationsCriticalComparisonOperator) { this.escalationsCriticalComparisonOperator = escalationsCriticalComparisonOperator; } public String getEscalationsCriticalPreCondition() { return this.escalationsCriticalPreCondition; } public void setEscalationsCriticalPreCondition(String escalationsCriticalPreCondition) { this.escalationsCriticalPreCondition = escalationsCriticalPreCondition; } public String getEscalationsCriticalThreshold() { return this.escalationsCriticalThreshold; } public void setEscalationsCriticalThreshold(String escalationsCriticalThreshold) { this.escalationsCriticalThreshold = escalationsCriticalThreshold; } public static class Labels { 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<PutResourceMetricRulesResponse> getResponseClass() { return PutResourceMetricRulesResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/model
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/model/v20190101/PutResourceMetricRulesResponse.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.cms.model.v20190101; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.cms.transform.v20190101.PutResourceMetricRulesResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class PutResourceMetricRulesResponse extends AcsResponse { private String code; private String message; private String requestId; private Boolean success; private List<Target> failedListResult; 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 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 List<Target> getFailedListResult() { return this.failedListResult; } public void setFailedListResult(List<Target> failedListResult) { this.failedListResult = failedListResult; } public static class Target { private String ruleId; private Result result; public String getRuleId() { return this.ruleId; } public void setRuleId(String ruleId) { this.ruleId = ruleId; } public Result getResult() { return this.result; } public void setResult(Result result) { this.result = result; } public static class Result { private String code; private String message; private Boolean 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 Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } } } @Override public PutResourceMetricRulesResponse getInstance(UnmarshallerContext context) { return PutResourceMetricRulesResponseUnmarshaller.unmarshall(this, context); } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/model
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/model/v20190101/RemoveTagsRequest.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.cms.model.v20190101; import com.aliyuncs.RpcAcsRequest; import java.util.List; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class RemoveTagsRequest extends RpcAcsRequest<RemoveTagsResponse> { private List<String> groupIdss; private List<Tag> tags; public RemoveTagsRequest() { super("Cms", "2019-01-01", "RemoveTags", "cms"); setMethod(MethodType.POST); } public List<String> getGroupIdss() { return this.groupIdss; } public void setGroupIdss(List<String> groupIdss) { this.groupIdss = groupIdss; if (groupIdss != null) { for (int i = 0; i < groupIdss.size(); i++) { putQueryParameter("GroupIds." + (i + 1) , groupIdss.get(i)); } } } public List<Tag> getTags() { return this.tags; } public void setTags(List<Tag> tags) { this.tags = tags; if (tags != null) { for (int depth1 = 0; depth1 < tags.size(); depth1++) { putQueryParameter("Tag." + (depth1 + 1) + ".Value" , tags.get(depth1).getValue()); putQueryParameter("Tag." + (depth1 + 1) + ".Key" , tags.get(depth1).getKey()); } } } public static class Tag { 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<RemoveTagsResponse> getResponseClass() { return RemoveTagsResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/model
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/model/v20190101/RemoveTagsResponse.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.cms.model.v20190101; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.cms.transform.v20190101.RemoveTagsResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class RemoveTagsResponse extends AcsResponse { private String code; private String message; private String requestId; private Boolean success; private List<String> tag; 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 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 List<String> getTag() { return this.tag; } public void setTag(List<String> tag) { this.tag = tag; } @Override public RemoveTagsResponse getInstance(UnmarshallerContext context) { return RemoveTagsResponseUnmarshaller.unmarshall(this, context); } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/model
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/model/v20190101/SendDryRunSystemEventRequest.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.cms.model.v20190101; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class SendDryRunSystemEventRequest extends RpcAcsRequest<SendDryRunSystemEventResponse> { private String product; private String groupId; private String eventName; private String eventContent; public SendDryRunSystemEventRequest() { super("Cms", "2019-01-01", "SendDryRunSystemEvent", "cms"); setMethod(MethodType.POST); } public String getProduct() { return this.product; } public void setProduct(String product) { this.product = product; if(product != null){ putQueryParameter("Product", product); } } public String getGroupId() { return this.groupId; } public void setGroupId(String groupId) { this.groupId = groupId; if(groupId != null){ putQueryParameter("GroupId", groupId); } } public String getEventName() { return this.eventName; } public void setEventName(String eventName) { this.eventName = eventName; if(eventName != null){ putQueryParameter("EventName", eventName); } } public String getEventContent() { return this.eventContent; } public void setEventContent(String eventContent) { this.eventContent = eventContent; if(eventContent != null){ putQueryParameter("EventContent", eventContent); } } @Override public Class<SendDryRunSystemEventResponse> getResponseClass() { return SendDryRunSystemEventResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/model
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/model/v20190101/SendDryRunSystemEventResponse.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.cms.model.v20190101; import com.aliyuncs.AcsResponse; import com.aliyuncs.cms.transform.v20190101.SendDryRunSystemEventResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class SendDryRunSystemEventResponse extends AcsResponse { private String code; private String message; private String requestId; private String 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 String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public String getSuccess() { return this.success; } public void setSuccess(String success) { this.success = success; } @Override public SendDryRunSystemEventResponse getInstance(UnmarshallerContext context) { return SendDryRunSystemEventResponseUnmarshaller.unmarshall(this, context); } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/model
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/model/v20190101/UninstallMonitoringAgentRequest.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.cms.model.v20190101; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class UninstallMonitoringAgentRequest extends RpcAcsRequest<UninstallMonitoringAgentResponse> { private String instanceId; public UninstallMonitoringAgentRequest() { super("Cms", "2019-01-01", "UninstallMonitoringAgent", "cms"); setMethod(MethodType.POST); } public String getInstanceId() { return this.instanceId; } public void setInstanceId(String instanceId) { this.instanceId = instanceId; if(instanceId != null){ putQueryParameter("InstanceId", instanceId); } } @Override public Class<UninstallMonitoringAgentResponse> getResponseClass() { return UninstallMonitoringAgentResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/model
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/model/v20190101/UninstallMonitoringAgentResponse.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.cms.model.v20190101; import com.aliyuncs.AcsResponse; import com.aliyuncs.cms.transform.v20190101.UninstallMonitoringAgentResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class UninstallMonitoringAgentResponse extends AcsResponse { private String code; private String message; private String requestId; private Boolean 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 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; } @Override public UninstallMonitoringAgentResponse getInstance(UnmarshallerContext context) { return UninstallMonitoringAgentResponseUnmarshaller.unmarshall(this, context); } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/AddTagsResponseUnmarshaller.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.cms.transform.v20190101; import com.aliyuncs.cms.model.v20190101.AddTagsResponse; import com.aliyuncs.transform.UnmarshallerContext; public class AddTagsResponseUnmarshaller { public static AddTagsResponse unmarshall(AddTagsResponse addTagsResponse, UnmarshallerContext _ctx) { addTagsResponse.setRequestId(_ctx.stringValue("AddTagsResponse.RequestId")); addTagsResponse.setCode(_ctx.stringValue("AddTagsResponse.Code")); addTagsResponse.setMessage(_ctx.stringValue("AddTagsResponse.Message")); addTagsResponse.setSuccess(_ctx.booleanValue("AddTagsResponse.Success")); return addTagsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/ApplyMetricRuleTemplateResponseUnmarshaller.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.cms.transform.v20190101; import java.util.ArrayList; import java.util.List; import com.aliyuncs.cms.model.v20190101.ApplyMetricRuleTemplateResponse; import com.aliyuncs.cms.model.v20190101.ApplyMetricRuleTemplateResponse.Resource; import com.aliyuncs.cms.model.v20190101.ApplyMetricRuleTemplateResponse.Resource.Result; import com.aliyuncs.transform.UnmarshallerContext; public class ApplyMetricRuleTemplateResponseUnmarshaller { public static ApplyMetricRuleTemplateResponse unmarshall(ApplyMetricRuleTemplateResponse applyMetricRuleTemplateResponse, UnmarshallerContext _ctx) { applyMetricRuleTemplateResponse.setRequestId(_ctx.stringValue("ApplyMetricRuleTemplateResponse.RequestId")); applyMetricRuleTemplateResponse.setCode(_ctx.integerValue("ApplyMetricRuleTemplateResponse.Code")); applyMetricRuleTemplateResponse.setMessage(_ctx.stringValue("ApplyMetricRuleTemplateResponse.Message")); applyMetricRuleTemplateResponse.setSuccess(_ctx.booleanValue("ApplyMetricRuleTemplateResponse.Success")); Resource resource = new Resource(); resource.setGroupId(_ctx.longValue("ApplyMetricRuleTemplateResponse.Resource.GroupId")); List<Result> alertResults = new ArrayList<Result>(); for (int i = 0; i < _ctx.lengthValue("ApplyMetricRuleTemplateResponse.Resource.AlertResults.Length"); i++) { Result result = new Result(); result.setCode(_ctx.stringValue("ApplyMetricRuleTemplateResponse.Resource.AlertResults["+ i +"].Code")); result.setMessage(_ctx.stringValue("ApplyMetricRuleTemplateResponse.Resource.AlertResults["+ i +"].Message")); result.setSuccess(_ctx.booleanValue("ApplyMetricRuleTemplateResponse.Resource.AlertResults["+ i +"].Success")); result.setRuleName(_ctx.stringValue("ApplyMetricRuleTemplateResponse.Resource.AlertResults["+ i +"].RuleName")); result.setRuleId(_ctx.stringValue("ApplyMetricRuleTemplateResponse.Resource.AlertResults["+ i +"].RuleId")); alertResults.add(result); } resource.setAlertResults(alertResults); applyMetricRuleTemplateResponse.setResource(resource); return applyMetricRuleTemplateResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/BatchCreateInstantSiteMonitorResponseUnmarshaller.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.cms.transform.v20190101; import java.util.ArrayList; import java.util.List; import com.aliyuncs.cms.model.v20190101.BatchCreateInstantSiteMonitorResponse; import com.aliyuncs.cms.model.v20190101.BatchCreateInstantSiteMonitorResponse.DataItem; import com.aliyuncs.transform.UnmarshallerContext; public class BatchCreateInstantSiteMonitorResponseUnmarshaller { public static BatchCreateInstantSiteMonitorResponse unmarshall(BatchCreateInstantSiteMonitorResponse batchCreateInstantSiteMonitorResponse, UnmarshallerContext _ctx) { batchCreateInstantSiteMonitorResponse.setRequestId(_ctx.stringValue("BatchCreateInstantSiteMonitorResponse.RequestId")); batchCreateInstantSiteMonitorResponse.setMessage(_ctx.stringValue("BatchCreateInstantSiteMonitorResponse.Message")); batchCreateInstantSiteMonitorResponse.setSuccess(_ctx.booleanValue("BatchCreateInstantSiteMonitorResponse.Success")); batchCreateInstantSiteMonitorResponse.setCode(_ctx.stringValue("BatchCreateInstantSiteMonitorResponse.Code")); List<DataItem> data = new ArrayList<DataItem>(); for (int i = 0; i < _ctx.lengthValue("BatchCreateInstantSiteMonitorResponse.Data.Length"); i++) { DataItem dataItem = new DataItem(); dataItem.setTaskName(_ctx.stringValue("BatchCreateInstantSiteMonitorResponse.Data["+ i +"].TaskName")); dataItem.setTaskId(_ctx.stringValue("BatchCreateInstantSiteMonitorResponse.Data["+ i +"].TaskId")); data.add(dataItem); } batchCreateInstantSiteMonitorResponse.setData(data); return batchCreateInstantSiteMonitorResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/BatchCreateIntantSiteMonitorResponseUnmarshaller.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.cms.transform.v20190101; import com.aliyuncs.cms.model.v20190101.BatchCreateIntantSiteMonitorResponse; import com.aliyuncs.transform.UnmarshallerContext; public class BatchCreateIntantSiteMonitorResponseUnmarshaller { public static BatchCreateIntantSiteMonitorResponse unmarshall(BatchCreateIntantSiteMonitorResponse batchCreateIntantSiteMonitorResponse, UnmarshallerContext _ctx) { batchCreateIntantSiteMonitorResponse.setRequestId(_ctx.stringValue("BatchCreateIntantSiteMonitorResponse.RequestId")); batchCreateIntantSiteMonitorResponse.setMessage(_ctx.stringValue("BatchCreateIntantSiteMonitorResponse.Message")); batchCreateIntantSiteMonitorResponse.setSuccess(_ctx.booleanValue("BatchCreateIntantSiteMonitorResponse.Success")); batchCreateIntantSiteMonitorResponse.setData(_ctx.stringValue("BatchCreateIntantSiteMonitorResponse.Data")); batchCreateIntantSiteMonitorResponse.setCode(_ctx.stringValue("BatchCreateIntantSiteMonitorResponse.Code")); return batchCreateIntantSiteMonitorResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/CreateCmsCallNumOrderResponseUnmarshaller.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.cms.transform.v20190101; import com.aliyuncs.cms.model.v20190101.CreateCmsCallNumOrderResponse; import com.aliyuncs.transform.UnmarshallerContext; public class CreateCmsCallNumOrderResponseUnmarshaller { public static CreateCmsCallNumOrderResponse unmarshall(CreateCmsCallNumOrderResponse createCmsCallNumOrderResponse, UnmarshallerContext _ctx) { createCmsCallNumOrderResponse.setRequestId(_ctx.stringValue("CreateCmsCallNumOrderResponse.RequestId")); createCmsCallNumOrderResponse.setOrderId(_ctx.stringValue("CreateCmsCallNumOrderResponse.OrderId")); return createCmsCallNumOrderResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/CreateCmsOrderResponseUnmarshaller.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.cms.transform.v20190101; import com.aliyuncs.cms.model.v20190101.CreateCmsOrderResponse; import com.aliyuncs.transform.UnmarshallerContext; public class CreateCmsOrderResponseUnmarshaller { public static CreateCmsOrderResponse unmarshall(CreateCmsOrderResponse createCmsOrderResponse, UnmarshallerContext _ctx) { createCmsOrderResponse.setRequestId(_ctx.stringValue("CreateCmsOrderResponse.RequestId")); createCmsOrderResponse.setOrderId(_ctx.stringValue("CreateCmsOrderResponse.OrderId")); return createCmsOrderResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/CreateCmsSmspackageOrderResponseUnmarshaller.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.cms.transform.v20190101; import com.aliyuncs.cms.model.v20190101.CreateCmsSmspackageOrderResponse; import com.aliyuncs.transform.UnmarshallerContext; public class CreateCmsSmspackageOrderResponseUnmarshaller { public static CreateCmsSmspackageOrderResponse unmarshall(CreateCmsSmspackageOrderResponse createCmsSmspackageOrderResponse, UnmarshallerContext _ctx) { createCmsSmspackageOrderResponse.setRequestId(_ctx.stringValue("CreateCmsSmspackageOrderResponse.RequestId")); createCmsSmspackageOrderResponse.setOrderId(_ctx.stringValue("CreateCmsSmspackageOrderResponse.OrderId")); return createCmsSmspackageOrderResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/CreateDynamicTagGroupResponseUnmarshaller.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.cms.transform.v20190101; import com.aliyuncs.cms.model.v20190101.CreateDynamicTagGroupResponse; import com.aliyuncs.transform.UnmarshallerContext; public class CreateDynamicTagGroupResponseUnmarshaller { public static CreateDynamicTagGroupResponse unmarshall(CreateDynamicTagGroupResponse createDynamicTagGroupResponse, UnmarshallerContext _ctx) { createDynamicTagGroupResponse.setRequestId(_ctx.stringValue("CreateDynamicTagGroupResponse.RequestId")); createDynamicTagGroupResponse.setCode(_ctx.stringValue("CreateDynamicTagGroupResponse.Code")); createDynamicTagGroupResponse.setMessage(_ctx.stringValue("CreateDynamicTagGroupResponse.Message")); createDynamicTagGroupResponse.setSuccess(_ctx.booleanValue("CreateDynamicTagGroupResponse.Success")); createDynamicTagGroupResponse.setId(_ctx.stringValue("CreateDynamicTagGroupResponse.Id")); return createDynamicTagGroupResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/CreateGroupMetricRulesResponseUnmarshaller.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.cms.transform.v20190101; import java.util.ArrayList; import java.util.List; import com.aliyuncs.cms.model.v20190101.CreateGroupMetricRulesResponse; import com.aliyuncs.cms.model.v20190101.CreateGroupMetricRulesResponse.AlertResult; import com.aliyuncs.transform.UnmarshallerContext; public class CreateGroupMetricRulesResponseUnmarshaller { public static CreateGroupMetricRulesResponse unmarshall(CreateGroupMetricRulesResponse createGroupMetricRulesResponse, UnmarshallerContext _ctx) { createGroupMetricRulesResponse.setRequestId(_ctx.stringValue("CreateGroupMetricRulesResponse.RequestId")); createGroupMetricRulesResponse.setCode(_ctx.integerValue("CreateGroupMetricRulesResponse.Code")); createGroupMetricRulesResponse.setMessage(_ctx.stringValue("CreateGroupMetricRulesResponse.Message")); createGroupMetricRulesResponse.setSuccess(_ctx.booleanValue("CreateGroupMetricRulesResponse.Success")); List<AlertResult> resources = new ArrayList<AlertResult>(); for (int i = 0; i < _ctx.lengthValue("CreateGroupMetricRulesResponse.Resources.Length"); i++) { AlertResult alertResult = new AlertResult(); alertResult.setCode(_ctx.integerValue("CreateGroupMetricRulesResponse.Resources["+ i +"].Code")); alertResult.setMessage(_ctx.stringValue("CreateGroupMetricRulesResponse.Resources["+ i +"].Message")); alertResult.setSuccess(_ctx.booleanValue("CreateGroupMetricRulesResponse.Resources["+ i +"].Success")); alertResult.setRuleName(_ctx.stringValue("CreateGroupMetricRulesResponse.Resources["+ i +"].RuleName")); alertResult.setRuleId(_ctx.stringValue("CreateGroupMetricRulesResponse.Resources["+ i +"].RuleId")); resources.add(alertResult); } createGroupMetricRulesResponse.setResources(resources); return createGroupMetricRulesResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/CreateGroupMonitoringAgentProcessResponseUnmarshaller.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.cms.transform.v20190101; import com.aliyuncs.cms.model.v20190101.CreateGroupMonitoringAgentProcessResponse; import com.aliyuncs.transform.UnmarshallerContext; public class CreateGroupMonitoringAgentProcessResponseUnmarshaller { public static CreateGroupMonitoringAgentProcessResponse unmarshall(CreateGroupMonitoringAgentProcessResponse createGroupMonitoringAgentProcessResponse, UnmarshallerContext _ctx) { createGroupMonitoringAgentProcessResponse.setRequestId(_ctx.stringValue("CreateGroupMonitoringAgentProcessResponse.RequestId")); createGroupMonitoringAgentProcessResponse.setCode(_ctx.stringValue("CreateGroupMonitoringAgentProcessResponse.Code")); createGroupMonitoringAgentProcessResponse.setMessage(_ctx.stringValue("CreateGroupMonitoringAgentProcessResponse.Message")); createGroupMonitoringAgentProcessResponse.setSuccess(_ctx.booleanValue("CreateGroupMonitoringAgentProcessResponse.Success")); return createGroupMonitoringAgentProcessResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/CreateHostAvailabilityResponseUnmarshaller.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.cms.transform.v20190101; import com.aliyuncs.cms.model.v20190101.CreateHostAvailabilityResponse; import com.aliyuncs.transform.UnmarshallerContext; public class CreateHostAvailabilityResponseUnmarshaller { public static CreateHostAvailabilityResponse unmarshall(CreateHostAvailabilityResponse createHostAvailabilityResponse, UnmarshallerContext _ctx) { createHostAvailabilityResponse.setRequestId(_ctx.stringValue("CreateHostAvailabilityResponse.RequestId")); createHostAvailabilityResponse.setCode(_ctx.stringValue("CreateHostAvailabilityResponse.Code")); createHostAvailabilityResponse.setMessage(_ctx.stringValue("CreateHostAvailabilityResponse.Message")); createHostAvailabilityResponse.setTaskId(_ctx.longValue("CreateHostAvailabilityResponse.TaskId")); createHostAvailabilityResponse.setSuccess(_ctx.booleanValue("CreateHostAvailabilityResponse.Success")); return createHostAvailabilityResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/CreateHybridMonitorNamespaceResponseUnmarshaller.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.cms.transform.v20190101; import com.aliyuncs.cms.model.v20190101.CreateHybridMonitorNamespaceResponse; import com.aliyuncs.transform.UnmarshallerContext; public class CreateHybridMonitorNamespaceResponseUnmarshaller { public static CreateHybridMonitorNamespaceResponse unmarshall(CreateHybridMonitorNamespaceResponse createHybridMonitorNamespaceResponse, UnmarshallerContext _ctx) { createHybridMonitorNamespaceResponse.setRequestId(_ctx.stringValue("CreateHybridMonitorNamespaceResponse.RequestId")); createHybridMonitorNamespaceResponse.setCode(_ctx.stringValue("CreateHybridMonitorNamespaceResponse.Code")); createHybridMonitorNamespaceResponse.setMessage(_ctx.stringValue("CreateHybridMonitorNamespaceResponse.Message")); createHybridMonitorNamespaceResponse.setSuccess(_ctx.stringValue("CreateHybridMonitorNamespaceResponse.Success")); return createHybridMonitorNamespaceResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/CreateHybridMonitorSLSGroupResponseUnmarshaller.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.cms.transform.v20190101; import com.aliyuncs.cms.model.v20190101.CreateHybridMonitorSLSGroupResponse; import com.aliyuncs.transform.UnmarshallerContext; public class CreateHybridMonitorSLSGroupResponseUnmarshaller { public static CreateHybridMonitorSLSGroupResponse unmarshall(CreateHybridMonitorSLSGroupResponse createHybridMonitorSLSGroupResponse, UnmarshallerContext _ctx) { createHybridMonitorSLSGroupResponse.setRequestId(_ctx.stringValue("CreateHybridMonitorSLSGroupResponse.RequestId")); createHybridMonitorSLSGroupResponse.setCode(_ctx.stringValue("CreateHybridMonitorSLSGroupResponse.Code")); createHybridMonitorSLSGroupResponse.setMessage(_ctx.stringValue("CreateHybridMonitorSLSGroupResponse.Message")); createHybridMonitorSLSGroupResponse.setSuccess(_ctx.stringValue("CreateHybridMonitorSLSGroupResponse.Success")); return createHybridMonitorSLSGroupResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/CreateHybridMonitorTaskResponseUnmarshaller.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.cms.transform.v20190101; import com.aliyuncs.cms.model.v20190101.CreateHybridMonitorTaskResponse; import com.aliyuncs.transform.UnmarshallerContext; public class CreateHybridMonitorTaskResponseUnmarshaller { public static CreateHybridMonitorTaskResponse unmarshall(CreateHybridMonitorTaskResponse createHybridMonitorTaskResponse, UnmarshallerContext _ctx) { createHybridMonitorTaskResponse.setRequestId(_ctx.stringValue("CreateHybridMonitorTaskResponse.RequestId")); createHybridMonitorTaskResponse.setCode(_ctx.stringValue("CreateHybridMonitorTaskResponse.Code")); createHybridMonitorTaskResponse.setMessage(_ctx.stringValue("CreateHybridMonitorTaskResponse.Message")); createHybridMonitorTaskResponse.setSuccess(_ctx.stringValue("CreateHybridMonitorTaskResponse.Success")); createHybridMonitorTaskResponse.setTaskId(_ctx.longValue("CreateHybridMonitorTaskResponse.TaskId")); return createHybridMonitorTaskResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/CreateInstantSiteMonitorResponseUnmarshaller.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.cms.transform.v20190101; import java.util.ArrayList; import java.util.List; import com.aliyuncs.cms.model.v20190101.CreateInstantSiteMonitorResponse; import com.aliyuncs.cms.model.v20190101.CreateInstantSiteMonitorResponse.CreateResultListItem; import com.aliyuncs.transform.UnmarshallerContext; public class CreateInstantSiteMonitorResponseUnmarshaller { public static CreateInstantSiteMonitorResponse unmarshall(CreateInstantSiteMonitorResponse createInstantSiteMonitorResponse, UnmarshallerContext _ctx) { createInstantSiteMonitorResponse.setRequestId(_ctx.stringValue("CreateInstantSiteMonitorResponse.RequestId")); createInstantSiteMonitorResponse.setCode(_ctx.stringValue("CreateInstantSiteMonitorResponse.Code")); createInstantSiteMonitorResponse.setMessage(_ctx.stringValue("CreateInstantSiteMonitorResponse.Message")); createInstantSiteMonitorResponse.setSuccess(_ctx.stringValue("CreateInstantSiteMonitorResponse.Success")); List<CreateResultListItem> createResultList = new ArrayList<CreateResultListItem>(); for (int i = 0; i < _ctx.lengthValue("CreateInstantSiteMonitorResponse.CreateResultList.Length"); i++) { CreateResultListItem createResultListItem = new CreateResultListItem(); createResultListItem.setTaskId(_ctx.stringValue("CreateInstantSiteMonitorResponse.CreateResultList["+ i +"].TaskId")); createResultListItem.setTaskName(_ctx.stringValue("CreateInstantSiteMonitorResponse.CreateResultList["+ i +"].TaskName")); createResultList.add(createResultListItem); } createInstantSiteMonitorResponse.setCreateResultList(createResultList); return createInstantSiteMonitorResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/CreateMetricRuleBlackListResponseUnmarshaller.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.cms.transform.v20190101; import com.aliyuncs.cms.model.v20190101.CreateMetricRuleBlackListResponse; import com.aliyuncs.transform.UnmarshallerContext; public class CreateMetricRuleBlackListResponseUnmarshaller { public static CreateMetricRuleBlackListResponse unmarshall(CreateMetricRuleBlackListResponse createMetricRuleBlackListResponse, UnmarshallerContext _ctx) { createMetricRuleBlackListResponse.setRequestId(_ctx.stringValue("CreateMetricRuleBlackListResponse.RequestId")); createMetricRuleBlackListResponse.setCode(_ctx.stringValue("CreateMetricRuleBlackListResponse.Code")); createMetricRuleBlackListResponse.setMessage(_ctx.stringValue("CreateMetricRuleBlackListResponse.Message")); createMetricRuleBlackListResponse.setSuccess(_ctx.booleanValue("CreateMetricRuleBlackListResponse.Success")); createMetricRuleBlackListResponse.setId(_ctx.stringValue("CreateMetricRuleBlackListResponse.Id")); return createMetricRuleBlackListResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/CreateMetricRuleResourcesResponseUnmarshaller.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.cms.transform.v20190101; import com.aliyuncs.cms.model.v20190101.CreateMetricRuleResourcesResponse; import com.aliyuncs.transform.UnmarshallerContext; public class CreateMetricRuleResourcesResponseUnmarshaller { public static CreateMetricRuleResourcesResponse unmarshall(CreateMetricRuleResourcesResponse createMetricRuleResourcesResponse, UnmarshallerContext _ctx) { createMetricRuleResourcesResponse.setRequestId(_ctx.stringValue("CreateMetricRuleResourcesResponse.RequestId")); createMetricRuleResourcesResponse.setCode(_ctx.stringValue("CreateMetricRuleResourcesResponse.Code")); createMetricRuleResourcesResponse.setMessage(_ctx.stringValue("CreateMetricRuleResourcesResponse.Message")); createMetricRuleResourcesResponse.setSuccess(_ctx.booleanValue("CreateMetricRuleResourcesResponse.Success")); return createMetricRuleResourcesResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/CreateMetricRuleTemplateResponseUnmarshaller.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.cms.transform.v20190101; import com.aliyuncs.cms.model.v20190101.CreateMetricRuleTemplateResponse; import com.aliyuncs.transform.UnmarshallerContext; public class CreateMetricRuleTemplateResponseUnmarshaller { public static CreateMetricRuleTemplateResponse unmarshall(CreateMetricRuleTemplateResponse createMetricRuleTemplateResponse, UnmarshallerContext _ctx) { createMetricRuleTemplateResponse.setRequestId(_ctx.stringValue("CreateMetricRuleTemplateResponse.RequestId")); createMetricRuleTemplateResponse.setCode(_ctx.integerValue("CreateMetricRuleTemplateResponse.Code")); createMetricRuleTemplateResponse.setMessage(_ctx.stringValue("CreateMetricRuleTemplateResponse.Message")); createMetricRuleTemplateResponse.setSuccess(_ctx.booleanValue("CreateMetricRuleTemplateResponse.Success")); createMetricRuleTemplateResponse.setId(_ctx.longValue("CreateMetricRuleTemplateResponse.Id")); return createMetricRuleTemplateResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/CreateMonitorAgentProcessResponseUnmarshaller.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.cms.transform.v20190101; import com.aliyuncs.cms.model.v20190101.CreateMonitorAgentProcessResponse; import com.aliyuncs.transform.UnmarshallerContext; public class CreateMonitorAgentProcessResponseUnmarshaller { public static CreateMonitorAgentProcessResponse unmarshall(CreateMonitorAgentProcessResponse createMonitorAgentProcessResponse, UnmarshallerContext _ctx) { createMonitorAgentProcessResponse.setRequestId(_ctx.stringValue("CreateMonitorAgentProcessResponse.RequestId")); createMonitorAgentProcessResponse.setCode(_ctx.stringValue("CreateMonitorAgentProcessResponse.Code")); createMonitorAgentProcessResponse.setMessage(_ctx.stringValue("CreateMonitorAgentProcessResponse.Message")); createMonitorAgentProcessResponse.setSuccess(_ctx.booleanValue("CreateMonitorAgentProcessResponse.Success")); createMonitorAgentProcessResponse.setId(_ctx.longValue("CreateMonitorAgentProcessResponse.Id")); return createMonitorAgentProcessResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/CreateMonitorGroupByResourceGroupIdResponseUnmarshaller.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.cms.transform.v20190101; import com.aliyuncs.cms.model.v20190101.CreateMonitorGroupByResourceGroupIdResponse; import com.aliyuncs.transform.UnmarshallerContext; public class CreateMonitorGroupByResourceGroupIdResponseUnmarshaller { public static CreateMonitorGroupByResourceGroupIdResponse unmarshall(CreateMonitorGroupByResourceGroupIdResponse createMonitorGroupByResourceGroupIdResponse, UnmarshallerContext _ctx) { createMonitorGroupByResourceGroupIdResponse.setRequestId(_ctx.stringValue("CreateMonitorGroupByResourceGroupIdResponse.RequestId")); createMonitorGroupByResourceGroupIdResponse.setCode(_ctx.stringValue("CreateMonitorGroupByResourceGroupIdResponse.Code")); createMonitorGroupByResourceGroupIdResponse.setMessage(_ctx.stringValue("CreateMonitorGroupByResourceGroupIdResponse.Message")); createMonitorGroupByResourceGroupIdResponse.setSuccess(_ctx.booleanValue("CreateMonitorGroupByResourceGroupIdResponse.Success")); createMonitorGroupByResourceGroupIdResponse.setId(_ctx.longValue("CreateMonitorGroupByResourceGroupIdResponse.Id")); return createMonitorGroupByResourceGroupIdResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/CreateMonitorGroupInstancesResponseUnmarshaller.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.cms.transform.v20190101; import com.aliyuncs.cms.model.v20190101.CreateMonitorGroupInstancesResponse; import com.aliyuncs.transform.UnmarshallerContext; public class CreateMonitorGroupInstancesResponseUnmarshaller { public static CreateMonitorGroupInstancesResponse unmarshall(CreateMonitorGroupInstancesResponse createMonitorGroupInstancesResponse, UnmarshallerContext _ctx) { createMonitorGroupInstancesResponse.setRequestId(_ctx.stringValue("CreateMonitorGroupInstancesResponse.RequestId")); createMonitorGroupInstancesResponse.setCode(_ctx.integerValue("CreateMonitorGroupInstancesResponse.Code")); createMonitorGroupInstancesResponse.setMessage(_ctx.stringValue("CreateMonitorGroupInstancesResponse.Message")); createMonitorGroupInstancesResponse.setSuccess(_ctx.booleanValue("CreateMonitorGroupInstancesResponse.Success")); return createMonitorGroupInstancesResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/CreateMonitorGroupNotifyPolicyResponseUnmarshaller.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.cms.transform.v20190101; import com.aliyuncs.cms.model.v20190101.CreateMonitorGroupNotifyPolicyResponse; import com.aliyuncs.transform.UnmarshallerContext; public class CreateMonitorGroupNotifyPolicyResponseUnmarshaller { public static CreateMonitorGroupNotifyPolicyResponse unmarshall(CreateMonitorGroupNotifyPolicyResponse createMonitorGroupNotifyPolicyResponse, UnmarshallerContext _ctx) { createMonitorGroupNotifyPolicyResponse.setRequestId(_ctx.stringValue("CreateMonitorGroupNotifyPolicyResponse.RequestId")); createMonitorGroupNotifyPolicyResponse.setCode(_ctx.stringValue("CreateMonitorGroupNotifyPolicyResponse.Code")); createMonitorGroupNotifyPolicyResponse.setMessage(_ctx.stringValue("CreateMonitorGroupNotifyPolicyResponse.Message")); createMonitorGroupNotifyPolicyResponse.setResult(_ctx.integerValue("CreateMonitorGroupNotifyPolicyResponse.Result")); createMonitorGroupNotifyPolicyResponse.setSuccess(_ctx.stringValue("CreateMonitorGroupNotifyPolicyResponse.Success")); return createMonitorGroupNotifyPolicyResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/CreateMonitorGroupResponseUnmarshaller.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.cms.transform.v20190101; import com.aliyuncs.cms.model.v20190101.CreateMonitorGroupResponse; import com.aliyuncs.transform.UnmarshallerContext; public class CreateMonitorGroupResponseUnmarshaller { public static CreateMonitorGroupResponse unmarshall(CreateMonitorGroupResponse createMonitorGroupResponse, UnmarshallerContext _ctx) { createMonitorGroupResponse.setRequestId(_ctx.stringValue("CreateMonitorGroupResponse.RequestId")); createMonitorGroupResponse.setCode(_ctx.integerValue("CreateMonitorGroupResponse.Code")); createMonitorGroupResponse.setMessage(_ctx.stringValue("CreateMonitorGroupResponse.Message")); createMonitorGroupResponse.setGroupId(_ctx.longValue("CreateMonitorGroupResponse.GroupId")); createMonitorGroupResponse.setSuccess(_ctx.booleanValue("CreateMonitorGroupResponse.Success")); return createMonitorGroupResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/CreateMonitoringAgentProcessResponseUnmarshaller.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.cms.transform.v20190101; import com.aliyuncs.cms.model.v20190101.CreateMonitoringAgentProcessResponse; import com.aliyuncs.transform.UnmarshallerContext; public class CreateMonitoringAgentProcessResponseUnmarshaller { public static CreateMonitoringAgentProcessResponse unmarshall(CreateMonitoringAgentProcessResponse createMonitoringAgentProcessResponse, UnmarshallerContext _ctx) { createMonitoringAgentProcessResponse.setRequestId(_ctx.stringValue("CreateMonitoringAgentProcessResponse.RequestId")); createMonitoringAgentProcessResponse.setCode(_ctx.stringValue("CreateMonitoringAgentProcessResponse.Code")); createMonitoringAgentProcessResponse.setMessage(_ctx.stringValue("CreateMonitoringAgentProcessResponse.Message")); createMonitoringAgentProcessResponse.setSuccess(_ctx.booleanValue("CreateMonitoringAgentProcessResponse.Success")); createMonitoringAgentProcessResponse.setId(_ctx.longValue("CreateMonitoringAgentProcessResponse.Id")); return createMonitoringAgentProcessResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/CreateSiteMonitorResponseUnmarshaller.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.cms.transform.v20190101; import java.util.ArrayList; import java.util.List; import com.aliyuncs.cms.model.v20190101.CreateSiteMonitorResponse; import com.aliyuncs.cms.model.v20190101.CreateSiteMonitorResponse.CreateResultListItem; import com.aliyuncs.cms.model.v20190101.CreateSiteMonitorResponse.Data; import com.aliyuncs.cms.model.v20190101.CreateSiteMonitorResponse.Data.Contact; import com.aliyuncs.transform.UnmarshallerContext; public class CreateSiteMonitorResponseUnmarshaller { public static CreateSiteMonitorResponse unmarshall(CreateSiteMonitorResponse createSiteMonitorResponse, UnmarshallerContext _ctx) { createSiteMonitorResponse.setRequestId(_ctx.stringValue("CreateSiteMonitorResponse.RequestId")); createSiteMonitorResponse.setCode(_ctx.stringValue("CreateSiteMonitorResponse.Code")); createSiteMonitorResponse.setMessage(_ctx.stringValue("CreateSiteMonitorResponse.Message")); createSiteMonitorResponse.setSuccess(_ctx.stringValue("CreateSiteMonitorResponse.Success")); Data data = new Data(); List<Contact> attachAlertResult = new ArrayList<Contact>(); for (int i = 0; i < _ctx.lengthValue("CreateSiteMonitorResponse.Data.AttachAlertResult.Length"); i++) { Contact contact = new Contact(); contact.setCode(_ctx.stringValue("CreateSiteMonitorResponse.Data.AttachAlertResult["+ i +"].Code")); contact.setMessage(_ctx.stringValue("CreateSiteMonitorResponse.Data.AttachAlertResult["+ i +"].Message")); contact.setRequestId(_ctx.stringValue("CreateSiteMonitorResponse.Data.AttachAlertResult["+ i +"].RequestId")); contact.setSuccess(_ctx.stringValue("CreateSiteMonitorResponse.Data.AttachAlertResult["+ i +"].Success")); contact.setRuleId(_ctx.stringValue("CreateSiteMonitorResponse.Data.AttachAlertResult["+ i +"].RuleId")); attachAlertResult.add(contact); } data.setAttachAlertResult(attachAlertResult); createSiteMonitorResponse.setData(data); List<CreateResultListItem> createResultList = new ArrayList<CreateResultListItem>(); for (int i = 0; i < _ctx.lengthValue("CreateSiteMonitorResponse.CreateResultList.Length"); i++) { CreateResultListItem createResultListItem = new CreateResultListItem(); createResultListItem.setTaskId(_ctx.stringValue("CreateSiteMonitorResponse.CreateResultList["+ i +"].TaskId")); createResultListItem.setTaskName(_ctx.stringValue("CreateSiteMonitorResponse.CreateResultList["+ i +"].TaskName")); createResultList.add(createResultListItem); } createSiteMonitorResponse.setCreateResultList(createResultList); return createSiteMonitorResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DeleteContactGroupResponseUnmarshaller.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.cms.transform.v20190101; import com.aliyuncs.cms.model.v20190101.DeleteContactGroupResponse; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteContactGroupResponseUnmarshaller { public static DeleteContactGroupResponse unmarshall(DeleteContactGroupResponse deleteContactGroupResponse, UnmarshallerContext _ctx) { deleteContactGroupResponse.setRequestId(_ctx.stringValue("DeleteContactGroupResponse.RequestId")); deleteContactGroupResponse.setCode(_ctx.stringValue("DeleteContactGroupResponse.Code")); deleteContactGroupResponse.setMessage(_ctx.stringValue("DeleteContactGroupResponse.Message")); deleteContactGroupResponse.setSuccess(_ctx.booleanValue("DeleteContactGroupResponse.Success")); return deleteContactGroupResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DeleteContactResponseUnmarshaller.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.cms.transform.v20190101; import com.aliyuncs.cms.model.v20190101.DeleteContactResponse; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteContactResponseUnmarshaller { public static DeleteContactResponse unmarshall(DeleteContactResponse deleteContactResponse, UnmarshallerContext _ctx) { deleteContactResponse.setRequestId(_ctx.stringValue("DeleteContactResponse.RequestId")); deleteContactResponse.setCode(_ctx.stringValue("DeleteContactResponse.Code")); deleteContactResponse.setMessage(_ctx.stringValue("DeleteContactResponse.Message")); deleteContactResponse.setSuccess(_ctx.booleanValue("DeleteContactResponse.Success")); return deleteContactResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DeleteCustomMetricResponseUnmarshaller.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.cms.transform.v20190101; import com.aliyuncs.cms.model.v20190101.DeleteCustomMetricResponse; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteCustomMetricResponseUnmarshaller { public static DeleteCustomMetricResponse unmarshall(DeleteCustomMetricResponse deleteCustomMetricResponse, UnmarshallerContext _ctx) { deleteCustomMetricResponse.setRequestId(_ctx.stringValue("DeleteCustomMetricResponse.RequestId")); deleteCustomMetricResponse.setCode(_ctx.stringValue("DeleteCustomMetricResponse.Code")); deleteCustomMetricResponse.setMessage(_ctx.stringValue("DeleteCustomMetricResponse.Message")); return deleteCustomMetricResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DeleteDynamicTagGroupResponseUnmarshaller.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.cms.transform.v20190101; import com.aliyuncs.cms.model.v20190101.DeleteDynamicTagGroupResponse; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteDynamicTagGroupResponseUnmarshaller { public static DeleteDynamicTagGroupResponse unmarshall(DeleteDynamicTagGroupResponse deleteDynamicTagGroupResponse, UnmarshallerContext _ctx) { deleteDynamicTagGroupResponse.setRequestId(_ctx.stringValue("DeleteDynamicTagGroupResponse.RequestId")); deleteDynamicTagGroupResponse.setCode(_ctx.stringValue("DeleteDynamicTagGroupResponse.Code")); deleteDynamicTagGroupResponse.setMessage(_ctx.stringValue("DeleteDynamicTagGroupResponse.Message")); deleteDynamicTagGroupResponse.setSuccess(_ctx.booleanValue("DeleteDynamicTagGroupResponse.Success")); return deleteDynamicTagGroupResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DeleteEventRuleTargetsResponseUnmarshaller.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.cms.transform.v20190101; import com.aliyuncs.cms.model.v20190101.DeleteEventRuleTargetsResponse; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteEventRuleTargetsResponseUnmarshaller { public static DeleteEventRuleTargetsResponse unmarshall(DeleteEventRuleTargetsResponse deleteEventRuleTargetsResponse, UnmarshallerContext _ctx) { deleteEventRuleTargetsResponse.setRequestId(_ctx.stringValue("DeleteEventRuleTargetsResponse.RequestId")); deleteEventRuleTargetsResponse.setCode(_ctx.stringValue("DeleteEventRuleTargetsResponse.Code")); deleteEventRuleTargetsResponse.setMessage(_ctx.stringValue("DeleteEventRuleTargetsResponse.Message")); deleteEventRuleTargetsResponse.setSuccess(_ctx.booleanValue("DeleteEventRuleTargetsResponse.Success")); return deleteEventRuleTargetsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DeleteEventRulesResponseUnmarshaller.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.cms.transform.v20190101; import com.aliyuncs.cms.model.v20190101.DeleteEventRulesResponse; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteEventRulesResponseUnmarshaller { public static DeleteEventRulesResponse unmarshall(DeleteEventRulesResponse deleteEventRulesResponse, UnmarshallerContext _ctx) { deleteEventRulesResponse.setRequestId(_ctx.stringValue("DeleteEventRulesResponse.RequestId")); deleteEventRulesResponse.setCode(_ctx.stringValue("DeleteEventRulesResponse.Code")); deleteEventRulesResponse.setMessage(_ctx.stringValue("DeleteEventRulesResponse.Message")); deleteEventRulesResponse.setSuccess(_ctx.booleanValue("DeleteEventRulesResponse.Success")); return deleteEventRulesResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DeleteExporterOutputResponseUnmarshaller.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.cms.transform.v20190101; import com.aliyuncs.cms.model.v20190101.DeleteExporterOutputResponse; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteExporterOutputResponseUnmarshaller { public static DeleteExporterOutputResponse unmarshall(DeleteExporterOutputResponse deleteExporterOutputResponse, UnmarshallerContext _ctx) { deleteExporterOutputResponse.setRequestId(_ctx.stringValue("DeleteExporterOutputResponse.RequestId")); deleteExporterOutputResponse.setCode(_ctx.stringValue("DeleteExporterOutputResponse.Code")); deleteExporterOutputResponse.setMessage(_ctx.stringValue("DeleteExporterOutputResponse.Message")); deleteExporterOutputResponse.setSuccess(_ctx.booleanValue("DeleteExporterOutputResponse.Success")); return deleteExporterOutputResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DeleteExporterRuleResponseUnmarshaller.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.cms.transform.v20190101; import com.aliyuncs.cms.model.v20190101.DeleteExporterRuleResponse; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteExporterRuleResponseUnmarshaller { public static DeleteExporterRuleResponse unmarshall(DeleteExporterRuleResponse deleteExporterRuleResponse, UnmarshallerContext _ctx) { deleteExporterRuleResponse.setRequestId(_ctx.stringValue("DeleteExporterRuleResponse.RequestId")); deleteExporterRuleResponse.setCode(_ctx.stringValue("DeleteExporterRuleResponse.Code")); deleteExporterRuleResponse.setMessage(_ctx.stringValue("DeleteExporterRuleResponse.Message")); deleteExporterRuleResponse.setSuccess(_ctx.booleanValue("DeleteExporterRuleResponse.Success")); return deleteExporterRuleResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DeleteGroupMonitoringAgentProcessResponseUnmarshaller.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.cms.transform.v20190101; import com.aliyuncs.cms.model.v20190101.DeleteGroupMonitoringAgentProcessResponse; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteGroupMonitoringAgentProcessResponseUnmarshaller { public static DeleteGroupMonitoringAgentProcessResponse unmarshall(DeleteGroupMonitoringAgentProcessResponse deleteGroupMonitoringAgentProcessResponse, UnmarshallerContext _ctx) { deleteGroupMonitoringAgentProcessResponse.setRequestId(_ctx.stringValue("DeleteGroupMonitoringAgentProcessResponse.RequestId")); deleteGroupMonitoringAgentProcessResponse.setCode(_ctx.stringValue("DeleteGroupMonitoringAgentProcessResponse.Code")); deleteGroupMonitoringAgentProcessResponse.setMessage(_ctx.stringValue("DeleteGroupMonitoringAgentProcessResponse.Message")); deleteGroupMonitoringAgentProcessResponse.setSuccess(_ctx.booleanValue("DeleteGroupMonitoringAgentProcessResponse.Success")); return deleteGroupMonitoringAgentProcessResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DeleteHostAvailabilityResponseUnmarshaller.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.cms.transform.v20190101; import com.aliyuncs.cms.model.v20190101.DeleteHostAvailabilityResponse; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteHostAvailabilityResponseUnmarshaller { public static DeleteHostAvailabilityResponse unmarshall(DeleteHostAvailabilityResponse deleteHostAvailabilityResponse, UnmarshallerContext _ctx) { deleteHostAvailabilityResponse.setRequestId(_ctx.stringValue("DeleteHostAvailabilityResponse.RequestId")); deleteHostAvailabilityResponse.setCode(_ctx.stringValue("DeleteHostAvailabilityResponse.Code")); deleteHostAvailabilityResponse.setMessage(_ctx.stringValue("DeleteHostAvailabilityResponse.Message")); deleteHostAvailabilityResponse.setSuccess(_ctx.booleanValue("DeleteHostAvailabilityResponse.Success")); return deleteHostAvailabilityResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DeleteHybridMonitorNamespaceResponseUnmarshaller.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.cms.transform.v20190101; import com.aliyuncs.cms.model.v20190101.DeleteHybridMonitorNamespaceResponse; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteHybridMonitorNamespaceResponseUnmarshaller { public static DeleteHybridMonitorNamespaceResponse unmarshall(DeleteHybridMonitorNamespaceResponse deleteHybridMonitorNamespaceResponse, UnmarshallerContext _ctx) { deleteHybridMonitorNamespaceResponse.setRequestId(_ctx.stringValue("DeleteHybridMonitorNamespaceResponse.RequestId")); deleteHybridMonitorNamespaceResponse.setCode(_ctx.stringValue("DeleteHybridMonitorNamespaceResponse.Code")); deleteHybridMonitorNamespaceResponse.setMessage(_ctx.stringValue("DeleteHybridMonitorNamespaceResponse.Message")); deleteHybridMonitorNamespaceResponse.setSuccess(_ctx.stringValue("DeleteHybridMonitorNamespaceResponse.Success")); return deleteHybridMonitorNamespaceResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DeleteHybridMonitorSLSGroupResponseUnmarshaller.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.cms.transform.v20190101; import com.aliyuncs.cms.model.v20190101.DeleteHybridMonitorSLSGroupResponse; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteHybridMonitorSLSGroupResponseUnmarshaller { public static DeleteHybridMonitorSLSGroupResponse unmarshall(DeleteHybridMonitorSLSGroupResponse deleteHybridMonitorSLSGroupResponse, UnmarshallerContext _ctx) { deleteHybridMonitorSLSGroupResponse.setRequestId(_ctx.stringValue("DeleteHybridMonitorSLSGroupResponse.RequestId")); deleteHybridMonitorSLSGroupResponse.setCode(_ctx.stringValue("DeleteHybridMonitorSLSGroupResponse.Code")); deleteHybridMonitorSLSGroupResponse.setMessage(_ctx.stringValue("DeleteHybridMonitorSLSGroupResponse.Message")); deleteHybridMonitorSLSGroupResponse.setSuccess(_ctx.stringValue("DeleteHybridMonitorSLSGroupResponse.Success")); return deleteHybridMonitorSLSGroupResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DeleteHybridMonitorTaskResponseUnmarshaller.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.cms.transform.v20190101; import com.aliyuncs.cms.model.v20190101.DeleteHybridMonitorTaskResponse; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteHybridMonitorTaskResponseUnmarshaller { public static DeleteHybridMonitorTaskResponse unmarshall(DeleteHybridMonitorTaskResponse deleteHybridMonitorTaskResponse, UnmarshallerContext _ctx) { deleteHybridMonitorTaskResponse.setRequestId(_ctx.stringValue("DeleteHybridMonitorTaskResponse.RequestId")); deleteHybridMonitorTaskResponse.setCode(_ctx.stringValue("DeleteHybridMonitorTaskResponse.Code")); deleteHybridMonitorTaskResponse.setMessage(_ctx.stringValue("DeleteHybridMonitorTaskResponse.Message")); deleteHybridMonitorTaskResponse.setSuccess(_ctx.stringValue("DeleteHybridMonitorTaskResponse.Success")); return deleteHybridMonitorTaskResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DeleteLogMonitorResponseUnmarshaller.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.cms.transform.v20190101; import com.aliyuncs.cms.model.v20190101.DeleteLogMonitorResponse; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteLogMonitorResponseUnmarshaller { public static DeleteLogMonitorResponse unmarshall(DeleteLogMonitorResponse deleteLogMonitorResponse, UnmarshallerContext _ctx) { deleteLogMonitorResponse.setRequestId(_ctx.stringValue("DeleteLogMonitorResponse.RequestId")); deleteLogMonitorResponse.setCode(_ctx.stringValue("DeleteLogMonitorResponse.Code")); deleteLogMonitorResponse.setMessage(_ctx.stringValue("DeleteLogMonitorResponse.Message")); deleteLogMonitorResponse.setSuccess(_ctx.booleanValue("DeleteLogMonitorResponse.Success")); return deleteLogMonitorResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DeleteMetricRuleBlackListResponseUnmarshaller.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.cms.transform.v20190101; import com.aliyuncs.cms.model.v20190101.DeleteMetricRuleBlackListResponse; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteMetricRuleBlackListResponseUnmarshaller { public static DeleteMetricRuleBlackListResponse unmarshall(DeleteMetricRuleBlackListResponse deleteMetricRuleBlackListResponse, UnmarshallerContext _ctx) { deleteMetricRuleBlackListResponse.setRequestId(_ctx.stringValue("DeleteMetricRuleBlackListResponse.RequestId")); deleteMetricRuleBlackListResponse.setCode(_ctx.stringValue("DeleteMetricRuleBlackListResponse.Code")); deleteMetricRuleBlackListResponse.setMessage(_ctx.stringValue("DeleteMetricRuleBlackListResponse.Message")); deleteMetricRuleBlackListResponse.setSuccess(_ctx.booleanValue("DeleteMetricRuleBlackListResponse.Success")); deleteMetricRuleBlackListResponse.setCount(_ctx.integerValue("DeleteMetricRuleBlackListResponse.Count")); return deleteMetricRuleBlackListResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DeleteMetricRuleResourcesResponseUnmarshaller.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.cms.transform.v20190101; import com.aliyuncs.cms.model.v20190101.DeleteMetricRuleResourcesResponse; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteMetricRuleResourcesResponseUnmarshaller { public static DeleteMetricRuleResourcesResponse unmarshall(DeleteMetricRuleResourcesResponse deleteMetricRuleResourcesResponse, UnmarshallerContext _ctx) { deleteMetricRuleResourcesResponse.setRequestId(_ctx.stringValue("DeleteMetricRuleResourcesResponse.RequestId")); deleteMetricRuleResourcesResponse.setCode(_ctx.stringValue("DeleteMetricRuleResourcesResponse.Code")); deleteMetricRuleResourcesResponse.setMessage(_ctx.stringValue("DeleteMetricRuleResourcesResponse.Message")); deleteMetricRuleResourcesResponse.setSuccess(_ctx.booleanValue("DeleteMetricRuleResourcesResponse.Success")); return deleteMetricRuleResourcesResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DeleteMetricRuleTargetsResponseUnmarshaller.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.cms.transform.v20190101; import java.util.ArrayList; import java.util.List; import com.aliyuncs.cms.model.v20190101.DeleteMetricRuleTargetsResponse; import com.aliyuncs.cms.model.v20190101.DeleteMetricRuleTargetsResponse.FailIds; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteMetricRuleTargetsResponseUnmarshaller { public static DeleteMetricRuleTargetsResponse unmarshall(DeleteMetricRuleTargetsResponse deleteMetricRuleTargetsResponse, UnmarshallerContext _ctx) { deleteMetricRuleTargetsResponse.setRequestId(_ctx.stringValue("DeleteMetricRuleTargetsResponse.RequestId")); deleteMetricRuleTargetsResponse.setCode(_ctx.stringValue("DeleteMetricRuleTargetsResponse.Code")); deleteMetricRuleTargetsResponse.setMessage(_ctx.stringValue("DeleteMetricRuleTargetsResponse.Message")); deleteMetricRuleTargetsResponse.setSuccess(_ctx.booleanValue("DeleteMetricRuleTargetsResponse.Success")); FailIds failIds = new FailIds(); List<String> targetIds = new ArrayList<String>(); for (int i = 0; i < _ctx.lengthValue("DeleteMetricRuleTargetsResponse.FailIds.TargetIds.Length"); i++) { targetIds.add(_ctx.stringValue("DeleteMetricRuleTargetsResponse.FailIds.TargetIds["+ i +"]")); } failIds.setTargetIds(targetIds); deleteMetricRuleTargetsResponse.setFailIds(failIds); return deleteMetricRuleTargetsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DeleteMetricRuleTemplateResponseUnmarshaller.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.cms.transform.v20190101; import com.aliyuncs.cms.model.v20190101.DeleteMetricRuleTemplateResponse; import com.aliyuncs.cms.model.v20190101.DeleteMetricRuleTemplateResponse.Resource; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteMetricRuleTemplateResponseUnmarshaller { public static DeleteMetricRuleTemplateResponse unmarshall(DeleteMetricRuleTemplateResponse deleteMetricRuleTemplateResponse, UnmarshallerContext _ctx) { deleteMetricRuleTemplateResponse.setRequestId(_ctx.stringValue("DeleteMetricRuleTemplateResponse.RequestId")); deleteMetricRuleTemplateResponse.setCode(_ctx.integerValue("DeleteMetricRuleTemplateResponse.Code")); deleteMetricRuleTemplateResponse.setMessage(_ctx.stringValue("DeleteMetricRuleTemplateResponse.Message")); deleteMetricRuleTemplateResponse.setSuccess(_ctx.booleanValue("DeleteMetricRuleTemplateResponse.Success")); Resource resource = new Resource(); resource.setTemplateId(_ctx.stringValue("DeleteMetricRuleTemplateResponse.Resource.TemplateId")); deleteMetricRuleTemplateResponse.setResource(resource); return deleteMetricRuleTemplateResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DeleteMetricRulesResponseUnmarshaller.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.cms.transform.v20190101; import com.aliyuncs.cms.model.v20190101.DeleteMetricRulesResponse; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteMetricRulesResponseUnmarshaller { public static DeleteMetricRulesResponse unmarshall(DeleteMetricRulesResponse deleteMetricRulesResponse, UnmarshallerContext _ctx) { deleteMetricRulesResponse.setRequestId(_ctx.stringValue("DeleteMetricRulesResponse.RequestId")); deleteMetricRulesResponse.setCode(_ctx.stringValue("DeleteMetricRulesResponse.Code")); deleteMetricRulesResponse.setMessage(_ctx.stringValue("DeleteMetricRulesResponse.Message")); deleteMetricRulesResponse.setSuccess(_ctx.booleanValue("DeleteMetricRulesResponse.Success")); return deleteMetricRulesResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DeleteMonitorGroupDynamicRuleResponseUnmarshaller.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.cms.transform.v20190101; import com.aliyuncs.cms.model.v20190101.DeleteMonitorGroupDynamicRuleResponse; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteMonitorGroupDynamicRuleResponseUnmarshaller { public static DeleteMonitorGroupDynamicRuleResponse unmarshall(DeleteMonitorGroupDynamicRuleResponse deleteMonitorGroupDynamicRuleResponse, UnmarshallerContext _ctx) { deleteMonitorGroupDynamicRuleResponse.setRequestId(_ctx.stringValue("DeleteMonitorGroupDynamicRuleResponse.RequestId")); deleteMonitorGroupDynamicRuleResponse.setCode(_ctx.integerValue("DeleteMonitorGroupDynamicRuleResponse.Code")); deleteMonitorGroupDynamicRuleResponse.setMessage(_ctx.stringValue("DeleteMonitorGroupDynamicRuleResponse.Message")); deleteMonitorGroupDynamicRuleResponse.setSuccess(_ctx.booleanValue("DeleteMonitorGroupDynamicRuleResponse.Success")); return deleteMonitorGroupDynamicRuleResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DeleteMonitorGroupInstancesResponseUnmarshaller.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.cms.transform.v20190101; import com.aliyuncs.cms.model.v20190101.DeleteMonitorGroupInstancesResponse; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteMonitorGroupInstancesResponseUnmarshaller { public static DeleteMonitorGroupInstancesResponse unmarshall(DeleteMonitorGroupInstancesResponse deleteMonitorGroupInstancesResponse, UnmarshallerContext _ctx) { deleteMonitorGroupInstancesResponse.setRequestId(_ctx.stringValue("DeleteMonitorGroupInstancesResponse.RequestId")); deleteMonitorGroupInstancesResponse.setCode(_ctx.integerValue("DeleteMonitorGroupInstancesResponse.Code")); deleteMonitorGroupInstancesResponse.setMessage(_ctx.stringValue("DeleteMonitorGroupInstancesResponse.Message")); deleteMonitorGroupInstancesResponse.setSuccess(_ctx.booleanValue("DeleteMonitorGroupInstancesResponse.Success")); return deleteMonitorGroupInstancesResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DeleteMonitorGroupNotifyPolicyResponseUnmarshaller.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.cms.transform.v20190101; import com.aliyuncs.cms.model.v20190101.DeleteMonitorGroupNotifyPolicyResponse; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteMonitorGroupNotifyPolicyResponseUnmarshaller { public static DeleteMonitorGroupNotifyPolicyResponse unmarshall(DeleteMonitorGroupNotifyPolicyResponse deleteMonitorGroupNotifyPolicyResponse, UnmarshallerContext _ctx) { deleteMonitorGroupNotifyPolicyResponse.setRequestId(_ctx.stringValue("DeleteMonitorGroupNotifyPolicyResponse.RequestId")); deleteMonitorGroupNotifyPolicyResponse.setCode(_ctx.stringValue("DeleteMonitorGroupNotifyPolicyResponse.Code")); deleteMonitorGroupNotifyPolicyResponse.setMessage(_ctx.stringValue("DeleteMonitorGroupNotifyPolicyResponse.Message")); deleteMonitorGroupNotifyPolicyResponse.setResult(_ctx.integerValue("DeleteMonitorGroupNotifyPolicyResponse.Result")); deleteMonitorGroupNotifyPolicyResponse.setSuccess(_ctx.stringValue("DeleteMonitorGroupNotifyPolicyResponse.Success")); return deleteMonitorGroupNotifyPolicyResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DeleteMonitorGroupResponseUnmarshaller.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.cms.transform.v20190101; import java.util.ArrayList; import java.util.List; import com.aliyuncs.cms.model.v20190101.DeleteMonitorGroupResponse; import com.aliyuncs.cms.model.v20190101.DeleteMonitorGroupResponse.Group; import com.aliyuncs.cms.model.v20190101.DeleteMonitorGroupResponse.Group.ContactGroup; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteMonitorGroupResponseUnmarshaller { public static DeleteMonitorGroupResponse unmarshall(DeleteMonitorGroupResponse deleteMonitorGroupResponse, UnmarshallerContext _ctx) { deleteMonitorGroupResponse.setRequestId(_ctx.stringValue("DeleteMonitorGroupResponse.RequestId")); deleteMonitorGroupResponse.setCode(_ctx.integerValue("DeleteMonitorGroupResponse.Code")); deleteMonitorGroupResponse.setMessage(_ctx.stringValue("DeleteMonitorGroupResponse.Message")); deleteMonitorGroupResponse.setSuccess(_ctx.booleanValue("DeleteMonitorGroupResponse.Success")); Group group = new Group(); group.setGroupName(_ctx.stringValue("DeleteMonitorGroupResponse.Group.GroupName")); List<ContactGroup> contactGroups = new ArrayList<ContactGroup>(); for (int i = 0; i < _ctx.lengthValue("DeleteMonitorGroupResponse.Group.ContactGroups.Length"); i++) { ContactGroup contactGroup = new ContactGroup(); contactGroup.setName(_ctx.stringValue("DeleteMonitorGroupResponse.Group.ContactGroups["+ i +"].Name")); contactGroups.add(contactGroup); } group.setContactGroups(contactGroups); deleteMonitorGroupResponse.setGroup(group); return deleteMonitorGroupResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DeleteMonitoringAgentProcessResponseUnmarshaller.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.cms.transform.v20190101; import com.aliyuncs.cms.model.v20190101.DeleteMonitoringAgentProcessResponse; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteMonitoringAgentProcessResponseUnmarshaller { public static DeleteMonitoringAgentProcessResponse unmarshall(DeleteMonitoringAgentProcessResponse deleteMonitoringAgentProcessResponse, UnmarshallerContext _ctx) { deleteMonitoringAgentProcessResponse.setRequestId(_ctx.stringValue("DeleteMonitoringAgentProcessResponse.RequestId")); deleteMonitoringAgentProcessResponse.setCode(_ctx.stringValue("DeleteMonitoringAgentProcessResponse.Code")); deleteMonitoringAgentProcessResponse.setMessage(_ctx.stringValue("DeleteMonitoringAgentProcessResponse.Message")); deleteMonitoringAgentProcessResponse.setSuccess(_ctx.booleanValue("DeleteMonitoringAgentProcessResponse.Success")); return deleteMonitoringAgentProcessResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DeleteSiteMonitorsResponseUnmarshaller.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.cms.transform.v20190101; import com.aliyuncs.cms.model.v20190101.DeleteSiteMonitorsResponse; import com.aliyuncs.cms.model.v20190101.DeleteSiteMonitorsResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteSiteMonitorsResponseUnmarshaller { public static DeleteSiteMonitorsResponse unmarshall(DeleteSiteMonitorsResponse deleteSiteMonitorsResponse, UnmarshallerContext _ctx) { deleteSiteMonitorsResponse.setRequestId(_ctx.stringValue("DeleteSiteMonitorsResponse.RequestId")); deleteSiteMonitorsResponse.setCode(_ctx.stringValue("DeleteSiteMonitorsResponse.Code")); deleteSiteMonitorsResponse.setMessage(_ctx.stringValue("DeleteSiteMonitorsResponse.Message")); deleteSiteMonitorsResponse.setSuccess(_ctx.stringValue("DeleteSiteMonitorsResponse.Success")); Data data = new Data(); data.setCount(_ctx.integerValue("DeleteSiteMonitorsResponse.Data.count")); deleteSiteMonitorsResponse.setData(data); return deleteSiteMonitorsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeActiveMetricRuleListResponseUnmarshaller.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.cms.transform.v20190101; import java.util.ArrayList; import java.util.List; import com.aliyuncs.cms.model.v20190101.DescribeActiveMetricRuleListResponse; import com.aliyuncs.cms.model.v20190101.DescribeActiveMetricRuleListResponse.Alarm; import com.aliyuncs.cms.model.v20190101.DescribeActiveMetricRuleListResponse.Alert; import com.aliyuncs.cms.model.v20190101.DescribeActiveMetricRuleListResponse.Alert.Escalations; import com.aliyuncs.cms.model.v20190101.DescribeActiveMetricRuleListResponse.Alert.Escalations.Critical; import com.aliyuncs.cms.model.v20190101.DescribeActiveMetricRuleListResponse.Alert.Escalations.Info; import com.aliyuncs.cms.model.v20190101.DescribeActiveMetricRuleListResponse.Alert.Escalations.Warn; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeActiveMetricRuleListResponseUnmarshaller { public static DescribeActiveMetricRuleListResponse unmarshall(DescribeActiveMetricRuleListResponse describeActiveMetricRuleListResponse, UnmarshallerContext _ctx) { describeActiveMetricRuleListResponse.setRequestId(_ctx.stringValue("DescribeActiveMetricRuleListResponse.RequestId")); describeActiveMetricRuleListResponse.setCode(_ctx.stringValue("DescribeActiveMetricRuleListResponse.Code")); describeActiveMetricRuleListResponse.setMessage(_ctx.stringValue("DescribeActiveMetricRuleListResponse.Message")); describeActiveMetricRuleListResponse.setSuccess(_ctx.booleanValue("DescribeActiveMetricRuleListResponse.Success")); List<Alarm> datapoints = new ArrayList<Alarm>(); for (int i = 0; i < _ctx.lengthValue("DescribeActiveMetricRuleListResponse.Datapoints.Length"); i++) { Alarm alarm = new Alarm(); alarm.setSilenceTime(_ctx.stringValue("DescribeActiveMetricRuleListResponse.Datapoints["+ i +"].SilenceTime")); alarm.setMetricName(_ctx.stringValue("DescribeActiveMetricRuleListResponse.Datapoints["+ i +"].MetricName")); alarm.setEvaluationCount(_ctx.stringValue("DescribeActiveMetricRuleListResponse.Datapoints["+ i +"].EvaluationCount")); alarm.setWebhook(_ctx.stringValue("DescribeActiveMetricRuleListResponse.Datapoints["+ i +"].Webhook")); alarm.setState(_ctx.stringValue("DescribeActiveMetricRuleListResponse.Datapoints["+ i +"].State")); alarm.setContactGroups(_ctx.stringValue("DescribeActiveMetricRuleListResponse.Datapoints["+ i +"].ContactGroups")); alarm.setNamespace(_ctx.stringValue("DescribeActiveMetricRuleListResponse.Datapoints["+ i +"].Namespace")); alarm.setRuleName(_ctx.stringValue("DescribeActiveMetricRuleListResponse.Datapoints["+ i +"].RuleName")); alarm.setRuleId(_ctx.stringValue("DescribeActiveMetricRuleListResponse.Datapoints["+ i +"].RuleId")); alarm.setPeriod(_ctx.stringValue("DescribeActiveMetricRuleListResponse.Datapoints["+ i +"].Period")); alarm.setComparisonOperator(_ctx.stringValue("DescribeActiveMetricRuleListResponse.Datapoints["+ i +"].ComparisonOperator")); alarm.setEndTime(_ctx.stringValue("DescribeActiveMetricRuleListResponse.Datapoints["+ i +"].EndTime")); alarm.setStartTime(_ctx.stringValue("DescribeActiveMetricRuleListResponse.Datapoints["+ i +"].StartTime")); alarm.setThreshold(_ctx.stringValue("DescribeActiveMetricRuleListResponse.Datapoints["+ i +"].Threshold")); alarm.setStatistics(_ctx.stringValue("DescribeActiveMetricRuleListResponse.Datapoints["+ i +"].Statistics")); alarm.setEnable(_ctx.stringValue("DescribeActiveMetricRuleListResponse.Datapoints["+ i +"].Enable")); datapoints.add(alarm); } describeActiveMetricRuleListResponse.setDatapoints(datapoints); List<Alert> alertList = new ArrayList<Alert>(); for (int i = 0; i < _ctx.lengthValue("DescribeActiveMetricRuleListResponse.AlertList.Length"); i++) { Alert alert = new Alert(); alert.setSilenceTime(_ctx.stringValue("DescribeActiveMetricRuleListResponse.AlertList["+ i +"].SilenceTime")); alert.setMetricName(_ctx.stringValue("DescribeActiveMetricRuleListResponse.AlertList["+ i +"].MetricName")); alert.setWebhook(_ctx.stringValue("DescribeActiveMetricRuleListResponse.AlertList["+ i +"].Webhook")); alert.setContactGroups(_ctx.stringValue("DescribeActiveMetricRuleListResponse.AlertList["+ i +"].ContactGroups")); alert.setNamespace(_ctx.stringValue("DescribeActiveMetricRuleListResponse.AlertList["+ i +"].Namespace")); alert.setEffectiveInterval(_ctx.stringValue("DescribeActiveMetricRuleListResponse.AlertList["+ i +"].EffectiveInterval")); alert.setNoEffectiveInterval(_ctx.stringValue("DescribeActiveMetricRuleListResponse.AlertList["+ i +"].NoEffectiveInterval")); alert.setMailSubject(_ctx.stringValue("DescribeActiveMetricRuleListResponse.AlertList["+ i +"].MailSubject")); alert.setRuleName(_ctx.stringValue("DescribeActiveMetricRuleListResponse.AlertList["+ i +"].RuleName")); alert.setRuleId(_ctx.stringValue("DescribeActiveMetricRuleListResponse.AlertList["+ i +"].RuleId")); alert.setPeriod(_ctx.stringValue("DescribeActiveMetricRuleListResponse.AlertList["+ i +"].Period")); alert.setAlertState(_ctx.stringValue("DescribeActiveMetricRuleListResponse.AlertList["+ i +"].AlertState")); alert.setDimensions(_ctx.stringValue("DescribeActiveMetricRuleListResponse.AlertList["+ i +"].Dimensions")); alert.setEnableState(_ctx.booleanValue("DescribeActiveMetricRuleListResponse.AlertList["+ i +"].EnableState")); alert.setResources(_ctx.stringValue("DescribeActiveMetricRuleListResponse.AlertList["+ i +"].Resources")); Escalations escalations = new Escalations(); Info info = new Info(); info.setComparisonOperator(_ctx.stringValue("DescribeActiveMetricRuleListResponse.AlertList["+ i +"].Escalations.Info.ComparisonOperator")); info.setTimes(_ctx.stringValue("DescribeActiveMetricRuleListResponse.AlertList["+ i +"].Escalations.Info.Times")); info.setThreshold(_ctx.stringValue("DescribeActiveMetricRuleListResponse.AlertList["+ i +"].Escalations.Info.Threshold")); info.setStatistics(_ctx.stringValue("DescribeActiveMetricRuleListResponse.AlertList["+ i +"].Escalations.Info.Statistics")); escalations.setInfo(info); Warn warn = new Warn(); warn.setComparisonOperator(_ctx.stringValue("DescribeActiveMetricRuleListResponse.AlertList["+ i +"].Escalations.Warn.ComparisonOperator")); warn.setTimes(_ctx.stringValue("DescribeActiveMetricRuleListResponse.AlertList["+ i +"].Escalations.Warn.Times")); warn.setThreshold(_ctx.stringValue("DescribeActiveMetricRuleListResponse.AlertList["+ i +"].Escalations.Warn.Threshold")); warn.setStatistics(_ctx.stringValue("DescribeActiveMetricRuleListResponse.AlertList["+ i +"].Escalations.Warn.Statistics")); escalations.setWarn(warn); Critical critical = new Critical(); critical.setComparisonOperator(_ctx.stringValue("DescribeActiveMetricRuleListResponse.AlertList["+ i +"].Escalations.Critical.ComparisonOperator")); critical.setTimes(_ctx.stringValue("DescribeActiveMetricRuleListResponse.AlertList["+ i +"].Escalations.Critical.Times")); critical.setThreshold(_ctx.stringValue("DescribeActiveMetricRuleListResponse.AlertList["+ i +"].Escalations.Critical.Threshold")); critical.setStatistics(_ctx.stringValue("DescribeActiveMetricRuleListResponse.AlertList["+ i +"].Escalations.Critical.Statistics")); escalations.setCritical(critical); alert.setEscalations(escalations); alertList.add(alert); } describeActiveMetricRuleListResponse.setAlertList(alertList); return describeActiveMetricRuleListResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeAlertHistoryListResponseUnmarshaller.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.cms.transform.v20190101; import java.util.ArrayList; import java.util.List; import com.aliyuncs.cms.model.v20190101.DescribeAlertHistoryListResponse; import com.aliyuncs.cms.model.v20190101.DescribeAlertHistoryListResponse.AlarmHistory; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeAlertHistoryListResponseUnmarshaller { public static DescribeAlertHistoryListResponse unmarshall(DescribeAlertHistoryListResponse describeAlertHistoryListResponse, UnmarshallerContext _ctx) { describeAlertHistoryListResponse.setRequestId(_ctx.stringValue("DescribeAlertHistoryListResponse.RequestId")); describeAlertHistoryListResponse.setCode(_ctx.stringValue("DescribeAlertHistoryListResponse.Code")); describeAlertHistoryListResponse.setMessage(_ctx.stringValue("DescribeAlertHistoryListResponse.Message")); describeAlertHistoryListResponse.setTotal(_ctx.stringValue("DescribeAlertHistoryListResponse.Total")); describeAlertHistoryListResponse.setSuccess(_ctx.booleanValue("DescribeAlertHistoryListResponse.Success")); List<AlarmHistory> alarmHistoryList = new ArrayList<AlarmHistory>(); for (int i = 0; i < _ctx.lengthValue("DescribeAlertHistoryListResponse.AlarmHistoryList.Length"); i++) { AlarmHistory alarmHistory = new AlarmHistory(); alarmHistory.setStatus(_ctx.integerValue("DescribeAlertHistoryListResponse.AlarmHistoryList["+ i +"].Status")); alarmHistory.setMetricName(_ctx.stringValue("DescribeAlertHistoryListResponse.AlarmHistoryList["+ i +"].MetricName")); alarmHistory.setEvaluationCount(_ctx.integerValue("DescribeAlertHistoryListResponse.AlarmHistoryList["+ i +"].EvaluationCount")); alarmHistory.setState(_ctx.stringValue("DescribeAlertHistoryListResponse.AlarmHistoryList["+ i +"].State")); alarmHistory.setPreLevel(_ctx.stringValue("DescribeAlertHistoryListResponse.AlarmHistoryList["+ i +"].PreLevel")); alarmHistory.setNamespace(_ctx.stringValue("DescribeAlertHistoryListResponse.AlarmHistoryList["+ i +"].Namespace")); alarmHistory.setWebhooks(_ctx.stringValue("DescribeAlertHistoryListResponse.AlarmHistoryList["+ i +"].Webhooks")); alarmHistory.setRuleName(_ctx.stringValue("DescribeAlertHistoryListResponse.AlarmHistoryList["+ i +"].RuleName")); alarmHistory.setRuleId(_ctx.stringValue("DescribeAlertHistoryListResponse.AlarmHistoryList["+ i +"].RuleId")); alarmHistory.setLastTime(_ctx.longValue("DescribeAlertHistoryListResponse.AlarmHistoryList["+ i +"].LastTime")); alarmHistory.setValue(_ctx.stringValue("DescribeAlertHistoryListResponse.AlarmHistoryList["+ i +"].Value")); alarmHistory.setExpression(_ctx.stringValue("DescribeAlertHistoryListResponse.AlarmHistoryList["+ i +"].Expression")); alarmHistory.setGroupId(_ctx.stringValue("DescribeAlertHistoryListResponse.AlarmHistoryList["+ i +"].GroupId")); alarmHistory.setAlertTime(_ctx.longValue("DescribeAlertHistoryListResponse.AlarmHistoryList["+ i +"].AlertTime")); alarmHistory.setInstanceName(_ctx.stringValue("DescribeAlertHistoryListResponse.AlarmHistoryList["+ i +"].InstanceName")); alarmHistory.setDimensions(_ctx.stringValue("DescribeAlertHistoryListResponse.AlarmHistoryList["+ i +"].Dimensions")); alarmHistory.setLevel(_ctx.stringValue("DescribeAlertHistoryListResponse.AlarmHistoryList["+ i +"].Level")); List<String> contacts = new ArrayList<String>(); for (int j = 0; j < _ctx.lengthValue("DescribeAlertHistoryListResponse.AlarmHistoryList["+ i +"].Contacts.Length"); j++) { contacts.add(_ctx.stringValue("DescribeAlertHistoryListResponse.AlarmHistoryList["+ i +"].Contacts["+ j +"]")); } alarmHistory.setContacts(contacts); List<String> contactALIIMs = new ArrayList<String>(); for (int j = 0; j < _ctx.lengthValue("DescribeAlertHistoryListResponse.AlarmHistoryList["+ i +"].ContactALIIMs.Length"); j++) { contactALIIMs.add(_ctx.stringValue("DescribeAlertHistoryListResponse.AlarmHistoryList["+ i +"].ContactALIIMs["+ j +"]")); } alarmHistory.setContactALIIMs(contactALIIMs); List<String> contactMails = new ArrayList<String>(); for (int j = 0; j < _ctx.lengthValue("DescribeAlertHistoryListResponse.AlarmHistoryList["+ i +"].ContactMails.Length"); j++) { contactMails.add(_ctx.stringValue("DescribeAlertHistoryListResponse.AlarmHistoryList["+ i +"].ContactMails["+ j +"]")); } alarmHistory.setContactMails(contactMails); List<String> contactSmses = new ArrayList<String>(); for (int j = 0; j < _ctx.lengthValue("DescribeAlertHistoryListResponse.AlarmHistoryList["+ i +"].ContactSmses.Length"); j++) { contactSmses.add(_ctx.stringValue("DescribeAlertHistoryListResponse.AlarmHistoryList["+ i +"].ContactSmses["+ j +"]")); } alarmHistory.setContactSmses(contactSmses); List<String> contactGroups = new ArrayList<String>(); for (int j = 0; j < _ctx.lengthValue("DescribeAlertHistoryListResponse.AlarmHistoryList["+ i +"].ContactGroups.Length"); j++) { contactGroups.add(_ctx.stringValue("DescribeAlertHistoryListResponse.AlarmHistoryList["+ i +"].ContactGroups["+ j +"]")); } alarmHistory.setContactGroups(contactGroups); alarmHistoryList.add(alarmHistory); } describeAlertHistoryListResponse.setAlarmHistoryList(alarmHistoryList); return describeAlertHistoryListResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeAlertLogCountResponseUnmarshaller.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.cms.transform.v20190101; import java.util.ArrayList; import java.util.List; import com.aliyuncs.cms.model.v20190101.DescribeAlertLogCountResponse; import com.aliyuncs.cms.model.v20190101.DescribeAlertLogCountResponse.AlertLogCountItem; import com.aliyuncs.cms.model.v20190101.DescribeAlertLogCountResponse.AlertLogCountItem.LogsItem; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeAlertLogCountResponseUnmarshaller { public static DescribeAlertLogCountResponse unmarshall(DescribeAlertLogCountResponse describeAlertLogCountResponse, UnmarshallerContext _ctx) { describeAlertLogCountResponse.setRequestId(_ctx.stringValue("DescribeAlertLogCountResponse.RequestId")); describeAlertLogCountResponse.setCode(_ctx.stringValue("DescribeAlertLogCountResponse.Code")); describeAlertLogCountResponse.setMessage(_ctx.stringValue("DescribeAlertLogCountResponse.Message")); describeAlertLogCountResponse.setSuccess(_ctx.booleanValue("DescribeAlertLogCountResponse.Success")); List<AlertLogCountItem> alertLogCount = new ArrayList<AlertLogCountItem>(); for (int i = 0; i < _ctx.lengthValue("DescribeAlertLogCountResponse.AlertLogCount.Length"); i++) { AlertLogCountItem alertLogCountItem = new AlertLogCountItem(); alertLogCountItem.setCount(_ctx.integerValue("DescribeAlertLogCountResponse.AlertLogCount["+ i +"].Count")); List<LogsItem> logs = new ArrayList<LogsItem>(); for (int j = 0; j < _ctx.lengthValue("DescribeAlertLogCountResponse.AlertLogCount["+ i +"].Logs.Length"); j++) { LogsItem logsItem = new LogsItem(); logsItem.setName(_ctx.stringValue("DescribeAlertLogCountResponse.AlertLogCount["+ i +"].Logs["+ j +"].Name")); logsItem.setValue(_ctx.stringValue("DescribeAlertLogCountResponse.AlertLogCount["+ i +"].Logs["+ j +"].Value")); logs.add(logsItem); } alertLogCountItem.setLogs(logs); alertLogCount.add(alertLogCountItem); } describeAlertLogCountResponse.setAlertLogCount(alertLogCount); return describeAlertLogCountResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeAlertLogHistogramResponseUnmarshaller.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.cms.transform.v20190101; import java.util.ArrayList; import java.util.List; import com.aliyuncs.cms.model.v20190101.DescribeAlertLogHistogramResponse; import com.aliyuncs.cms.model.v20190101.DescribeAlertLogHistogramResponse.AlertLogHistogramListItem; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeAlertLogHistogramResponseUnmarshaller { public static DescribeAlertLogHistogramResponse unmarshall(DescribeAlertLogHistogramResponse describeAlertLogHistogramResponse, UnmarshallerContext _ctx) { describeAlertLogHistogramResponse.setRequestId(_ctx.stringValue("DescribeAlertLogHistogramResponse.RequestId")); describeAlertLogHistogramResponse.setCode(_ctx.stringValue("DescribeAlertLogHistogramResponse.Code")); describeAlertLogHistogramResponse.setMessage(_ctx.stringValue("DescribeAlertLogHistogramResponse.Message")); describeAlertLogHistogramResponse.setSuccess(_ctx.booleanValue("DescribeAlertLogHistogramResponse.Success")); List<AlertLogHistogramListItem> alertLogHistogramList = new ArrayList<AlertLogHistogramListItem>(); for (int i = 0; i < _ctx.lengthValue("DescribeAlertLogHistogramResponse.AlertLogHistogramList.Length"); i++) { AlertLogHistogramListItem alertLogHistogramListItem = new AlertLogHistogramListItem(); alertLogHistogramListItem.setFrom(_ctx.longValue("DescribeAlertLogHistogramResponse.AlertLogHistogramList["+ i +"].From")); alertLogHistogramListItem.setTo(_ctx.longValue("DescribeAlertLogHistogramResponse.AlertLogHistogramList["+ i +"].To")); alertLogHistogramListItem.setCount(_ctx.integerValue("DescribeAlertLogHistogramResponse.AlertLogHistogramList["+ i +"].Count")); alertLogHistogramList.add(alertLogHistogramListItem); } describeAlertLogHistogramResponse.setAlertLogHistogramList(alertLogHistogramList); return describeAlertLogHistogramResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeAlertLogListResponseUnmarshaller.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.cms.transform.v20190101; import java.util.ArrayList; import java.util.List; import com.aliyuncs.cms.model.v20190101.DescribeAlertLogListResponse; import com.aliyuncs.cms.model.v20190101.DescribeAlertLogListResponse.Alarm; import com.aliyuncs.cms.model.v20190101.DescribeAlertLogListResponse.Alarm.DimensionsItem; import com.aliyuncs.cms.model.v20190101.DescribeAlertLogListResponse.Alarm.Escalation; import com.aliyuncs.cms.model.v20190101.DescribeAlertLogListResponse.Alarm.ExtInfo; import com.aliyuncs.cms.model.v20190101.DescribeAlertLogListResponse.Alarm.SendDetail; import com.aliyuncs.cms.model.v20190101.DescribeAlertLogListResponse.Alarm.SendDetail.ChannelResult; import com.aliyuncs.cms.model.v20190101.DescribeAlertLogListResponse.Alarm.SendDetail.ChannelResult.Result; import com.aliyuncs.cms.model.v20190101.DescribeAlertLogListResponse.Alarm.SendResult; import com.aliyuncs.cms.model.v20190101.DescribeAlertLogListResponse.Alarm.WebhookListItem; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeAlertLogListResponseUnmarshaller { public static DescribeAlertLogListResponse unmarshall(DescribeAlertLogListResponse describeAlertLogListResponse, UnmarshallerContext _ctx) { describeAlertLogListResponse.setRequestId(_ctx.stringValue("DescribeAlertLogListResponse.RequestId")); describeAlertLogListResponse.setSuccess(_ctx.booleanValue("DescribeAlertLogListResponse.Success")); describeAlertLogListResponse.setCode(_ctx.stringValue("DescribeAlertLogListResponse.Code")); describeAlertLogListResponse.setMessage(_ctx.stringValue("DescribeAlertLogListResponse.Message")); describeAlertLogListResponse.setPageNumber(_ctx.integerValue("DescribeAlertLogListResponse.PageNumber")); describeAlertLogListResponse.setPageSize(_ctx.integerValue("DescribeAlertLogListResponse.PageSize")); List<Alarm> alertLogList = new ArrayList<Alarm>(); for (int i = 0; i < _ctx.lengthValue("DescribeAlertLogListResponse.AlertLogList.Length"); i++) { Alarm alarm = new Alarm(); alarm.setMetricName(_ctx.stringValue("DescribeAlertLogListResponse.AlertLogList["+ i +"].MetricName")); alarm.setEventName(_ctx.stringValue("DescribeAlertLogListResponse.AlertLogList["+ i +"].EventName")); alarm.setProduct(_ctx.stringValue("DescribeAlertLogListResponse.AlertLogList["+ i +"].Product")); alarm.setBlackListUUID(_ctx.stringValue("DescribeAlertLogListResponse.AlertLogList["+ i +"].BlackListUUID")); alarm.setMessage(_ctx.stringValue("DescribeAlertLogListResponse.AlertLogList["+ i +"].Message")); alarm.setNamespace(_ctx.stringValue("DescribeAlertLogListResponse.AlertLogList["+ i +"].Namespace")); alarm.setLevelChange(_ctx.stringValue("DescribeAlertLogListResponse.AlertLogList["+ i +"].LevelChange")); alarm.setInstanceId(_ctx.stringValue("DescribeAlertLogListResponse.AlertLogList["+ i +"].InstanceId")); alarm.setRuleName(_ctx.stringValue("DescribeAlertLogListResponse.AlertLogList["+ i +"].RuleName")); alarm.setRuleId(_ctx.stringValue("DescribeAlertLogListResponse.AlertLogList["+ i +"].RuleId")); alarm.setBlackListName(_ctx.stringValue("DescribeAlertLogListResponse.AlertLogList["+ i +"].BlackListName")); alarm.setGroupName(_ctx.stringValue("DescribeAlertLogListResponse.AlertLogList["+ i +"].GroupName")); alarm.setGroupId(_ctx.stringValue("DescribeAlertLogListResponse.AlertLogList["+ i +"].GroupId")); alarm.setAlertTime(_ctx.stringValue("DescribeAlertLogListResponse.AlertLogList["+ i +"].AlertTime")); alarm.setInstanceName(_ctx.stringValue("DescribeAlertLogListResponse.AlertLogList["+ i +"].InstanceName")); alarm.setBlackListDetail(_ctx.stringValue("DescribeAlertLogListResponse.AlertLogList["+ i +"].BlackListDetail")); alarm.setLevel(_ctx.stringValue("DescribeAlertLogListResponse.AlertLogList["+ i +"].Level")); alarm.setSendStatus(_ctx.stringValue("DescribeAlertLogListResponse.AlertLogList["+ i +"].SendStatus")); List<String> dingdingWebhookList = new ArrayList<String>(); for (int j = 0; j < _ctx.lengthValue("DescribeAlertLogListResponse.AlertLogList["+ i +"].DingdingWebhookList.Length"); j++) { dingdingWebhookList.add(_ctx.stringValue("DescribeAlertLogListResponse.AlertLogList["+ i +"].DingdingWebhookList["+ j +"]")); } alarm.setDingdingWebhookList(dingdingWebhookList); List<String> contactOnCallList = new ArrayList<String>(); for (int j = 0; j < _ctx.lengthValue("DescribeAlertLogListResponse.AlertLogList["+ i +"].ContactOnCallList.Length"); j++) { contactOnCallList.add(_ctx.stringValue("DescribeAlertLogListResponse.AlertLogList["+ i +"].ContactOnCallList["+ j +"]")); } alarm.setContactOnCallList(contactOnCallList); List<String> contactMailList = new ArrayList<String>(); for (int j = 0; j < _ctx.lengthValue("DescribeAlertLogListResponse.AlertLogList["+ i +"].ContactMailList.Length"); j++) { contactMailList.add(_ctx.stringValue("DescribeAlertLogListResponse.AlertLogList["+ i +"].ContactMailList["+ j +"]")); } alarm.setContactMailList(contactMailList); List<String> contactGroups = new ArrayList<String>(); for (int j = 0; j < _ctx.lengthValue("DescribeAlertLogListResponse.AlertLogList["+ i +"].ContactGroups.Length"); j++) { contactGroups.add(_ctx.stringValue("DescribeAlertLogListResponse.AlertLogList["+ i +"].ContactGroups["+ j +"]")); } alarm.setContactGroups(contactGroups); List<String> contactALIIWWList = new ArrayList<String>(); for (int j = 0; j < _ctx.lengthValue("DescribeAlertLogListResponse.AlertLogList["+ i +"].ContactALIIWWList.Length"); j++) { contactALIIWWList.add(_ctx.stringValue("DescribeAlertLogListResponse.AlertLogList["+ i +"].ContactALIIWWList["+ j +"]")); } alarm.setContactALIIWWList(contactALIIWWList); List<String> contactSMSList = new ArrayList<String>(); for (int j = 0; j < _ctx.lengthValue("DescribeAlertLogListResponse.AlertLogList["+ i +"].ContactSMSList.Length"); j++) { contactSMSList.add(_ctx.stringValue("DescribeAlertLogListResponse.AlertLogList["+ i +"].ContactSMSList["+ j +"]")); } alarm.setContactSMSList(contactSMSList); List<String> contactDingList = new ArrayList<String>(); for (int j = 0; j < _ctx.lengthValue("DescribeAlertLogListResponse.AlertLogList["+ i +"].ContactDingList.Length"); j++) { contactDingList.add(_ctx.stringValue("DescribeAlertLogListResponse.AlertLogList["+ i +"].ContactDingList["+ j +"]")); } alarm.setContactDingList(contactDingList); SendDetail sendDetail = new SendDetail(); sendDetail.setResultCode(_ctx.stringValue("DescribeAlertLogListResponse.AlertLogList["+ i +"].SendDetail.ResultCode")); List<ChannelResult> channelResultList = new ArrayList<ChannelResult>(); for (int j = 0; j < _ctx.lengthValue("DescribeAlertLogListResponse.AlertLogList["+ i +"].SendDetail.ChannelResultList.Length"); j++) { ChannelResult channelResult = new ChannelResult(); channelResult.setChannel(_ctx.stringValue("DescribeAlertLogListResponse.AlertLogList["+ i +"].SendDetail.ChannelResultList["+ j +"].Channel")); List<Result> resultList = new ArrayList<Result>(); for (int k = 0; k < _ctx.lengthValue("DescribeAlertLogListResponse.AlertLogList["+ i +"].SendDetail.ChannelResultList["+ j +"].ResultList.Length"); k++) { Result result = new Result(); result.setCode(_ctx.stringValue("DescribeAlertLogListResponse.AlertLogList["+ i +"].SendDetail.ChannelResultList["+ j +"].ResultList["+ k +"].Code")); result.setRequestId(_ctx.stringValue("DescribeAlertLogListResponse.AlertLogList["+ i +"].SendDetail.ChannelResultList["+ j +"].ResultList["+ k +"].RequestId")); result.setSuccess(_ctx.booleanValue("DescribeAlertLogListResponse.AlertLogList["+ i +"].SendDetail.ChannelResultList["+ j +"].ResultList["+ k +"].Success")); result.setDetail(_ctx.stringValue("DescribeAlertLogListResponse.AlertLogList["+ i +"].SendDetail.ChannelResultList["+ j +"].ResultList["+ k +"].Detail")); List<String> notifyTargetList = new ArrayList<String>(); for (int l = 0; l < _ctx.lengthValue("DescribeAlertLogListResponse.AlertLogList["+ i +"].SendDetail.ChannelResultList["+ j +"].ResultList["+ k +"].notifyTargetList.Length"); l++) { notifyTargetList.add(_ctx.stringValue("DescribeAlertLogListResponse.AlertLogList["+ i +"].SendDetail.ChannelResultList["+ j +"].ResultList["+ k +"].notifyTargetList["+ l +"]")); } result.setNotifyTargetList(notifyTargetList); resultList.add(result); } channelResult.setResultList(resultList); channelResultList.add(channelResult); } sendDetail.setChannelResultList(channelResultList); alarm.setSendDetail(sendDetail); Escalation escalation = new Escalation(); escalation.setExpression(_ctx.stringValue("DescribeAlertLogListResponse.AlertLogList["+ i +"].Escalation.Expression")); escalation.setTimes(_ctx.integerValue("DescribeAlertLogListResponse.AlertLogList["+ i +"].Escalation.Times")); escalation.setLevel(_ctx.stringValue("DescribeAlertLogListResponse.AlertLogList["+ i +"].Escalation.Level")); alarm.setEscalation(escalation); List<ExtInfo> extendedInfo = new ArrayList<ExtInfo>(); for (int j = 0; j < _ctx.lengthValue("DescribeAlertLogListResponse.AlertLogList["+ i +"].ExtendedInfo.Length"); j++) { ExtInfo extInfo = new ExtInfo(); extInfo.setName(_ctx.stringValue("DescribeAlertLogListResponse.AlertLogList["+ i +"].ExtendedInfo["+ j +"].Name")); extInfo.setValue(_ctx.stringValue("DescribeAlertLogListResponse.AlertLogList["+ i +"].ExtendedInfo["+ j +"].Value")); extendedInfo.add(extInfo); } alarm.setExtendedInfo(extendedInfo); List<DimensionsItem> dimensions = new ArrayList<DimensionsItem>(); for (int j = 0; j < _ctx.lengthValue("DescribeAlertLogListResponse.AlertLogList["+ i +"].Dimensions.Length"); j++) { DimensionsItem dimensionsItem = new DimensionsItem(); dimensionsItem.setKey(_ctx.stringValue("DescribeAlertLogListResponse.AlertLogList["+ i +"].Dimensions["+ j +"].Key")); dimensionsItem.setValue(_ctx.stringValue("DescribeAlertLogListResponse.AlertLogList["+ i +"].Dimensions["+ j +"].Value")); dimensions.add(dimensionsItem); } alarm.setDimensions(dimensions); List<WebhookListItem> webhookList = new ArrayList<WebhookListItem>(); for (int j = 0; j < _ctx.lengthValue("DescribeAlertLogListResponse.AlertLogList["+ i +"].WebhookList.Length"); j++) { WebhookListItem webhookListItem = new WebhookListItem(); webhookListItem.setCode(_ctx.stringValue("DescribeAlertLogListResponse.AlertLogList["+ i +"].WebhookList["+ j +"].code")); webhookListItem.setUrl(_ctx.stringValue("DescribeAlertLogListResponse.AlertLogList["+ i +"].WebhookList["+ j +"].url")); webhookListItem.setMessage(_ctx.stringValue("DescribeAlertLogListResponse.AlertLogList["+ i +"].WebhookList["+ j +"].message")); webhookList.add(webhookListItem); } alarm.setWebhookList(webhookList); List<SendResult> sendResultList = new ArrayList<SendResult>(); for (int j = 0; j < _ctx.lengthValue("DescribeAlertLogListResponse.AlertLogList["+ i +"].SendResultList.Length"); j++) { SendResult sendResult = new SendResult(); sendResult.setKey(_ctx.stringValue("DescribeAlertLogListResponse.AlertLogList["+ i +"].SendResultList["+ j +"].Key")); List<String> value = new ArrayList<String>(); for (int k = 0; k < _ctx.lengthValue("DescribeAlertLogListResponse.AlertLogList["+ i +"].SendResultList["+ j +"].Value.Length"); k++) { value.add(_ctx.stringValue("DescribeAlertLogListResponse.AlertLogList["+ i +"].SendResultList["+ j +"].Value["+ k +"]")); } sendResult.setValue(value); sendResultList.add(sendResult); } alarm.setSendResultList(sendResultList); alertLogList.add(alarm); } describeAlertLogListResponse.setAlertLogList(alertLogList); return describeAlertLogListResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeAlertingMetricRuleResourcesResponseUnmarshaller.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.cms.transform.v20190101; import java.util.ArrayList; import java.util.List; import com.aliyuncs.cms.model.v20190101.DescribeAlertingMetricRuleResourcesResponse; import com.aliyuncs.cms.model.v20190101.DescribeAlertingMetricRuleResourcesResponse.Resource; import com.aliyuncs.cms.model.v20190101.DescribeAlertingMetricRuleResourcesResponse.Resource.Resource1; import com.aliyuncs.cms.model.v20190101.DescribeAlertingMetricRuleResourcesResponse.Resource.Resource1.ExpressionListItem; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeAlertingMetricRuleResourcesResponseUnmarshaller { public static DescribeAlertingMetricRuleResourcesResponse unmarshall(DescribeAlertingMetricRuleResourcesResponse describeAlertingMetricRuleResourcesResponse, UnmarshallerContext _ctx) { describeAlertingMetricRuleResourcesResponse.setRequestId(_ctx.stringValue("DescribeAlertingMetricRuleResourcesResponse.RequestId")); describeAlertingMetricRuleResourcesResponse.setCode(_ctx.integerValue("DescribeAlertingMetricRuleResourcesResponse.Code")); describeAlertingMetricRuleResourcesResponse.setMessage(_ctx.stringValue("DescribeAlertingMetricRuleResourcesResponse.Message")); describeAlertingMetricRuleResourcesResponse.setTotal(_ctx.integerValue("DescribeAlertingMetricRuleResourcesResponse.Total")); describeAlertingMetricRuleResourcesResponse.setSuccess(_ctx.booleanValue("DescribeAlertingMetricRuleResourcesResponse.Success")); List<Resource> resources = new ArrayList<Resource>(); for (int i = 0; i < _ctx.lengthValue("DescribeAlertingMetricRuleResourcesResponse.Resources.Length"); i++) { Resource resource = new Resource(); resource.setMetricName(_ctx.stringValue("DescribeAlertingMetricRuleResourcesResponse.Resources["+ i +"].MetricName")); resource.setRetryTimes(_ctx.stringValue("DescribeAlertingMetricRuleResourcesResponse.Resources["+ i +"].RetryTimes")); resource.setMetricValues(_ctx.stringValue("DescribeAlertingMetricRuleResourcesResponse.Resources["+ i +"].MetricValues")); resource.setNamespace(_ctx.stringValue("DescribeAlertingMetricRuleResourcesResponse.Resources["+ i +"].Namespace")); resource.setRuleName(_ctx.stringValue("DescribeAlertingMetricRuleResourcesResponse.Resources["+ i +"].RuleName")); resource.setRuleId(_ctx.stringValue("DescribeAlertingMetricRuleResourcesResponse.Resources["+ i +"].RuleId")); resource.setProductCategory(_ctx.stringValue("DescribeAlertingMetricRuleResourcesResponse.Resources["+ i +"].ProductCategory")); resource.setStartTime(_ctx.stringValue("DescribeAlertingMetricRuleResourcesResponse.Resources["+ i +"].StartTime")); resource.setResource(_ctx.stringValue("DescribeAlertingMetricRuleResourcesResponse.Resources["+ i +"].Resource")); resource.setLastModifyTime(_ctx.stringValue("DescribeAlertingMetricRuleResourcesResponse.Resources["+ i +"].LastModifyTime")); resource.setGroupId(_ctx.stringValue("DescribeAlertingMetricRuleResourcesResponse.Resources["+ i +"].GroupId")); resource.setDimensions(_ctx.stringValue("DescribeAlertingMetricRuleResourcesResponse.Resources["+ i +"].Dimensions")); resource.setLastAlertTime(_ctx.stringValue("DescribeAlertingMetricRuleResourcesResponse.Resources["+ i +"].LastAlertTime")); resource.setLevel(_ctx.integerValue("DescribeAlertingMetricRuleResourcesResponse.Resources["+ i +"].Level")); resource.setThreshold(_ctx.stringValue("DescribeAlertingMetricRuleResourcesResponse.Resources["+ i +"].Threshold")); resource.setStatistics(_ctx.stringValue("DescribeAlertingMetricRuleResourcesResponse.Resources["+ i +"].Statistics")); resource.setEnable(_ctx.stringValue("DescribeAlertingMetricRuleResourcesResponse.Resources["+ i +"].Enable")); List<Resource1> escalation = new ArrayList<Resource1>(); for (int j = 0; j < _ctx.lengthValue("DescribeAlertingMetricRuleResourcesResponse.Resources["+ i +"].Escalation.Length"); j++) { Resource1 resource1 = new Resource1(); resource1.setComparisonOperator(_ctx.stringValue("DescribeAlertingMetricRuleResourcesResponse.Resources["+ i +"].Escalation["+ j +"].ComparisonOperator")); resource1.setPreCondition(_ctx.stringValue("DescribeAlertingMetricRuleResourcesResponse.Resources["+ i +"].Escalation["+ j +"].PreCondition")); resource1.setExpression(_ctx.stringValue("DescribeAlertingMetricRuleResourcesResponse.Resources["+ i +"].Escalation["+ j +"].Expression")); resource1.setTimes(_ctx.integerValue("DescribeAlertingMetricRuleResourcesResponse.Resources["+ i +"].Escalation["+ j +"].Times")); resource1.setTag(_ctx.stringValue("DescribeAlertingMetricRuleResourcesResponse.Resources["+ i +"].Escalation["+ j +"].Tag")); resource1.setThreshold(_ctx.stringValue("DescribeAlertingMetricRuleResourcesResponse.Resources["+ i +"].Escalation["+ j +"].Threshold")); resource1.setLevel(_ctx.integerValue("DescribeAlertingMetricRuleResourcesResponse.Resources["+ i +"].Escalation["+ j +"].Level")); resource1.setExpressionListJoin(_ctx.stringValue("DescribeAlertingMetricRuleResourcesResponse.Resources["+ i +"].Escalation["+ j +"].ExpressionListJoin")); List<ExpressionListItem> expressionList = new ArrayList<ExpressionListItem>(); for (int k = 0; k < _ctx.lengthValue("DescribeAlertingMetricRuleResourcesResponse.Resources["+ i +"].Escalation["+ j +"].ExpressionList.Length"); k++) { ExpressionListItem expressionListItem = new ExpressionListItem(); expressionListItem.setComparisonOperator(_ctx.stringValue("DescribeAlertingMetricRuleResourcesResponse.Resources["+ i +"].Escalation["+ j +"].ExpressionList["+ k +"].ComparisonOperator")); expressionListItem.setMetricName(_ctx.stringValue("DescribeAlertingMetricRuleResourcesResponse.Resources["+ i +"].Escalation["+ j +"].ExpressionList["+ k +"].MetricName")); expressionListItem.setPeriod(_ctx.stringValue("DescribeAlertingMetricRuleResourcesResponse.Resources["+ i +"].Escalation["+ j +"].ExpressionList["+ k +"].Period")); expressionListItem.setStatistics(_ctx.stringValue("DescribeAlertingMetricRuleResourcesResponse.Resources["+ i +"].Escalation["+ j +"].ExpressionList["+ k +"].Statistics")); expressionListItem.setThreshold(_ctx.stringValue("DescribeAlertingMetricRuleResourcesResponse.Resources["+ i +"].Escalation["+ j +"].ExpressionList["+ k +"].Threshold")); expressionList.add(expressionListItem); } resource1.setExpressionList(expressionList); escalation.add(resource1); } resource.setEscalation(escalation); resources.add(resource); } describeAlertingMetricRuleResourcesResponse.setResources(resources); return describeAlertingMetricRuleResourcesResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeContactGroupListResponseUnmarshaller.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.cms.transform.v20190101; import java.util.ArrayList; import java.util.List; import com.aliyuncs.cms.model.v20190101.DescribeContactGroupListResponse; import com.aliyuncs.cms.model.v20190101.DescribeContactGroupListResponse.ContactGroup; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeContactGroupListResponseUnmarshaller { public static DescribeContactGroupListResponse unmarshall(DescribeContactGroupListResponse describeContactGroupListResponse, UnmarshallerContext _ctx) { describeContactGroupListResponse.setRequestId(_ctx.stringValue("DescribeContactGroupListResponse.RequestId")); describeContactGroupListResponse.setCode(_ctx.stringValue("DescribeContactGroupListResponse.Code")); describeContactGroupListResponse.setMessage(_ctx.stringValue("DescribeContactGroupListResponse.Message")); describeContactGroupListResponse.setTotal(_ctx.integerValue("DescribeContactGroupListResponse.Total")); describeContactGroupListResponse.setSuccess(_ctx.booleanValue("DescribeContactGroupListResponse.Success")); List<String> contactGroups = new ArrayList<String>(); for (int i = 0; i < _ctx.lengthValue("DescribeContactGroupListResponse.ContactGroups.Length"); i++) { contactGroups.add(_ctx.stringValue("DescribeContactGroupListResponse.ContactGroups["+ i +"]")); } describeContactGroupListResponse.setContactGroups(contactGroups); List<ContactGroup> contactGroupList = new ArrayList<ContactGroup>(); for (int i = 0; i < _ctx.lengthValue("DescribeContactGroupListResponse.ContactGroupList.Length"); i++) { ContactGroup contactGroup = new ContactGroup(); contactGroup.setDescribe(_ctx.stringValue("DescribeContactGroupListResponse.ContactGroupList["+ i +"].Describe")); contactGroup.setUpdateTime(_ctx.longValue("DescribeContactGroupListResponse.ContactGroupList["+ i +"].UpdateTime")); contactGroup.setCreateTime(_ctx.longValue("DescribeContactGroupListResponse.ContactGroupList["+ i +"].CreateTime")); contactGroup.setEnabledWeeklyReport(_ctx.booleanValue("DescribeContactGroupListResponse.ContactGroupList["+ i +"].EnabledWeeklyReport")); contactGroup.setName(_ctx.stringValue("DescribeContactGroupListResponse.ContactGroupList["+ i +"].Name")); contactGroup.setEnableSubscribed(_ctx.booleanValue("DescribeContactGroupListResponse.ContactGroupList["+ i +"].EnableSubscribed")); List<String> contacts = new ArrayList<String>(); for (int j = 0; j < _ctx.lengthValue("DescribeContactGroupListResponse.ContactGroupList["+ i +"].Contacts.Length"); j++) { contacts.add(_ctx.stringValue("DescribeContactGroupListResponse.ContactGroupList["+ i +"].Contacts["+ j +"]")); } contactGroup.setContacts(contacts); contactGroupList.add(contactGroup); } describeContactGroupListResponse.setContactGroupList(contactGroupList); return describeContactGroupListResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeContactListByContactGroupResponseUnmarshaller.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.cms.transform.v20190101; import java.util.ArrayList; import java.util.List; import com.aliyuncs.cms.model.v20190101.DescribeContactListByContactGroupResponse; import com.aliyuncs.cms.model.v20190101.DescribeContactListByContactGroupResponse.Contact; import com.aliyuncs.cms.model.v20190101.DescribeContactListByContactGroupResponse.Contact.Channels; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeContactListByContactGroupResponseUnmarshaller { public static DescribeContactListByContactGroupResponse unmarshall(DescribeContactListByContactGroupResponse describeContactListByContactGroupResponse, UnmarshallerContext _ctx) { describeContactListByContactGroupResponse.setRequestId(_ctx.stringValue("DescribeContactListByContactGroupResponse.RequestId")); describeContactListByContactGroupResponse.setCode(_ctx.stringValue("DescribeContactListByContactGroupResponse.Code")); describeContactListByContactGroupResponse.setMessage(_ctx.stringValue("DescribeContactListByContactGroupResponse.Message")); describeContactListByContactGroupResponse.setSuccess(_ctx.booleanValue("DescribeContactListByContactGroupResponse.Success")); List<Contact> contacts = new ArrayList<Contact>(); for (int i = 0; i < _ctx.lengthValue("DescribeContactListByContactGroupResponse.Contacts.Length"); i++) { Contact contact = new Contact(); contact.setUpdateTime(_ctx.longValue("DescribeContactListByContactGroupResponse.Contacts["+ i +"].UpdateTime")); contact.setName(_ctx.stringValue("DescribeContactListByContactGroupResponse.Contacts["+ i +"].Name")); contact.setCreateTime(_ctx.longValue("DescribeContactListByContactGroupResponse.Contacts["+ i +"].CreateTime")); contact.setDesc(_ctx.stringValue("DescribeContactListByContactGroupResponse.Contacts["+ i +"].Desc")); Channels channels = new Channels(); channels.setMail(_ctx.stringValue("DescribeContactListByContactGroupResponse.Contacts["+ i +"].Channels.Mail")); channels.setAliIM(_ctx.stringValue("DescribeContactListByContactGroupResponse.Contacts["+ i +"].Channels.AliIM")); channels.setDingWebHook(_ctx.stringValue("DescribeContactListByContactGroupResponse.Contacts["+ i +"].Channels.DingWebHook")); channels.setSMS(_ctx.stringValue("DescribeContactListByContactGroupResponse.Contacts["+ i +"].Channels.SMS")); contact.setChannels(channels); contacts.add(contact); } describeContactListByContactGroupResponse.setContacts(contacts); return describeContactListByContactGroupResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeContactListResponseUnmarshaller.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.cms.transform.v20190101; import java.util.ArrayList; import java.util.List; import com.aliyuncs.cms.model.v20190101.DescribeContactListResponse; import com.aliyuncs.cms.model.v20190101.DescribeContactListResponse.Contact; import com.aliyuncs.cms.model.v20190101.DescribeContactListResponse.Contact.Channels; import com.aliyuncs.cms.model.v20190101.DescribeContactListResponse.Contact.ChannelsState; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeContactListResponseUnmarshaller { public static DescribeContactListResponse unmarshall(DescribeContactListResponse describeContactListResponse, UnmarshallerContext _ctx) { describeContactListResponse.setRequestId(_ctx.stringValue("DescribeContactListResponse.RequestId")); describeContactListResponse.setCode(_ctx.stringValue("DescribeContactListResponse.Code")); describeContactListResponse.setMessage(_ctx.stringValue("DescribeContactListResponse.Message")); describeContactListResponse.setTotal(_ctx.integerValue("DescribeContactListResponse.Total")); describeContactListResponse.setSuccess(_ctx.booleanValue("DescribeContactListResponse.Success")); List<Contact> contacts = new ArrayList<Contact>(); for (int i = 0; i < _ctx.lengthValue("DescribeContactListResponse.Contacts.Length"); i++) { Contact contact = new Contact(); contact.setUpdateTime(_ctx.longValue("DescribeContactListResponse.Contacts["+ i +"].UpdateTime")); contact.setName(_ctx.stringValue("DescribeContactListResponse.Contacts["+ i +"].Name")); contact.setCreateTime(_ctx.longValue("DescribeContactListResponse.Contacts["+ i +"].CreateTime")); contact.setLang(_ctx.stringValue("DescribeContactListResponse.Contacts["+ i +"].Lang")); contact.setDesc(_ctx.stringValue("DescribeContactListResponse.Contacts["+ i +"].Desc")); contact.setContactId(_ctx.longValue("DescribeContactListResponse.Contacts["+ i +"].ContactId")); List<String> contactGroups = new ArrayList<String>(); for (int j = 0; j < _ctx.lengthValue("DescribeContactListResponse.Contacts["+ i +"].ContactGroups.Length"); j++) { contactGroups.add(_ctx.stringValue("DescribeContactListResponse.Contacts["+ i +"].ContactGroups["+ j +"]")); } contact.setContactGroups(contactGroups); Channels channels = new Channels(); channels.setMail(_ctx.stringValue("DescribeContactListResponse.Contacts["+ i +"].Channels.Mail")); channels.setAliIM(_ctx.stringValue("DescribeContactListResponse.Contacts["+ i +"].Channels.AliIM")); channels.setDingWebHook(_ctx.stringValue("DescribeContactListResponse.Contacts["+ i +"].Channels.DingWebHook")); channels.setSMS(_ctx.stringValue("DescribeContactListResponse.Contacts["+ i +"].Channels.SMS")); contact.setChannels(channels); ChannelsState channelsState = new ChannelsState(); channelsState.setMail(_ctx.stringValue("DescribeContactListResponse.Contacts["+ i +"].ChannelsState.Mail")); channelsState.setAliIM(_ctx.stringValue("DescribeContactListResponse.Contacts["+ i +"].ChannelsState.AliIM")); channelsState.setDingWebHook(_ctx.stringValue("DescribeContactListResponse.Contacts["+ i +"].ChannelsState.DingWebHook")); channelsState.setSMS(_ctx.stringValue("DescribeContactListResponse.Contacts["+ i +"].ChannelsState.SMS")); contact.setChannelsState(channelsState); contacts.add(contact); } describeContactListResponse.setContacts(contacts); return describeContactListResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeCustomEventAttributeResponseUnmarshaller.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.cms.transform.v20190101; import java.util.ArrayList; import java.util.List; import com.aliyuncs.cms.model.v20190101.DescribeCustomEventAttributeResponse; import com.aliyuncs.cms.model.v20190101.DescribeCustomEventAttributeResponse.CustomEvent; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeCustomEventAttributeResponseUnmarshaller { public static DescribeCustomEventAttributeResponse unmarshall(DescribeCustomEventAttributeResponse describeCustomEventAttributeResponse, UnmarshallerContext _ctx) { describeCustomEventAttributeResponse.setRequestId(_ctx.stringValue("DescribeCustomEventAttributeResponse.RequestId")); describeCustomEventAttributeResponse.setCode(_ctx.stringValue("DescribeCustomEventAttributeResponse.Code")); describeCustomEventAttributeResponse.setMessage(_ctx.stringValue("DescribeCustomEventAttributeResponse.Message")); describeCustomEventAttributeResponse.setSuccess(_ctx.stringValue("DescribeCustomEventAttributeResponse.Success")); List<CustomEvent> customEvents = new ArrayList<CustomEvent>(); for (int i = 0; i < _ctx.lengthValue("DescribeCustomEventAttributeResponse.CustomEvents.Length"); i++) { CustomEvent customEvent = new CustomEvent(); customEvent.setTime(_ctx.stringValue("DescribeCustomEventAttributeResponse.CustomEvents["+ i +"].Time")); customEvent.setName(_ctx.stringValue("DescribeCustomEventAttributeResponse.CustomEvents["+ i +"].Name")); customEvent.setGroupId(_ctx.stringValue("DescribeCustomEventAttributeResponse.CustomEvents["+ i +"].GroupId")); customEvent.setContent(_ctx.stringValue("DescribeCustomEventAttributeResponse.CustomEvents["+ i +"].Content")); customEvent.setId(_ctx.stringValue("DescribeCustomEventAttributeResponse.CustomEvents["+ i +"].Id")); customEvents.add(customEvent); } describeCustomEventAttributeResponse.setCustomEvents(customEvents); return describeCustomEventAttributeResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeCustomEventCountResponseUnmarshaller.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.cms.transform.v20190101; import java.util.ArrayList; import java.util.List; import com.aliyuncs.cms.model.v20190101.DescribeCustomEventCountResponse; import com.aliyuncs.cms.model.v20190101.DescribeCustomEventCountResponse.CustomEventCount; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeCustomEventCountResponseUnmarshaller { public static DescribeCustomEventCountResponse unmarshall(DescribeCustomEventCountResponse describeCustomEventCountResponse, UnmarshallerContext _ctx) { describeCustomEventCountResponse.setRequestId(_ctx.stringValue("DescribeCustomEventCountResponse.RequestId")); describeCustomEventCountResponse.setCode(_ctx.stringValue("DescribeCustomEventCountResponse.Code")); describeCustomEventCountResponse.setMessage(_ctx.stringValue("DescribeCustomEventCountResponse.Message")); describeCustomEventCountResponse.setSuccess(_ctx.booleanValue("DescribeCustomEventCountResponse.Success")); List<CustomEventCount> customEventCounts = new ArrayList<CustomEventCount>(); for (int i = 0; i < _ctx.lengthValue("DescribeCustomEventCountResponse.CustomEventCounts.Length"); i++) { CustomEventCount customEventCount = new CustomEventCount(); customEventCount.setTime(_ctx.longValue("DescribeCustomEventCountResponse.CustomEventCounts["+ i +"].Time")); customEventCount.setNum(_ctx.integerValue("DescribeCustomEventCountResponse.CustomEventCounts["+ i +"].Num")); customEventCount.setName(_ctx.stringValue("DescribeCustomEventCountResponse.CustomEventCounts["+ i +"].Name")); customEventCounts.add(customEventCount); } describeCustomEventCountResponse.setCustomEventCounts(customEventCounts); return describeCustomEventCountResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeCustomEventHistogramResponseUnmarshaller.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.cms.transform.v20190101; import java.util.ArrayList; import java.util.List; import com.aliyuncs.cms.model.v20190101.DescribeCustomEventHistogramResponse; import com.aliyuncs.cms.model.v20190101.DescribeCustomEventHistogramResponse.EventHistogram; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeCustomEventHistogramResponseUnmarshaller { public static DescribeCustomEventHistogramResponse unmarshall(DescribeCustomEventHistogramResponse describeCustomEventHistogramResponse, UnmarshallerContext _ctx) { describeCustomEventHistogramResponse.setRequestId(_ctx.stringValue("DescribeCustomEventHistogramResponse.RequestId")); describeCustomEventHistogramResponse.setCode(_ctx.stringValue("DescribeCustomEventHistogramResponse.Code")); describeCustomEventHistogramResponse.setMessage(_ctx.stringValue("DescribeCustomEventHistogramResponse.Message")); describeCustomEventHistogramResponse.setSuccess(_ctx.stringValue("DescribeCustomEventHistogramResponse.Success")); List<EventHistogram> eventHistograms = new ArrayList<EventHistogram>(); for (int i = 0; i < _ctx.lengthValue("DescribeCustomEventHistogramResponse.EventHistograms.Length"); i++) { EventHistogram eventHistogram = new EventHistogram(); eventHistogram.setEndTime(_ctx.longValue("DescribeCustomEventHistogramResponse.EventHistograms["+ i +"].EndTime")); eventHistogram.setStartTime(_ctx.longValue("DescribeCustomEventHistogramResponse.EventHistograms["+ i +"].StartTime")); eventHistogram.setCount(_ctx.longValue("DescribeCustomEventHistogramResponse.EventHistograms["+ i +"].Count")); eventHistograms.add(eventHistogram); } describeCustomEventHistogramResponse.setEventHistograms(eventHistograms); return describeCustomEventHistogramResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeCustomMetricListResponseUnmarshaller.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.cms.transform.v20190101; import com.aliyuncs.cms.model.v20190101.DescribeCustomMetricListResponse; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeCustomMetricListResponseUnmarshaller { public static DescribeCustomMetricListResponse unmarshall(DescribeCustomMetricListResponse describeCustomMetricListResponse, UnmarshallerContext _ctx) { describeCustomMetricListResponse.setRequestId(_ctx.stringValue("DescribeCustomMetricListResponse.RequestId")); describeCustomMetricListResponse.setCode(_ctx.stringValue("DescribeCustomMetricListResponse.Code")); describeCustomMetricListResponse.setMessage(_ctx.stringValue("DescribeCustomMetricListResponse.Message")); describeCustomMetricListResponse.setResult(_ctx.stringValue("DescribeCustomMetricListResponse.Result")); return describeCustomMetricListResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeDynamicTagRuleListResponseUnmarshaller.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.cms.transform.v20190101; import java.util.ArrayList; import java.util.List; import com.aliyuncs.cms.model.v20190101.DescribeDynamicTagRuleListResponse; import com.aliyuncs.cms.model.v20190101.DescribeDynamicTagRuleListResponse.TagGroup; import com.aliyuncs.cms.model.v20190101.DescribeDynamicTagRuleListResponse.TagGroup.MatchExpressItem; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeDynamicTagRuleListResponseUnmarshaller { public static DescribeDynamicTagRuleListResponse unmarshall(DescribeDynamicTagRuleListResponse describeDynamicTagRuleListResponse, UnmarshallerContext _ctx) { describeDynamicTagRuleListResponse.setRequestId(_ctx.stringValue("DescribeDynamicTagRuleListResponse.RequestId")); describeDynamicTagRuleListResponse.setSuccess(_ctx.booleanValue("DescribeDynamicTagRuleListResponse.Success")); describeDynamicTagRuleListResponse.setCode(_ctx.stringValue("DescribeDynamicTagRuleListResponse.Code")); describeDynamicTagRuleListResponse.setMessage(_ctx.stringValue("DescribeDynamicTagRuleListResponse.Message")); describeDynamicTagRuleListResponse.setPageSize(_ctx.stringValue("DescribeDynamicTagRuleListResponse.PageSize")); describeDynamicTagRuleListResponse.setPageNumber(_ctx.stringValue("DescribeDynamicTagRuleListResponse.PageNumber")); describeDynamicTagRuleListResponse.setTotal(_ctx.integerValue("DescribeDynamicTagRuleListResponse.Total")); List<TagGroup> tagGroupList = new ArrayList<TagGroup>(); for (int i = 0; i < _ctx.lengthValue("DescribeDynamicTagRuleListResponse.TagGroupList.Length"); i++) { TagGroup tagGroup = new TagGroup(); tagGroup.setStatus(_ctx.stringValue("DescribeDynamicTagRuleListResponse.TagGroupList["+ i +"].Status")); tagGroup.setMatchExpressFilterRelation(_ctx.stringValue("DescribeDynamicTagRuleListResponse.TagGroupList["+ i +"].MatchExpressFilterRelation")); tagGroup.setRegionId(_ctx.stringValue("DescribeDynamicTagRuleListResponse.TagGroupList["+ i +"].RegionId")); tagGroup.setTagKey(_ctx.stringValue("DescribeDynamicTagRuleListResponse.TagGroupList["+ i +"].TagKey")); tagGroup.setDynamicTagRuleId(_ctx.stringValue("DescribeDynamicTagRuleListResponse.TagGroupList["+ i +"].DynamicTagRuleId")); List<String> templateIdList = new ArrayList<String>(); for (int j = 0; j < _ctx.lengthValue("DescribeDynamicTagRuleListResponse.TagGroupList["+ i +"].TemplateIdList.Length"); j++) { templateIdList.add(_ctx.stringValue("DescribeDynamicTagRuleListResponse.TagGroupList["+ i +"].TemplateIdList["+ j +"]")); } tagGroup.setTemplateIdList(templateIdList); List<String> contactGroupList = new ArrayList<String>(); for (int j = 0; j < _ctx.lengthValue("DescribeDynamicTagRuleListResponse.TagGroupList["+ i +"].ContactGroupList.Length"); j++) { contactGroupList.add(_ctx.stringValue("DescribeDynamicTagRuleListResponse.TagGroupList["+ i +"].ContactGroupList["+ j +"]")); } tagGroup.setContactGroupList(contactGroupList); List<MatchExpressItem> matchExpress = new ArrayList<MatchExpressItem>(); for (int j = 0; j < _ctx.lengthValue("DescribeDynamicTagRuleListResponse.TagGroupList["+ i +"].MatchExpress.Length"); j++) { MatchExpressItem matchExpressItem = new MatchExpressItem(); matchExpressItem.setTagValue(_ctx.stringValue("DescribeDynamicTagRuleListResponse.TagGroupList["+ i +"].MatchExpress["+ j +"].TagValue")); matchExpressItem.setTagValueMatchFunction(_ctx.stringValue("DescribeDynamicTagRuleListResponse.TagGroupList["+ i +"].MatchExpress["+ j +"].TagValueMatchFunction")); matchExpress.add(matchExpressItem); } tagGroup.setMatchExpress(matchExpress); tagGroupList.add(tagGroup); } describeDynamicTagRuleListResponse.setTagGroupList(tagGroupList); return describeDynamicTagRuleListResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeEventRuleAttributeResponseUnmarshaller.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.cms.transform.v20190101; import java.util.ArrayList; import java.util.List; import com.aliyuncs.cms.model.v20190101.DescribeEventRuleAttributeResponse; import com.aliyuncs.cms.model.v20190101.DescribeEventRuleAttributeResponse.Result; import com.aliyuncs.cms.model.v20190101.DescribeEventRuleAttributeResponse.Result.EventPattern; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeEventRuleAttributeResponseUnmarshaller { public static DescribeEventRuleAttributeResponse unmarshall(DescribeEventRuleAttributeResponse describeEventRuleAttributeResponse, UnmarshallerContext _ctx) { describeEventRuleAttributeResponse.setRequestId(_ctx.stringValue("DescribeEventRuleAttributeResponse.RequestId")); describeEventRuleAttributeResponse.setCode(_ctx.stringValue("DescribeEventRuleAttributeResponse.Code")); describeEventRuleAttributeResponse.setMessage(_ctx.stringValue("DescribeEventRuleAttributeResponse.Message")); describeEventRuleAttributeResponse.setSuccess(_ctx.booleanValue("DescribeEventRuleAttributeResponse.Success")); Result result = new Result(); result.setEventType(_ctx.stringValue("DescribeEventRuleAttributeResponse.Result.EventType")); result.setGroupId(_ctx.stringValue("DescribeEventRuleAttributeResponse.Result.GroupId")); result.setName(_ctx.stringValue("DescribeEventRuleAttributeResponse.Result.Name")); result.setDescription(_ctx.stringValue("DescribeEventRuleAttributeResponse.Result.Description")); result.setState(_ctx.stringValue("DescribeEventRuleAttributeResponse.Result.State")); EventPattern eventPattern = new EventPattern(); eventPattern.setProduct(_ctx.stringValue("DescribeEventRuleAttributeResponse.Result.EventPattern.Product")); List<String> levelList = new ArrayList<String>(); for (int i = 0; i < _ctx.lengthValue("DescribeEventRuleAttributeResponse.Result.EventPattern.LevelList.Length"); i++) { levelList.add(_ctx.stringValue("DescribeEventRuleAttributeResponse.Result.EventPattern.LevelList["+ i +"]")); } eventPattern.setLevelList(levelList); List<String> statusList = new ArrayList<String>(); for (int i = 0; i < _ctx.lengthValue("DescribeEventRuleAttributeResponse.Result.EventPattern.StatusList.Length"); i++) { statusList.add(_ctx.stringValue("DescribeEventRuleAttributeResponse.Result.EventPattern.StatusList["+ i +"]")); } eventPattern.setStatusList(statusList); List<String> nameList = new ArrayList<String>(); for (int i = 0; i < _ctx.lengthValue("DescribeEventRuleAttributeResponse.Result.EventPattern.NameList.Length"); i++) { nameList.add(_ctx.stringValue("DescribeEventRuleAttributeResponse.Result.EventPattern.NameList["+ i +"]")); } eventPattern.setNameList(nameList); result.setEventPattern(eventPattern); describeEventRuleAttributeResponse.setResult(result); return describeEventRuleAttributeResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeEventRuleListResponseUnmarshaller.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.cms.transform.v20190101; import java.util.ArrayList; import java.util.List; import com.aliyuncs.cms.model.v20190101.DescribeEventRuleListResponse; import com.aliyuncs.cms.model.v20190101.DescribeEventRuleListResponse.EventRule; import com.aliyuncs.cms.model.v20190101.DescribeEventRuleListResponse.EventRule.EventPatternItem; import com.aliyuncs.cms.model.v20190101.DescribeEventRuleListResponse.EventRule.EventPatternItem.KeywordFilter; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeEventRuleListResponseUnmarshaller { public static DescribeEventRuleListResponse unmarshall(DescribeEventRuleListResponse describeEventRuleListResponse, UnmarshallerContext _ctx) { describeEventRuleListResponse.setRequestId(_ctx.stringValue("DescribeEventRuleListResponse.RequestId")); describeEventRuleListResponse.setCode(_ctx.stringValue("DescribeEventRuleListResponse.Code")); describeEventRuleListResponse.setMessage(_ctx.stringValue("DescribeEventRuleListResponse.Message")); describeEventRuleListResponse.setTotal(_ctx.integerValue("DescribeEventRuleListResponse.Total")); describeEventRuleListResponse.setSuccess(_ctx.booleanValue("DescribeEventRuleListResponse.Success")); List<EventRule> eventRules = new ArrayList<EventRule>(); for (int i = 0; i < _ctx.lengthValue("DescribeEventRuleListResponse.EventRules.Length"); i++) { EventRule eventRule = new EventRule(); eventRule.setEventType(_ctx.stringValue("DescribeEventRuleListResponse.EventRules["+ i +"].EventType")); eventRule.setDescription(_ctx.stringValue("DescribeEventRuleListResponse.EventRules["+ i +"].Description")); eventRule.setGroupId(_ctx.stringValue("DescribeEventRuleListResponse.EventRules["+ i +"].GroupId")); eventRule.setName(_ctx.stringValue("DescribeEventRuleListResponse.EventRules["+ i +"].Name")); eventRule.setState(_ctx.stringValue("DescribeEventRuleListResponse.EventRules["+ i +"].State")); eventRule.setSilenceTime(_ctx.longValue("DescribeEventRuleListResponse.EventRules["+ i +"].SilenceTime")); List<EventPatternItem> eventPattern = new ArrayList<EventPatternItem>(); for (int j = 0; j < _ctx.lengthValue("DescribeEventRuleListResponse.EventRules["+ i +"].EventPattern.Length"); j++) { EventPatternItem eventPatternItem = new EventPatternItem(); eventPatternItem.setProduct(_ctx.stringValue("DescribeEventRuleListResponse.EventRules["+ i +"].EventPattern["+ j +"].Product")); eventPatternItem.setCustomFilters(_ctx.stringValue("DescribeEventRuleListResponse.EventRules["+ i +"].EventPattern["+ j +"].CustomFilters")); eventPatternItem.setSQLFilter(_ctx.stringValue("DescribeEventRuleListResponse.EventRules["+ i +"].EventPattern["+ j +"].SQLFilter")); List<String> levelList = new ArrayList<String>(); for (int k = 0; k < _ctx.lengthValue("DescribeEventRuleListResponse.EventRules["+ i +"].EventPattern["+ j +"].LevelList.Length"); k++) { levelList.add(_ctx.stringValue("DescribeEventRuleListResponse.EventRules["+ i +"].EventPattern["+ j +"].LevelList["+ k +"]")); } eventPatternItem.setLevelList(levelList); List<String> eventTypeList = new ArrayList<String>(); for (int k = 0; k < _ctx.lengthValue("DescribeEventRuleListResponse.EventRules["+ i +"].EventPattern["+ j +"].EventTypeList.Length"); k++) { eventTypeList.add(_ctx.stringValue("DescribeEventRuleListResponse.EventRules["+ i +"].EventPattern["+ j +"].EventTypeList["+ k +"]")); } eventPatternItem.setEventTypeList(eventTypeList); List<String> nameList = new ArrayList<String>(); for (int k = 0; k < _ctx.lengthValue("DescribeEventRuleListResponse.EventRules["+ i +"].EventPattern["+ j +"].NameList.Length"); k++) { nameList.add(_ctx.stringValue("DescribeEventRuleListResponse.EventRules["+ i +"].EventPattern["+ j +"].NameList["+ k +"]")); } eventPatternItem.setNameList(nameList); KeywordFilter keywordFilter = new KeywordFilter(); keywordFilter.setRelation(_ctx.stringValue("DescribeEventRuleListResponse.EventRules["+ i +"].EventPattern["+ j +"].KeywordFilter.Relation")); List<String> keywords = new ArrayList<String>(); for (int k = 0; k < _ctx.lengthValue("DescribeEventRuleListResponse.EventRules["+ i +"].EventPattern["+ j +"].KeywordFilter.Keywords.Length"); k++) { keywords.add(_ctx.stringValue("DescribeEventRuleListResponse.EventRules["+ i +"].EventPattern["+ j +"].KeywordFilter.Keywords["+ k +"]")); } keywordFilter.setKeywords(keywords); eventPatternItem.setKeywordFilter(keywordFilter); eventPattern.add(eventPatternItem); } eventRule.setEventPattern(eventPattern); eventRules.add(eventRule); } describeEventRuleListResponse.setEventRules(eventRules); return describeEventRuleListResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeEventRuleTargetListResponseUnmarshaller.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.cms.transform.v20190101; import java.util.ArrayList; import java.util.List; import com.aliyuncs.cms.model.v20190101.DescribeEventRuleTargetListResponse; import com.aliyuncs.cms.model.v20190101.DescribeEventRuleTargetListResponse.ContactParameter; import com.aliyuncs.cms.model.v20190101.DescribeEventRuleTargetListResponse.FCParameter; import com.aliyuncs.cms.model.v20190101.DescribeEventRuleTargetListResponse.MnsParameter; import com.aliyuncs.cms.model.v20190101.DescribeEventRuleTargetListResponse.OpenApiParametersItem; import com.aliyuncs.cms.model.v20190101.DescribeEventRuleTargetListResponse.SlsParameter; import com.aliyuncs.cms.model.v20190101.DescribeEventRuleTargetListResponse.WebhookParameter; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeEventRuleTargetListResponseUnmarshaller { public static DescribeEventRuleTargetListResponse unmarshall(DescribeEventRuleTargetListResponse describeEventRuleTargetListResponse, UnmarshallerContext _ctx) { describeEventRuleTargetListResponse.setRequestId(_ctx.stringValue("DescribeEventRuleTargetListResponse.RequestId")); describeEventRuleTargetListResponse.setCode(_ctx.stringValue("DescribeEventRuleTargetListResponse.Code")); describeEventRuleTargetListResponse.setMessage(_ctx.stringValue("DescribeEventRuleTargetListResponse.Message")); List<ContactParameter> contactParameters = new ArrayList<ContactParameter>(); for (int i = 0; i < _ctx.lengthValue("DescribeEventRuleTargetListResponse.ContactParameters.Length"); i++) { ContactParameter contactParameter = new ContactParameter(); contactParameter.setContactGroupName(_ctx.stringValue("DescribeEventRuleTargetListResponse.ContactParameters["+ i +"].ContactGroupName")); contactParameter.setLevel(_ctx.stringValue("DescribeEventRuleTargetListResponse.ContactParameters["+ i +"].Level")); contactParameter.setId(_ctx.stringValue("DescribeEventRuleTargetListResponse.ContactParameters["+ i +"].Id")); contactParameters.add(contactParameter); } describeEventRuleTargetListResponse.setContactParameters(contactParameters); List<FCParameter> fcParameters = new ArrayList<FCParameter>(); for (int i = 0; i < _ctx.lengthValue("DescribeEventRuleTargetListResponse.FcParameters.Length"); i++) { FCParameter fCParameter = new FCParameter(); fCParameter.setServiceName(_ctx.stringValue("DescribeEventRuleTargetListResponse.FcParameters["+ i +"].ServiceName")); fCParameter.setFunctionName(_ctx.stringValue("DescribeEventRuleTargetListResponse.FcParameters["+ i +"].FunctionName")); fCParameter.setArn(_ctx.stringValue("DescribeEventRuleTargetListResponse.FcParameters["+ i +"].Arn")); fCParameter.setId(_ctx.stringValue("DescribeEventRuleTargetListResponse.FcParameters["+ i +"].Id")); fCParameter.setRegion(_ctx.stringValue("DescribeEventRuleTargetListResponse.FcParameters["+ i +"].Region")); fcParameters.add(fCParameter); } describeEventRuleTargetListResponse.setFcParameters(fcParameters); List<MnsParameter> mnsParameters = new ArrayList<MnsParameter>(); for (int i = 0; i < _ctx.lengthValue("DescribeEventRuleTargetListResponse.MnsParameters.Length"); i++) { MnsParameter mnsParameter = new MnsParameter(); mnsParameter.setQueue(_ctx.stringValue("DescribeEventRuleTargetListResponse.MnsParameters["+ i +"].Queue")); mnsParameter.setArn(_ctx.stringValue("DescribeEventRuleTargetListResponse.MnsParameters["+ i +"].Arn")); mnsParameter.setRegion(_ctx.stringValue("DescribeEventRuleTargetListResponse.MnsParameters["+ i +"].Region")); mnsParameter.setId(_ctx.stringValue("DescribeEventRuleTargetListResponse.MnsParameters["+ i +"].Id")); mnsParameter.setTopic(_ctx.stringValue("DescribeEventRuleTargetListResponse.MnsParameters["+ i +"].Topic")); mnsParameters.add(mnsParameter); } describeEventRuleTargetListResponse.setMnsParameters(mnsParameters); List<WebhookParameter> webhookParameters = new ArrayList<WebhookParameter>(); for (int i = 0; i < _ctx.lengthValue("DescribeEventRuleTargetListResponse.WebhookParameters.Length"); i++) { WebhookParameter webhookParameter = new WebhookParameter(); webhookParameter.setUrl(_ctx.stringValue("DescribeEventRuleTargetListResponse.WebhookParameters["+ i +"].Url")); webhookParameter.setBizMethod(_ctx.stringValue("DescribeEventRuleTargetListResponse.WebhookParameters["+ i +"].Method")); webhookParameter.setBizProtocol(_ctx.stringValue("DescribeEventRuleTargetListResponse.WebhookParameters["+ i +"].Protocol")); webhookParameter.setId(_ctx.stringValue("DescribeEventRuleTargetListResponse.WebhookParameters["+ i +"].Id")); webhookParameters.add(webhookParameter); } describeEventRuleTargetListResponse.setWebhookParameters(webhookParameters); List<SlsParameter> slsParameters = new ArrayList<SlsParameter>(); for (int i = 0; i < _ctx.lengthValue("DescribeEventRuleTargetListResponse.SlsParameters.Length"); i++) { SlsParameter slsParameter = new SlsParameter(); slsParameter.setProject(_ctx.stringValue("DescribeEventRuleTargetListResponse.SlsParameters["+ i +"].Project")); slsParameter.setLogStore(_ctx.stringValue("DescribeEventRuleTargetListResponse.SlsParameters["+ i +"].LogStore")); slsParameter.setArn(_ctx.stringValue("DescribeEventRuleTargetListResponse.SlsParameters["+ i +"].Arn")); slsParameter.setRegion(_ctx.stringValue("DescribeEventRuleTargetListResponse.SlsParameters["+ i +"].Region")); slsParameter.setId(_ctx.stringValue("DescribeEventRuleTargetListResponse.SlsParameters["+ i +"].Id")); slsParameters.add(slsParameter); } describeEventRuleTargetListResponse.setSlsParameters(slsParameters); List<OpenApiParametersItem> openApiParameters = new ArrayList<OpenApiParametersItem>(); for (int i = 0; i < _ctx.lengthValue("DescribeEventRuleTargetListResponse.OpenApiParameters.Length"); i++) { OpenApiParametersItem openApiParametersItem = new OpenApiParametersItem(); openApiParametersItem.setAction(_ctx.stringValue("DescribeEventRuleTargetListResponse.OpenApiParameters["+ i +"].Action")); openApiParametersItem.setArn(_ctx.stringValue("DescribeEventRuleTargetListResponse.OpenApiParameters["+ i +"].Arn")); openApiParametersItem.setId(_ctx.stringValue("DescribeEventRuleTargetListResponse.OpenApiParameters["+ i +"].Id")); openApiParametersItem.setProduct(_ctx.stringValue("DescribeEventRuleTargetListResponse.OpenApiParameters["+ i +"].Product")); openApiParametersItem.setRegion(_ctx.stringValue("DescribeEventRuleTargetListResponse.OpenApiParameters["+ i +"].Region")); openApiParametersItem.setRole(_ctx.stringValue("DescribeEventRuleTargetListResponse.OpenApiParameters["+ i +"].Role")); openApiParametersItem.setVersion(_ctx.stringValue("DescribeEventRuleTargetListResponse.OpenApiParameters["+ i +"].Version")); openApiParametersItem.setJsonParams(_ctx.stringValue("DescribeEventRuleTargetListResponse.OpenApiParameters["+ i +"].JsonParams")); openApiParameters.add(openApiParametersItem); } describeEventRuleTargetListResponse.setOpenApiParameters(openApiParameters); return describeEventRuleTargetListResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeExporterOutputListResponseUnmarshaller.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.cms.transform.v20190101; import java.util.ArrayList; import java.util.List; import com.aliyuncs.cms.model.v20190101.DescribeExporterOutputListResponse; import com.aliyuncs.cms.model.v20190101.DescribeExporterOutputListResponse.Datapoint; import com.aliyuncs.cms.model.v20190101.DescribeExporterOutputListResponse.Datapoint.ConfigJson; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeExporterOutputListResponseUnmarshaller { public static DescribeExporterOutputListResponse unmarshall(DescribeExporterOutputListResponse describeExporterOutputListResponse, UnmarshallerContext _ctx) { describeExporterOutputListResponse.setRequestId(_ctx.stringValue("DescribeExporterOutputListResponse.RequestId")); describeExporterOutputListResponse.setSuccess(_ctx.booleanValue("DescribeExporterOutputListResponse.Success")); describeExporterOutputListResponse.setCode(_ctx.stringValue("DescribeExporterOutputListResponse.Code")); describeExporterOutputListResponse.setMessage(_ctx.stringValue("DescribeExporterOutputListResponse.Message")); describeExporterOutputListResponse.setPageNumber(_ctx.integerValue("DescribeExporterOutputListResponse.PageNumber")); describeExporterOutputListResponse.setTotal(_ctx.integerValue("DescribeExporterOutputListResponse.Total")); List<Datapoint> datapoints = new ArrayList<Datapoint>(); for (int i = 0; i < _ctx.lengthValue("DescribeExporterOutputListResponse.Datapoints.Length"); i++) { Datapoint datapoint = new Datapoint(); datapoint.setDestType(_ctx.stringValue("DescribeExporterOutputListResponse.Datapoints["+ i +"].DestType")); datapoint.setCreateTime(_ctx.longValue("DescribeExporterOutputListResponse.Datapoints["+ i +"].CreateTime")); datapoint.setDestName(_ctx.stringValue("DescribeExporterOutputListResponse.Datapoints["+ i +"].DestName")); ConfigJson configJson = new ConfigJson(); configJson.setAk(_ctx.stringValue("DescribeExporterOutputListResponse.Datapoints["+ i +"].ConfigJson.ak")); configJson.setEndpoint(_ctx.stringValue("DescribeExporterOutputListResponse.Datapoints["+ i +"].ConfigJson.endpoint")); configJson.setLogstore(_ctx.stringValue("DescribeExporterOutputListResponse.Datapoints["+ i +"].ConfigJson.logstore")); configJson.setProject(_ctx.stringValue("DescribeExporterOutputListResponse.Datapoints["+ i +"].ConfigJson.project")); datapoint.setConfigJson(configJson); datapoints.add(datapoint); } describeExporterOutputListResponse.setDatapoints(datapoints); return describeExporterOutputListResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeExporterRuleListResponseUnmarshaller.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.cms.transform.v20190101; import java.util.ArrayList; import java.util.List; import com.aliyuncs.cms.model.v20190101.DescribeExporterRuleListResponse; import com.aliyuncs.cms.model.v20190101.DescribeExporterRuleListResponse.Datapoint; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeExporterRuleListResponseUnmarshaller { public static DescribeExporterRuleListResponse unmarshall(DescribeExporterRuleListResponse describeExporterRuleListResponse, UnmarshallerContext _ctx) { describeExporterRuleListResponse.setRequestId(_ctx.stringValue("DescribeExporterRuleListResponse.RequestId")); describeExporterRuleListResponse.setSuccess(_ctx.booleanValue("DescribeExporterRuleListResponse.Success")); describeExporterRuleListResponse.setCode(_ctx.stringValue("DescribeExporterRuleListResponse.Code")); describeExporterRuleListResponse.setMessage(_ctx.stringValue("DescribeExporterRuleListResponse.Message")); describeExporterRuleListResponse.setPageNumber(_ctx.integerValue("DescribeExporterRuleListResponse.PageNumber")); describeExporterRuleListResponse.setTotal(_ctx.integerValue("DescribeExporterRuleListResponse.Total")); List<Datapoint> datapoints = new ArrayList<Datapoint>(); for (int i = 0; i < _ctx.lengthValue("DescribeExporterRuleListResponse.Datapoints.Length"); i++) { Datapoint datapoint = new Datapoint(); datapoint.setMetricName(_ctx.stringValue("DescribeExporterRuleListResponse.Datapoints["+ i +"].MetricName")); datapoint.setDescribe(_ctx.stringValue("DescribeExporterRuleListResponse.Datapoints["+ i +"].Describe")); datapoint.setTargetWindows(_ctx.stringValue("DescribeExporterRuleListResponse.Datapoints["+ i +"].TargetWindows")); datapoint.setCreateTime(_ctx.longValue("DescribeExporterRuleListResponse.Datapoints["+ i +"].CreateTime")); datapoint.setEnabled(_ctx.booleanValue("DescribeExporterRuleListResponse.Datapoints["+ i +"].Enabled")); datapoint.setDimension(_ctx.stringValue("DescribeExporterRuleListResponse.Datapoints["+ i +"].Dimension")); datapoint.setNamespace(_ctx.stringValue("DescribeExporterRuleListResponse.Datapoints["+ i +"].Namespace")); datapoint.setRuleName(_ctx.stringValue("DescribeExporterRuleListResponse.Datapoints["+ i +"].RuleName")); List<String> dstName = new ArrayList<String>(); for (int j = 0; j < _ctx.lengthValue("DescribeExporterRuleListResponse.Datapoints["+ i +"].DstName.Length"); j++) { dstName.add(_ctx.stringValue("DescribeExporterRuleListResponse.Datapoints["+ i +"].DstName["+ j +"]")); } datapoint.setDstName(dstName); datapoints.add(datapoint); } describeExporterRuleListResponse.setDatapoints(datapoints); return describeExporterRuleListResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeGroupMonitoringAgentProcessResponseUnmarshaller.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.cms.transform.v20190101; import java.util.ArrayList; import java.util.List; import com.aliyuncs.cms.model.v20190101.DescribeGroupMonitoringAgentProcessResponse; import com.aliyuncs.cms.model.v20190101.DescribeGroupMonitoringAgentProcessResponse.Process; import com.aliyuncs.cms.model.v20190101.DescribeGroupMonitoringAgentProcessResponse.Process.AlertConfigItem; import com.aliyuncs.cms.model.v20190101.DescribeGroupMonitoringAgentProcessResponse.Process.MatchExpressItem; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeGroupMonitoringAgentProcessResponseUnmarshaller { public static DescribeGroupMonitoringAgentProcessResponse unmarshall(DescribeGroupMonitoringAgentProcessResponse describeGroupMonitoringAgentProcessResponse, UnmarshallerContext _ctx) { describeGroupMonitoringAgentProcessResponse.setRequestId(_ctx.stringValue("DescribeGroupMonitoringAgentProcessResponse.RequestId")); describeGroupMonitoringAgentProcessResponse.setSuccess(_ctx.booleanValue("DescribeGroupMonitoringAgentProcessResponse.Success")); describeGroupMonitoringAgentProcessResponse.setCode(_ctx.stringValue("DescribeGroupMonitoringAgentProcessResponse.Code")); describeGroupMonitoringAgentProcessResponse.setMessage(_ctx.stringValue("DescribeGroupMonitoringAgentProcessResponse.Message")); describeGroupMonitoringAgentProcessResponse.setPageNumber(_ctx.stringValue("DescribeGroupMonitoringAgentProcessResponse.PageNumber")); describeGroupMonitoringAgentProcessResponse.setPageSize(_ctx.stringValue("DescribeGroupMonitoringAgentProcessResponse.PageSize")); describeGroupMonitoringAgentProcessResponse.setTotal(_ctx.stringValue("DescribeGroupMonitoringAgentProcessResponse.Total")); List<Process> processes = new ArrayList<Process>(); for (int i = 0; i < _ctx.lengthValue("DescribeGroupMonitoringAgentProcessResponse.Processes.Length"); i++) { Process process = new Process(); process.setProcessName(_ctx.stringValue("DescribeGroupMonitoringAgentProcessResponse.Processes["+ i +"].ProcessName")); process.setMatchExpressFilterRelation(_ctx.stringValue("DescribeGroupMonitoringAgentProcessResponse.Processes["+ i +"].MatchExpressFilterRelation")); process.setGroupId(_ctx.stringValue("DescribeGroupMonitoringAgentProcessResponse.Processes["+ i +"].GroupId")); process.setId(_ctx.stringValue("DescribeGroupMonitoringAgentProcessResponse.Processes["+ i +"].Id")); List<MatchExpressItem> matchExpress = new ArrayList<MatchExpressItem>(); for (int j = 0; j < _ctx.lengthValue("DescribeGroupMonitoringAgentProcessResponse.Processes["+ i +"].MatchExpress.Length"); j++) { MatchExpressItem matchExpressItem = new MatchExpressItem(); matchExpressItem.setValue(_ctx.stringValue("DescribeGroupMonitoringAgentProcessResponse.Processes["+ i +"].MatchExpress["+ j +"].Value")); matchExpressItem.setName(_ctx.stringValue("DescribeGroupMonitoringAgentProcessResponse.Processes["+ i +"].MatchExpress["+ j +"].Name")); matchExpressItem.setFunction(_ctx.stringValue("DescribeGroupMonitoringAgentProcessResponse.Processes["+ i +"].MatchExpress["+ j +"].Function")); matchExpress.add(matchExpressItem); } process.setMatchExpress(matchExpress); List<AlertConfigItem> alertConfig = new ArrayList<AlertConfigItem>(); for (int j = 0; j < _ctx.lengthValue("DescribeGroupMonitoringAgentProcessResponse.Processes["+ i +"].AlertConfig.Length"); j++) { AlertConfigItem alertConfigItem = new AlertConfigItem(); alertConfigItem.setComparisonOperator(_ctx.stringValue("DescribeGroupMonitoringAgentProcessResponse.Processes["+ i +"].AlertConfig["+ j +"].ComparisonOperator")); alertConfigItem.setSilenceTime(_ctx.stringValue("DescribeGroupMonitoringAgentProcessResponse.Processes["+ i +"].AlertConfig["+ j +"].SilenceTime")); alertConfigItem.setWebhook(_ctx.stringValue("DescribeGroupMonitoringAgentProcessResponse.Processes["+ i +"].AlertConfig["+ j +"].Webhook")); alertConfigItem.setTimes(_ctx.stringValue("DescribeGroupMonitoringAgentProcessResponse.Processes["+ i +"].AlertConfig["+ j +"].Times")); alertConfigItem.setEscalationsLevel(_ctx.stringValue("DescribeGroupMonitoringAgentProcessResponse.Processes["+ i +"].AlertConfig["+ j +"].EscalationsLevel")); alertConfigItem.setNoEffectiveInterval(_ctx.stringValue("DescribeGroupMonitoringAgentProcessResponse.Processes["+ i +"].AlertConfig["+ j +"].NoEffectiveInterval")); alertConfigItem.setEffectiveInterval(_ctx.stringValue("DescribeGroupMonitoringAgentProcessResponse.Processes["+ i +"].AlertConfig["+ j +"].EffectiveInterval")); alertConfigItem.setThreshold(_ctx.stringValue("DescribeGroupMonitoringAgentProcessResponse.Processes["+ i +"].AlertConfig["+ j +"].Threshold")); alertConfigItem.setStatistics(_ctx.stringValue("DescribeGroupMonitoringAgentProcessResponse.Processes["+ i +"].AlertConfig["+ j +"].Statistics")); alertConfig.add(alertConfigItem); } process.setAlertConfig(alertConfig); processes.add(process); } describeGroupMonitoringAgentProcessResponse.setProcesses(processes); return describeGroupMonitoringAgentProcessResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeHostAvailabilityListResponseUnmarshaller.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.cms.transform.v20190101; import java.util.ArrayList; import java.util.List; import com.aliyuncs.cms.model.v20190101.DescribeHostAvailabilityListResponse; import com.aliyuncs.cms.model.v20190101.DescribeHostAvailabilityListResponse.NodeTaskConfig; import com.aliyuncs.cms.model.v20190101.DescribeHostAvailabilityListResponse.NodeTaskConfig.AlertConfig; import com.aliyuncs.cms.model.v20190101.DescribeHostAvailabilityListResponse.NodeTaskConfig.AlertConfig.EscalationListItem; import com.aliyuncs.cms.model.v20190101.DescribeHostAvailabilityListResponse.NodeTaskConfig.TaskOption; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeHostAvailabilityListResponseUnmarshaller { public static DescribeHostAvailabilityListResponse unmarshall(DescribeHostAvailabilityListResponse describeHostAvailabilityListResponse, UnmarshallerContext _ctx) { describeHostAvailabilityListResponse.setRequestId(_ctx.stringValue("DescribeHostAvailabilityListResponse.RequestId")); describeHostAvailabilityListResponse.setCode(_ctx.stringValue("DescribeHostAvailabilityListResponse.Code")); describeHostAvailabilityListResponse.setMessage(_ctx.stringValue("DescribeHostAvailabilityListResponse.Message")); describeHostAvailabilityListResponse.setTotal(_ctx.integerValue("DescribeHostAvailabilityListResponse.Total")); describeHostAvailabilityListResponse.setSuccess(_ctx.booleanValue("DescribeHostAvailabilityListResponse.Success")); List<NodeTaskConfig> taskList = new ArrayList<NodeTaskConfig>(); for (int i = 0; i < _ctx.lengthValue("DescribeHostAvailabilityListResponse.TaskList.Length"); i++) { NodeTaskConfig nodeTaskConfig = new NodeTaskConfig(); nodeTaskConfig.setTaskType(_ctx.stringValue("DescribeHostAvailabilityListResponse.TaskList["+ i +"].TaskType")); nodeTaskConfig.setGroupName(_ctx.stringValue("DescribeHostAvailabilityListResponse.TaskList["+ i +"].GroupName")); nodeTaskConfig.setGroupId(_ctx.longValue("DescribeHostAvailabilityListResponse.TaskList["+ i +"].GroupId")); nodeTaskConfig.setTaskName(_ctx.stringValue("DescribeHostAvailabilityListResponse.TaskList["+ i +"].TaskName")); nodeTaskConfig.setDisabled(_ctx.booleanValue("DescribeHostAvailabilityListResponse.TaskList["+ i +"].Disabled")); nodeTaskConfig.setTaskScope(_ctx.stringValue("DescribeHostAvailabilityListResponse.TaskList["+ i +"].TaskScope")); nodeTaskConfig.setId(_ctx.longValue("DescribeHostAvailabilityListResponse.TaskList["+ i +"].Id")); List<String> instances = new ArrayList<String>(); for (int j = 0; j < _ctx.lengthValue("DescribeHostAvailabilityListResponse.TaskList["+ i +"].Instances.Length"); j++) { instances.add(_ctx.stringValue("DescribeHostAvailabilityListResponse.TaskList["+ i +"].Instances["+ j +"]")); } nodeTaskConfig.setInstances(instances); TaskOption taskOption = new TaskOption(); taskOption.setHttpMethod(_ctx.stringValue("DescribeHostAvailabilityListResponse.TaskList["+ i +"].TaskOption.HttpMethod")); taskOption.setInterval(_ctx.integerValue("DescribeHostAvailabilityListResponse.TaskList["+ i +"].TaskOption.Interval")); taskOption.setHttpURI(_ctx.stringValue("DescribeHostAvailabilityListResponse.TaskList["+ i +"].TaskOption.HttpURI")); taskOption.setTelnetOrPingHost(_ctx.stringValue("DescribeHostAvailabilityListResponse.TaskList["+ i +"].TaskOption.TelnetOrPingHost")); taskOption.setHttpResponseCharset(_ctx.stringValue("DescribeHostAvailabilityListResponse.TaskList["+ i +"].TaskOption.HttpResponseCharset")); taskOption.setHttpPostContent(_ctx.stringValue("DescribeHostAvailabilityListResponse.TaskList["+ i +"].TaskOption.HttpPostContent")); taskOption.setHttpNegative(_ctx.booleanValue("DescribeHostAvailabilityListResponse.TaskList["+ i +"].TaskOption.HttpNegative")); taskOption.setHttpKeyword(_ctx.stringValue("DescribeHostAvailabilityListResponse.TaskList["+ i +"].TaskOption.HttpKeyword")); taskOption.setHttpHeader(_ctx.stringValue("DescribeHostAvailabilityListResponse.TaskList["+ i +"].TaskOption.HttpHeader")); nodeTaskConfig.setTaskOption(taskOption); AlertConfig alertConfig = new AlertConfig(); alertConfig.setSilenceTime(_ctx.integerValue("DescribeHostAvailabilityListResponse.TaskList["+ i +"].AlertConfig.SilenceTime")); alertConfig.setEndTime(_ctx.integerValue("DescribeHostAvailabilityListResponse.TaskList["+ i +"].AlertConfig.EndTime")); alertConfig.setStartTime(_ctx.integerValue("DescribeHostAvailabilityListResponse.TaskList["+ i +"].AlertConfig.StartTime")); alertConfig.setWebHook(_ctx.stringValue("DescribeHostAvailabilityListResponse.TaskList["+ i +"].AlertConfig.WebHook")); alertConfig.setNotifyType(_ctx.integerValue("DescribeHostAvailabilityListResponse.TaskList["+ i +"].AlertConfig.NotifyType")); List<EscalationListItem> escalationList = new ArrayList<EscalationListItem>(); for (int j = 0; j < _ctx.lengthValue("DescribeHostAvailabilityListResponse.TaskList["+ i +"].AlertConfig.EscalationList.Length"); j++) { EscalationListItem escalationListItem = new EscalationListItem(); escalationListItem.setValue(_ctx.stringValue("DescribeHostAvailabilityListResponse.TaskList["+ i +"].AlertConfig.EscalationList["+ j +"].Value")); escalationListItem.setMetricName(_ctx.stringValue("DescribeHostAvailabilityListResponse.TaskList["+ i +"].AlertConfig.EscalationList["+ j +"].MetricName")); escalationListItem.setOperator(_ctx.stringValue("DescribeHostAvailabilityListResponse.TaskList["+ i +"].AlertConfig.EscalationList["+ j +"].Operator")); escalationListItem.setTimes(_ctx.stringValue("DescribeHostAvailabilityListResponse.TaskList["+ i +"].AlertConfig.EscalationList["+ j +"].Times")); escalationListItem.setAggregate(_ctx.stringValue("DescribeHostAvailabilityListResponse.TaskList["+ i +"].AlertConfig.EscalationList["+ j +"].Aggregate")); escalationList.add(escalationListItem); } alertConfig.setEscalationList(escalationList); nodeTaskConfig.setAlertConfig(alertConfig); taskList.add(nodeTaskConfig); } describeHostAvailabilityListResponse.setTaskList(taskList); return describeHostAvailabilityListResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeHybridMonitorDataListResponseUnmarshaller.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.cms.transform.v20190101; import java.util.ArrayList; import java.util.List; import com.aliyuncs.cms.model.v20190101.DescribeHybridMonitorDataListResponse; import com.aliyuncs.cms.model.v20190101.DescribeHybridMonitorDataListResponse.TimeSeriesItem; import com.aliyuncs.cms.model.v20190101.DescribeHybridMonitorDataListResponse.TimeSeriesItem.Label; import com.aliyuncs.cms.model.v20190101.DescribeHybridMonitorDataListResponse.TimeSeriesItem.Value; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeHybridMonitorDataListResponseUnmarshaller { public static DescribeHybridMonitorDataListResponse unmarshall(DescribeHybridMonitorDataListResponse describeHybridMonitorDataListResponse, UnmarshallerContext _ctx) { describeHybridMonitorDataListResponse.setRequestId(_ctx.stringValue("DescribeHybridMonitorDataListResponse.RequestId")); describeHybridMonitorDataListResponse.setCode(_ctx.stringValue("DescribeHybridMonitorDataListResponse.Code")); describeHybridMonitorDataListResponse.setMessage(_ctx.stringValue("DescribeHybridMonitorDataListResponse.Message")); describeHybridMonitorDataListResponse.setSuccess(_ctx.stringValue("DescribeHybridMonitorDataListResponse.Success")); List<TimeSeriesItem> timeSeries = new ArrayList<TimeSeriesItem>(); for (int i = 0; i < _ctx.lengthValue("DescribeHybridMonitorDataListResponse.TimeSeries.Length"); i++) { TimeSeriesItem timeSeriesItem = new TimeSeriesItem(); timeSeriesItem.setMetricName(_ctx.stringValue("DescribeHybridMonitorDataListResponse.TimeSeries["+ i +"].MetricName")); List<Label> labels = new ArrayList<Label>(); for (int j = 0; j < _ctx.lengthValue("DescribeHybridMonitorDataListResponse.TimeSeries["+ i +"].Labels.Length"); j++) { Label label = new Label(); label.setK(_ctx.stringValue("DescribeHybridMonitorDataListResponse.TimeSeries["+ i +"].Labels["+ j +"].K")); label.setV(_ctx.stringValue("DescribeHybridMonitorDataListResponse.TimeSeries["+ i +"].Labels["+ j +"].V")); labels.add(label); } timeSeriesItem.setLabels(labels); List<Value> values = new ArrayList<Value>(); for (int j = 0; j < _ctx.lengthValue("DescribeHybridMonitorDataListResponse.TimeSeries["+ i +"].Values.Length"); j++) { Value value = new Value(); value.setV(_ctx.stringValue("DescribeHybridMonitorDataListResponse.TimeSeries["+ i +"].Values["+ j +"].V")); value.setTs(_ctx.stringValue("DescribeHybridMonitorDataListResponse.TimeSeries["+ i +"].Values["+ j +"].Ts")); values.add(value); } timeSeriesItem.setValues(values); timeSeries.add(timeSeriesItem); } describeHybridMonitorDataListResponse.setTimeSeries(timeSeries); return describeHybridMonitorDataListResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeHybridMonitorNamespaceListResponseUnmarshaller.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.cms.transform.v20190101; import java.util.ArrayList; import java.util.List; import com.aliyuncs.cms.model.v20190101.DescribeHybridMonitorNamespaceListResponse; import com.aliyuncs.cms.model.v20190101.DescribeHybridMonitorNamespaceListResponse.DescribeHybridMonitorNamespaceItem; import com.aliyuncs.cms.model.v20190101.DescribeHybridMonitorNamespaceListResponse.DescribeHybridMonitorNamespaceItem.AliyunProductMetric; import com.aliyuncs.cms.model.v20190101.DescribeHybridMonitorNamespaceListResponse.DescribeHybridMonitorNamespaceItem.AliyunProductMetric.Namespace; import com.aliyuncs.cms.model.v20190101.DescribeHybridMonitorNamespaceListResponse.DescribeHybridMonitorNamespaceItem.AliyunProductMetric.Namespace.Metric; import com.aliyuncs.cms.model.v20190101.DescribeHybridMonitorNamespaceListResponse.DescribeHybridMonitorNamespaceItem.Detail; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeHybridMonitorNamespaceListResponseUnmarshaller { public static DescribeHybridMonitorNamespaceListResponse unmarshall(DescribeHybridMonitorNamespaceListResponse describeHybridMonitorNamespaceListResponse, UnmarshallerContext _ctx) { describeHybridMonitorNamespaceListResponse.setRequestId(_ctx.stringValue("DescribeHybridMonitorNamespaceListResponse.RequestId")); describeHybridMonitorNamespaceListResponse.setSuccess(_ctx.stringValue("DescribeHybridMonitorNamespaceListResponse.Success")); describeHybridMonitorNamespaceListResponse.setCode(_ctx.stringValue("DescribeHybridMonitorNamespaceListResponse.Code")); describeHybridMonitorNamespaceListResponse.setMessage(_ctx.stringValue("DescribeHybridMonitorNamespaceListResponse.Message")); describeHybridMonitorNamespaceListResponse.setPageSize(_ctx.integerValue("DescribeHybridMonitorNamespaceListResponse.PageSize")); describeHybridMonitorNamespaceListResponse.setPageNumber(_ctx.integerValue("DescribeHybridMonitorNamespaceListResponse.PageNumber")); describeHybridMonitorNamespaceListResponse.setTotal(_ctx.integerValue("DescribeHybridMonitorNamespaceListResponse.Total")); List<DescribeHybridMonitorNamespaceItem> describeHybridMonitorNamespace = new ArrayList<DescribeHybridMonitorNamespaceItem>(); for (int i = 0; i < _ctx.lengthValue("DescribeHybridMonitorNamespaceListResponse.DescribeHybridMonitorNamespace.Length"); i++) { DescribeHybridMonitorNamespaceItem describeHybridMonitorNamespaceItem = new DescribeHybridMonitorNamespaceItem(); describeHybridMonitorNamespaceItem.setDescription(_ctx.stringValue("DescribeHybridMonitorNamespaceListResponse.DescribeHybridMonitorNamespace["+ i +"].Description")); describeHybridMonitorNamespaceItem.setCreateTime(_ctx.stringValue("DescribeHybridMonitorNamespaceListResponse.DescribeHybridMonitorNamespace["+ i +"].CreateTime")); describeHybridMonitorNamespaceItem.setNamespace(_ctx.stringValue("DescribeHybridMonitorNamespaceListResponse.DescribeHybridMonitorNamespace["+ i +"].Namespace")); describeHybridMonitorNamespaceItem.setIsDelete(_ctx.integerValue("DescribeHybridMonitorNamespaceListResponse.DescribeHybridMonitorNamespace["+ i +"].IsDelete")); describeHybridMonitorNamespaceItem.setId(_ctx.stringValue("DescribeHybridMonitorNamespaceListResponse.DescribeHybridMonitorNamespace["+ i +"].Id")); describeHybridMonitorNamespaceItem.setModifyTime(_ctx.stringValue("DescribeHybridMonitorNamespaceListResponse.DescribeHybridMonitorNamespace["+ i +"].ModifyTime")); describeHybridMonitorNamespaceItem.setNotAliyunTaskNumber(_ctx.longValue("DescribeHybridMonitorNamespaceListResponse.DescribeHybridMonitorNamespace["+ i +"].NotAliyunTaskNumber")); Detail detail = new Detail(); detail.setSpec(_ctx.stringValue("DescribeHybridMonitorNamespaceListResponse.DescribeHybridMonitorNamespace["+ i +"].Detail.Spec")); describeHybridMonitorNamespaceItem.setDetail(detail); List<AliyunProductMetric> aliyunProductMetricList = new ArrayList<AliyunProductMetric>(); for (int j = 0; j < _ctx.lengthValue("DescribeHybridMonitorNamespaceListResponse.DescribeHybridMonitorNamespace["+ i +"].AliyunProductMetricList.Length"); j++) { AliyunProductMetric aliyunProductMetric = new AliyunProductMetric(); aliyunProductMetric.setUserId(_ctx.longValue("DescribeHybridMonitorNamespaceListResponse.DescribeHybridMonitorNamespace["+ i +"].AliyunProductMetricList["+ j +"].UserId")); aliyunProductMetric.setYAMLConfig(_ctx.stringValue("DescribeHybridMonitorNamespaceListResponse.DescribeHybridMonitorNamespace["+ i +"].AliyunProductMetricList["+ j +"].YAMLConfig")); List<Namespace> namespaceList = new ArrayList<Namespace>(); for (int k = 0; k < _ctx.lengthValue("DescribeHybridMonitorNamespaceListResponse.DescribeHybridMonitorNamespace["+ i +"].AliyunProductMetricList["+ j +"].NamespaceList.Length"); k++) { Namespace namespace = new Namespace(); namespace.setNamespace(_ctx.stringValue("DescribeHybridMonitorNamespaceListResponse.DescribeHybridMonitorNamespace["+ i +"].AliyunProductMetricList["+ j +"].NamespaceList["+ k +"].Namespace")); List<Metric> metricList = new ArrayList<Metric>(); for (int l = 0; l < _ctx.lengthValue("DescribeHybridMonitorNamespaceListResponse.DescribeHybridMonitorNamespace["+ i +"].AliyunProductMetricList["+ j +"].NamespaceList["+ k +"].MetricList.Length"); l++) { Metric metric = new Metric(); metric.setPeriod(_ctx.longValue("DescribeHybridMonitorNamespaceListResponse.DescribeHybridMonitorNamespace["+ i +"].AliyunProductMetricList["+ j +"].NamespaceList["+ k +"].MetricList["+ l +"].Period")); List<String> list = new ArrayList<String>(); for (int m = 0; m < _ctx.lengthValue("DescribeHybridMonitorNamespaceListResponse.DescribeHybridMonitorNamespace["+ i +"].AliyunProductMetricList["+ j +"].NamespaceList["+ k +"].MetricList["+ l +"].List.Length"); m++) { list.add(_ctx.stringValue("DescribeHybridMonitorNamespaceListResponse.DescribeHybridMonitorNamespace["+ i +"].AliyunProductMetricList["+ j +"].NamespaceList["+ k +"].MetricList["+ l +"].List["+ m +"]")); } metric.setList(list); metricList.add(metric); } namespace.setMetricList(metricList); namespaceList.add(namespace); } aliyunProductMetric.setNamespaceList(namespaceList); aliyunProductMetricList.add(aliyunProductMetric); } describeHybridMonitorNamespaceItem.setAliyunProductMetricList(aliyunProductMetricList); describeHybridMonitorNamespace.add(describeHybridMonitorNamespaceItem); } describeHybridMonitorNamespaceListResponse.setDescribeHybridMonitorNamespace(describeHybridMonitorNamespace); return describeHybridMonitorNamespaceListResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeHybridMonitorSLSGroupResponseUnmarshaller.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.cms.transform.v20190101; import java.util.ArrayList; import java.util.List; import com.aliyuncs.cms.model.v20190101.DescribeHybridMonitorSLSGroupResponse; import com.aliyuncs.cms.model.v20190101.DescribeHybridMonitorSLSGroupResponse.Data; import com.aliyuncs.cms.model.v20190101.DescribeHybridMonitorSLSGroupResponse.Data.SLS; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeHybridMonitorSLSGroupResponseUnmarshaller { public static DescribeHybridMonitorSLSGroupResponse unmarshall(DescribeHybridMonitorSLSGroupResponse describeHybridMonitorSLSGroupResponse, UnmarshallerContext _ctx) { describeHybridMonitorSLSGroupResponse.setRequestId(_ctx.stringValue("DescribeHybridMonitorSLSGroupResponse.RequestId")); describeHybridMonitorSLSGroupResponse.setCode(_ctx.stringValue("DescribeHybridMonitorSLSGroupResponse.Code")); describeHybridMonitorSLSGroupResponse.setMessage(_ctx.stringValue("DescribeHybridMonitorSLSGroupResponse.Message")); describeHybridMonitorSLSGroupResponse.setSuccess(_ctx.stringValue("DescribeHybridMonitorSLSGroupResponse.Success")); describeHybridMonitorSLSGroupResponse.setPageSize(_ctx.longValue("DescribeHybridMonitorSLSGroupResponse.PageSize")); describeHybridMonitorSLSGroupResponse.setPageNumber(_ctx.longValue("DescribeHybridMonitorSLSGroupResponse.PageNumber")); describeHybridMonitorSLSGroupResponse.setTotal(_ctx.longValue("DescribeHybridMonitorSLSGroupResponse.Total")); List<Data> list = new ArrayList<Data>(); for (int i = 0; i < _ctx.lengthValue("DescribeHybridMonitorSLSGroupResponse.List.Length"); i++) { Data data = new Data(); data.setSLSGroupName(_ctx.stringValue("DescribeHybridMonitorSLSGroupResponse.List["+ i +"].SLSGroupName")); data.setSLSGroupDescription(_ctx.stringValue("DescribeHybridMonitorSLSGroupResponse.List["+ i +"].SLSGroupDescription")); data.setCreateTime(_ctx.stringValue("DescribeHybridMonitorSLSGroupResponse.List["+ i +"].CreateTime")); data.setUpdateTime(_ctx.stringValue("DescribeHybridMonitorSLSGroupResponse.List["+ i +"].UpdateTime")); List<SLS> sLSGroupConfig = new ArrayList<SLS>(); for (int j = 0; j < _ctx.lengthValue("DescribeHybridMonitorSLSGroupResponse.List["+ i +"].SLSGroupConfig.Length"); j++) { SLS sLS = new SLS(); sLS.setSLSRegion(_ctx.stringValue("DescribeHybridMonitorSLSGroupResponse.List["+ i +"].SLSGroupConfig["+ j +"].SLSRegion")); sLS.setSLSProject(_ctx.stringValue("DescribeHybridMonitorSLSGroupResponse.List["+ i +"].SLSGroupConfig["+ j +"].SLSProject")); sLS.setSLSLogstore(_ctx.stringValue("DescribeHybridMonitorSLSGroupResponse.List["+ i +"].SLSGroupConfig["+ j +"].SLSLogstore")); sLS.setSLSUserId(_ctx.stringValue("DescribeHybridMonitorSLSGroupResponse.List["+ i +"].SLSGroupConfig["+ j +"].SLSUserId")); sLSGroupConfig.add(sLS); } data.setSLSGroupConfig(sLSGroupConfig); list.add(data); } describeHybridMonitorSLSGroupResponse.setList(list); return describeHybridMonitorSLSGroupResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform
java-sources/com/aliyun/aliyun-java-sdk-cms/7.0.46/com/aliyuncs/cms/transform/v20190101/DescribeHybridMonitorTaskListResponseUnmarshaller.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.cms.transform.v20190101; import java.util.ArrayList; import java.util.List; import com.aliyuncs.cms.model.v20190101.DescribeHybridMonitorTaskListResponse; import com.aliyuncs.cms.model.v20190101.DescribeHybridMonitorTaskListResponse.TaskListItem; import com.aliyuncs.cms.model.v20190101.DescribeHybridMonitorTaskListResponse.TaskListItem.AttachLabelsItem; import com.aliyuncs.cms.model.v20190101.DescribeHybridMonitorTaskListResponse.TaskListItem.MatchExpressItem; import com.aliyuncs.cms.model.v20190101.DescribeHybridMonitorTaskListResponse.TaskListItem.SLSProcessConfig; import com.aliyuncs.cms.model.v20190101.DescribeHybridMonitorTaskListResponse.TaskListItem.SLSProcessConfig.ExpressItem; import com.aliyuncs.cms.model.v20190101.DescribeHybridMonitorTaskListResponse.TaskListItem.SLSProcessConfig.Filter; import com.aliyuncs.cms.model.v20190101.DescribeHybridMonitorTaskListResponse.TaskListItem.SLSProcessConfig.Filter.FiltersItem; import com.aliyuncs.cms.model.v20190101.DescribeHybridMonitorTaskListResponse.TaskListItem.SLSProcessConfig.GroupByItem; import com.aliyuncs.cms.model.v20190101.DescribeHybridMonitorTaskListResponse.TaskListItem.SLSProcessConfig.StatisticsItem; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeHybridMonitorTaskListResponseUnmarshaller { public static DescribeHybridMonitorTaskListResponse unmarshall(DescribeHybridMonitorTaskListResponse describeHybridMonitorTaskListResponse, UnmarshallerContext _ctx) { describeHybridMonitorTaskListResponse.setRequestId(_ctx.stringValue("DescribeHybridMonitorTaskListResponse.RequestId")); describeHybridMonitorTaskListResponse.setSuccess(_ctx.stringValue("DescribeHybridMonitorTaskListResponse.Success")); describeHybridMonitorTaskListResponse.setCode(_ctx.stringValue("DescribeHybridMonitorTaskListResponse.Code")); describeHybridMonitorTaskListResponse.setMessage(_ctx.stringValue("DescribeHybridMonitorTaskListResponse.Message")); describeHybridMonitorTaskListResponse.setPageSize(_ctx.integerValue("DescribeHybridMonitorTaskListResponse.PageSize")); describeHybridMonitorTaskListResponse.setPageNumber(_ctx.integerValue("DescribeHybridMonitorTaskListResponse.PageNumber")); describeHybridMonitorTaskListResponse.setTotal(_ctx.integerValue("DescribeHybridMonitorTaskListResponse.Total")); List<TaskListItem> taskList = new ArrayList<TaskListItem>(); for (int i = 0; i < _ctx.lengthValue("DescribeHybridMonitorTaskListResponse.TaskList.Length"); i++) { TaskListItem taskListItem = new TaskListItem(); taskListItem.setYARMConfig(_ctx.stringValue("DescribeHybridMonitorTaskListResponse.TaskList["+ i +"].YARMConfig")); taskListItem.setCreateTime(_ctx.stringValue("DescribeHybridMonitorTaskListResponse.TaskList["+ i +"].CreateTime")); taskListItem.setTaskName(_ctx.stringValue("DescribeHybridMonitorTaskListResponse.TaskList["+ i +"].TaskName")); taskListItem.setNamespace(_ctx.stringValue("DescribeHybridMonitorTaskListResponse.TaskList["+ i +"].Namespace")); taskListItem.setUploadRegion(_ctx.stringValue("DescribeHybridMonitorTaskListResponse.TaskList["+ i +"].UploadRegion")); taskListItem.setNetworkType(_ctx.stringValue("DescribeHybridMonitorTaskListResponse.TaskList["+ i +"].NetworkType")); taskListItem.setCollectTimout(_ctx.integerValue("DescribeHybridMonitorTaskListResponse.TaskList["+ i +"].CollectTimout")); taskListItem.setCollectTargetEndpoint(_ctx.stringValue("DescribeHybridMonitorTaskListResponse.TaskList["+ i +"].CollectTargetEndpoint")); taskListItem.setTaskType(_ctx.stringValue("DescribeHybridMonitorTaskListResponse.TaskList["+ i +"].TaskType")); taskListItem.setMatchExpressRelation(_ctx.stringValue("DescribeHybridMonitorTaskListResponse.TaskList["+ i +"].MatchExpressRelation")); taskListItem.setDescription(_ctx.stringValue("DescribeHybridMonitorTaskListResponse.TaskList["+ i +"].Description")); taskListItem.setGroupId(_ctx.stringValue("DescribeHybridMonitorTaskListResponse.TaskList["+ i +"].GroupId")); taskListItem.setCollectInterval(_ctx.integerValue("DescribeHybridMonitorTaskListResponse.TaskList["+ i +"].CollectInterval")); taskListItem.setTargetUserId(_ctx.stringValue("DescribeHybridMonitorTaskListResponse.TaskList["+ i +"].TargetUserId")); taskListItem.setCollectTargetPath(_ctx.stringValue("DescribeHybridMonitorTaskListResponse.TaskList["+ i +"].CollectTargetPath")); taskListItem.setCollectTargetType(_ctx.stringValue("DescribeHybridMonitorTaskListResponse.TaskList["+ i +"].CollectTargetType")); taskListItem.setTaskId(_ctx.stringValue("DescribeHybridMonitorTaskListResponse.TaskList["+ i +"].TaskId")); taskListItem.setExtraInfo(_ctx.stringValue("DescribeHybridMonitorTaskListResponse.TaskList["+ i +"].ExtraInfo")); taskListItem.setLogFilePath(_ctx.stringValue("DescribeHybridMonitorTaskListResponse.TaskList["+ i +"].LogFilePath")); taskListItem.setLogSplit(_ctx.stringValue("DescribeHybridMonitorTaskListResponse.TaskList["+ i +"].LogSplit")); taskListItem.setLogProcess(_ctx.stringValue("DescribeHybridMonitorTaskListResponse.TaskList["+ i +"].LogProcess")); taskListItem.setLogSample(_ctx.stringValue("DescribeHybridMonitorTaskListResponse.TaskList["+ i +"].LogSample")); taskListItem.setSLSProcess(_ctx.stringValue("DescribeHybridMonitorTaskListResponse.TaskList["+ i +"].SLSProcess")); List<String> instances = new ArrayList<String>(); for (int j = 0; j < _ctx.lengthValue("DescribeHybridMonitorTaskListResponse.TaskList["+ i +"].Instances.Length"); j++) { instances.add(_ctx.stringValue("DescribeHybridMonitorTaskListResponse.TaskList["+ i +"].Instances["+ j +"]")); } taskListItem.setInstances(instances); SLSProcessConfig sLSProcessConfig = new SLSProcessConfig(); Filter filter = new Filter(); filter.setRelation(_ctx.stringValue("DescribeHybridMonitorTaskListResponse.TaskList["+ i +"].SLSProcessConfig.Filter.Relation")); List<FiltersItem> filters = new ArrayList<FiltersItem>(); for (int j = 0; j < _ctx.lengthValue("DescribeHybridMonitorTaskListResponse.TaskList["+ i +"].SLSProcessConfig.Filter.Filters.Length"); j++) { FiltersItem filtersItem = new FiltersItem(); filtersItem.setSLSKeyName(_ctx.stringValue("DescribeHybridMonitorTaskListResponse.TaskList["+ i +"].SLSProcessConfig.Filter.Filters["+ j +"].SLSKeyName")); filtersItem.setOperator(_ctx.stringValue("DescribeHybridMonitorTaskListResponse.TaskList["+ i +"].SLSProcessConfig.Filter.Filters["+ j +"].Operator")); filtersItem.setValue(_ctx.stringValue("DescribeHybridMonitorTaskListResponse.TaskList["+ i +"].SLSProcessConfig.Filter.Filters["+ j +"].Value")); filters.add(filtersItem); } filter.setFilters(filters); sLSProcessConfig.setFilter(filter); List<StatisticsItem> statistics = new ArrayList<StatisticsItem>(); for (int j = 0; j < _ctx.lengthValue("DescribeHybridMonitorTaskListResponse.TaskList["+ i +"].SLSProcessConfig.Statistics.Length"); j++) { StatisticsItem statisticsItem = new StatisticsItem(); statisticsItem.setSLSKeyName(_ctx.stringValue("DescribeHybridMonitorTaskListResponse.TaskList["+ i +"].SLSProcessConfig.Statistics["+ j +"].SLSKeyName")); statisticsItem.setFunction(_ctx.stringValue("DescribeHybridMonitorTaskListResponse.TaskList["+ i +"].SLSProcessConfig.Statistics["+ j +"].Function")); statisticsItem.setAlias(_ctx.stringValue("DescribeHybridMonitorTaskListResponse.TaskList["+ i +"].SLSProcessConfig.Statistics["+ j +"].Alias")); statisticsItem.setParameter1(_ctx.stringValue("DescribeHybridMonitorTaskListResponse.TaskList["+ i +"].SLSProcessConfig.Statistics["+ j +"].Parameter1")); statisticsItem.setParameter2(_ctx.stringValue("DescribeHybridMonitorTaskListResponse.TaskList["+ i +"].SLSProcessConfig.Statistics["+ j +"].Parameter2")); statistics.add(statisticsItem); } sLSProcessConfig.setStatistics(statistics); List<GroupByItem> groupBy = new ArrayList<GroupByItem>(); for (int j = 0; j < _ctx.lengthValue("DescribeHybridMonitorTaskListResponse.TaskList["+ i +"].SLSProcessConfig.GroupBy.Length"); j++) { GroupByItem groupByItem = new GroupByItem(); groupByItem.setSLSKeyName(_ctx.stringValue("DescribeHybridMonitorTaskListResponse.TaskList["+ i +"].SLSProcessConfig.GroupBy["+ j +"].SLSKeyName")); groupByItem.setAlias(_ctx.stringValue("DescribeHybridMonitorTaskListResponse.TaskList["+ i +"].SLSProcessConfig.GroupBy["+ j +"].Alias")); groupBy.add(groupByItem); } sLSProcessConfig.setGroupBy(groupBy); List<ExpressItem> express = new ArrayList<ExpressItem>(); for (int j = 0; j < _ctx.lengthValue("DescribeHybridMonitorTaskListResponse.TaskList["+ i +"].SLSProcessConfig.Express.Length"); j++) { ExpressItem expressItem = new ExpressItem(); expressItem.setExpress(_ctx.stringValue("DescribeHybridMonitorTaskListResponse.TaskList["+ i +"].SLSProcessConfig.Express["+ j +"].Express")); expressItem.setAlias(_ctx.stringValue("DescribeHybridMonitorTaskListResponse.TaskList["+ i +"].SLSProcessConfig.Express["+ j +"].Alias")); express.add(expressItem); } sLSProcessConfig.setExpress(express); taskListItem.setSLSProcessConfig(sLSProcessConfig); List<AttachLabelsItem> attachLabels = new ArrayList<AttachLabelsItem>(); for (int j = 0; j < _ctx.lengthValue("DescribeHybridMonitorTaskListResponse.TaskList["+ i +"].AttachLabels.Length"); j++) { AttachLabelsItem attachLabelsItem = new AttachLabelsItem(); attachLabelsItem.setName(_ctx.stringValue("DescribeHybridMonitorTaskListResponse.TaskList["+ i +"].AttachLabels["+ j +"].Name")); attachLabelsItem.setValue(_ctx.stringValue("DescribeHybridMonitorTaskListResponse.TaskList["+ i +"].AttachLabels["+ j +"].Value")); attachLabels.add(attachLabelsItem); } taskListItem.setAttachLabels(attachLabels); List<MatchExpressItem> matchExpress = new ArrayList<MatchExpressItem>(); for (int j = 0; j < _ctx.lengthValue("DescribeHybridMonitorTaskListResponse.TaskList["+ i +"].MatchExpress.Length"); j++) { MatchExpressItem matchExpressItem = new MatchExpressItem(); matchExpressItem.setValue(_ctx.stringValue("DescribeHybridMonitorTaskListResponse.TaskList["+ i +"].MatchExpress["+ j +"].Value")); matchExpressItem.setName(_ctx.stringValue("DescribeHybridMonitorTaskListResponse.TaskList["+ i +"].MatchExpress["+ j +"].Name")); matchExpressItem.setFunction(_ctx.stringValue("DescribeHybridMonitorTaskListResponse.TaskList["+ i +"].MatchExpress["+ j +"].Function")); matchExpress.add(matchExpressItem); } taskListItem.setMatchExpress(matchExpress); taskList.add(taskListItem); } describeHybridMonitorTaskListResponse.setTaskList(taskList); return describeHybridMonitorTaskListResponse; } }