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/DescribeProductResourceTagKeyListResponse.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.DescribeProductResourceTagKeyListResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeProductResourceTagKeyListResponse extends AcsResponse {
private String code;
private String message;
private String nextToken;
private String requestId;
private Boolean success;
private List<String> tagKeys;
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 getNextToken() {
return this.nextToken;
}
public void setNextToken(String nextToken) {
this.nextToken = nextToken;
}
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> getTagKeys() {
return this.tagKeys;
}
public void setTagKeys(List<String> tagKeys) {
this.tagKeys = tagKeys;
}
@Override
public DescribeProductResourceTagKeyListResponse getInstance(UnmarshallerContext context) {
return DescribeProductResourceTagKeyListResponseUnmarshaller.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/DescribeProductsOfActiveMetricRuleRequest.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 DescribeProductsOfActiveMetricRuleRequest extends RpcAcsRequest<DescribeProductsOfActiveMetricRuleResponse> {
public DescribeProductsOfActiveMetricRuleRequest() {
super("Cms", "2019-01-01", "DescribeProductsOfActiveMetricRule", "cms");
setMethod(MethodType.POST);
}
@Override
public Class<DescribeProductsOfActiveMetricRuleResponse> getResponseClass() {
return DescribeProductsOfActiveMetricRuleResponse.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/DescribeProductsOfActiveMetricRuleResponse.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.DescribeProductsOfActiveMetricRuleResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeProductsOfActiveMetricRuleResponse extends AcsResponse {
private Integer code;
private String message;
private String requestId;
private String datapoints;
private Boolean success;
private List<AllProductInitMetricRule> allProductInitMetricRuleList;
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 String getDatapoints() {
return this.datapoints;
}
public void setDatapoints(String datapoints) {
this.datapoints = datapoints;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public List<AllProductInitMetricRule> getAllProductInitMetricRuleList() {
return this.allProductInitMetricRuleList;
}
public void setAllProductInitMetricRuleList(List<AllProductInitMetricRule> allProductInitMetricRuleList) {
this.allProductInitMetricRuleList = allProductInitMetricRuleList;
}
public static class AllProductInitMetricRule {
private String product;
private List<AlertInitConfig> alertInitConfigList;
public String getProduct() {
return this.product;
}
public void setProduct(String product) {
this.product = product;
}
public List<AlertInitConfig> getAlertInitConfigList() {
return this.alertInitConfigList;
}
public void setAlertInitConfigList(List<AlertInitConfig> alertInitConfigList) {
this.alertInitConfigList = alertInitConfigList;
}
public static class AlertInitConfig {
private String metricName;
private String evaluationCount;
private String namespace;
private String threshold;
private String statistics;
private String period;
public String getMetricName() {
return this.metricName;
}
public void setMetricName(String metricName) {
this.metricName = metricName;
}
public String getEvaluationCount() {
return this.evaluationCount;
}
public void setEvaluationCount(String evaluationCount) {
this.evaluationCount = evaluationCount;
}
public String getNamespace() {
return this.namespace;
}
public void setNamespace(String namespace) {
this.namespace = namespace;
}
public String getThreshold() {
return this.threshold;
}
public void setThreshold(String threshold) {
this.threshold = threshold;
}
public String getStatistics() {
return this.statistics;
}
public void setStatistics(String statistics) {
this.statistics = statistics;
}
public String getPeriod() {
return this.period;
}
public void setPeriod(String period) {
this.period = period;
}
}
}
@Override
public DescribeProductsOfActiveMetricRuleResponse getInstance(UnmarshallerContext context) {
return DescribeProductsOfActiveMetricRuleResponseUnmarshaller.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/DescribeProjectMetaRequest.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 DescribeProjectMetaRequest extends RpcAcsRequest<DescribeProjectMetaResponse> {
private Integer pageSize;
private Integer pageNumber;
private String labels;
public DescribeProjectMetaRequest() {
super("Cms", "2019-01-01", "DescribeProjectMeta", "cms");
setMethod(MethodType.POST);
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
if(pageSize != null){
putQueryParameter("PageSize", pageSize.toString());
}
}
public Integer getPageNumber() {
return this.pageNumber;
}
public void setPageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
if(pageNumber != null){
putQueryParameter("PageNumber", pageNumber.toString());
}
}
public String getLabels() {
return this.labels;
}
public void setLabels(String labels) {
this.labels = labels;
if(labels != null){
putQueryParameter("Labels", labels);
}
}
@Override
public Class<DescribeProjectMetaResponse> getResponseClass() {
return DescribeProjectMetaResponse.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/DescribeProjectMetaResponse.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.DescribeProjectMetaResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeProjectMetaResponse extends AcsResponse {
private String requestId;
private Boolean success;
private String code;
private String message;
private String pageSize;
private String pageNumber;
private String total;
private List<Resource> resources;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getPageSize() {
return this.pageSize;
}
public void setPageSize(String pageSize) {
this.pageSize = pageSize;
}
public String getPageNumber() {
return this.pageNumber;
}
public void setPageNumber(String pageNumber) {
this.pageNumber = pageNumber;
}
public String getTotal() {
return this.total;
}
public void setTotal(String total) {
this.total = total;
}
public List<Resource> getResources() {
return this.resources;
}
public void setResources(List<Resource> resources) {
this.resources = resources;
}
public static class Resource {
private String namespace;
private String description;
private String labels;
public String getNamespace() {
return this.namespace;
}
public void setNamespace(String namespace) {
this.namespace = namespace;
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
}
public String getLabels() {
return this.labels;
}
public void setLabels(String labels) {
this.labels = labels;
}
}
@Override
public DescribeProjectMetaResponse getInstance(UnmarshallerContext context) {
return DescribeProjectMetaResponseUnmarshaller.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/DescribeSiteMonitorAttributeRequest.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 DescribeSiteMonitorAttributeRequest extends RpcAcsRequest<DescribeSiteMonitorAttributeResponse> {
private Boolean includeAlert;
private String taskId;
public DescribeSiteMonitorAttributeRequest() {
super("Cms", "2019-01-01", "DescribeSiteMonitorAttribute", "cms");
setMethod(MethodType.POST);
}
public Boolean getIncludeAlert() {
return this.includeAlert;
}
public void setIncludeAlert(Boolean includeAlert) {
this.includeAlert = includeAlert;
if(includeAlert != null){
putQueryParameter("IncludeAlert", includeAlert.toString());
}
}
public String getTaskId() {
return this.taskId;
}
public void setTaskId(String taskId) {
this.taskId = taskId;
if(taskId != null){
putQueryParameter("TaskId", taskId);
}
}
@Override
public Class<DescribeSiteMonitorAttributeResponse> getResponseClass() {
return DescribeSiteMonitorAttributeResponse.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/DescribeSiteMonitorAttributeResponse.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.DescribeSiteMonitorAttributeResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeSiteMonitorAttributeResponse extends AcsResponse {
private String code;
private String message;
private String requestId;
private Boolean success;
private List<MetricRule> metricRules;
private SiteMonitors siteMonitors;
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<MetricRule> getMetricRules() {
return this.metricRules;
}
public void setMetricRules(List<MetricRule> metricRules) {
this.metricRules = metricRules;
}
public SiteMonitors getSiteMonitors() {
return this.siteMonitors;
}
public void setSiteMonitors(SiteMonitors siteMonitors) {
this.siteMonitors = siteMonitors;
}
public static class MetricRule {
private String metricName;
private String evaluationCount;
private String namespace;
private String okActions;
private String alarmActions;
private String ruleId;
private String ruleName;
private String period;
private String comparisonOperator;
private String expression;
private String dimensions;
private String stateValue;
private String actionEnable;
private String level;
private String threshold;
private String statistics;
public String getMetricName() {
return this.metricName;
}
public void setMetricName(String metricName) {
this.metricName = metricName;
}
public String getEvaluationCount() {
return this.evaluationCount;
}
public void setEvaluationCount(String evaluationCount) {
this.evaluationCount = evaluationCount;
}
public String getNamespace() {
return this.namespace;
}
public void setNamespace(String namespace) {
this.namespace = namespace;
}
public String getOkActions() {
return this.okActions;
}
public void setOkActions(String okActions) {
this.okActions = okActions;
}
public String getAlarmActions() {
return this.alarmActions;
}
public void setAlarmActions(String alarmActions) {
this.alarmActions = alarmActions;
}
public String getRuleId() {
return this.ruleId;
}
public void setRuleId(String ruleId) {
this.ruleId = ruleId;
}
public String getRuleName() {
return this.ruleName;
}
public void setRuleName(String ruleName) {
this.ruleName = ruleName;
}
public String getPeriod() {
return this.period;
}
public void setPeriod(String period) {
this.period = period;
}
public String getComparisonOperator() {
return this.comparisonOperator;
}
public void setComparisonOperator(String comparisonOperator) {
this.comparisonOperator = comparisonOperator;
}
public String getExpression() {
return this.expression;
}
public void setExpression(String expression) {
this.expression = expression;
}
public String getDimensions() {
return this.dimensions;
}
public void setDimensions(String dimensions) {
this.dimensions = dimensions;
}
public String getStateValue() {
return this.stateValue;
}
public void setStateValue(String stateValue) {
this.stateValue = stateValue;
}
public String getActionEnable() {
return this.actionEnable;
}
public void setActionEnable(String actionEnable) {
this.actionEnable = actionEnable;
}
public String getLevel() {
return this.level;
}
public void setLevel(String level) {
this.level = level;
}
public String getThreshold() {
return this.threshold;
}
public void setThreshold(String threshold) {
this.threshold = threshold;
}
public String getStatistics() {
return this.statistics;
}
public void setStatistics(String statistics) {
this.statistics = statistics;
}
}
public static class SiteMonitors {
private String endTime;
private String taskType;
private String interval;
private String taskState;
private String taskName;
private String address;
private String taskId;
private List<IspCity> ispCities;
private OptionJson optionJson;
public String getEndTime() {
return this.endTime;
}
public void setEndTime(String endTime) {
this.endTime = endTime;
}
public String getTaskType() {
return this.taskType;
}
public void setTaskType(String taskType) {
this.taskType = taskType;
}
public String getInterval() {
return this.interval;
}
public void setInterval(String interval) {
this.interval = interval;
}
public String getTaskState() {
return this.taskState;
}
public void setTaskState(String taskState) {
this.taskState = taskState;
}
public String getTaskName() {
return this.taskName;
}
public void setTaskName(String taskName) {
this.taskName = taskName;
}
public String getAddress() {
return this.address;
}
public void setAddress(String address) {
this.address = address;
}
public String getTaskId() {
return this.taskId;
}
public void setTaskId(String taskId) {
this.taskId = taskId;
}
public List<IspCity> getIspCities() {
return this.ispCities;
}
public void setIspCities(List<IspCity> ispCities) {
this.ispCities = ispCities;
}
public OptionJson getOptionJson() {
return this.optionJson;
}
public void setOptionJson(OptionJson optionJson) {
this.optionJson = optionJson;
}
public static class IspCity {
private String city;
private String ispName;
private String isp;
private String cityName;
public String getCity() {
return this.city;
}
public void setCity(String city) {
this.city = city;
}
public String getIspName() {
return this.ispName;
}
public void setIspName(String ispName) {
this.ispName = ispName;
}
public String getIsp() {
return this.isp;
}
public void setIsp(String isp) {
this.isp = isp;
}
public String getCityName() {
return this.cityName;
}
public void setCityName(String cityName) {
this.cityName = cityName;
}
}
public static class OptionJson {
private String request_format;
private String response_content;
private Integer port;
private Boolean proxy_protocol;
private Integer authentication;
private Integer match_rule;
private String dns_match_rule;
private String ipv6_task;
private String request_content;
private String acceptable_response_code;
private String username;
private Long traceroute;
private String dns_type;
private String response_format;
private String password;
private String expect_value;
private Long time_out;
private Float failure_rate;
private String header;
private String cookie;
private Integer ping_num;
private String http_method;
private Boolean unfollow_redirect;
private Boolean cert_verify;
private String dns_server;
private Boolean enable_operator_dns;
private Long attempts;
private String protocol;
private String isBase64Encode;
private Boolean diagnosis_mtr;
private Boolean diagnosis_ping;
private Integer retry_delay;
private Boolean save_response_body;
private List<AssertionsItem> assertions;
public String getRequest_format() {
return this.request_format;
}
public void setRequest_format(String request_format) {
this.request_format = request_format;
}
public String getResponse_content() {
return this.response_content;
}
public void setResponse_content(String response_content) {
this.response_content = response_content;
}
public Integer getPort() {
return this.port;
}
public void setPort(Integer port) {
this.port = port;
}
public Boolean getProxy_protocol() {
return this.proxy_protocol;
}
public void setProxy_protocol(Boolean proxy_protocol) {
this.proxy_protocol = proxy_protocol;
}
public Integer getAuthentication() {
return this.authentication;
}
public void setAuthentication(Integer authentication) {
this.authentication = authentication;
}
public Integer getMatch_rule() {
return this.match_rule;
}
public void setMatch_rule(Integer match_rule) {
this.match_rule = match_rule;
}
public String getDns_match_rule() {
return this.dns_match_rule;
}
public void setDns_match_rule(String dns_match_rule) {
this.dns_match_rule = dns_match_rule;
}
public String getIpv6_task() {
return this.ipv6_task;
}
public void setIpv6_task(String ipv6_task) {
this.ipv6_task = ipv6_task;
}
public String getRequest_content() {
return this.request_content;
}
public void setRequest_content(String request_content) {
this.request_content = request_content;
}
public String getAcceptable_response_code() {
return this.acceptable_response_code;
}
public void setAcceptable_response_code(String acceptable_response_code) {
this.acceptable_response_code = acceptable_response_code;
}
public String getUsername() {
return this.username;
}
public void setUsername(String username) {
this.username = username;
}
public Long getTraceroute() {
return this.traceroute;
}
public void setTraceroute(Long traceroute) {
this.traceroute = traceroute;
}
public String getDns_type() {
return this.dns_type;
}
public void setDns_type(String dns_type) {
this.dns_type = dns_type;
}
public String getResponse_format() {
return this.response_format;
}
public void setResponse_format(String response_format) {
this.response_format = response_format;
}
public String getPassword() {
return this.password;
}
public void setPassword(String password) {
this.password = password;
}
public String getExpect_value() {
return this.expect_value;
}
public void setExpect_value(String expect_value) {
this.expect_value = expect_value;
}
public Long getTime_out() {
return this.time_out;
}
public void setTime_out(Long time_out) {
this.time_out = time_out;
}
public Float getFailure_rate() {
return this.failure_rate;
}
public void setFailure_rate(Float failure_rate) {
this.failure_rate = failure_rate;
}
public String getHeader() {
return this.header;
}
public void setHeader(String header) {
this.header = header;
}
public String getCookie() {
return this.cookie;
}
public void setCookie(String cookie) {
this.cookie = cookie;
}
public Integer getPing_num() {
return this.ping_num;
}
public void setPing_num(Integer ping_num) {
this.ping_num = ping_num;
}
public String getHttp_method() {
return this.http_method;
}
public void setHttp_method(String http_method) {
this.http_method = http_method;
}
public Boolean getUnfollow_redirect() {
return this.unfollow_redirect;
}
public void setUnfollow_redirect(Boolean unfollow_redirect) {
this.unfollow_redirect = unfollow_redirect;
}
public Boolean getCert_verify() {
return this.cert_verify;
}
public void setCert_verify(Boolean cert_verify) {
this.cert_verify = cert_verify;
}
public String getDns_server() {
return this.dns_server;
}
public void setDns_server(String dns_server) {
this.dns_server = dns_server;
}
public Boolean getEnable_operator_dns() {
return this.enable_operator_dns;
}
public void setEnable_operator_dns(Boolean enable_operator_dns) {
this.enable_operator_dns = enable_operator_dns;
}
public Long getAttempts() {
return this.attempts;
}
public void setAttempts(Long attempts) {
this.attempts = attempts;
}
public String getBizProtocol() {
return this.protocol;
}
public void setBizProtocol(String protocol) {
this.protocol = protocol;
}
public String getIsBase64Encode() {
return this.isBase64Encode;
}
public void setIsBase64Encode(String isBase64Encode) {
this.isBase64Encode = isBase64Encode;
}
public Boolean getDiagnosis_mtr() {
return this.diagnosis_mtr;
}
public void setDiagnosis_mtr(Boolean diagnosis_mtr) {
this.diagnosis_mtr = diagnosis_mtr;
}
public Boolean getDiagnosis_ping() {
return this.diagnosis_ping;
}
public void setDiagnosis_ping(Boolean diagnosis_ping) {
this.diagnosis_ping = diagnosis_ping;
}
public Integer getRetry_delay() {
return this.retry_delay;
}
public void setRetry_delay(Integer retry_delay) {
this.retry_delay = retry_delay;
}
public Boolean getSave_response_body() {
return this.save_response_body;
}
public void setSave_response_body(Boolean save_response_body) {
this.save_response_body = save_response_body;
}
public List<AssertionsItem> getAssertions() {
return this.assertions;
}
public void setAssertions(List<AssertionsItem> assertions) {
this.assertions = assertions;
}
public static class AssertionsItem {
private String property;
private String type;
private String operator;
private String target;
public String getProperty() {
return this.property;
}
public void setProperty(String property) {
this.property = property;
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public String getOperator() {
return this.operator;
}
public void setOperator(String operator) {
this.operator = operator;
}
public String getTarget() {
return this.target;
}
public void setTarget(String target) {
this.target = target;
}
}
}
}
@Override
public DescribeSiteMonitorAttributeResponse getInstance(UnmarshallerContext context) {
return DescribeSiteMonitorAttributeResponseUnmarshaller.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/DescribeSiteMonitorDataRequest.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 DescribeSiteMonitorDataRequest extends RpcAcsRequest<DescribeSiteMonitorDataResponse> {
private String period;
private Integer length;
private String endTime;
private String startTime;
private String type;
private String nextToken;
private String metricName;
private String taskId;
public DescribeSiteMonitorDataRequest() {
super("Cms", "2019-01-01", "DescribeSiteMonitorData", "cms");
setMethod(MethodType.POST);
}
public String getPeriod() {
return this.period;
}
public void setPeriod(String period) {
this.period = period;
if(period != null){
putQueryParameter("Period", period);
}
}
public Integer getLength() {
return this.length;
}
public void setLength(Integer length) {
this.length = length;
if(length != null){
putQueryParameter("Length", length.toString());
}
}
public String getEndTime() {
return this.endTime;
}
public void setEndTime(String endTime) {
this.endTime = endTime;
if(endTime != null){
putQueryParameter("EndTime", endTime);
}
}
public String getStartTime() {
return this.startTime;
}
public void setStartTime(String startTime) {
this.startTime = startTime;
if(startTime != null){
putQueryParameter("StartTime", startTime);
}
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
if(type != null){
putQueryParameter("Type", type);
}
}
public String getNextToken() {
return this.nextToken;
}
public void setNextToken(String nextToken) {
this.nextToken = nextToken;
if(nextToken != null){
putQueryParameter("NextToken", nextToken);
}
}
public String getMetricName() {
return this.metricName;
}
public void setMetricName(String metricName) {
this.metricName = metricName;
if(metricName != null){
putQueryParameter("MetricName", metricName);
}
}
public String getTaskId() {
return this.taskId;
}
public void setTaskId(String taskId) {
this.taskId = taskId;
if(taskId != null){
putQueryParameter("TaskId", taskId);
}
}
@Override
public Class<DescribeSiteMonitorDataResponse> getResponseClass() {
return DescribeSiteMonitorDataResponse.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/DescribeSiteMonitorDataResponse.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.DescribeSiteMonitorDataResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeSiteMonitorDataResponse extends AcsResponse {
private String nextToken;
private String data;
private String requestId;
private String success;
private String code;
private String message;
public String getNextToken() {
return this.nextToken;
}
public void setNextToken(String nextToken) {
this.nextToken = nextToken;
}
public String getData() {
return this.data;
}
public void setData(String data) {
this.data = data;
}
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;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
@Override
public DescribeSiteMonitorDataResponse getInstance(UnmarshallerContext context) {
return DescribeSiteMonitorDataResponseUnmarshaller.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/DescribeSiteMonitorISPCityListRequest.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 DescribeSiteMonitorISPCityListRequest extends RpcAcsRequest<DescribeSiteMonitorISPCityListResponse> {
private String city;
private String isp;
private Boolean viewAll;
private Boolean iPV4;
private Boolean iPV6;
public DescribeSiteMonitorISPCityListRequest() {
super("Cms", "2019-01-01", "DescribeSiteMonitorISPCityList", "cms");
setMethod(MethodType.POST);
}
public String getCity() {
return this.city;
}
public void setCity(String city) {
this.city = city;
if(city != null){
putQueryParameter("City", city);
}
}
public String getIsp() {
return this.isp;
}
public void setIsp(String isp) {
this.isp = isp;
if(isp != null){
putQueryParameter("Isp", isp);
}
}
public Boolean getViewAll() {
return this.viewAll;
}
public void setViewAll(Boolean viewAll) {
this.viewAll = viewAll;
if(viewAll != null){
putQueryParameter("ViewAll", viewAll.toString());
}
}
public Boolean getIPV4() {
return this.iPV4;
}
public void setIPV4(Boolean iPV4) {
this.iPV4 = iPV4;
if(iPV4 != null){
putQueryParameter("IPV4", iPV4.toString());
}
}
public Boolean getIPV6() {
return this.iPV6;
}
public void setIPV6(Boolean iPV6) {
this.iPV6 = iPV6;
if(iPV6 != null){
putQueryParameter("IPV6", iPV6.toString());
}
}
@Override
public Class<DescribeSiteMonitorISPCityListResponse> getResponseClass() {
return DescribeSiteMonitorISPCityListResponse.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/DescribeSiteMonitorISPCityListResponse.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.DescribeSiteMonitorISPCityListResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeSiteMonitorISPCityListResponse extends AcsResponse {
private String code;
private String message;
private String requestId;
private String success;
private List<IspCity> ispCityList;
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;
}
public List<IspCity> getIspCityList() {
return this.ispCityList;
}
public void setIspCityList(List<IspCity> ispCityList) {
this.ispCityList = ispCityList;
}
public static class IspCity {
private String cityNameen;
private String iPV4ProbeCount;
private String city;
private String isp;
private String cityNamezh_CN;
private String regionzh_CN;
private String ispNamezh_CN;
private String countryen;
private String aPIProbeCount;
private String iPV6ProbeCount;
private String region;
private String country;
private String ispNameen;
private String regionen;
private String countryzh_CN;
private String areazh_CN;
private String areaen;
private List<String> iPPool;
public String getCityNameen() {
return this.cityNameen;
}
public void setCityNameen(String cityNameen) {
this.cityNameen = cityNameen;
}
public String getIPV4ProbeCount() {
return this.iPV4ProbeCount;
}
public void setIPV4ProbeCount(String iPV4ProbeCount) {
this.iPV4ProbeCount = iPV4ProbeCount;
}
public String getCity() {
return this.city;
}
public void setCity(String city) {
this.city = city;
}
public String getIsp() {
return this.isp;
}
public void setIsp(String isp) {
this.isp = isp;
}
public String getCityNamezh_CN() {
return this.cityNamezh_CN;
}
public void setCityNamezh_CN(String cityNamezh_CN) {
this.cityNamezh_CN = cityNamezh_CN;
}
public String getRegionzh_CN() {
return this.regionzh_CN;
}
public void setRegionzh_CN(String regionzh_CN) {
this.regionzh_CN = regionzh_CN;
}
public String getIspNamezh_CN() {
return this.ispNamezh_CN;
}
public void setIspNamezh_CN(String ispNamezh_CN) {
this.ispNamezh_CN = ispNamezh_CN;
}
public String getCountryen() {
return this.countryen;
}
public void setCountryen(String countryen) {
this.countryen = countryen;
}
public String getAPIProbeCount() {
return this.aPIProbeCount;
}
public void setAPIProbeCount(String aPIProbeCount) {
this.aPIProbeCount = aPIProbeCount;
}
public String getIPV6ProbeCount() {
return this.iPV6ProbeCount;
}
public void setIPV6ProbeCount(String iPV6ProbeCount) {
this.iPV6ProbeCount = iPV6ProbeCount;
}
public String getRegion() {
return this.region;
}
public void setRegion(String region) {
this.region = region;
}
public String getCountry() {
return this.country;
}
public void setCountry(String country) {
this.country = country;
}
public String getIspNameen() {
return this.ispNameen;
}
public void setIspNameen(String ispNameen) {
this.ispNameen = ispNameen;
}
public String getRegionen() {
return this.regionen;
}
public void setRegionen(String regionen) {
this.regionen = regionen;
}
public String getCountryzh_CN() {
return this.countryzh_CN;
}
public void setCountryzh_CN(String countryzh_CN) {
this.countryzh_CN = countryzh_CN;
}
public String getAreazh_CN() {
return this.areazh_CN;
}
public void setAreazh_CN(String areazh_CN) {
this.areazh_CN = areazh_CN;
}
public String getAreaen() {
return this.areaen;
}
public void setAreaen(String areaen) {
this.areaen = areaen;
}
public List<String> getIPPool() {
return this.iPPool;
}
public void setIPPool(List<String> iPPool) {
this.iPPool = iPPool;
}
}
@Override
public DescribeSiteMonitorISPCityListResponse getInstance(UnmarshallerContext context) {
return DescribeSiteMonitorISPCityListResponseUnmarshaller.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/DescribeSiteMonitorListRequest.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 DescribeSiteMonitorListRequest extends RpcAcsRequest<DescribeSiteMonitorListResponse> {
private String taskType;
private Integer pageSize;
private Integer page;
private String keyword;
private String taskId;
public DescribeSiteMonitorListRequest() {
super("Cms", "2019-01-01", "DescribeSiteMonitorList", "cms");
setMethod(MethodType.POST);
}
public String getTaskType() {
return this.taskType;
}
public void setTaskType(String taskType) {
this.taskType = taskType;
if(taskType != null){
putQueryParameter("TaskType", taskType);
}
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
if(pageSize != null){
putQueryParameter("PageSize", pageSize.toString());
}
}
public Integer getPage() {
return this.page;
}
public void setPage(Integer page) {
this.page = page;
if(page != null){
putQueryParameter("Page", page.toString());
}
}
public String getKeyword() {
return this.keyword;
}
public void setKeyword(String keyword) {
this.keyword = keyword;
if(keyword != null){
putQueryParameter("Keyword", keyword);
}
}
public String getTaskId() {
return this.taskId;
}
public void setTaskId(String taskId) {
this.taskId = taskId;
if(taskId != null){
putQueryParameter("TaskId", taskId);
}
}
@Override
public Class<DescribeSiteMonitorListResponse> getResponseClass() {
return DescribeSiteMonitorListResponse.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/DescribeSiteMonitorListResponse.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.DescribeSiteMonitorListResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeSiteMonitorListResponse extends AcsResponse {
private String requestId;
private String success;
private String code;
private String message;
private Integer pageNumber;
private Integer pageSize;
private Integer totalCount;
private List<SiteMonitor> siteMonitors;
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;
}
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 Integer getPageNumber() {
return this.pageNumber;
}
public void setPageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
}
public Integer getTotalCount() {
return this.totalCount;
}
public void setTotalCount(Integer totalCount) {
this.totalCount = totalCount;
}
public List<SiteMonitor> getSiteMonitors() {
return this.siteMonitors;
}
public void setSiteMonitors(List<SiteMonitor> siteMonitors) {
this.siteMonitors = siteMonitors;
}
public static class SiteMonitor {
private String endTime;
private String taskType;
private String updateTime;
private String interval;
private String taskState;
private String createTime;
private String taskName;
private String address;
private String taskId;
private OptionsJson optionsJson;
public String getEndTime() {
return this.endTime;
}
public void setEndTime(String endTime) {
this.endTime = endTime;
}
public String getTaskType() {
return this.taskType;
}
public void setTaskType(String taskType) {
this.taskType = taskType;
}
public String getUpdateTime() {
return this.updateTime;
}
public void setUpdateTime(String updateTime) {
this.updateTime = updateTime;
}
public String getInterval() {
return this.interval;
}
public void setInterval(String interval) {
this.interval = interval;
}
public String getTaskState() {
return this.taskState;
}
public void setTaskState(String taskState) {
this.taskState = taskState;
}
public String getCreateTime() {
return this.createTime;
}
public void setCreateTime(String createTime) {
this.createTime = createTime;
}
public String getTaskName() {
return this.taskName;
}
public void setTaskName(String taskName) {
this.taskName = taskName;
}
public String getAddress() {
return this.address;
}
public void setAddress(String address) {
this.address = address;
}
public String getTaskId() {
return this.taskId;
}
public void setTaskId(String taskId) {
this.taskId = taskId;
}
public OptionsJson getOptionsJson() {
return this.optionsJson;
}
public void setOptionsJson(OptionsJson optionsJson) {
this.optionsJson = optionsJson;
}
public static class OptionsJson {
private String password;
private String request_format;
private String expect_value;
private String response_content;
private Float failure_rate;
private Long time_out;
private String header;
private String cookie;
private Integer port;
private Integer ping_num;
private Integer authentication;
private String http_method;
private Integer match_rule;
private String dns_match_rule;
private String request_content;
private String username;
private Long traceroute;
private String response_format;
private String dns_type;
private String group_id;
private String dns_server;
private Boolean enable_operator_dns;
private Long attempts;
private String protocol;
private Boolean proxy_protocol;
private String acceptable_response_code;
private String isBase64Encode;
private Boolean cert_verify;
private Boolean unfollow_redirect;
private Boolean diagnosis_mtr;
private Boolean diagnosis_ping;
private Integer retry_delay;
private Boolean save_response_body;
private List<AssertionsItem> assertions;
public String getPassword() {
return this.password;
}
public void setPassword(String password) {
this.password = password;
}
public String getRequest_format() {
return this.request_format;
}
public void setRequest_format(String request_format) {
this.request_format = request_format;
}
public String getExpect_value() {
return this.expect_value;
}
public void setExpect_value(String expect_value) {
this.expect_value = expect_value;
}
public String getResponse_content() {
return this.response_content;
}
public void setResponse_content(String response_content) {
this.response_content = response_content;
}
public Float getFailure_rate() {
return this.failure_rate;
}
public void setFailure_rate(Float failure_rate) {
this.failure_rate = failure_rate;
}
public Long getTime_out() {
return this.time_out;
}
public void setTime_out(Long time_out) {
this.time_out = time_out;
}
public String getHeader() {
return this.header;
}
public void setHeader(String header) {
this.header = header;
}
public String getCookie() {
return this.cookie;
}
public void setCookie(String cookie) {
this.cookie = cookie;
}
public Integer getPort() {
return this.port;
}
public void setPort(Integer port) {
this.port = port;
}
public Integer getPing_num() {
return this.ping_num;
}
public void setPing_num(Integer ping_num) {
this.ping_num = ping_num;
}
public Integer getAuthentication() {
return this.authentication;
}
public void setAuthentication(Integer authentication) {
this.authentication = authentication;
}
public String getHttp_method() {
return this.http_method;
}
public void setHttp_method(String http_method) {
this.http_method = http_method;
}
public Integer getMatch_rule() {
return this.match_rule;
}
public void setMatch_rule(Integer match_rule) {
this.match_rule = match_rule;
}
public String getDns_match_rule() {
return this.dns_match_rule;
}
public void setDns_match_rule(String dns_match_rule) {
this.dns_match_rule = dns_match_rule;
}
public String getRequest_content() {
return this.request_content;
}
public void setRequest_content(String request_content) {
this.request_content = request_content;
}
public String getUsername() {
return this.username;
}
public void setUsername(String username) {
this.username = username;
}
public Long getTraceroute() {
return this.traceroute;
}
public void setTraceroute(Long traceroute) {
this.traceroute = traceroute;
}
public String getResponse_format() {
return this.response_format;
}
public void setResponse_format(String response_format) {
this.response_format = response_format;
}
public String getDns_type() {
return this.dns_type;
}
public void setDns_type(String dns_type) {
this.dns_type = dns_type;
}
public String getGroup_id() {
return this.group_id;
}
public void setGroup_id(String group_id) {
this.group_id = group_id;
}
public String getDns_server() {
return this.dns_server;
}
public void setDns_server(String dns_server) {
this.dns_server = dns_server;
}
public Boolean getEnable_operator_dns() {
return this.enable_operator_dns;
}
public void setEnable_operator_dns(Boolean enable_operator_dns) {
this.enable_operator_dns = enable_operator_dns;
}
public Long getAttempts() {
return this.attempts;
}
public void setAttempts(Long attempts) {
this.attempts = attempts;
}
public String getBizProtocol() {
return this.protocol;
}
public void setBizProtocol(String protocol) {
this.protocol = protocol;
}
public Boolean getProxy_protocol() {
return this.proxy_protocol;
}
public void setProxy_protocol(Boolean proxy_protocol) {
this.proxy_protocol = proxy_protocol;
}
public String getAcceptable_response_code() {
return this.acceptable_response_code;
}
public void setAcceptable_response_code(String acceptable_response_code) {
this.acceptable_response_code = acceptable_response_code;
}
public String getIsBase64Encode() {
return this.isBase64Encode;
}
public void setIsBase64Encode(String isBase64Encode) {
this.isBase64Encode = isBase64Encode;
}
public Boolean getCert_verify() {
return this.cert_verify;
}
public void setCert_verify(Boolean cert_verify) {
this.cert_verify = cert_verify;
}
public Boolean getUnfollow_redirect() {
return this.unfollow_redirect;
}
public void setUnfollow_redirect(Boolean unfollow_redirect) {
this.unfollow_redirect = unfollow_redirect;
}
public Boolean getDiagnosis_mtr() {
return this.diagnosis_mtr;
}
public void setDiagnosis_mtr(Boolean diagnosis_mtr) {
this.diagnosis_mtr = diagnosis_mtr;
}
public Boolean getDiagnosis_ping() {
return this.diagnosis_ping;
}
public void setDiagnosis_ping(Boolean diagnosis_ping) {
this.diagnosis_ping = diagnosis_ping;
}
public Integer getRetry_delay() {
return this.retry_delay;
}
public void setRetry_delay(Integer retry_delay) {
this.retry_delay = retry_delay;
}
public Boolean getSave_response_body() {
return this.save_response_body;
}
public void setSave_response_body(Boolean save_response_body) {
this.save_response_body = save_response_body;
}
public List<AssertionsItem> getAssertions() {
return this.assertions;
}
public void setAssertions(List<AssertionsItem> assertions) {
this.assertions = assertions;
}
public static class AssertionsItem {
private String property;
private String type;
private String operator;
private String target;
public String getProperty() {
return this.property;
}
public void setProperty(String property) {
this.property = property;
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public String getOperator() {
return this.operator;
}
public void setOperator(String operator) {
this.operator = operator;
}
public String getTarget() {
return this.target;
}
public void setTarget(String target) {
this.target = target;
}
}
}
}
@Override
public DescribeSiteMonitorListResponse getInstance(UnmarshallerContext context) {
return DescribeSiteMonitorListResponseUnmarshaller.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/DescribeSiteMonitorLogRequest.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 DescribeSiteMonitorLogRequest extends RpcAcsRequest<DescribeSiteMonitorLogResponse> {
private String city;
private String isp;
private String startTime;
private String taskIds;
private String nextToken;
private String metricName;
private Integer length;
private String endTime;
private String filter;
public DescribeSiteMonitorLogRequest() {
super("Cms", "2019-01-01", "DescribeSiteMonitorLog", "cms");
setMethod(MethodType.POST);
}
public String getCity() {
return this.city;
}
public void setCity(String city) {
this.city = city;
if(city != null){
putQueryParameter("City", city);
}
}
public String getIsp() {
return this.isp;
}
public void setIsp(String isp) {
this.isp = isp;
if(isp != null){
putQueryParameter("Isp", isp);
}
}
public String getStartTime() {
return this.startTime;
}
public void setStartTime(String startTime) {
this.startTime = startTime;
if(startTime != null){
putQueryParameter("StartTime", startTime);
}
}
public String getTaskIds() {
return this.taskIds;
}
public void setTaskIds(String taskIds) {
this.taskIds = taskIds;
if(taskIds != null){
putQueryParameter("TaskIds", taskIds);
}
}
public String getNextToken() {
return this.nextToken;
}
public void setNextToken(String nextToken) {
this.nextToken = nextToken;
if(nextToken != null){
putQueryParameter("NextToken", nextToken);
}
}
public String getMetricName() {
return this.metricName;
}
public void setMetricName(String metricName) {
this.metricName = metricName;
if(metricName != null){
putQueryParameter("MetricName", metricName);
}
}
public Integer getLength() {
return this.length;
}
public void setLength(Integer length) {
this.length = length;
if(length != null){
putQueryParameter("Length", length.toString());
}
}
public String getEndTime() {
return this.endTime;
}
public void setEndTime(String endTime) {
this.endTime = endTime;
if(endTime != null){
putQueryParameter("EndTime", endTime);
}
}
public String getFilter() {
return this.filter;
}
public void setFilter(String filter) {
this.filter = filter;
if(filter != null){
putQueryParameter("Filter", filter);
}
}
@Override
public Class<DescribeSiteMonitorLogResponse> getResponseClass() {
return DescribeSiteMonitorLogResponse.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/DescribeSiteMonitorLogResponse.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.DescribeSiteMonitorLogResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeSiteMonitorLogResponse extends AcsResponse {
private String nextToken;
private String data;
private String requestId;
private String success;
private String code;
private String message;
public String getNextToken() {
return this.nextToken;
}
public void setNextToken(String nextToken) {
this.nextToken = nextToken;
}
public String getData() {
return this.data;
}
public void setData(String data) {
this.data = data;
}
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;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
@Override
public DescribeSiteMonitorLogResponse getInstance(UnmarshallerContext context) {
return DescribeSiteMonitorLogResponseUnmarshaller.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/DescribeSiteMonitorQuotaRequest.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 DescribeSiteMonitorQuotaRequest extends RpcAcsRequest<DescribeSiteMonitorQuotaResponse> {
public DescribeSiteMonitorQuotaRequest() {
super("Cms", "2019-01-01", "DescribeSiteMonitorQuota", "cms");
setMethod(MethodType.POST);
}
@Override
public Class<DescribeSiteMonitorQuotaResponse> getResponseClass() {
return DescribeSiteMonitorQuotaResponse.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/DescribeSiteMonitorQuotaResponse.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.DescribeSiteMonitorQuotaResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeSiteMonitorQuotaResponse extends AcsResponse {
private String code;
private String message;
private String requestId;
private String success;
private Data data;
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public 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;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private Integer siteMonitorOperatorQuotaQuota;
private Boolean secondMonitor;
private Integer siteMonitorQuotaTaskUsed;
private Integer siteMonitorTaskQuota;
private String siteMonitorVersion;
private Integer siteMonitorIdcQuota;
public Integer getSiteMonitorOperatorQuotaQuota() {
return this.siteMonitorOperatorQuotaQuota;
}
public void setSiteMonitorOperatorQuotaQuota(Integer siteMonitorOperatorQuotaQuota) {
this.siteMonitorOperatorQuotaQuota = siteMonitorOperatorQuotaQuota;
}
public Boolean getSecondMonitor() {
return this.secondMonitor;
}
public void setSecondMonitor(Boolean secondMonitor) {
this.secondMonitor = secondMonitor;
}
public Integer getSiteMonitorQuotaTaskUsed() {
return this.siteMonitorQuotaTaskUsed;
}
public void setSiteMonitorQuotaTaskUsed(Integer siteMonitorQuotaTaskUsed) {
this.siteMonitorQuotaTaskUsed = siteMonitorQuotaTaskUsed;
}
public Integer getSiteMonitorTaskQuota() {
return this.siteMonitorTaskQuota;
}
public void setSiteMonitorTaskQuota(Integer siteMonitorTaskQuota) {
this.siteMonitorTaskQuota = siteMonitorTaskQuota;
}
public String getSiteMonitorVersion() {
return this.siteMonitorVersion;
}
public void setSiteMonitorVersion(String siteMonitorVersion) {
this.siteMonitorVersion = siteMonitorVersion;
}
public Integer getSiteMonitorIdcQuota() {
return this.siteMonitorIdcQuota;
}
public void setSiteMonitorIdcQuota(Integer siteMonitorIdcQuota) {
this.siteMonitorIdcQuota = siteMonitorIdcQuota;
}
}
@Override
public DescribeSiteMonitorQuotaResponse getInstance(UnmarshallerContext context) {
return DescribeSiteMonitorQuotaResponseUnmarshaller.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/DescribeSiteMonitorStatisticsRequest.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 DescribeSiteMonitorStatisticsRequest extends RpcAcsRequest<DescribeSiteMonitorStatisticsResponse> {
private String timeRange;
private String startTime;
private String metricName;
private String taskId;
public DescribeSiteMonitorStatisticsRequest() {
super("Cms", "2019-01-01", "DescribeSiteMonitorStatistics", "cms");
setMethod(MethodType.POST);
}
public String getTimeRange() {
return this.timeRange;
}
public void setTimeRange(String timeRange) {
this.timeRange = timeRange;
if(timeRange != null){
putQueryParameter("TimeRange", timeRange);
}
}
public String getStartTime() {
return this.startTime;
}
public void setStartTime(String startTime) {
this.startTime = startTime;
if(startTime != null){
putQueryParameter("StartTime", startTime);
}
}
public String getMetricName() {
return this.metricName;
}
public void setMetricName(String metricName) {
this.metricName = metricName;
if(metricName != null){
putQueryParameter("MetricName", metricName);
}
}
public String getTaskId() {
return this.taskId;
}
public void setTaskId(String taskId) {
this.taskId = taskId;
if(taskId != null){
putQueryParameter("TaskId", taskId);
}
}
@Override
public Class<DescribeSiteMonitorStatisticsResponse> getResponseClass() {
return DescribeSiteMonitorStatisticsResponse.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/DescribeSiteMonitorStatisticsResponse.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.DescribeSiteMonitorStatisticsResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeSiteMonitorStatisticsResponse extends AcsResponse {
private String code;
private String message;
private String data;
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 getData() {
return this.data;
}
public void setData(String data) {
this.data = data;
}
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 DescribeSiteMonitorStatisticsResponse getInstance(UnmarshallerContext context) {
return DescribeSiteMonitorStatisticsResponseUnmarshaller.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/DescribeSystemEventAttributeRequest.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 DescribeSystemEventAttributeRequest extends RpcAcsRequest<DescribeSystemEventAttributeResponse> {
private String startTime;
private String searchKeywords;
private Integer pageNumber;
private Integer pageSize;
private String product;
private String level;
private String groupId;
private String endTime;
private String name;
private String eventType;
private String status;
public DescribeSystemEventAttributeRequest() {
super("Cms", "2019-01-01", "DescribeSystemEventAttribute", "cms");
setMethod(MethodType.POST);
}
public String getStartTime() {
return this.startTime;
}
public void setStartTime(String startTime) {
this.startTime = startTime;
if(startTime != null){
putQueryParameter("StartTime", startTime);
}
}
public String getSearchKeywords() {
return this.searchKeywords;
}
public void setSearchKeywords(String searchKeywords) {
this.searchKeywords = searchKeywords;
if(searchKeywords != null){
putQueryParameter("SearchKeywords", searchKeywords);
}
}
public Integer getPageNumber() {
return this.pageNumber;
}
public void setPageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
if(pageNumber != null){
putQueryParameter("PageNumber", pageNumber.toString());
}
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
if(pageSize != null){
putQueryParameter("PageSize", pageSize.toString());
}
}
public String getProduct() {
return this.product;
}
public void setProduct(String product) {
this.product = product;
if(product != null){
putQueryParameter("Product", product);
}
}
public String getLevel() {
return this.level;
}
public void setLevel(String level) {
this.level = level;
if(level != null){
putQueryParameter("Level", level);
}
}
public String getGroupId() {
return this.groupId;
}
public void setGroupId(String groupId) {
this.groupId = groupId;
if(groupId != null){
putQueryParameter("GroupId", groupId);
}
}
public String getEndTime() {
return this.endTime;
}
public void setEndTime(String endTime) {
this.endTime = endTime;
if(endTime != null){
putQueryParameter("EndTime", endTime);
}
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
if(name != null){
putQueryParameter("Name", name);
}
}
public String getEventType() {
return this.eventType;
}
public void setEventType(String eventType) {
this.eventType = eventType;
if(eventType != null){
putQueryParameter("EventType", eventType);
}
}
public String getStatus() {
return this.status;
}
public void setStatus(String status) {
this.status = status;
if(status != null){
putQueryParameter("Status", status);
}
}
@Override
public Class<DescribeSystemEventAttributeResponse> getResponseClass() {
return DescribeSystemEventAttributeResponse.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/DescribeSystemEventAttributeResponse.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.DescribeSystemEventAttributeResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeSystemEventAttributeResponse extends AcsResponse {
private String code;
private String message;
private String requestId;
private String success;
private List<SystemEvent> systemEvents;
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;
}
public List<SystemEvent> getSystemEvents() {
return this.systemEvents;
}
public void setSystemEvents(List<SystemEvent> systemEvents) {
this.systemEvents = systemEvents;
}
public static class SystemEvent {
private String status;
private Long time;
private String groupId;
private String product;
private String instanceName;
private String resourceId;
private String name;
private String content;
private String level;
private String regionId;
public String getStatus() {
return this.status;
}
public void setStatus(String status) {
this.status = status;
}
public Long getTime() {
return this.time;
}
public void setTime(Long time) {
this.time = time;
}
public String getGroupId() {
return this.groupId;
}
public void setGroupId(String groupId) {
this.groupId = groupId;
}
public String getProduct() {
return this.product;
}
public void setProduct(String product) {
this.product = product;
}
public String getInstanceName() {
return this.instanceName;
}
public void setInstanceName(String instanceName) {
this.instanceName = instanceName;
}
public String getResourceId() {
return this.resourceId;
}
public void setResourceId(String resourceId) {
this.resourceId = resourceId;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getContent() {
return this.content;
}
public void setContent(String content) {
this.content = content;
}
public String getLevel() {
return this.level;
}
public void setLevel(String level) {
this.level = level;
}
public String getRegionId() {
return this.regionId;
}
public void setRegionId(String regionId) {
this.regionId = regionId;
}
}
@Override
public DescribeSystemEventAttributeResponse getInstance(UnmarshallerContext context) {
return DescribeSystemEventAttributeResponseUnmarshaller.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/DescribeSystemEventCountRequest.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 DescribeSystemEventCountRequest extends RpcAcsRequest<DescribeSystemEventCountResponse> {
private String startTime;
private String searchKeywords;
private String product;
private String level;
private String groupId;
private String endTime;
private String name;
private String eventType;
private String status;
public DescribeSystemEventCountRequest() {
super("Cms", "2019-01-01", "DescribeSystemEventCount", "cms");
setMethod(MethodType.POST);
}
public String getStartTime() {
return this.startTime;
}
public void setStartTime(String startTime) {
this.startTime = startTime;
if(startTime != null){
putQueryParameter("StartTime", startTime);
}
}
public String getSearchKeywords() {
return this.searchKeywords;
}
public void setSearchKeywords(String searchKeywords) {
this.searchKeywords = searchKeywords;
if(searchKeywords != null){
putQueryParameter("SearchKeywords", searchKeywords);
}
}
public String getProduct() {
return this.product;
}
public void setProduct(String product) {
this.product = product;
if(product != null){
putQueryParameter("Product", product);
}
}
public String getLevel() {
return this.level;
}
public void setLevel(String level) {
this.level = level;
if(level != null){
putQueryParameter("Level", level);
}
}
public String getGroupId() {
return this.groupId;
}
public void setGroupId(String groupId) {
this.groupId = groupId;
if(groupId != null){
putQueryParameter("GroupId", groupId);
}
}
public String getEndTime() {
return this.endTime;
}
public void setEndTime(String endTime) {
this.endTime = endTime;
if(endTime != null){
putQueryParameter("EndTime", endTime);
}
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
if(name != null){
putQueryParameter("Name", name);
}
}
public String getEventType() {
return this.eventType;
}
public void setEventType(String eventType) {
this.eventType = eventType;
if(eventType != null){
putQueryParameter("EventType", eventType);
}
}
public String getStatus() {
return this.status;
}
public void setStatus(String status) {
this.status = status;
if(status != null){
putQueryParameter("Status", status);
}
}
@Override
public Class<DescribeSystemEventCountResponse> getResponseClass() {
return DescribeSystemEventCountResponse.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/DescribeSystemEventCountResponse.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.DescribeSystemEventCountResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeSystemEventCountResponse extends AcsResponse {
private String code;
private String message;
private String requestId;
private String success;
private List<SystemEventCount> systemEventCounts;
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;
}
public List<SystemEventCount> getSystemEventCounts() {
return this.systemEventCounts;
}
public void setSystemEventCounts(List<SystemEventCount> systemEventCounts) {
this.systemEventCounts = systemEventCounts;
}
public static class SystemEventCount {
private String status;
private Long time;
private String groupId;
private String product;
private String instanceName;
private Long num;
private String resourceId;
private String name;
private String content;
private String level;
private String regionId;
public String getStatus() {
return this.status;
}
public void setStatus(String status) {
this.status = status;
}
public Long getTime() {
return this.time;
}
public void setTime(Long time) {
this.time = time;
}
public String getGroupId() {
return this.groupId;
}
public void setGroupId(String groupId) {
this.groupId = groupId;
}
public String getProduct() {
return this.product;
}
public void setProduct(String product) {
this.product = product;
}
public String getInstanceName() {
return this.instanceName;
}
public void setInstanceName(String instanceName) {
this.instanceName = instanceName;
}
public Long getNum() {
return this.num;
}
public void setNum(Long num) {
this.num = num;
}
public String getResourceId() {
return this.resourceId;
}
public void setResourceId(String resourceId) {
this.resourceId = resourceId;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getContent() {
return this.content;
}
public void setContent(String content) {
this.content = content;
}
public String getLevel() {
return this.level;
}
public void setLevel(String level) {
this.level = level;
}
public String getRegionId() {
return this.regionId;
}
public void setRegionId(String regionId) {
this.regionId = regionId;
}
}
@Override
public DescribeSystemEventCountResponse getInstance(UnmarshallerContext context) {
return DescribeSystemEventCountResponseUnmarshaller.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/DescribeSystemEventHistogramRequest.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 DescribeSystemEventHistogramRequest extends RpcAcsRequest<DescribeSystemEventHistogramResponse> {
private String startTime;
private String searchKeywords;
private String product;
private String level;
private String groupId;
private String endTime;
private String name;
private String eventType;
private String status;
public DescribeSystemEventHistogramRequest() {
super("Cms", "2019-01-01", "DescribeSystemEventHistogram", "cms");
setMethod(MethodType.POST);
}
public String getStartTime() {
return this.startTime;
}
public void setStartTime(String startTime) {
this.startTime = startTime;
if(startTime != null){
putQueryParameter("StartTime", startTime);
}
}
public String getSearchKeywords() {
return this.searchKeywords;
}
public void setSearchKeywords(String searchKeywords) {
this.searchKeywords = searchKeywords;
if(searchKeywords != null){
putQueryParameter("SearchKeywords", searchKeywords);
}
}
public String getProduct() {
return this.product;
}
public void setProduct(String product) {
this.product = product;
if(product != null){
putQueryParameter("Product", product);
}
}
public String getLevel() {
return this.level;
}
public void setLevel(String level) {
this.level = level;
if(level != null){
putQueryParameter("Level", level);
}
}
public String getGroupId() {
return this.groupId;
}
public void setGroupId(String groupId) {
this.groupId = groupId;
if(groupId != null){
putQueryParameter("GroupId", groupId);
}
}
public String getEndTime() {
return this.endTime;
}
public void setEndTime(String endTime) {
this.endTime = endTime;
if(endTime != null){
putQueryParameter("EndTime", endTime);
}
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
if(name != null){
putQueryParameter("Name", name);
}
}
public String getEventType() {
return this.eventType;
}
public void setEventType(String eventType) {
this.eventType = eventType;
if(eventType != null){
putQueryParameter("EventType", eventType);
}
}
public String getStatus() {
return this.status;
}
public void setStatus(String status) {
this.status = status;
if(status != null){
putQueryParameter("Status", status);
}
}
@Override
public Class<DescribeSystemEventHistogramResponse> getResponseClass() {
return DescribeSystemEventHistogramResponse.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/DescribeSystemEventHistogramResponse.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.DescribeSystemEventHistogramResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeSystemEventHistogramResponse extends AcsResponse {
private String code;
private String message;
private String requestId;
private String success;
private List<SystemEventHistogram> systemEventHistograms;
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;
}
public List<SystemEventHistogram> getSystemEventHistograms() {
return this.systemEventHistograms;
}
public void setSystemEventHistograms(List<SystemEventHistogram> systemEventHistograms) {
this.systemEventHistograms = systemEventHistograms;
}
public static class SystemEventHistogram {
private Long endTime;
private Long startTime;
private Long count;
public Long getEndTime() {
return this.endTime;
}
public void setEndTime(Long endTime) {
this.endTime = endTime;
}
public Long getStartTime() {
return this.startTime;
}
public void setStartTime(Long startTime) {
this.startTime = startTime;
}
public Long getCount() {
return this.count;
}
public void setCount(Long count) {
this.count = count;
}
}
@Override
public DescribeSystemEventHistogramResponse getInstance(UnmarshallerContext context) {
return DescribeSystemEventHistogramResponseUnmarshaller.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/DescribeSystemEventMetaListRequest.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 DescribeSystemEventMetaListRequest extends RpcAcsRequest<DescribeSystemEventMetaListResponse> {
public DescribeSystemEventMetaListRequest() {
super("Cms", "2019-01-01", "DescribeSystemEventMetaList", "cms");
setMethod(MethodType.POST);
}
@Override
public Class<DescribeSystemEventMetaListResponse> getResponseClass() {
return DescribeSystemEventMetaListResponse.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/DescribeSystemEventMetaListResponse.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.DescribeSystemEventMetaListResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeSystemEventMetaListResponse extends AcsResponse {
private Integer code;
private String message;
private String requestId;
private Boolean success;
private List<Resource> data;
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;
}
public List<Resource> getData() {
return this.data;
}
public void setData(List<Resource> data) {
this.data = data;
}
public static class Resource {
private String status;
private String eventType;
private String product;
private String nameDesc;
private String nameDescEn;
private String name;
private String statusDesc;
private String level;
public String getStatus() {
return this.status;
}
public void setStatus(String status) {
this.status = status;
}
public String getEventType() {
return this.eventType;
}
public void setEventType(String eventType) {
this.eventType = eventType;
}
public String getProduct() {
return this.product;
}
public void setProduct(String product) {
this.product = product;
}
public String getNameDesc() {
return this.nameDesc;
}
public void setNameDesc(String nameDesc) {
this.nameDesc = nameDesc;
}
public String getNameDescEn() {
return this.nameDescEn;
}
public void setNameDescEn(String nameDescEn) {
this.nameDescEn = nameDescEn;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getStatusDesc() {
return this.statusDesc;
}
public void setStatusDesc(String statusDesc) {
this.statusDesc = statusDesc;
}
public String getLevel() {
return this.level;
}
public void setLevel(String level) {
this.level = level;
}
}
@Override
public DescribeSystemEventMetaListResponse getInstance(UnmarshallerContext context) {
return DescribeSystemEventMetaListResponseUnmarshaller.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/DescribeTagKeyListRequest.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 DescribeTagKeyListRequest extends RpcAcsRequest<DescribeTagKeyListResponse> {
private Integer pageNumber;
private Integer pageSize;
public DescribeTagKeyListRequest() {
super("Cms", "2019-01-01", "DescribeTagKeyList", "cms");
setMethod(MethodType.POST);
}
public Integer getPageNumber() {
return this.pageNumber;
}
public void setPageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
if(pageNumber != null){
putQueryParameter("PageNumber", pageNumber.toString());
}
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
if(pageSize != null){
putQueryParameter("PageSize", pageSize.toString());
}
}
@Override
public Class<DescribeTagKeyListResponse> getResponseClass() {
return DescribeTagKeyListResponse.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/DescribeTagKeyListResponse.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.DescribeTagKeyListResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeTagKeyListResponse extends AcsResponse {
private String code;
private String message;
private String requestId;
private Boolean success;
private List<String> tagKeys;
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> getTagKeys() {
return this.tagKeys;
}
public void setTagKeys(List<String> tagKeys) {
this.tagKeys = tagKeys;
}
@Override
public DescribeTagKeyListResponse getInstance(UnmarshallerContext context) {
return DescribeTagKeyListResponseUnmarshaller.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/DescribeTagValueListRequest.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 DescribeTagValueListRequest extends RpcAcsRequest<DescribeTagValueListResponse> {
private Integer pageNumber;
private Integer pageSize;
private String tagKey;
public DescribeTagValueListRequest() {
super("Cms", "2019-01-01", "DescribeTagValueList", "cms");
setMethod(MethodType.POST);
}
public Integer getPageNumber() {
return this.pageNumber;
}
public void setPageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
if(pageNumber != null){
putQueryParameter("PageNumber", pageNumber.toString());
}
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
if(pageSize != null){
putQueryParameter("PageSize", pageSize.toString());
}
}
public String getTagKey() {
return this.tagKey;
}
public void setTagKey(String tagKey) {
this.tagKey = tagKey;
if(tagKey != null){
putQueryParameter("TagKey", tagKey);
}
}
@Override
public Class<DescribeTagValueListResponse> getResponseClass() {
return DescribeTagValueListResponse.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/DescribeTagValueListResponse.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.DescribeTagValueListResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeTagValueListResponse extends AcsResponse {
private String code;
private String message;
private String requestId;
private Boolean success;
private List<String> tagValues;
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> getTagValues() {
return this.tagValues;
}
public void setTagValues(List<String> tagValues) {
this.tagValues = tagValues;
}
@Override
public DescribeTagValueListResponse getInstance(UnmarshallerContext context) {
return DescribeTagValueListResponseUnmarshaller.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/DescribeUnhealthyHostAvailabilityRequest.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 DescribeUnhealthyHostAvailabilityRequest extends RpcAcsRequest<DescribeUnhealthyHostAvailabilityResponse> {
private List<Long> ids;
public DescribeUnhealthyHostAvailabilityRequest() {
super("Cms", "2019-01-01", "DescribeUnhealthyHostAvailability", "cms");
setMethod(MethodType.POST);
}
public List<Long> getIds() {
return this.ids;
}
public void setIds(List<Long> ids) {
this.ids = ids;
if (ids != null) {
for (int i = 0; i < ids.size(); i++) {
putQueryParameter("Id." + (i + 1) , ids.get(i));
}
}
}
@Override
public Class<DescribeUnhealthyHostAvailabilityResponse> getResponseClass() {
return DescribeUnhealthyHostAvailabilityResponse.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/DescribeUnhealthyHostAvailabilityResponse.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.DescribeUnhealthyHostAvailabilityResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeUnhealthyHostAvailabilityResponse extends AcsResponse {
private String code;
private String message;
private String requestId;
private Boolean success;
private List<NodeTaskInstance> unhealthyList;
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<NodeTaskInstance> getUnhealthyList() {
return this.unhealthyList;
}
public void setUnhealthyList(List<NodeTaskInstance> unhealthyList) {
this.unhealthyList = unhealthyList;
}
public static class NodeTaskInstance {
private Long id;
private List<String> instanceList;
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public List<String> getInstanceList() {
return this.instanceList;
}
public void setInstanceList(List<String> instanceList) {
this.instanceList = instanceList;
}
}
@Override
public DescribeUnhealthyHostAvailabilityResponse getInstance(UnmarshallerContext context) {
return DescribeUnhealthyHostAvailabilityResponseUnmarshaller.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/DisableActiveMetricRuleRequest.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 DisableActiveMetricRuleRequest extends RpcAcsRequest<DisableActiveMetricRuleResponse> {
private String product;
public DisableActiveMetricRuleRequest() {
super("Cms", "2019-01-01", "DisableActiveMetricRule", "cms");
setMethod(MethodType.POST);
}
public String getProduct() {
return this.product;
}
public void setProduct(String product) {
this.product = product;
if(product != null){
putQueryParameter("Product", product);
}
}
@Override
public Class<DisableActiveMetricRuleResponse> getResponseClass() {
return DisableActiveMetricRuleResponse.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/DisableActiveMetricRuleResponse.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.DisableActiveMetricRuleResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DisableActiveMetricRuleResponse 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 DisableActiveMetricRuleResponse getInstance(UnmarshallerContext context) {
return DisableActiveMetricRuleResponseUnmarshaller.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/DisableEventRulesRequest.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 DisableEventRulesRequest extends RpcAcsRequest<DisableEventRulesResponse> {
private List<String> ruleNamess;
public DisableEventRulesRequest() {
super("Cms", "2019-01-01", "DisableEventRules", "cms");
setMethod(MethodType.POST);
}
public List<String> getRuleNamess() {
return this.ruleNamess;
}
public void setRuleNamess(List<String> ruleNamess) {
this.ruleNamess = ruleNamess;
if (ruleNamess != null) {
for (int i = 0; i < ruleNamess.size(); i++) {
putQueryParameter("RuleNames." + (i + 1) , ruleNamess.get(i));
}
}
}
@Override
public Class<DisableEventRulesResponse> getResponseClass() {
return DisableEventRulesResponse.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/DisableEventRulesResponse.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.DisableEventRulesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DisableEventRulesResponse 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 DisableEventRulesResponse getInstance(UnmarshallerContext context) {
return DisableEventRulesResponseUnmarshaller.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/DisableHostAvailabilityRequest.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 DisableHostAvailabilityRequest extends RpcAcsRequest<DisableHostAvailabilityResponse> {
private List<Long> ids;
public DisableHostAvailabilityRequest() {
super("Cms", "2019-01-01", "DisableHostAvailability", "cms");
setMethod(MethodType.POST);
}
public List<Long> getIds() {
return this.ids;
}
public void setIds(List<Long> ids) {
this.ids = ids;
if (ids != null) {
for (int i = 0; i < ids.size(); i++) {
putQueryParameter("Id." + (i + 1) , ids.get(i));
}
}
}
@Override
public Class<DisableHostAvailabilityResponse> getResponseClass() {
return DisableHostAvailabilityResponse.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/DisableHostAvailabilityResponse.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.DisableHostAvailabilityResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DisableHostAvailabilityResponse 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 DisableHostAvailabilityResponse getInstance(UnmarshallerContext context) {
return DisableHostAvailabilityResponseUnmarshaller.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/DisableMetricRulesRequest.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 DisableMetricRulesRequest extends RpcAcsRequest<DisableMetricRulesResponse> {
private List<String> ruleIds;
public DisableMetricRulesRequest() {
super("Cms", "2019-01-01", "DisableMetricRules", "cms");
setMethod(MethodType.POST);
}
public List<String> getRuleIds() {
return this.ruleIds;
}
public void setRuleIds(List<String> ruleIds) {
this.ruleIds = ruleIds;
if (ruleIds != null) {
for (int i = 0; i < ruleIds.size(); i++) {
putQueryParameter("RuleId." + (i + 1) , ruleIds.get(i));
}
}
}
@Override
public Class<DisableMetricRulesResponse> getResponseClass() {
return DisableMetricRulesResponse.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/DisableMetricRulesResponse.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.DisableMetricRulesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DisableMetricRulesResponse 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 DisableMetricRulesResponse getInstance(UnmarshallerContext context) {
return DisableMetricRulesResponseUnmarshaller.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/DisableSiteMonitorsRequest.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 DisableSiteMonitorsRequest extends RpcAcsRequest<DisableSiteMonitorsResponse> {
private String taskIds;
public DisableSiteMonitorsRequest() {
super("Cms", "2019-01-01", "DisableSiteMonitors", "cms");
setMethod(MethodType.POST);
}
public String getTaskIds() {
return this.taskIds;
}
public void setTaskIds(String taskIds) {
this.taskIds = taskIds;
if(taskIds != null){
putQueryParameter("TaskIds", taskIds);
}
}
@Override
public Class<DisableSiteMonitorsResponse> getResponseClass() {
return DisableSiteMonitorsResponse.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/DisableSiteMonitorsResponse.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.DisableSiteMonitorsResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DisableSiteMonitorsResponse extends AcsResponse {
private String code;
private String message;
private String requestId;
private String success;
private Data data;
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public 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;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private Integer count;
public Integer getCount() {
return this.count;
}
public void setCount(Integer count) {
this.count = count;
}
}
@Override
public DisableSiteMonitorsResponse getInstance(UnmarshallerContext context) {
return DisableSiteMonitorsResponseUnmarshaller.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/EnableActiveMetricRuleRequest.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 EnableActiveMetricRuleRequest extends RpcAcsRequest<EnableActiveMetricRuleResponse> {
private String product;
public EnableActiveMetricRuleRequest() {
super("Cms", "2019-01-01", "EnableActiveMetricRule", "cms");
setMethod(MethodType.POST);
}
public String getProduct() {
return this.product;
}
public void setProduct(String product) {
this.product = product;
if(product != null){
putQueryParameter("Product", product);
}
}
@Override
public Class<EnableActiveMetricRuleResponse> getResponseClass() {
return EnableActiveMetricRuleResponse.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/EnableActiveMetricRuleResponse.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.EnableActiveMetricRuleResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class EnableActiveMetricRuleResponse 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 EnableActiveMetricRuleResponse getInstance(UnmarshallerContext context) {
return EnableActiveMetricRuleResponseUnmarshaller.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/EnableEventRulesRequest.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 EnableEventRulesRequest extends RpcAcsRequest<EnableEventRulesResponse> {
private List<String> ruleNamess;
public EnableEventRulesRequest() {
super("Cms", "2019-01-01", "EnableEventRules", "cms");
setMethod(MethodType.POST);
}
public List<String> getRuleNamess() {
return this.ruleNamess;
}
public void setRuleNamess(List<String> ruleNamess) {
this.ruleNamess = ruleNamess;
if (ruleNamess != null) {
for (int i = 0; i < ruleNamess.size(); i++) {
putQueryParameter("RuleNames." + (i + 1) , ruleNamess.get(i));
}
}
}
@Override
public Class<EnableEventRulesResponse> getResponseClass() {
return EnableEventRulesResponse.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/EnableEventRulesResponse.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.EnableEventRulesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class EnableEventRulesResponse 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 EnableEventRulesResponse getInstance(UnmarshallerContext context) {
return EnableEventRulesResponseUnmarshaller.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/EnableHostAvailabilityRequest.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 EnableHostAvailabilityRequest extends RpcAcsRequest<EnableHostAvailabilityResponse> {
private List<Long> ids;
public EnableHostAvailabilityRequest() {
super("Cms", "2019-01-01", "EnableHostAvailability", "cms");
setMethod(MethodType.POST);
}
public List<Long> getIds() {
return this.ids;
}
public void setIds(List<Long> ids) {
this.ids = ids;
if (ids != null) {
for (int i = 0; i < ids.size(); i++) {
putQueryParameter("Id." + (i + 1) , ids.get(i));
}
}
}
@Override
public Class<EnableHostAvailabilityResponse> getResponseClass() {
return EnableHostAvailabilityResponse.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/EnableHostAvailabilityResponse.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.EnableHostAvailabilityResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class EnableHostAvailabilityResponse 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 EnableHostAvailabilityResponse getInstance(UnmarshallerContext context) {
return EnableHostAvailabilityResponseUnmarshaller.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/EnableMetricRuleBlackListRequest.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 EnableMetricRuleBlackListRequest extends RpcAcsRequest<EnableMetricRuleBlackListResponse> {
private Boolean isEnable;
private String id;
public EnableMetricRuleBlackListRequest() {
super("Cms", "2019-01-01", "EnableMetricRuleBlackList", "cms");
setMethod(MethodType.POST);
}
public Boolean getIsEnable() {
return this.isEnable;
}
public void setIsEnable(Boolean isEnable) {
this.isEnable = isEnable;
if(isEnable != null){
putQueryParameter("IsEnable", isEnable.toString());
}
}
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
if(id != null){
putQueryParameter("Id", id);
}
}
@Override
public Class<EnableMetricRuleBlackListResponse> getResponseClass() {
return EnableMetricRuleBlackListResponse.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/EnableMetricRuleBlackListResponse.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.EnableMetricRuleBlackListResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class EnableMetricRuleBlackListResponse extends AcsResponse {
private String code;
private String message;
private String requestId;
private Boolean success;
private Integer count;
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 Integer getCount() {
return this.count;
}
public void setCount(Integer count) {
this.count = count;
}
@Override
public EnableMetricRuleBlackListResponse getInstance(UnmarshallerContext context) {
return EnableMetricRuleBlackListResponseUnmarshaller.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/EnableMetricRulesRequest.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 EnableMetricRulesRequest extends RpcAcsRequest<EnableMetricRulesResponse> {
private List<String> ruleIds;
public EnableMetricRulesRequest() {
super("Cms", "2019-01-01", "EnableMetricRules", "cms");
setMethod(MethodType.POST);
}
public List<String> getRuleIds() {
return this.ruleIds;
}
public void setRuleIds(List<String> ruleIds) {
this.ruleIds = ruleIds;
if (ruleIds != null) {
for (int i = 0; i < ruleIds.size(); i++) {
putQueryParameter("RuleId." + (i + 1) , ruleIds.get(i));
}
}
}
@Override
public Class<EnableMetricRulesResponse> getResponseClass() {
return EnableMetricRulesResponse.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/EnableMetricRulesResponse.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.EnableMetricRulesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class EnableMetricRulesResponse 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 EnableMetricRulesResponse getInstance(UnmarshallerContext context) {
return EnableMetricRulesResponseUnmarshaller.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/EnableSiteMonitorsRequest.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 EnableSiteMonitorsRequest extends RpcAcsRequest<EnableSiteMonitorsResponse> {
private String taskIds;
public EnableSiteMonitorsRequest() {
super("Cms", "2019-01-01", "EnableSiteMonitors", "cms");
setMethod(MethodType.POST);
}
public String getTaskIds() {
return this.taskIds;
}
public void setTaskIds(String taskIds) {
this.taskIds = taskIds;
if(taskIds != null){
putQueryParameter("TaskIds", taskIds);
}
}
@Override
public Class<EnableSiteMonitorsResponse> getResponseClass() {
return EnableSiteMonitorsResponse.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/EnableSiteMonitorsResponse.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.EnableSiteMonitorsResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class EnableSiteMonitorsResponse extends AcsResponse {
private String code;
private String message;
private String requestId;
private String success;
private Data data;
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public 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;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private Integer count;
public Integer getCount() {
return this.count;
}
public void setCount(Integer count) {
this.count = count;
}
}
@Override
public EnableSiteMonitorsResponse getInstance(UnmarshallerContext context) {
return EnableSiteMonitorsResponseUnmarshaller.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/InstallMonitoringAgentRequest.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 InstallMonitoringAgentRequest extends RpcAcsRequest<InstallMonitoringAgentResponse> {
private List<String> instanceIdss;
private Boolean force;
private String installCommand;
public InstallMonitoringAgentRequest() {
super("Cms", "2019-01-01", "InstallMonitoringAgent", "cms");
setMethod(MethodType.POST);
}
public List<String> getInstanceIdss() {
return this.instanceIdss;
}
public void setInstanceIdss(List<String> instanceIdss) {
this.instanceIdss = instanceIdss;
if (instanceIdss != null) {
for (int i = 0; i < instanceIdss.size(); i++) {
putQueryParameter("InstanceIds." + (i + 1) , instanceIdss.get(i));
}
}
}
public Boolean getForce() {
return this.force;
}
public void setForce(Boolean force) {
this.force = force;
if(force != null){
putQueryParameter("Force", force.toString());
}
}
public String getInstallCommand() {
return this.installCommand;
}
public void setInstallCommand(String installCommand) {
this.installCommand = installCommand;
if(installCommand != null){
putQueryParameter("InstallCommand", installCommand);
}
}
@Override
public Class<InstallMonitoringAgentResponse> getResponseClass() {
return InstallMonitoringAgentResponse.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/InstallMonitoringAgentResponse.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.InstallMonitoringAgentResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class InstallMonitoringAgentResponse 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 InstallMonitoringAgentResponse getInstance(UnmarshallerContext context) {
return InstallMonitoringAgentResponseUnmarshaller.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/ModifyGroupMonitoringAgentProcessRequest.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 ModifyGroupMonitoringAgentProcessRequest extends RpcAcsRequest<ModifyGroupMonitoringAgentProcessResponse> {
private List<AlertConfig> alertConfigs;
private String groupId;
private String matchExpressFilterRelation;
private String id;
public ModifyGroupMonitoringAgentProcessRequest() {
super("Cms", "2019-01-01", "ModifyGroupMonitoringAgentProcess", "cms");
setMethod(MethodType.POST);
}
public List<AlertConfig> getAlertConfigs() {
return this.alertConfigs;
}
public void setAlertConfigs(List<AlertConfig> alertConfigs) {
this.alertConfigs = alertConfigs;
if (alertConfigs != null) {
for (int depth1 = 0; depth1 < alertConfigs.size(); depth1++) {
putQueryParameter("AlertConfig." + (depth1 + 1) + ".Times" , alertConfigs.get(depth1).getTimes());
putQueryParameter("AlertConfig." + (depth1 + 1) + ".Webhook" , alertConfigs.get(depth1).getWebhook());
putQueryParameter("AlertConfig." + (depth1 + 1) + ".NoEffectiveInterval" , alertConfigs.get(depth1).getNoEffectiveInterval());
putQueryParameter("AlertConfig." + (depth1 + 1) + ".SilenceTime" , alertConfigs.get(depth1).getSilenceTime());
putQueryParameter("AlertConfig." + (depth1 + 1) + ".Threshold" , alertConfigs.get(depth1).getThreshold());
putQueryParameter("AlertConfig." + (depth1 + 1) + ".ComparisonOperator" , alertConfigs.get(depth1).getComparisonOperator());
putQueryParameter("AlertConfig." + (depth1 + 1) + ".EffectiveInterval" , alertConfigs.get(depth1).getEffectiveInterval());
putQueryParameter("AlertConfig." + (depth1 + 1) + ".EscalationsLevel" , alertConfigs.get(depth1).getEscalationsLevel());
putQueryParameter("AlertConfig." + (depth1 + 1) + ".Statistics" , alertConfigs.get(depth1).getStatistics());
}
}
}
public String getGroupId() {
return this.groupId;
}
public void setGroupId(String groupId) {
this.groupId = groupId;
if(groupId != null){
putQueryParameter("GroupId", groupId);
}
}
public String getMatchExpressFilterRelation() {
return this.matchExpressFilterRelation;
}
public void setMatchExpressFilterRelation(String matchExpressFilterRelation) {
this.matchExpressFilterRelation = matchExpressFilterRelation;
if(matchExpressFilterRelation != null){
putQueryParameter("MatchExpressFilterRelation", matchExpressFilterRelation);
}
}
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
if(id != null){
putQueryParameter("Id", id);
}
}
public static class AlertConfig {
private String times;
private String webhook;
private String noEffectiveInterval;
private String silenceTime;
private String threshold;
private String comparisonOperator;
private String effectiveInterval;
private String escalationsLevel;
private String statistics;
public String getTimes() {
return this.times;
}
public void setTimes(String times) {
this.times = times;
}
public String getWebhook() {
return this.webhook;
}
public void setWebhook(String webhook) {
this.webhook = webhook;
}
public String getNoEffectiveInterval() {
return this.noEffectiveInterval;
}
public void setNoEffectiveInterval(String noEffectiveInterval) {
this.noEffectiveInterval = noEffectiveInterval;
}
public String getSilenceTime() {
return this.silenceTime;
}
public void setSilenceTime(String silenceTime) {
this.silenceTime = silenceTime;
}
public String getThreshold() {
return this.threshold;
}
public void setThreshold(String threshold) {
this.threshold = threshold;
}
public String getComparisonOperator() {
return this.comparisonOperator;
}
public void setComparisonOperator(String comparisonOperator) {
this.comparisonOperator = comparisonOperator;
}
public String getEffectiveInterval() {
return this.effectiveInterval;
}
public void setEffectiveInterval(String effectiveInterval) {
this.effectiveInterval = effectiveInterval;
}
public String getEscalationsLevel() {
return this.escalationsLevel;
}
public void setEscalationsLevel(String escalationsLevel) {
this.escalationsLevel = escalationsLevel;
}
public String getStatistics() {
return this.statistics;
}
public void setStatistics(String statistics) {
this.statistics = statistics;
}
}
@Override
public Class<ModifyGroupMonitoringAgentProcessResponse> getResponseClass() {
return ModifyGroupMonitoringAgentProcessResponse.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/ModifyGroupMonitoringAgentProcessResponse.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.ModifyGroupMonitoringAgentProcessResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ModifyGroupMonitoringAgentProcessResponse 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 ModifyGroupMonitoringAgentProcessResponse getInstance(UnmarshallerContext context) {
return ModifyGroupMonitoringAgentProcessResponseUnmarshaller.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/ModifyHostAvailabilityRequest.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 ModifyHostAvailabilityRequest extends RpcAcsRequest<ModifyHostAvailabilityResponse> {
private String taskOptionHttpMethod;
private String taskOptionHttpHeader;
private List<AlertConfigEscalationList> alertConfigEscalationLists;
private String taskName;
private Integer alertConfigSilenceTime;
private String taskOptionHttpResponseCharset;
private Boolean taskOptionHttpNegative;
private Integer taskOptionInterval;
private Integer alertConfigNotifyType;
private String taskOptionTelnetOrPingHost;
private String taskOptionHttpResponseMatchContent;
private Long id;
private List<String> instanceLists;
private Long groupId;
private Integer alertConfigEndTime;
private String taskOptionHttpURI;
private String taskScope;
private String taskOptionHttpPostContent;
private Integer alertConfigStartTime;
private String alertConfigWebHook;
public ModifyHostAvailabilityRequest() {
super("Cms", "2019-01-01", "ModifyHostAvailability", "cms");
setMethod(MethodType.POST);
}
public String getTaskOptionHttpMethod() {
return this.taskOptionHttpMethod;
}
public void setTaskOptionHttpMethod(String taskOptionHttpMethod) {
this.taskOptionHttpMethod = taskOptionHttpMethod;
if(taskOptionHttpMethod != null){
putQueryParameter("TaskOption.HttpMethod", taskOptionHttpMethod);
}
}
public String getTaskOptionHttpHeader() {
return this.taskOptionHttpHeader;
}
public void setTaskOptionHttpHeader(String taskOptionHttpHeader) {
this.taskOptionHttpHeader = taskOptionHttpHeader;
if(taskOptionHttpHeader != null){
putQueryParameter("TaskOption.HttpHeader", taskOptionHttpHeader);
}
}
public List<AlertConfigEscalationList> getAlertConfigEscalationLists() {
return this.alertConfigEscalationLists;
}
public void setAlertConfigEscalationLists(List<AlertConfigEscalationList> alertConfigEscalationLists) {
this.alertConfigEscalationLists = alertConfigEscalationLists;
if (alertConfigEscalationLists != null) {
for (int depth1 = 0; depth1 < alertConfigEscalationLists.size(); depth1++) {
putQueryParameter("AlertConfigEscalationList." + (depth1 + 1) + ".Times" , alertConfigEscalationLists.get(depth1).getTimes());
putQueryParameter("AlertConfigEscalationList." + (depth1 + 1) + ".MetricName" , alertConfigEscalationLists.get(depth1).getMetricName());
putQueryParameter("AlertConfigEscalationList." + (depth1 + 1) + ".Value" , alertConfigEscalationLists.get(depth1).getValue());
putQueryParameter("AlertConfigEscalationList." + (depth1 + 1) + ".Operator" , alertConfigEscalationLists.get(depth1).getOperator());
putQueryParameter("AlertConfigEscalationList." + (depth1 + 1) + ".Aggregate" , alertConfigEscalationLists.get(depth1).getAggregate());
}
}
}
public String getTaskName() {
return this.taskName;
}
public void setTaskName(String taskName) {
this.taskName = taskName;
if(taskName != null){
putQueryParameter("TaskName", taskName);
}
}
public Integer getAlertConfigSilenceTime() {
return this.alertConfigSilenceTime;
}
public void setAlertConfigSilenceTime(Integer alertConfigSilenceTime) {
this.alertConfigSilenceTime = alertConfigSilenceTime;
if(alertConfigSilenceTime != null){
putQueryParameter("AlertConfig.SilenceTime", alertConfigSilenceTime.toString());
}
}
public String getTaskOptionHttpResponseCharset() {
return this.taskOptionHttpResponseCharset;
}
public void setTaskOptionHttpResponseCharset(String taskOptionHttpResponseCharset) {
this.taskOptionHttpResponseCharset = taskOptionHttpResponseCharset;
if(taskOptionHttpResponseCharset != null){
putQueryParameter("TaskOption.HttpResponseCharset", taskOptionHttpResponseCharset);
}
}
public Boolean getTaskOptionHttpNegative() {
return this.taskOptionHttpNegative;
}
public void setTaskOptionHttpNegative(Boolean taskOptionHttpNegative) {
this.taskOptionHttpNegative = taskOptionHttpNegative;
if(taskOptionHttpNegative != null){
putQueryParameter("TaskOption.HttpNegative", taskOptionHttpNegative.toString());
}
}
public Integer getTaskOptionInterval() {
return this.taskOptionInterval;
}
public void setTaskOptionInterval(Integer taskOptionInterval) {
this.taskOptionInterval = taskOptionInterval;
if(taskOptionInterval != null){
putQueryParameter("TaskOption.Interval", taskOptionInterval.toString());
}
}
public Integer getAlertConfigNotifyType() {
return this.alertConfigNotifyType;
}
public void setAlertConfigNotifyType(Integer alertConfigNotifyType) {
this.alertConfigNotifyType = alertConfigNotifyType;
if(alertConfigNotifyType != null){
putQueryParameter("AlertConfig.NotifyType", alertConfigNotifyType.toString());
}
}
public String getTaskOptionTelnetOrPingHost() {
return this.taskOptionTelnetOrPingHost;
}
public void setTaskOptionTelnetOrPingHost(String taskOptionTelnetOrPingHost) {
this.taskOptionTelnetOrPingHost = taskOptionTelnetOrPingHost;
if(taskOptionTelnetOrPingHost != null){
putQueryParameter("TaskOption.TelnetOrPingHost", taskOptionTelnetOrPingHost);
}
}
public String getTaskOptionHttpResponseMatchContent() {
return this.taskOptionHttpResponseMatchContent;
}
public void setTaskOptionHttpResponseMatchContent(String taskOptionHttpResponseMatchContent) {
this.taskOptionHttpResponseMatchContent = taskOptionHttpResponseMatchContent;
if(taskOptionHttpResponseMatchContent != null){
putQueryParameter("TaskOption.HttpResponseMatchContent", taskOptionHttpResponseMatchContent);
}
}
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
if(id != null){
putQueryParameter("Id", id.toString());
}
}
public List<String> getInstanceLists() {
return this.instanceLists;
}
public void setInstanceLists(List<String> instanceLists) {
this.instanceLists = instanceLists;
if (instanceLists != null) {
for (int i = 0; i < instanceLists.size(); i++) {
putQueryParameter("InstanceList." + (i + 1) , instanceLists.get(i));
}
}
}
public Long getGroupId() {
return this.groupId;
}
public void setGroupId(Long groupId) {
this.groupId = groupId;
if(groupId != null){
putQueryParameter("GroupId", groupId.toString());
}
}
public Integer getAlertConfigEndTime() {
return this.alertConfigEndTime;
}
public void setAlertConfigEndTime(Integer alertConfigEndTime) {
this.alertConfigEndTime = alertConfigEndTime;
if(alertConfigEndTime != null){
putQueryParameter("AlertConfig.EndTime", alertConfigEndTime.toString());
}
}
public String getTaskOptionHttpURI() {
return this.taskOptionHttpURI;
}
public void setTaskOptionHttpURI(String taskOptionHttpURI) {
this.taskOptionHttpURI = taskOptionHttpURI;
if(taskOptionHttpURI != null){
putQueryParameter("TaskOption.HttpURI", taskOptionHttpURI);
}
}
public String getTaskScope() {
return this.taskScope;
}
public void setTaskScope(String taskScope) {
this.taskScope = taskScope;
if(taskScope != null){
putQueryParameter("TaskScope", taskScope);
}
}
public String getTaskOptionHttpPostContent() {
return this.taskOptionHttpPostContent;
}
public void setTaskOptionHttpPostContent(String taskOptionHttpPostContent) {
this.taskOptionHttpPostContent = taskOptionHttpPostContent;
if(taskOptionHttpPostContent != null){
putQueryParameter("TaskOption.HttpPostContent", taskOptionHttpPostContent);
}
}
public Integer getAlertConfigStartTime() {
return this.alertConfigStartTime;
}
public void setAlertConfigStartTime(Integer alertConfigStartTime) {
this.alertConfigStartTime = alertConfigStartTime;
if(alertConfigStartTime != null){
putQueryParameter("AlertConfig.StartTime", alertConfigStartTime.toString());
}
}
public String getAlertConfigWebHook() {
return this.alertConfigWebHook;
}
public void setAlertConfigWebHook(String alertConfigWebHook) {
this.alertConfigWebHook = alertConfigWebHook;
if(alertConfigWebHook != null){
putQueryParameter("AlertConfig.WebHook", alertConfigWebHook);
}
}
public static class AlertConfigEscalationList {
private Integer times;
private String metricName;
private String value;
private String operator;
private String aggregate;
public Integer getTimes() {
return this.times;
}
public void setTimes(Integer times) {
this.times = times;
}
public String getMetricName() {
return this.metricName;
}
public void setMetricName(String metricName) {
this.metricName = metricName;
}
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
public String getOperator() {
return this.operator;
}
public void setOperator(String operator) {
this.operator = operator;
}
public String getAggregate() {
return this.aggregate;
}
public void setAggregate(String aggregate) {
this.aggregate = aggregate;
}
}
@Override
public Class<ModifyHostAvailabilityResponse> getResponseClass() {
return ModifyHostAvailabilityResponse.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/ModifyHostAvailabilityResponse.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.ModifyHostAvailabilityResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ModifyHostAvailabilityResponse 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 ModifyHostAvailabilityResponse getInstance(UnmarshallerContext context) {
return ModifyHostAvailabilityResponseUnmarshaller.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/ModifyHostInfoRequest.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 ModifyHostInfoRequest extends RpcAcsRequest<ModifyHostInfoResponse> {
private String hostName;
private String instanceId;
public ModifyHostInfoRequest() {
super("Cms", "2019-01-01", "ModifyHostInfo", "cms");
setMethod(MethodType.POST);
}
public String getHostName() {
return this.hostName;
}
public void setHostName(String hostName) {
this.hostName = hostName;
if(hostName != null){
putQueryParameter("HostName", hostName);
}
}
public String getInstanceId() {
return this.instanceId;
}
public void setInstanceId(String instanceId) {
this.instanceId = instanceId;
if(instanceId != null){
putQueryParameter("InstanceId", instanceId);
}
}
@Override
public Class<ModifyHostInfoResponse> getResponseClass() {
return ModifyHostInfoResponse.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/ModifyHostInfoResponse.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.ModifyHostInfoResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ModifyHostInfoResponse 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 ModifyHostInfoResponse getInstance(UnmarshallerContext context) {
return ModifyHostInfoResponseUnmarshaller.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/ModifyHybridMonitorNamespaceRequest.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 ModifyHybridMonitorNamespaceRequest extends RpcAcsRequest<ModifyHybridMonitorNamespaceResponse> {
private String description;
private String spec;
private String namespace;
public ModifyHybridMonitorNamespaceRequest() {
super("Cms", "2019-01-01", "ModifyHybridMonitorNamespace", "cms");
setMethod(MethodType.POST);
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
if(description != null){
putQueryParameter("Description", description);
}
}
public String getSpec() {
return this.spec;
}
public void setSpec(String spec) {
this.spec = spec;
if(spec != null){
putQueryParameter("Spec", spec);
}
}
public String getNamespace() {
return this.namespace;
}
public void setNamespace(String namespace) {
this.namespace = namespace;
if(namespace != null){
putQueryParameter("Namespace", namespace);
}
}
@Override
public Class<ModifyHybridMonitorNamespaceResponse> getResponseClass() {
return ModifyHybridMonitorNamespaceResponse.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/ModifyHybridMonitorNamespaceResponse.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.ModifyHybridMonitorNamespaceResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ModifyHybridMonitorNamespaceResponse 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 ModifyHybridMonitorNamespaceResponse getInstance(UnmarshallerContext context) {
return ModifyHybridMonitorNamespaceResponseUnmarshaller.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/ModifyHybridMonitorSLSGroupRequest.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 ModifyHybridMonitorSLSGroupRequest extends RpcAcsRequest<ModifyHybridMonitorSLSGroupResponse> {
private String sLSGroupDescription;
private List<SLSGroupConfig> sLSGroupConfigs;
private String sLSGroupName;
public ModifyHybridMonitorSLSGroupRequest() {
super("Cms", "2019-01-01", "ModifyHybridMonitorSLSGroup", "cms");
setMethod(MethodType.POST);
}
public String getSLSGroupDescription() {
return this.sLSGroupDescription;
}
public void setSLSGroupDescription(String sLSGroupDescription) {
this.sLSGroupDescription = sLSGroupDescription;
if(sLSGroupDescription != null){
putQueryParameter("SLSGroupDescription", sLSGroupDescription);
}
}
public List<SLSGroupConfig> getSLSGroupConfigs() {
return this.sLSGroupConfigs;
}
public void setSLSGroupConfigs(List<SLSGroupConfig> sLSGroupConfigs) {
this.sLSGroupConfigs = sLSGroupConfigs;
if (sLSGroupConfigs != null) {
for (int depth1 = 0; depth1 < sLSGroupConfigs.size(); depth1++) {
putQueryParameter("SLSGroupConfig." + (depth1 + 1) + ".SLSLogstore" , sLSGroupConfigs.get(depth1).getSLSLogstore());
putQueryParameter("SLSGroupConfig." + (depth1 + 1) + ".SLSUserId" , sLSGroupConfigs.get(depth1).getSLSUserId());
putQueryParameter("SLSGroupConfig." + (depth1 + 1) + ".SLSProject" , sLSGroupConfigs.get(depth1).getSLSProject());
putQueryParameter("SLSGroupConfig." + (depth1 + 1) + ".SLSRegion" , sLSGroupConfigs.get(depth1).getSLSRegion());
}
}
}
public String getSLSGroupName() {
return this.sLSGroupName;
}
public void setSLSGroupName(String sLSGroupName) {
this.sLSGroupName = sLSGroupName;
if(sLSGroupName != null){
putQueryParameter("SLSGroupName", sLSGroupName);
}
}
public static class SLSGroupConfig {
private String sLSLogstore;
private String sLSUserId;
private String sLSProject;
private String sLSRegion;
public String getSLSLogstore() {
return this.sLSLogstore;
}
public void setSLSLogstore(String sLSLogstore) {
this.sLSLogstore = sLSLogstore;
}
public String getSLSUserId() {
return this.sLSUserId;
}
public void setSLSUserId(String sLSUserId) {
this.sLSUserId = sLSUserId;
}
public String getSLSProject() {
return this.sLSProject;
}
public void setSLSProject(String sLSProject) {
this.sLSProject = sLSProject;
}
public String getSLSRegion() {
return this.sLSRegion;
}
public void setSLSRegion(String sLSRegion) {
this.sLSRegion = sLSRegion;
}
}
@Override
public Class<ModifyHybridMonitorSLSGroupResponse> getResponseClass() {
return ModifyHybridMonitorSLSGroupResponse.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/ModifyHybridMonitorSLSGroupResponse.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.ModifyHybridMonitorSLSGroupResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ModifyHybridMonitorSLSGroupResponse 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 ModifyHybridMonitorSLSGroupResponse getInstance(UnmarshallerContext context) {
return ModifyHybridMonitorSLSGroupResponseUnmarshaller.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/ModifyHybridMonitorTaskRequest.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 ModifyHybridMonitorTaskRequest extends RpcAcsRequest<ModifyHybridMonitorTaskResponse> {
private String taskName;
private String description;
private String collectInterval;
private List<AttachLabels> attachLabelss;
private String taskId;
private SLSProcessConfig sLSProcessConfig;
public ModifyHybridMonitorTaskRequest() {
super("Cms", "2019-01-01", "ModifyHybridMonitorTask", "cms");
setMethod(MethodType.POST);
}
public String getTaskName() {
return this.taskName;
}
public void setTaskName(String taskName) {
this.taskName = taskName;
if(taskName != null){
putQueryParameter("TaskName", taskName);
}
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
if(description != null){
putQueryParameter("Description", description);
}
}
public String getCollectInterval() {
return this.collectInterval;
}
public void setCollectInterval(String collectInterval) {
this.collectInterval = collectInterval;
if(collectInterval != null){
putQueryParameter("CollectInterval", collectInterval);
}
}
public List<AttachLabels> getAttachLabelss() {
return this.attachLabelss;
}
public void setAttachLabelss(List<AttachLabels> attachLabelss) {
this.attachLabelss = attachLabelss;
if (attachLabelss != null) {
for (int depth1 = 0; depth1 < attachLabelss.size(); depth1++) {
putQueryParameter("AttachLabels." + (depth1 + 1) + ".Name" , attachLabelss.get(depth1).getName());
putQueryParameter("AttachLabels." + (depth1 + 1) + ".Value" , attachLabelss.get(depth1).getValue());
}
}
}
public String getTaskId() {
return this.taskId;
}
public void setTaskId(String taskId) {
this.taskId = taskId;
if(taskId != null){
putQueryParameter("TaskId", taskId);
}
}
public SLSProcessConfig getSLSProcessConfig() {
return this.sLSProcessConfig;
}
public void setSLSProcessConfig(SLSProcessConfig sLSProcessConfig) {
this.sLSProcessConfig = sLSProcessConfig;
if (sLSProcessConfig != null) {
if (sLSProcessConfig.getFilter() != null) {
if (sLSProcessConfig.getFilter().getFilters() != null) {
for (int depth1 = 0; depth1 < sLSProcessConfig.getFilter().getFilters().size(); depth1++) {
if (sLSProcessConfig.getFilter().getFilters().get(depth1) != null) {
putQueryParameter("SLSProcessConfig.Filter.Filters." + (depth1 + 1) + ".SLSKeyName" , sLSProcessConfig.getFilter().getFilters().get(depth1).getSLSKeyName());
putQueryParameter("SLSProcessConfig.Filter.Filters." + (depth1 + 1) + ".Value" , sLSProcessConfig.getFilter().getFilters().get(depth1).getValue());
putQueryParameter("SLSProcessConfig.Filter.Filters." + (depth1 + 1) + ".Operator" , sLSProcessConfig.getFilter().getFilters().get(depth1).getOperator());
}
}
}
putQueryParameter("SLSProcessConfig.Filter.Relation" , sLSProcessConfig.getFilter().getRelation());
}
if (sLSProcessConfig.getExpress() != null) {
for (int depth1 = 0; depth1 < sLSProcessConfig.getExpress().size(); depth1++) {
if (sLSProcessConfig.getExpress().get(depth1) != null) {
putQueryParameter("SLSProcessConfig.Express." + (depth1 + 1) + ".Alias" , sLSProcessConfig.getExpress().get(depth1).getAlias());
putQueryParameter("SLSProcessConfig.Express." + (depth1 + 1) + ".Express" , sLSProcessConfig.getExpress().get(depth1).getExpress());
}
}
}
if (sLSProcessConfig.getGroupBy() != null) {
for (int depth1 = 0; depth1 < sLSProcessConfig.getGroupBy().size(); depth1++) {
if (sLSProcessConfig.getGroupBy().get(depth1) != null) {
putQueryParameter("SLSProcessConfig.GroupBy." + (depth1 + 1) + ".SLSKeyName" , sLSProcessConfig.getGroupBy().get(depth1).getSLSKeyName());
putQueryParameter("SLSProcessConfig.GroupBy." + (depth1 + 1) + ".Alias" , sLSProcessConfig.getGroupBy().get(depth1).getAlias());
}
}
}
if (sLSProcessConfig.getStatistics() != null) {
for (int depth1 = 0; depth1 < sLSProcessConfig.getStatistics().size(); depth1++) {
if (sLSProcessConfig.getStatistics().get(depth1) != null) {
putQueryParameter("SLSProcessConfig.Statistics." + (depth1 + 1) + ".SLSKeyName" , sLSProcessConfig.getStatistics().get(depth1).getSLSKeyName());
putQueryParameter("SLSProcessConfig.Statistics." + (depth1 + 1) + ".Function" , sLSProcessConfig.getStatistics().get(depth1).getFunction());
putQueryParameter("SLSProcessConfig.Statistics." + (depth1 + 1) + ".Alias" , sLSProcessConfig.getStatistics().get(depth1).getAlias());
putQueryParameter("SLSProcessConfig.Statistics." + (depth1 + 1) + ".Parameter2" , sLSProcessConfig.getStatistics().get(depth1).getParameter2());
putQueryParameter("SLSProcessConfig.Statistics." + (depth1 + 1) + ".Parameter1" , sLSProcessConfig.getStatistics().get(depth1).getParameter1());
}
}
}
}
}
public static class AttachLabels {
private String name;
private String value;
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 static class SLSProcessConfig {
private Filter filter;
private List<ExpressItem> express;
private List<GroupByItem> groupBy;
private List<StatisticsItem> statistics;
public Filter getFilter() {
return this.filter;
}
public void setFilter(Filter filter) {
this.filter = filter;
}
public List<ExpressItem> getExpress() {
return this.express;
}
public void setExpress(List<ExpressItem> express) {
this.express = express;
}
public List<GroupByItem> getGroupBy() {
return this.groupBy;
}
public void setGroupBy(List<GroupByItem> groupBy) {
this.groupBy = groupBy;
}
public List<StatisticsItem> getStatistics() {
return this.statistics;
}
public void setStatistics(List<StatisticsItem> statistics) {
this.statistics = statistics;
}
public static class Filter {
private List<FiltersItem> filters;
private String relation;
public List<FiltersItem> getFilters() {
return this.filters;
}
public void setFilters(List<FiltersItem> filters) {
this.filters = filters;
}
public String getRelation() {
return this.relation;
}
public void setRelation(String relation) {
this.relation = relation;
}
public static class FiltersItem {
private String sLSKeyName;
private String value;
private String operator;
public String getSLSKeyName() {
return this.sLSKeyName;
}
public void setSLSKeyName(String sLSKeyName) {
this.sLSKeyName = sLSKeyName;
}
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
public String getOperator() {
return this.operator;
}
public void setOperator(String operator) {
this.operator = operator;
}
}
}
public static class ExpressItem {
private String alias;
private String express;
public String getAlias() {
return this.alias;
}
public void setAlias(String alias) {
this.alias = alias;
}
public String getExpress() {
return this.express;
}
public void setExpress(String express) {
this.express = express;
}
}
public static class GroupByItem {
private String sLSKeyName;
private String alias;
public String getSLSKeyName() {
return this.sLSKeyName;
}
public void setSLSKeyName(String sLSKeyName) {
this.sLSKeyName = sLSKeyName;
}
public String getAlias() {
return this.alias;
}
public void setAlias(String alias) {
this.alias = alias;
}
}
public static class StatisticsItem {
private String sLSKeyName;
private String function;
private String alias;
private String parameter2;
private String parameter1;
public String getSLSKeyName() {
return this.sLSKeyName;
}
public void setSLSKeyName(String sLSKeyName) {
this.sLSKeyName = sLSKeyName;
}
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;
}
public String getParameter2() {
return this.parameter2;
}
public void setParameter2(String parameter2) {
this.parameter2 = parameter2;
}
public String getParameter1() {
return this.parameter1;
}
public void setParameter1(String parameter1) {
this.parameter1 = parameter1;
}
}
}
@Override
public Class<ModifyHybridMonitorTaskResponse> getResponseClass() {
return ModifyHybridMonitorTaskResponse.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/ModifyHybridMonitorTaskResponse.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.ModifyHybridMonitorTaskResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ModifyHybridMonitorTaskResponse 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 ModifyHybridMonitorTaskResponse getInstance(UnmarshallerContext context) {
return ModifyHybridMonitorTaskResponseUnmarshaller.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/ModifyMetricRuleBlackListRequest.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 ModifyMetricRuleBlackListRequest extends RpcAcsRequest<ModifyMetricRuleBlackListResponse> {
private String scopeType;
private List<String> instancess;
private String enableEndTime;
private String scopeValue;
private String enableStartTime;
private String effectiveTime;
private String id;
private String name;
private String namespace;
private List<Metrics> metricss;
private String category;
public ModifyMetricRuleBlackListRequest() {
super("Cms", "2019-01-01", "ModifyMetricRuleBlackList", "cms");
setMethod(MethodType.POST);
}
public String getScopeType() {
return this.scopeType;
}
public void setScopeType(String scopeType) {
this.scopeType = scopeType;
if(scopeType != null){
putQueryParameter("ScopeType", scopeType);
}
}
public List<String> getInstancess() {
return this.instancess;
}
public void setInstancess(List<String> instancess) {
this.instancess = instancess;
if (instancess != null) {
for (int i = 0; i < instancess.size(); i++) {
putQueryParameter("Instances." + (i + 1) , instancess.get(i));
}
}
}
public String getEnableEndTime() {
return this.enableEndTime;
}
public void setEnableEndTime(String enableEndTime) {
this.enableEndTime = enableEndTime;
if(enableEndTime != null){
putQueryParameter("EnableEndTime", enableEndTime);
}
}
public String getScopeValue() {
return this.scopeValue;
}
public void setScopeValue(String scopeValue) {
this.scopeValue = scopeValue;
if(scopeValue != null){
putQueryParameter("ScopeValue", scopeValue);
}
}
public String getEnableStartTime() {
return this.enableStartTime;
}
public void setEnableStartTime(String enableStartTime) {
this.enableStartTime = enableStartTime;
if(enableStartTime != null){
putQueryParameter("EnableStartTime", enableStartTime);
}
}
public String getEffectiveTime() {
return this.effectiveTime;
}
public void setEffectiveTime(String effectiveTime) {
this.effectiveTime = effectiveTime;
if(effectiveTime != null){
putQueryParameter("EffectiveTime", effectiveTime);
}
}
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
if(id != null){
putQueryParameter("Id", id);
}
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
if(name != null){
putQueryParameter("Name", name);
}
}
public String getNamespace() {
return this.namespace;
}
public void setNamespace(String namespace) {
this.namespace = namespace;
if(namespace != null){
putQueryParameter("Namespace", namespace);
}
}
public List<Metrics> getMetricss() {
return this.metricss;
}
public void setMetricss(List<Metrics> metricss) {
this.metricss = metricss;
if (metricss != null) {
for (int depth1 = 0; depth1 < metricss.size(); depth1++) {
putQueryParameter("Metrics." + (depth1 + 1) + ".Resource" , metricss.get(depth1).getResource());
putQueryParameter("Metrics." + (depth1 + 1) + ".MetricName" , metricss.get(depth1).getMetricName());
}
}
}
public String getCategory() {
return this.category;
}
public void setCategory(String category) {
this.category = category;
if(category != null){
putQueryParameter("Category", category);
}
}
public static class Metrics {
private String resource;
private String metricName;
public String getResource() {
return this.resource;
}
public void setResource(String resource) {
this.resource = resource;
}
public String getMetricName() {
return this.metricName;
}
public void setMetricName(String metricName) {
this.metricName = metricName;
}
}
@Override
public Class<ModifyMetricRuleBlackListResponse> getResponseClass() {
return ModifyMetricRuleBlackListResponse.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/ModifyMetricRuleBlackListResponse.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.ModifyMetricRuleBlackListResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ModifyMetricRuleBlackListResponse extends AcsResponse {
private String code;
private String message;
private String requestId;
private Boolean success;
private String count;
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 String getCount() {
return this.count;
}
public void setCount(String count) {
this.count = count;
}
@Override
public ModifyMetricRuleBlackListResponse getInstance(UnmarshallerContext context) {
return ModifyMetricRuleBlackListResponseUnmarshaller.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/ModifyMetricRuleTemplateRequest.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 ModifyMetricRuleTemplateRequest extends RpcAcsRequest<ModifyMetricRuleTemplateResponse> {
private Long restVersion;
private String description;
private Long templateId;
private String name;
private List<AlertTemplates> alertTemplatess;
public ModifyMetricRuleTemplateRequest() {
super("Cms", "2019-01-01", "ModifyMetricRuleTemplate", "cms");
setMethod(MethodType.POST);
}
public Long getRestVersion() {
return this.restVersion;
}
public void setRestVersion(Long restVersion) {
this.restVersion = restVersion;
if(restVersion != null){
putQueryParameter("RestVersion", restVersion.toString());
}
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
if(description != null){
putQueryParameter("Description", description);
}
}
public Long getTemplateId() {
return this.templateId;
}
public void setTemplateId(Long templateId) {
this.templateId = templateId;
if(templateId != null){
putQueryParameter("TemplateId", templateId.toString());
}
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
if(name != null){
putQueryParameter("Name", name);
}
}
public List<AlertTemplates> getAlertTemplatess() {
return this.alertTemplatess;
}
public void setAlertTemplatess(List<AlertTemplates> alertTemplatess) {
this.alertTemplatess = alertTemplatess;
if (alertTemplatess != null) {
for (int depth1 = 0; depth1 < alertTemplatess.size(); depth1++) {
putQueryParameter("AlertTemplates." + (depth1 + 1) + ".Escalations.Warn.Threshold" , alertTemplatess.get(depth1).getEscalationsWarnThreshold());
putQueryParameter("AlertTemplates." + (depth1 + 1) + ".Period" , alertTemplatess.get(depth1).getPeriod());
putQueryParameter("AlertTemplates." + (depth1 + 1) + ".Webhook" , alertTemplatess.get(depth1).getWebhook());
putQueryParameter("AlertTemplates." + (depth1 + 1) + ".Escalations.Warn.ComparisonOperator" , alertTemplatess.get(depth1).getEscalationsWarnComparisonOperator());
putQueryParameter("AlertTemplates." + (depth1 + 1) + ".Escalations.Critical.Statistics" , alertTemplatess.get(depth1).getEscalationsCriticalStatistics());
putQueryParameter("AlertTemplates." + (depth1 + 1) + ".Escalations.Info.Times" , alertTemplatess.get(depth1).getEscalationsInfoTimes());
putQueryParameter("AlertTemplates." + (depth1 + 1) + ".RuleName" , alertTemplatess.get(depth1).getRuleName());
putQueryParameter("AlertTemplates." + (depth1 + 1) + ".Escalations.Info.Statistics" , alertTemplatess.get(depth1).getEscalationsInfoStatistics());
putQueryParameter("AlertTemplates." + (depth1 + 1) + ".Escalations.Critical.Times" , alertTemplatess.get(depth1).getEscalationsCriticalTimes());
putQueryParameter("AlertTemplates." + (depth1 + 1) + ".Escalations.Info.ComparisonOperator" , alertTemplatess.get(depth1).getEscalationsInfoComparisonOperator());
putQueryParameter("AlertTemplates." + (depth1 + 1) + ".Escalations.Info.Threshold" , alertTemplatess.get(depth1).getEscalationsInfoThreshold());
putQueryParameter("AlertTemplates." + (depth1 + 1) + ".Escalations.Warn.Statistics" , alertTemplatess.get(depth1).getEscalationsWarnStatistics());
putQueryParameter("AlertTemplates." + (depth1 + 1) + ".Namespace" , alertTemplatess.get(depth1).getNamespace());
putQueryParameter("AlertTemplates." + (depth1 + 1) + ".Selector" , alertTemplatess.get(depth1).getSelector());
putQueryParameter("AlertTemplates." + (depth1 + 1) + ".MetricName" , alertTemplatess.get(depth1).getMetricName());
putQueryParameter("AlertTemplates." + (depth1 + 1) + ".Escalations.Warn.Times" , alertTemplatess.get(depth1).getEscalationsWarnTimes());
putQueryParameter("AlertTemplates." + (depth1 + 1) + ".Category" , alertTemplatess.get(depth1).getCategory());
putQueryParameter("AlertTemplates." + (depth1 + 1) + ".Escalations.Critical.ComparisonOperator" , alertTemplatess.get(depth1).getEscalationsCriticalComparisonOperator());
putQueryParameter("AlertTemplates." + (depth1 + 1) + ".Escalations.Critical.Threshold" , alertTemplatess.get(depth1).getEscalationsCriticalThreshold());
}
}
}
public static class AlertTemplates {
private String escalationsWarnThreshold;
private Integer period;
private String webhook;
private String escalationsWarnComparisonOperator;
private String escalationsCriticalStatistics;
private Integer escalationsInfoTimes;
private String ruleName;
private String escalationsInfoStatistics;
private Integer escalationsCriticalTimes;
private String escalationsInfoComparisonOperator;
private String escalationsInfoThreshold;
private String escalationsWarnStatistics;
private String namespace;
private String selector;
private String metricName;
private Integer escalationsWarnTimes;
private String category;
private String escalationsCriticalComparisonOperator;
private String escalationsCriticalThreshold;
public String getEscalationsWarnThreshold() {
return this.escalationsWarnThreshold;
}
public void setEscalationsWarnThreshold(String escalationsWarnThreshold) {
this.escalationsWarnThreshold = escalationsWarnThreshold;
}
public Integer getPeriod() {
return this.period;
}
public void setPeriod(Integer period) {
this.period = period;
}
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 getEscalationsCriticalStatistics() {
return this.escalationsCriticalStatistics;
}
public void setEscalationsCriticalStatistics(String escalationsCriticalStatistics) {
this.escalationsCriticalStatistics = escalationsCriticalStatistics;
}
public Integer getEscalationsInfoTimes() {
return this.escalationsInfoTimes;
}
public void setEscalationsInfoTimes(Integer escalationsInfoTimes) {
this.escalationsInfoTimes = escalationsInfoTimes;
}
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 Integer getEscalationsCriticalTimes() {
return this.escalationsCriticalTimes;
}
public void setEscalationsCriticalTimes(Integer escalationsCriticalTimes) {
this.escalationsCriticalTimes = escalationsCriticalTimes;
}
public String getEscalationsInfoComparisonOperator() {
return this.escalationsInfoComparisonOperator;
}
public void setEscalationsInfoComparisonOperator(String escalationsInfoComparisonOperator) {
this.escalationsInfoComparisonOperator = escalationsInfoComparisonOperator;
}
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 getSelector() {
return this.selector;
}
public void setSelector(String selector) {
this.selector = selector;
}
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 getCategory() {
return this.category;
}
public void setCategory(String category) {
this.category = category;
}
public String getEscalationsCriticalComparisonOperator() {
return this.escalationsCriticalComparisonOperator;
}
public void setEscalationsCriticalComparisonOperator(String escalationsCriticalComparisonOperator) {
this.escalationsCriticalComparisonOperator = escalationsCriticalComparisonOperator;
}
public String getEscalationsCriticalThreshold() {
return this.escalationsCriticalThreshold;
}
public void setEscalationsCriticalThreshold(String escalationsCriticalThreshold) {
this.escalationsCriticalThreshold = escalationsCriticalThreshold;
}
}
@Override
public Class<ModifyMetricRuleTemplateResponse> getResponseClass() {
return ModifyMetricRuleTemplateResponse.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/ModifyMetricRuleTemplateResponse.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.ModifyMetricRuleTemplateResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ModifyMetricRuleTemplateResponse 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 ModifyMetricRuleTemplateResponse getInstance(UnmarshallerContext context) {
return ModifyMetricRuleTemplateResponseUnmarshaller.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/ModifyMonitorGroupInstancesRequest.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 ModifyMonitorGroupInstancesRequest extends RpcAcsRequest<ModifyMonitorGroupInstancesResponse> {
private List<Instances> instancess;
private Long groupId;
public ModifyMonitorGroupInstancesRequest() {
super("Cms", "2019-01-01", "ModifyMonitorGroupInstances", "cms");
setMethod(MethodType.POST);
}
public List<Instances> getInstancess() {
return this.instancess;
}
public void setInstancess(List<Instances> instancess) {
this.instancess = instancess;
if (instancess != null) {
for (int depth1 = 0; depth1 < instancess.size(); depth1++) {
putQueryParameter("Instances." + (depth1 + 1) + ".InstanceName" , instancess.get(depth1).getInstanceName());
putQueryParameter("Instances." + (depth1 + 1) + ".InstanceId" , instancess.get(depth1).getInstanceId());
putQueryParameter("Instances." + (depth1 + 1) + ".RegionId" , instancess.get(depth1).getRegionId());
putQueryParameter("Instances." + (depth1 + 1) + ".Category" , instancess.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 static class Instances {
private String instanceName;
private String instanceId;
private String regionId;
private String category;
public String getInstanceName() {
return this.instanceName;
}
public void setInstanceName(String instanceName) {
this.instanceName = instanceName;
}
public String getInstanceId() {
return this.instanceId;
}
public void setInstanceId(String instanceId) {
this.instanceId = instanceId;
}
public String getRegionId() {
return this.regionId;
}
public void setRegionId(String regionId) {
this.regionId = regionId;
}
public String getCategory() {
return this.category;
}
public void setCategory(String category) {
this.category = category;
}
}
@Override
public Class<ModifyMonitorGroupInstancesResponse> getResponseClass() {
return ModifyMonitorGroupInstancesResponse.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/ModifyMonitorGroupInstancesResponse.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.ModifyMonitorGroupInstancesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ModifyMonitorGroupInstancesResponse 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 ModifyMonitorGroupInstancesResponse getInstance(UnmarshallerContext context) {
return ModifyMonitorGroupInstancesResponseUnmarshaller.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/ModifyMonitorGroupRequest.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 ModifyMonitorGroupRequest extends RpcAcsRequest<ModifyMonitorGroupResponse> {
private String contactGroups;
private String groupId;
private String groupName;
public ModifyMonitorGroupRequest() {
super("Cms", "2019-01-01", "ModifyMonitorGroup", "cms");
setMethod(MethodType.POST);
}
public String getContactGroups() {
return this.contactGroups;
}
public void setContactGroups(String contactGroups) {
this.contactGroups = contactGroups;
if(contactGroups != null){
putQueryParameter("ContactGroups", contactGroups);
}
}
public String getGroupId() {
return this.groupId;
}
public void setGroupId(String groupId) {
this.groupId = groupId;
if(groupId != null){
putQueryParameter("GroupId", groupId);
}
}
public String getGroupName() {
return this.groupName;
}
public void setGroupName(String groupName) {
this.groupName = groupName;
if(groupName != null){
putQueryParameter("GroupName", groupName);
}
}
@Override
public Class<ModifyMonitorGroupResponse> getResponseClass() {
return ModifyMonitorGroupResponse.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/ModifyMonitorGroupResponse.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.ModifyMonitorGroupResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ModifyMonitorGroupResponse 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 ModifyMonitorGroupResponse getInstance(UnmarshallerContext context) {
return ModifyMonitorGroupResponseUnmarshaller.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/ModifySiteMonitorRequest.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 ModifySiteMonitorRequest extends RpcAcsRequest<ModifySiteMonitorResponse> {
private String taskName;
private String alertIds;
private String taskId;
private String address;
private String ispCities;
private String optionsJson;
private String intervalUnit;
private String interval;
public ModifySiteMonitorRequest() {
super("Cms", "2019-01-01", "ModifySiteMonitor", "cms");
setMethod(MethodType.POST);
}
public String getTaskName() {
return this.taskName;
}
public void setTaskName(String taskName) {
this.taskName = taskName;
if(taskName != null){
putQueryParameter("TaskName", taskName);
}
}
public String getAlertIds() {
return this.alertIds;
}
public void setAlertIds(String alertIds) {
this.alertIds = alertIds;
if(alertIds != null){
putQueryParameter("AlertIds", alertIds);
}
}
public String getTaskId() {
return this.taskId;
}
public void setTaskId(String taskId) {
this.taskId = taskId;
if(taskId != null){
putQueryParameter("TaskId", taskId);
}
}
public String getAddress() {
return this.address;
}
public void setAddress(String address) {
this.address = address;
if(address != null){
putQueryParameter("Address", address);
}
}
public String getIspCities() {
return this.ispCities;
}
public void setIspCities(String ispCities) {
this.ispCities = ispCities;
if(ispCities != null){
putQueryParameter("IspCities", ispCities);
}
}
public String getOptionsJson() {
return this.optionsJson;
}
public void setOptionsJson(String optionsJson) {
this.optionsJson = optionsJson;
if(optionsJson != null){
putQueryParameter("OptionsJson", optionsJson);
}
}
public String getIntervalUnit() {
return this.intervalUnit;
}
public void setIntervalUnit(String intervalUnit) {
this.intervalUnit = intervalUnit;
if(intervalUnit != null){
putQueryParameter("IntervalUnit", intervalUnit);
}
}
public String getInterval() {
return this.interval;
}
public void setInterval(String interval) {
this.interval = interval;
if(interval != null){
putQueryParameter("Interval", interval);
}
}
@Override
public Class<ModifySiteMonitorResponse> getResponseClass() {
return ModifySiteMonitorResponse.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/ModifySiteMonitorResponse.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.ModifySiteMonitorResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ModifySiteMonitorResponse extends AcsResponse {
private String code;
private String message;
private String requestId;
private String success;
private Data data;
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public 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;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private Integer count;
public Integer getCount() {
return this.count;
}
public void setCount(Integer count) {
this.count = count;
}
}
@Override
public ModifySiteMonitorResponse getInstance(UnmarshallerContext context) {
return ModifySiteMonitorResponseUnmarshaller.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/OpenCmsServiceRequest.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 OpenCmsServiceRequest extends RpcAcsRequest<OpenCmsServiceResponse> {
public OpenCmsServiceRequest() {
super("Cms", "2019-01-01", "OpenCmsService", "cms");
setMethod(MethodType.POST);
}
@Override
public Class<OpenCmsServiceResponse> getResponseClass() {
return OpenCmsServiceResponse.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/OpenCmsServiceResponse.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.OpenCmsServiceResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class OpenCmsServiceResponse extends AcsResponse {
private String orderId;
private String requestId;
public String getOrderId() {
return this.orderId;
}
public void setOrderId(String orderId) {
this.orderId = orderId;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public OpenCmsServiceResponse getInstance(UnmarshallerContext context) {
return OpenCmsServiceResponseUnmarshaller.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/PutAlertStrategyRequest.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 PutAlertStrategyRequest extends RpcAcsRequest<PutAlertStrategyResponse> {
@SerializedName("groupingRule")
private GroupingRule groupingRule;
@SerializedName("filterRule")
private FilterRule filterRule;
@SerializedName("escalationRule")
private EscalationRule escalationRule;
@SerializedName("pushingRule")
private PushingRule pushingRule;
private String templateGroupId;
private String name;
private String strategyId;
private String describe;
@SerializedName("channelMapRule")
private ChannelMapRule channelMapRule;
public PutAlertStrategyRequest() {
super("Cms", "2019-01-01", "PutAlertStrategy", "cms");
setMethod(MethodType.POST);
}
public GroupingRule getGroupingRule() {
return this.groupingRule;
}
public void setGroupingRule(GroupingRule groupingRule) {
this.groupingRule = groupingRule;
if (groupingRule != null) {
putQueryParameter("GroupingRule" , new Gson().toJson(groupingRule));
}
}
public FilterRule getFilterRule() {
return this.filterRule;
}
public void setFilterRule(FilterRule filterRule) {
this.filterRule = filterRule;
if (filterRule != null) {
putQueryParameter("FilterRule" , new Gson().toJson(filterRule));
}
}
public EscalationRule getEscalationRule() {
return this.escalationRule;
}
public void setEscalationRule(EscalationRule escalationRule) {
this.escalationRule = escalationRule;
if (escalationRule != null) {
putQueryParameter("EscalationRule" , new Gson().toJson(escalationRule));
}
}
public PushingRule getPushingRule() {
return this.pushingRule;
}
public void setPushingRule(PushingRule pushingRule) {
this.pushingRule = pushingRule;
if (pushingRule != null) {
putQueryParameter("PushingRule" , new Gson().toJson(pushingRule));
}
}
public String getTemplateGroupId() {
return this.templateGroupId;
}
public void setTemplateGroupId(String templateGroupId) {
this.templateGroupId = templateGroupId;
if(templateGroupId != null){
putQueryParameter("TemplateGroupId", templateGroupId);
}
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
if(name != null){
putQueryParameter("Name", name);
}
}
public String getStrategyId() {
return this.strategyId;
}
public void setStrategyId(String strategyId) {
this.strategyId = strategyId;
if(strategyId != null){
putQueryParameter("StrategyId", strategyId);
}
}
public String getDescribe() {
return this.describe;
}
public void setDescribe(String describe) {
this.describe = describe;
if(describe != null){
putQueryParameter("Describe", describe);
}
}
public ChannelMapRule getChannelMapRule() {
return this.channelMapRule;
}
public void setChannelMapRule(ChannelMapRule channelMapRule) {
this.channelMapRule = channelMapRule;
if (channelMapRule != null) {
putQueryParameter("ChannelMapRule" , new Gson().toJson(channelMapRule));
}
}
public static class GroupingRule {
@SerializedName("Period")
private String period;
@SerializedName("Times")
private String times;
@SerializedName("GroupingRuleItems")
private List<GroupingRuleItemsItem> groupingRuleItems;
@SerializedName("SilenceTime")
private String silenceTime;
public String getPeriod() {
return this.period;
}
public void setPeriod(String period) {
this.period = period;
}
public String getTimes() {
return this.times;
}
public void setTimes(String times) {
this.times = times;
}
public List<GroupingRuleItemsItem> getGroupingRuleItems() {
return this.groupingRuleItems;
}
public void setGroupingRuleItems(List<GroupingRuleItemsItem> groupingRuleItems) {
this.groupingRuleItems = groupingRuleItems;
}
public String getSilenceTime() {
return this.silenceTime;
}
public void setSilenceTime(String silenceTime) {
this.silenceTime = silenceTime;
}
public static class GroupingRuleItemsItem {
@SerializedName("GroupingKeys")
private List<String> groupingKeys;
@SerializedName("GroupingType")
private String groupingType;
@SerializedName("AiGroupingServiceId")
private String aiGroupingServiceId;
public List<String> getGroupingKeys() {
return this.groupingKeys;
}
public void setGroupingKeys(List<String> groupingKeys) {
this.groupingKeys = groupingKeys;
}
public String getGroupingType() {
return this.groupingType;
}
public void setGroupingType(String groupingType) {
this.groupingType = groupingType;
}
public String getAiGroupingServiceId() {
return this.aiGroupingServiceId;
}
public void setAiGroupingServiceId(String aiGroupingServiceId) {
this.aiGroupingServiceId = aiGroupingServiceId;
}
}
}
public static class FilterRule {
@SerializedName("FilterItems")
private List<FilterItemsItem> filterItems;
@SerializedName("BlackList")
private List<BlackListItem> blackList;
@SerializedName("WhiteList")
private List<WhiteListItem> whiteList;
public List<FilterItemsItem> getFilterItems() {
return this.filterItems;
}
public void setFilterItems(List<FilterItemsItem> filterItems) {
this.filterItems = filterItems;
}
public List<BlackListItem> getBlackList() {
return this.blackList;
}
public void setBlackList(List<BlackListItem> blackList) {
this.blackList = blackList;
}
public List<WhiteListItem> getWhiteList() {
return this.whiteList;
}
public void setWhiteList(List<WhiteListItem> whiteList) {
this.whiteList = whiteList;
}
public static class FilterItemsItem {
@SerializedName("Product")
private String product;
@SerializedName("Level")
private String level;
@SerializedName("MetricName")
private String metricName;
@SerializedName("EventSource")
private String eventSource;
@SerializedName("EventName")
private String eventName;
public String getProduct() {
return this.product;
}
public void setProduct(String product) {
this.product = product;
}
public String getLevel() {
return this.level;
}
public void setLevel(String level) {
this.level = level;
}
public String getMetricName() {
return this.metricName;
}
public void setMetricName(String metricName) {
this.metricName = metricName;
}
public String getEventSource() {
return this.eventSource;
}
public void setEventSource(String eventSource) {
this.eventSource = eventSource;
}
public String getEventName() {
return this.eventName;
}
public void setEventName(String eventName) {
this.eventName = eventName;
}
}
public static class BlackListItem {
@SerializedName("Product")
private String product;
@SerializedName("Level")
private String level;
@SerializedName("MetricName")
private String metricName;
@SerializedName("EventSource")
private String eventSource;
@SerializedName("EventName")
private String eventName;
public String getProduct() {
return this.product;
}
public void setProduct(String product) {
this.product = product;
}
public String getLevel() {
return this.level;
}
public void setLevel(String level) {
this.level = level;
}
public String getMetricName() {
return this.metricName;
}
public void setMetricName(String metricName) {
this.metricName = metricName;
}
public String getEventSource() {
return this.eventSource;
}
public void setEventSource(String eventSource) {
this.eventSource = eventSource;
}
public String getEventName() {
return this.eventName;
}
public void setEventName(String eventName) {
this.eventName = eventName;
}
}
public static class WhiteListItem {
@SerializedName("Product")
private String product;
@SerializedName("Level")
private String level;
@SerializedName("MetricName")
private String metricName;
@SerializedName("EventSource")
private String eventSource;
@SerializedName("EventName")
private String eventName;
public String getProduct() {
return this.product;
}
public void setProduct(String product) {
this.product = product;
}
public String getLevel() {
return this.level;
}
public void setLevel(String level) {
this.level = level;
}
public String getMetricName() {
return this.metricName;
}
public void setMetricName(String metricName) {
this.metricName = metricName;
}
public String getEventSource() {
return this.eventSource;
}
public void setEventSource(String eventSource) {
this.eventSource = eventSource;
}
public String getEventName() {
return this.eventName;
}
public void setEventName(String eventName) {
this.eventName = eventName;
}
}
}
public static class EscalationRule {
@SerializedName("AutoResolveTime")
private Integer autoResolveTime;
@SerializedName("Escalations")
private List<EscalationsItem> escalations;
@SerializedName("ReTriggerTime")
private Integer reTriggerTime;
public Integer getAutoResolveTime() {
return this.autoResolveTime;
}
public void setAutoResolveTime(Integer autoResolveTime) {
this.autoResolveTime = autoResolveTime;
}
public List<EscalationsItem> getEscalations() {
return this.escalations;
}
public void setEscalations(List<EscalationsItem> escalations) {
this.escalations = escalations;
}
public Integer getReTriggerTime() {
return this.reTriggerTime;
}
public void setReTriggerTime(Integer reTriggerTime) {
this.reTriggerTime = reTriggerTime;
}
public static class EscalationsItem {
@SerializedName("EscalateTime")
private Integer escalateTime;
@SerializedName("ContactGroups")
private List<String> contactGroups;
@SerializedName("LevelGroupMapRule")
private LevelGroupMapRule levelGroupMapRule;
public Integer getEscalateTime() {
return this.escalateTime;
}
public void setEscalateTime(Integer escalateTime) {
this.escalateTime = escalateTime;
}
public List<String> getContactGroups() {
return this.contactGroups;
}
public void setContactGroups(List<String> contactGroups) {
this.contactGroups = contactGroups;
}
public LevelGroupMapRule getLevelGroupMapRule() {
return this.levelGroupMapRule;
}
public void setLevelGroupMapRule(LevelGroupMapRule levelGroupMapRule) {
this.levelGroupMapRule = levelGroupMapRule;
}
public static class LevelGroupMapRule {
@SerializedName("Critical")
private List<String> critical;
@SerializedName("Resolve")
private List<String> resolve;
@SerializedName("Warning")
private List<String> warning;
@SerializedName("Info")
private List<String> info;
public List<String> getCritical() {
return this.critical;
}
public void setCritical(List<String> critical) {
this.critical = critical;
}
public List<String> getResolve() {
return this.resolve;
}
public void setResolve(List<String> resolve) {
this.resolve = resolve;
}
public List<String> getWarning() {
return this.warning;
}
public void setWarning(List<String> warning) {
this.warning = warning;
}
public List<String> getInfo() {
return this.info;
}
public void setInfo(List<String> info) {
this.info = info;
}
}
}
}
public static class PushingRule {
@SerializedName("PushingItems")
private List<PushingItemsItem> pushingItems;
public List<PushingItemsItem> getPushingItems() {
return this.pushingItems;
}
public void setPushingItems(List<PushingItemsItem> pushingItems) {
this.pushingItems = pushingItems;
}
public static class PushingItemsItem {
@SerializedName("WebhookTarget")
private WebhookTarget webhookTarget;
@SerializedName("ArnTarget")
private ArnTarget arnTarget;
@SerializedName("TargetType")
private String targetType;
@SerializedName("Range")
private String range;
public WebhookTarget getWebhookTarget() {
return this.webhookTarget;
}
public void setWebhookTarget(WebhookTarget webhookTarget) {
this.webhookTarget = webhookTarget;
}
public ArnTarget getArnTarget() {
return this.arnTarget;
}
public void setArnTarget(ArnTarget arnTarget) {
this.arnTarget = arnTarget;
}
public String getTargetType() {
return this.targetType;
}
public void setTargetType(String targetType) {
this.targetType = targetType;
}
public String getRange() {
return this.range;
}
public void setRange(String range) {
this.range = range;
}
public static class WebhookTarget {
@SerializedName("Headers")
private String headers;
@SerializedName("Method")
private String method;
@SerializedName("Url")
private String url;
@SerializedName("ResponseToken")
private String responseToken;
public String getHeaders() {
return this.headers;
}
public void setHeaders(String headers) {
this.headers = headers;
}
public String getBizMethod() {
return this.method;
}
public void setBizMethod(String method) {
this.method = method;
}
public String getUrl() {
return this.url;
}
public void setUrl(String url) {
this.url = url;
}
public String getResponseToken() {
return this.responseToken;
}
public void setResponseToken(String responseToken) {
this.responseToken = responseToken;
}
}
public static class ArnTarget {
@SerializedName("Arn")
private String arn;
public String getArn() {
return this.arn;
}
public void setArn(String arn) {
this.arn = arn;
}
}
}
}
public static class ChannelMapRule {
@SerializedName("Critical")
private Critical critical;
@SerializedName("Warning")
private Warning warning;
@SerializedName("Info")
private Info info;
public Critical getCritical() {
return this.critical;
}
public void setCritical(Critical critical) {
this.critical = critical;
}
public Warning getWarning() {
return this.warning;
}
public void setWarning(Warning warning) {
this.warning = warning;
}
public Info getInfo() {
return this.info;
}
public void setInfo(Info info) {
this.info = info;
}
public static class Critical {
@SerializedName("Channels")
private List<String> channels;
public List<String> getChannels() {
return this.channels;
}
public void setChannels(List<String> channels) {
this.channels = channels;
}
}
public static class Warning {
@SerializedName("Channels")
private List<String> channels;
public List<String> getChannels() {
return this.channels;
}
public void setChannels(List<String> channels) {
this.channels = channels;
}
}
public static class Info {
@SerializedName("Channels")
private List<String> channels;
public List<String> getChannels() {
return this.channels;
}
public void setChannels(List<String> channels) {
this.channels = channels;
}
}
}
@Override
public Class<PutAlertStrategyResponse> getResponseClass() {
return PutAlertStrategyResponse.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/PutAlertStrategyResponse.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.PutAlertStrategyResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class PutAlertStrategyResponse 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 PutAlertStrategyResponse getInstance(UnmarshallerContext context) {
return PutAlertStrategyResponseUnmarshaller.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/PutContactGroupRequest.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 PutContactGroupRequest extends RpcAcsRequest<PutContactGroupResponse> {
private Boolean enableSubscribed;
private String contactGroupName;
private String describe;
private List<String> contactNamess;
public PutContactGroupRequest() {
super("Cms", "2019-01-01", "PutContactGroup", "cms");
setMethod(MethodType.POST);
}
public Boolean getEnableSubscribed() {
return this.enableSubscribed;
}
public void setEnableSubscribed(Boolean enableSubscribed) {
this.enableSubscribed = enableSubscribed;
if(enableSubscribed != null){
putQueryParameter("EnableSubscribed", enableSubscribed.toString());
}
}
public String getContactGroupName() {
return this.contactGroupName;
}
public void setContactGroupName(String contactGroupName) {
this.contactGroupName = contactGroupName;
if(contactGroupName != null){
putQueryParameter("ContactGroupName", contactGroupName);
}
}
public String getDescribe() {
return this.describe;
}
public void setDescribe(String describe) {
this.describe = describe;
if(describe != null){
putQueryParameter("Describe", describe);
}
}
public List<String> getContactNamess() {
return this.contactNamess;
}
public void setContactNamess(List<String> contactNamess) {
this.contactNamess = contactNamess;
if (contactNamess != null) {
for (int i = 0; i < contactNamess.size(); i++) {
putQueryParameter("ContactNames." + (i + 1) , contactNamess.get(i));
}
}
}
@Override
public Class<PutContactGroupResponse> getResponseClass() {
return PutContactGroupResponse.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/PutContactGroupResponse.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.PutContactGroupResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class PutContactGroupResponse 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 PutContactGroupResponse getInstance(UnmarshallerContext context) {
return PutContactGroupResponseUnmarshaller.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/PutContactRequest.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 PutContactRequest extends RpcAcsRequest<PutContactResponse> {
private String channelsDingWebHook;
private String contactName;
private String channelsMail;
private String channelsAliIM;
private String describe;
private String lang;
private String channelsSMS;
public PutContactRequest() {
super("Cms", "2019-01-01", "PutContact", "cms");
setMethod(MethodType.POST);
}
public String getChannelsDingWebHook() {
return this.channelsDingWebHook;
}
public void setChannelsDingWebHook(String channelsDingWebHook) {
this.channelsDingWebHook = channelsDingWebHook;
if(channelsDingWebHook != null){
putQueryParameter("Channels.DingWebHook", channelsDingWebHook);
}
}
public String getContactName() {
return this.contactName;
}
public void setContactName(String contactName) {
this.contactName = contactName;
if(contactName != null){
putQueryParameter("ContactName", contactName);
}
}
public String getChannelsMail() {
return this.channelsMail;
}
public void setChannelsMail(String channelsMail) {
this.channelsMail = channelsMail;
if(channelsMail != null){
putQueryParameter("Channels.Mail", channelsMail);
}
}
public String getChannelsAliIM() {
return this.channelsAliIM;
}
public void setChannelsAliIM(String channelsAliIM) {
this.channelsAliIM = channelsAliIM;
if(channelsAliIM != null){
putQueryParameter("Channels.AliIM", channelsAliIM);
}
}
public String getDescribe() {
return this.describe;
}
public void setDescribe(String describe) {
this.describe = describe;
if(describe != null){
putQueryParameter("Describe", describe);
}
}
public String getLang() {
return this.lang;
}
public void setLang(String lang) {
this.lang = lang;
if(lang != null){
putQueryParameter("Lang", lang);
}
}
public String getChannelsSMS() {
return this.channelsSMS;
}
public void setChannelsSMS(String channelsSMS) {
this.channelsSMS = channelsSMS;
if(channelsSMS != null){
putQueryParameter("Channels.SMS", channelsSMS);
}
}
@Override
public Class<PutContactResponse> getResponseClass() {
return PutContactResponse.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/PutContactResponse.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.PutContactResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class PutContactResponse 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 PutContactResponse getInstance(UnmarshallerContext context) {
return PutContactResponseUnmarshaller.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/PutCustomEventRequest.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 PutCustomEventRequest extends RpcAcsRequest<PutCustomEventResponse> {
private List<EventInfo> eventInfos;
public PutCustomEventRequest() {
super("Cms", "2019-01-01", "PutCustomEvent", "cms");
setMethod(MethodType.POST);
}
public List<EventInfo> getEventInfos() {
return this.eventInfos;
}
public void setEventInfos(List<EventInfo> eventInfos) {
this.eventInfos = eventInfos;
if (eventInfos != null) {
for (int depth1 = 0; depth1 < eventInfos.size(); depth1++) {
putQueryParameter("EventInfo." + (depth1 + 1) + ".GroupId" , eventInfos.get(depth1).getGroupId());
putQueryParameter("EventInfo." + (depth1 + 1) + ".Time" , eventInfos.get(depth1).getTime());
putQueryParameter("EventInfo." + (depth1 + 1) + ".EventName" , eventInfos.get(depth1).getEventName());
putQueryParameter("EventInfo." + (depth1 + 1) + ".Content" , eventInfos.get(depth1).getContent());
}
}
}
public static class EventInfo {
private String groupId;
private String time;
private String eventName;
private String content;
public String getGroupId() {
return this.groupId;
}
public void setGroupId(String groupId) {
this.groupId = groupId;
}
public String getTime() {
return this.time;
}
public void setTime(String time) {
this.time = time;
}
public String getEventName() {
return this.eventName;
}
public void setEventName(String eventName) {
this.eventName = eventName;
}
public String getContent() {
return this.content;
}
public void setContent(String content) {
this.content = content;
}
}
@Override
public Class<PutCustomEventResponse> getResponseClass() {
return PutCustomEventResponse.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/PutCustomEventResponse.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.PutCustomEventResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class PutCustomEventResponse extends AcsResponse {
private String code;
private String message;
private String requestId;
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public PutCustomEventResponse getInstance(UnmarshallerContext context) {
return PutCustomEventResponseUnmarshaller.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/PutCustomEventRuleRequest.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 PutCustomEventRuleRequest extends RpcAcsRequest<PutCustomEventRuleResponse> {
private String webhook;
private String ruleName;
private String threshold;
private String effectiveInterval;
private String eventName;
private String emailSubject;
private String period;
private String contactGroups;
private String level;
private String groupId;
private String ruleId;
public PutCustomEventRuleRequest() {
super("Cms", "2019-01-01", "PutCustomEventRule", "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 getRuleName() {
return this.ruleName;
}
public void setRuleName(String ruleName) {
this.ruleName = ruleName;
if(ruleName != null){
putQueryParameter("RuleName", ruleName);
}
}
public String getThreshold() {
return this.threshold;
}
public void setThreshold(String threshold) {
this.threshold = threshold;
if(threshold != null){
putQueryParameter("Threshold", threshold);
}
}
public String getEffectiveInterval() {
return this.effectiveInterval;
}
public void setEffectiveInterval(String effectiveInterval) {
this.effectiveInterval = effectiveInterval;
if(effectiveInterval != null){
putQueryParameter("EffectiveInterval", effectiveInterval);
}
}
public String getEventName() {
return this.eventName;
}
public void setEventName(String eventName) {
this.eventName = eventName;
if(eventName != null){
putQueryParameter("EventName", eventName);
}
}
public String getEmailSubject() {
return this.emailSubject;
}
public void setEmailSubject(String emailSubject) {
this.emailSubject = emailSubject;
if(emailSubject != null){
putQueryParameter("EmailSubject", emailSubject);
}
}
public String getPeriod() {
return this.period;
}
public void setPeriod(String period) {
this.period = period;
if(period != null){
putQueryParameter("Period", period);
}
}
public String getContactGroups() {
return this.contactGroups;
}
public void setContactGroups(String contactGroups) {
this.contactGroups = contactGroups;
if(contactGroups != null){
putQueryParameter("ContactGroups", contactGroups);
}
}
public String getLevel() {
return this.level;
}
public void setLevel(String level) {
this.level = level;
if(level != null){
putQueryParameter("Level", level);
}
}
public String getGroupId() {
return this.groupId;
}
public void setGroupId(String groupId) {
this.groupId = groupId;
if(groupId != null){
putQueryParameter("GroupId", groupId);
}
}
public String getRuleId() {
return this.ruleId;
}
public void setRuleId(String ruleId) {
this.ruleId = ruleId;
if(ruleId != null){
putQueryParameter("RuleId", ruleId);
}
}
@Override
public Class<PutCustomEventRuleResponse> getResponseClass() {
return PutCustomEventRuleResponse.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/PutCustomEventRuleResponse.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.PutCustomEventRuleResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class PutCustomEventRuleResponse 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 PutCustomEventRuleResponse getInstance(UnmarshallerContext context) {
return PutCustomEventRuleResponseUnmarshaller.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/PutCustomMetricRequest.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 PutCustomMetricRequest extends RpcAcsRequest<PutCustomMetricResponse> {
private List<MetricList> metricLists;
public PutCustomMetricRequest() {
super("Cms", "2019-01-01", "PutCustomMetric", "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) + ".Period" , metricLists.get(depth1).getPeriod());
putQueryParameter("MetricList." + (depth1 + 1) + ".GroupId" , metricLists.get(depth1).getGroupId());
putQueryParameter("MetricList." + (depth1 + 1) + ".Values" , metricLists.get(depth1).getValues());
putQueryParameter("MetricList." + (depth1 + 1) + ".Time" , metricLists.get(depth1).getTime());
putQueryParameter("MetricList." + (depth1 + 1) + ".Type" , metricLists.get(depth1).getType());
putQueryParameter("MetricList." + (depth1 + 1) + ".MetricName" , metricLists.get(depth1).getMetricName());
putQueryParameter("MetricList." + (depth1 + 1) + ".Dimensions" , metricLists.get(depth1).getDimensions());
}
}
}
public static class MetricList {
private String period;
private String groupId;
private String values;
private String time;
private String type;
private String metricName;
private String dimensions;
public String getPeriod() {
return this.period;
}
public void setPeriod(String period) {
this.period = period;
}
public String getGroupId() {
return this.groupId;
}
public void setGroupId(String groupId) {
this.groupId = groupId;
}
public String getValues() {
return this.values;
}
public void setValues(String values) {
this.values = values;
}
public String getTime() {
return this.time;
}
public void setTime(String time) {
this.time = time;
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public String getMetricName() {
return this.metricName;
}
public void setMetricName(String metricName) {
this.metricName = metricName;
}
public String getDimensions() {
return this.dimensions;
}
public void setDimensions(String dimensions) {
this.dimensions = dimensions;
}
}
@Override
public Class<PutCustomMetricResponse> getResponseClass() {
return PutCustomMetricResponse.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/PutCustomMetricResponse.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.PutCustomMetricResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class PutCustomMetricResponse extends AcsResponse {
private String code;
private String message;
private String requestId;
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public PutCustomMetricResponse getInstance(UnmarshallerContext context) {
return PutCustomMetricResponseUnmarshaller.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/PutCustomMetricRuleRequest.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 PutCustomMetricRuleRequest extends RpcAcsRequest<PutCustomMetricRuleResponse> {
private String webhook;
private String ruleName;
private String threshold;
private String effectiveInterval;
private String emailSubject;
private Integer evaluationCount;
private Integer silenceTime;
private String metricName;
private String period;
private String contactGroups;
private String level;
private String groupId;
private String resources;
private String ruleId;
private String comparisonOperator;
private String statistics;
public PutCustomMetricRuleRequest() {
super("Cms", "2019-01-01", "PutCustomMetricRule", "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 getRuleName() {
return this.ruleName;
}
public void setRuleName(String ruleName) {
this.ruleName = ruleName;
if(ruleName != null){
putQueryParameter("RuleName", ruleName);
}
}
public String getThreshold() {
return this.threshold;
}
public void setThreshold(String threshold) {
this.threshold = threshold;
if(threshold != null){
putQueryParameter("Threshold", threshold);
}
}
public String getEffectiveInterval() {
return this.effectiveInterval;
}
public void setEffectiveInterval(String effectiveInterval) {
this.effectiveInterval = effectiveInterval;
if(effectiveInterval != null){
putQueryParameter("EffectiveInterval", effectiveInterval);
}
}
public String getEmailSubject() {
return this.emailSubject;
}
public void setEmailSubject(String emailSubject) {
this.emailSubject = emailSubject;
if(emailSubject != null){
putQueryParameter("EmailSubject", emailSubject);
}
}
public Integer getEvaluationCount() {
return this.evaluationCount;
}
public void setEvaluationCount(Integer evaluationCount) {
this.evaluationCount = evaluationCount;
if(evaluationCount != null){
putQueryParameter("EvaluationCount", evaluationCount.toString());
}
}
public Integer getSilenceTime() {
return this.silenceTime;
}
public void setSilenceTime(Integer silenceTime) {
this.silenceTime = silenceTime;
if(silenceTime != null){
putQueryParameter("SilenceTime", silenceTime.toString());
}
}
public String getMetricName() {
return this.metricName;
}
public void setMetricName(String metricName) {
this.metricName = metricName;
if(metricName != null){
putQueryParameter("MetricName", metricName);
}
}
public String getPeriod() {
return this.period;
}
public void setPeriod(String period) {
this.period = period;
if(period != null){
putQueryParameter("Period", period);
}
}
public String getContactGroups() {
return this.contactGroups;
}
public void setContactGroups(String contactGroups) {
this.contactGroups = contactGroups;
if(contactGroups != null){
putQueryParameter("ContactGroups", contactGroups);
}
}
public String getLevel() {
return this.level;
}
public void setLevel(String level) {
this.level = level;
if(level != null){
putQueryParameter("Level", level);
}
}
public String getGroupId() {
return this.groupId;
}
public void setGroupId(String groupId) {
this.groupId = groupId;
if(groupId != null){
putQueryParameter("GroupId", groupId);
}
}
public String getResources() {
return this.resources;
}
public void setResources(String resources) {
this.resources = resources;
if(resources != null){
putQueryParameter("Resources", resources);
}
}
public String getRuleId() {
return this.ruleId;
}
public void setRuleId(String ruleId) {
this.ruleId = ruleId;
if(ruleId != null){
putQueryParameter("RuleId", ruleId);
}
}
public String getComparisonOperator() {
return this.comparisonOperator;
}
public void setComparisonOperator(String comparisonOperator) {
this.comparisonOperator = comparisonOperator;
if(comparisonOperator != null){
putQueryParameter("ComparisonOperator", comparisonOperator);
}
}
public String getStatistics() {
return this.statistics;
}
public void setStatistics(String statistics) {
this.statistics = statistics;
if(statistics != null){
putQueryParameter("Statistics", statistics);
}
}
@Override
public Class<PutCustomMetricRuleResponse> getResponseClass() {
return PutCustomMetricRuleResponse.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/PutCustomMetricRuleResponse.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.PutCustomMetricRuleResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class PutCustomMetricRuleResponse 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 PutCustomMetricRuleResponse getInstance(UnmarshallerContext context) {
return PutCustomMetricRuleResponseUnmarshaller.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/PutEventRuleRequest.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 PutEventRuleRequest extends RpcAcsRequest<PutEventRuleResponse> {
private String description;
private String ruleName;
private Long silenceTime;
private String state;
private String groupId;
private List<EventPattern> eventPatterns;
private String eventType;
public PutEventRuleRequest() {
super("Cms", "2019-01-01", "PutEventRule", "cms");
setMethod(MethodType.POST);
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
if(description != null){
putQueryParameter("Description", description);
}
}
public String getRuleName() {
return this.ruleName;
}
public void setRuleName(String ruleName) {
this.ruleName = ruleName;
if(ruleName != null){
putQueryParameter("RuleName", ruleName);
}
}
public Long getSilenceTime() {
return this.silenceTime;
}
public void setSilenceTime(Long silenceTime) {
this.silenceTime = silenceTime;
if(silenceTime != null){
putQueryParameter("SilenceTime", silenceTime.toString());
}
}
public String getState() {
return this.state;
}
public void setState(String state) {
this.state = state;
if(state != null){
putQueryParameter("State", state);
}
}
public String getGroupId() {
return this.groupId;
}
public void setGroupId(String groupId) {
this.groupId = groupId;
if(groupId != null){
putQueryParameter("GroupId", groupId);
}
}
public List<EventPattern> getEventPatterns() {
return this.eventPatterns;
}
public void setEventPatterns(List<EventPattern> eventPatterns) {
this.eventPatterns = eventPatterns;
if (eventPatterns != null) {
for (int depth1 = 0; depth1 < eventPatterns.size(); depth1++) {
if (eventPatterns.get(depth1).getLevelLists() != null) {
for (int i = 0; i < eventPatterns.get(depth1).getLevelLists().size(); i++) {
putQueryParameter("EventPattern." + (depth1 + 1) + ".LevelList." + (i + 1) , eventPatterns.get(depth1).getLevelLists().get(i));
}
}
putQueryParameter("EventPattern." + (depth1 + 1) + ".KeywordFilter" , eventPatterns.get(depth1).getKeywordFilter());
putQueryParameter("EventPattern." + (depth1 + 1) + ".Product" , eventPatterns.get(depth1).getProduct());
if (eventPatterns.get(depth1).getStatusLists() != null) {
for (int i = 0; i < eventPatterns.get(depth1).getStatusLists().size(); i++) {
putQueryParameter("EventPattern." + (depth1 + 1) + ".StatusList." + (i + 1) , eventPatterns.get(depth1).getStatusLists().get(i));
}
}
if (eventPatterns.get(depth1).getNameLists() != null) {
for (int i = 0; i < eventPatterns.get(depth1).getNameLists().size(); i++) {
putQueryParameter("EventPattern." + (depth1 + 1) + ".NameList." + (i + 1) , eventPatterns.get(depth1).getNameLists().get(i));
}
}
putQueryParameter("EventPattern." + (depth1 + 1) + ".CustomFilters" , eventPatterns.get(depth1).getCustomFilters());
if (eventPatterns.get(depth1).getEventTypeLists() != null) {
for (int i = 0; i < eventPatterns.get(depth1).getEventTypeLists().size(); i++) {
putQueryParameter("EventPattern." + (depth1 + 1) + ".EventTypeList." + (i + 1) , eventPatterns.get(depth1).getEventTypeLists().get(i));
}
}
putQueryParameter("EventPattern." + (depth1 + 1) + ".SQLFilter" , eventPatterns.get(depth1).getSQLFilter());
}
}
}
public String getEventType() {
return this.eventType;
}
public void setEventType(String eventType) {
this.eventType = eventType;
if(eventType != null){
putQueryParameter("EventType", eventType);
}
}
public static class EventPattern {
private List<String> levelLists;
private KeywordFilter keywordFilter;
private String product;
private List<String> statusLists;
private List<String> nameLists;
private String customFilters;
private List<String> eventTypeLists;
private String sQLFilter;
public List<String> getLevelLists() {
return this.levelLists;
}
public void setLevelLists(List<String> levelLists) {
this.levelLists = levelLists;
}
public KeywordFilter getKeywordFilter() {
return this.keywordFilter;
}
public void setKeywordFilter(KeywordFilter keywordFilter) {
this.keywordFilter = keywordFilter;
}
public String getProduct() {
return this.product;
}
public void setProduct(String product) {
this.product = product;
}
public List<String> getStatusLists() {
return this.statusLists;
}
public void setStatusLists(List<String> statusLists) {
this.statusLists = statusLists;
}
public List<String> getNameLists() {
return this.nameLists;
}
public void setNameLists(List<String> nameLists) {
this.nameLists = nameLists;
}
public String getCustomFilters() {
return this.customFilters;
}
public void setCustomFilters(String customFilters) {
this.customFilters = customFilters;
}
public List<String> getEventTypeLists() {
return this.eventTypeLists;
}
public void setEventTypeLists(List<String> eventTypeLists) {
this.eventTypeLists = eventTypeLists;
}
public String getSQLFilter() {
return this.sQLFilter;
}
public void setSQLFilter(String sQLFilter) {
this.sQLFilter = sQLFilter;
}
public static class KeywordFilter {
private List<String> keywords;
private String relation;
public List<String> getKeywords() {
return this.keywords;
}
public void setKeywords(List<String> keywords) {
this.keywords = keywords;
}
public String getRelation() {
return this.relation;
}
public void setRelation(String relation) {
this.relation = relation;
}
}
}
@Override
public Class<PutEventRuleResponse> getResponseClass() {
return PutEventRuleResponse.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/PutEventRuleResponse.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.PutEventRuleResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class PutEventRuleResponse extends AcsResponse {
private String code;
private String message;
private String data;
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 getData() {
return this.data;
}
public void setData(String data) {
this.data = data;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
@Override
public PutEventRuleResponse getInstance(UnmarshallerContext context) {
return PutEventRuleResponseUnmarshaller.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/PutEventRuleTargetsRequest.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 PutEventRuleTargetsRequest extends RpcAcsRequest<PutEventRuleTargetsResponse> {
private List<WebhookParameters> webhookParameterss;
private List<ContactParameters> contactParameterss;
private List<SlsParameters> slsParameterss;
private String ruleName;
private List<OpenApiParameters> openApiParameterss;
private List<MnsParameters> mnsParameterss;
private List<FcParameters> fcParameterss;
public PutEventRuleTargetsRequest() {
super("Cms", "2019-01-01", "PutEventRuleTargets", "cms");
setMethod(MethodType.POST);
}
public List<WebhookParameters> getWebhookParameterss() {
return this.webhookParameterss;
}
public void setWebhookParameterss(List<WebhookParameters> webhookParameterss) {
this.webhookParameterss = webhookParameterss;
if (webhookParameterss != null) {
for (int depth1 = 0; depth1 < webhookParameterss.size(); depth1++) {
putQueryParameter("WebhookParameters." + (depth1 + 1) + ".Protocol" , webhookParameterss.get(depth1).getBizProtocol());
putQueryParameter("WebhookParameters." + (depth1 + 1) + ".Method" , webhookParameterss.get(depth1).getBizMethod());
putQueryParameter("WebhookParameters." + (depth1 + 1) + ".Id" , webhookParameterss.get(depth1).getId());
putQueryParameter("WebhookParameters." + (depth1 + 1) + ".Url" , webhookParameterss.get(depth1).getUrl());
}
}
}
public List<ContactParameters> getContactParameterss() {
return this.contactParameterss;
}
public void setContactParameterss(List<ContactParameters> contactParameterss) {
this.contactParameterss = contactParameterss;
if (contactParameterss != null) {
for (int depth1 = 0; depth1 < contactParameterss.size(); depth1++) {
putQueryParameter("ContactParameters." + (depth1 + 1) + ".Level" , contactParameterss.get(depth1).getLevel());
putQueryParameter("ContactParameters." + (depth1 + 1) + ".Id" , contactParameterss.get(depth1).getId());
putQueryParameter("ContactParameters." + (depth1 + 1) + ".ContactGroupName" , contactParameterss.get(depth1).getContactGroupName());
}
}
}
public List<SlsParameters> getSlsParameterss() {
return this.slsParameterss;
}
public void setSlsParameterss(List<SlsParameters> slsParameterss) {
this.slsParameterss = slsParameterss;
if (slsParameterss != null) {
for (int depth1 = 0; depth1 < slsParameterss.size(); depth1++) {
putQueryParameter("SlsParameters." + (depth1 + 1) + ".Project" , slsParameterss.get(depth1).getProject());
putQueryParameter("SlsParameters." + (depth1 + 1) + ".Id" , slsParameterss.get(depth1).getId());
putQueryParameter("SlsParameters." + (depth1 + 1) + ".Region" , slsParameterss.get(depth1).getRegion());
putQueryParameter("SlsParameters." + (depth1 + 1) + ".LogStore" , slsParameterss.get(depth1).getLogStore());
}
}
}
public String getRuleName() {
return this.ruleName;
}
public void setRuleName(String ruleName) {
this.ruleName = ruleName;
if(ruleName != null){
putQueryParameter("RuleName", ruleName);
}
}
public List<OpenApiParameters> getOpenApiParameterss() {
return this.openApiParameterss;
}
public void setOpenApiParameterss(List<OpenApiParameters> openApiParameterss) {
this.openApiParameterss = openApiParameterss;
if (openApiParameterss != null) {
for (int depth1 = 0; depth1 < openApiParameterss.size(); depth1++) {
putQueryParameter("OpenApiParameters." + (depth1 + 1) + ".Product" , openApiParameterss.get(depth1).getProduct());
putQueryParameter("OpenApiParameters." + (depth1 + 1) + ".Role" , openApiParameterss.get(depth1).getRole());
putQueryParameter("OpenApiParameters." + (depth1 + 1) + ".Action" , openApiParameterss.get(depth1).getAction());
putQueryParameter("OpenApiParameters." + (depth1 + 1) + ".Id" , openApiParameterss.get(depth1).getId());
putQueryParameter("OpenApiParameters." + (depth1 + 1) + ".Arn" , openApiParameterss.get(depth1).getArn());
putQueryParameter("OpenApiParameters." + (depth1 + 1) + ".Region" , openApiParameterss.get(depth1).getRegion());
putQueryParameter("OpenApiParameters." + (depth1 + 1) + ".Version" , openApiParameterss.get(depth1).getVersion());
putQueryParameter("OpenApiParameters." + (depth1 + 1) + ".JsonParams" , openApiParameterss.get(depth1).getJsonParams());
}
}
}
public List<MnsParameters> getMnsParameterss() {
return this.mnsParameterss;
}
public void setMnsParameterss(List<MnsParameters> mnsParameterss) {
this.mnsParameterss = mnsParameterss;
if (mnsParameterss != null) {
for (int depth1 = 0; depth1 < mnsParameterss.size(); depth1++) {
putQueryParameter("MnsParameters." + (depth1 + 1) + ".Topic" , mnsParameterss.get(depth1).getTopic());
putQueryParameter("MnsParameters." + (depth1 + 1) + ".Id" , mnsParameterss.get(depth1).getId());
putQueryParameter("MnsParameters." + (depth1 + 1) + ".Region" , mnsParameterss.get(depth1).getRegion());
putQueryParameter("MnsParameters." + (depth1 + 1) + ".Queue" , mnsParameterss.get(depth1).getQueue());
}
}
}
public List<FcParameters> getFcParameterss() {
return this.fcParameterss;
}
public void setFcParameterss(List<FcParameters> fcParameterss) {
this.fcParameterss = fcParameterss;
if (fcParameterss != null) {
for (int depth1 = 0; depth1 < fcParameterss.size(); depth1++) {
putQueryParameter("FcParameters." + (depth1 + 1) + ".FunctionName" , fcParameterss.get(depth1).getFunctionName());
putQueryParameter("FcParameters." + (depth1 + 1) + ".ServiceName" , fcParameterss.get(depth1).getServiceName());
putQueryParameter("FcParameters." + (depth1 + 1) + ".Id" , fcParameterss.get(depth1).getId());
putQueryParameter("FcParameters." + (depth1 + 1) + ".Region" , fcParameterss.get(depth1).getRegion());
}
}
}
public static class WebhookParameters {
private String protocol;
private String method;
private String id;
private String url;
public String getBizProtocol() {
return this.protocol;
}
public void setBizProtocol(String protocol) {
this.protocol = protocol;
}
public String getBizMethod() {
return this.method;
}
public void setBizMethod(String method) {
this.method = method;
}
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
public String getUrl() {
return this.url;
}
public void setUrl(String url) {
this.url = url;
}
}
public static class ContactParameters {
private String level;
private String id;
private String contactGroupName;
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 getContactGroupName() {
return this.contactGroupName;
}
public void setContactGroupName(String contactGroupName) {
this.contactGroupName = contactGroupName;
}
}
public static class SlsParameters {
private String project;
private String id;
private String region;
private String logStore;
public String getProject() {
return this.project;
}
public void setProject(String project) {
this.project = project;
}
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
public String getRegion() {
return this.region;
}
public void setRegion(String region) {
this.region = region;
}
public String getLogStore() {
return this.logStore;
}
public void setLogStore(String logStore) {
this.logStore = logStore;
}
}
public static class OpenApiParameters {
private String product;
private String role;
private String action;
private String id;
private String arn;
private String region;
private String version;
private String jsonParams;
public String getProduct() {
return this.product;
}
public void setProduct(String product) {
this.product = product;
}
public String getRole() {
return this.role;
}
public void setRole(String role) {
this.role = role;
}
public String getAction() {
return this.action;
}
public void setAction(String action) {
this.action = action;
}
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 getRegion() {
return this.region;
}
public void setRegion(String region) {
this.region = region;
}
public String getVersion() {
return this.version;
}
public void setVersion(String version) {
this.version = version;
}
public String getJsonParams() {
return this.jsonParams;
}
public void setJsonParams(String jsonParams) {
this.jsonParams = jsonParams;
}
}
public static class MnsParameters {
private String topic;
private String id;
private String region;
private String queue;
public String getTopic() {
return this.topic;
}
public void setTopic(String topic) {
this.topic = topic;
}
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
public String getRegion() {
return this.region;
}
public void setRegion(String region) {
this.region = region;
}
public String getQueue() {
return this.queue;
}
public void setQueue(String queue) {
this.queue = queue;
}
}
public static class FcParameters {
private String functionName;
private String serviceName;
private String id;
private String region;
public String getFunctionName() {
return this.functionName;
}
public void setFunctionName(String functionName) {
this.functionName = functionName;
}
public String getServiceName() {
return this.serviceName;
}
public void setServiceName(String serviceName) {
this.serviceName = serviceName;
}
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
public String getRegion() {
return this.region;
}
public void setRegion(String region) {
this.region = region;
}
}
@Override
public Class<PutEventRuleTargetsResponse> getResponseClass() {
return PutEventRuleTargetsResponse.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/PutEventRuleTargetsResponse.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.PutEventRuleTargetsResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class PutEventRuleTargetsResponse extends AcsResponse {
private String code;
private String message;
private String requestId;
private Boolean success;
private String failedParameterCount;
private List<ContactParameter> failedContactParameters;
private List<MnsParameter> failedMnsParameters;
private List<FcParameter> failedFcParameters;
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 String getFailedParameterCount() {
return this.failedParameterCount;
}
public void setFailedParameterCount(String failedParameterCount) {
this.failedParameterCount = failedParameterCount;
}
public List<ContactParameter> getFailedContactParameters() {
return this.failedContactParameters;
}
public void setFailedContactParameters(List<ContactParameter> failedContactParameters) {
this.failedContactParameters = failedContactParameters;
}
public List<MnsParameter> getFailedMnsParameters() {
return this.failedMnsParameters;
}
public void setFailedMnsParameters(List<MnsParameter> failedMnsParameters) {
this.failedMnsParameters = failedMnsParameters;
}
public List<FcParameter> getFailedFcParameters() {
return this.failedFcParameters;
}
public void setFailedFcParameters(List<FcParameter> failedFcParameters) {
this.failedFcParameters = failedFcParameters;
}
public static class ContactParameter {
private String contactGroupName;
private Integer id;
private String level;
public String getContactGroupName() {
return this.contactGroupName;
}
public void setContactGroupName(String contactGroupName) {
this.contactGroupName = contactGroupName;
}
public Integer getId() {
return this.id;
}
public void setId(Integer id) {
this.id = id;
}
public String getLevel() {
return this.level;
}
public void setLevel(String level) {
this.level = level;
}
}
public static class MnsParameter {
private String queue;
private Integer id;
private String region;
public String getQueue() {
return this.queue;
}
public void setQueue(String queue) {
this.queue = queue;
}
public Integer getId() {
return this.id;
}
public void setId(Integer id) {
this.id = id;
}
public String getRegion() {
return this.region;
}
public void setRegion(String region) {
this.region = region;
}
}
public static class FcParameter {
private String serviceName;
private String functionName;
private Integer id;
private String region;
public String getServiceName() {
return this.serviceName;
}
public void setServiceName(String serviceName) {
this.serviceName = serviceName;
}
public String getFunctionName() {
return this.functionName;
}
public void setFunctionName(String functionName) {
this.functionName = functionName;
}
public Integer getId() {
return this.id;
}
public void setId(Integer id) {
this.id = id;
}
public String getRegion() {
return this.region;
}
public void setRegion(String region) {
this.region = region;
}
}
@Override
public PutEventRuleTargetsResponse getInstance(UnmarshallerContext context) {
return PutEventRuleTargetsResponseUnmarshaller.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/PutExporterOutputRequest.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 PutExporterOutputRequest extends RpcAcsRequest<PutExporterOutputResponse> {
private String destName;
private String configJson;
private String destType;
private String desc;
public PutExporterOutputRequest() {
super("Cms", "2019-01-01", "PutExporterOutput", "cms");
setMethod(MethodType.POST);
}
public String getDestName() {
return this.destName;
}
public void setDestName(String destName) {
this.destName = destName;
if(destName != null){
putQueryParameter("DestName", destName);
}
}
public String getConfigJson() {
return this.configJson;
}
public void setConfigJson(String configJson) {
this.configJson = configJson;
if(configJson != null){
putQueryParameter("ConfigJson", configJson);
}
}
public String getDestType() {
return this.destType;
}
public void setDestType(String destType) {
this.destType = destType;
if(destType != null){
putQueryParameter("DestType", destType);
}
}
public String getDesc() {
return this.desc;
}
public void setDesc(String desc) {
this.desc = desc;
if(desc != null){
putQueryParameter("Desc", desc);
}
}
@Override
public Class<PutExporterOutputResponse> getResponseClass() {
return PutExporterOutputResponse.class;
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.