index
int64 | repo_id
string | file_path
string | content
string |
|---|---|---|---|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/ListActivatedAlertsRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import com.aliyuncs.v5.RpcAcsRequest;
import com.aliyuncs.v5.http.MethodType;
import com.aliyuncs.v5.arms.Endpoint;
/**
* @author auto create
* @version
*/
public class ListActivatedAlertsRequest extends RpcAcsRequest<ListActivatedAlertsResponse> {
private String filter;
private Integer pageSize;
private Integer currentPage;
public ListActivatedAlertsRequest() {
super("ARMS", "2019-08-08", "ListActivatedAlerts", "arms");
setMethod(MethodType.POST);
try {
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getFilter() {
return this.filter;
}
public void setFilter(String filter) {
this.filter = filter;
if(filter != null){
putQueryParameter("Filter", filter);
}
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
if(pageSize != null){
putQueryParameter("PageSize", pageSize.toString());
}
}
public Integer getCurrentPage() {
return this.currentPage;
}
public void setCurrentPage(Integer currentPage) {
this.currentPage = currentPage;
if(currentPage != null){
putQueryParameter("CurrentPage", currentPage.toString());
}
}
@Override
public Class<ListActivatedAlertsResponse> getResponseClass() {
return ListActivatedAlertsResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/ListActivatedAlertsResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import java.util.List;
import com.aliyuncs.v5.AcsResponse;
import com.aliyuncs.v5.arms.transform.v20190808.ListActivatedAlertsResponseUnmarshaller;
import com.aliyuncs.v5.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ListActivatedAlertsResponse extends AcsResponse {
private String requestId;
private Page page;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Page getPage() {
return this.page;
}
public void setPage(Page page) {
this.page = page;
}
public static class Page {
private Integer page;
private Integer pageSize;
private Integer total;
private List<Alert> alerts;
public Integer getPage() {
return this.page;
}
public void setPage(Integer page) {
this.page = page;
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
}
public Integer getTotal() {
return this.total;
}
public void setTotal(Integer total) {
this.total = total;
}
public List<Alert> getAlerts() {
return this.alerts;
}
public void setAlerts(List<Alert> alerts) {
this.alerts = alerts;
}
public static class Alert {
private String alertName;
private String alertType;
private Integer count;
private Long createTime;
private Long endsAt;
private String expandFields;
private String alertId;
private String integrationName;
private String integrationType;
private String involvedObjectKind;
private String involvedObjectName;
private String message;
private String severity;
private Long startsAt;
private String status;
private List<DispatchRule> dispatchRules;
public String getAlertName() {
return this.alertName;
}
public void setAlertName(String alertName) {
this.alertName = alertName;
}
public String getAlertType() {
return this.alertType;
}
public void setAlertType(String alertType) {
this.alertType = alertType;
}
public Integer getCount() {
return this.count;
}
public void setCount(Integer count) {
this.count = count;
}
public Long getCreateTime() {
return this.createTime;
}
public void setCreateTime(Long createTime) {
this.createTime = createTime;
}
public Long getEndsAt() {
return this.endsAt;
}
public void setEndsAt(Long endsAt) {
this.endsAt = endsAt;
}
public String getExpandFields() {
return this.expandFields;
}
public void setExpandFields(String expandFields) {
this.expandFields = expandFields;
}
public String getAlertId() {
return this.alertId;
}
public void setAlertId(String alertId) {
this.alertId = alertId;
}
public String getIntegrationName() {
return this.integrationName;
}
public void setIntegrationName(String integrationName) {
this.integrationName = integrationName;
}
public String getIntegrationType() {
return this.integrationType;
}
public void setIntegrationType(String integrationType) {
this.integrationType = integrationType;
}
public String getInvolvedObjectKind() {
return this.involvedObjectKind;
}
public void setInvolvedObjectKind(String involvedObjectKind) {
this.involvedObjectKind = involvedObjectKind;
}
public String getInvolvedObjectName() {
return this.involvedObjectName;
}
public void setInvolvedObjectName(String involvedObjectName) {
this.involvedObjectName = involvedObjectName;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getSeverity() {
return this.severity;
}
public void setSeverity(String severity) {
this.severity = severity;
}
public Long getStartsAt() {
return this.startsAt;
}
public void setStartsAt(Long startsAt) {
this.startsAt = startsAt;
}
public String getStatus() {
return this.status;
}
public void setStatus(String status) {
this.status = status;
}
public List<DispatchRule> getDispatchRules() {
return this.dispatchRules;
}
public void setDispatchRules(List<DispatchRule> dispatchRules) {
this.dispatchRules = dispatchRules;
}
public static class DispatchRule {
private String ruleName;
private Integer ruleId;
public String getRuleName() {
return this.ruleName;
}
public void setRuleName(String ruleName) {
this.ruleName = ruleName;
}
public Integer getRuleId() {
return this.ruleId;
}
public void setRuleId(Integer ruleId) {
this.ruleId = ruleId;
}
}
}
}
@Override
public ListActivatedAlertsResponse getInstance(UnmarshallerContext context) {
return ListActivatedAlertsResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/ListClusterFromGrafanaRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import com.aliyuncs.v5.RpcAcsRequest;
import com.aliyuncs.v5.http.MethodType;
import com.aliyuncs.v5.arms.Endpoint;
/**
* @author auto create
* @version
*/
public class ListClusterFromGrafanaRequest extends RpcAcsRequest<ListClusterFromGrafanaResponse> {
public ListClusterFromGrafanaRequest() {
super("ARMS", "2019-08-08", "ListClusterFromGrafana", "arms");
setMethod(MethodType.POST);
try {
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
@Override
public Class<ListClusterFromGrafanaResponse> getResponseClass() {
return ListClusterFromGrafanaResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/ListClusterFromGrafanaResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import java.util.List;
import com.aliyuncs.v5.AcsResponse;
import com.aliyuncs.v5.arms.transform.v20190808.ListClusterFromGrafanaResponseUnmarshaller;
import com.aliyuncs.v5.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ListClusterFromGrafanaResponse extends AcsResponse {
private String requestId;
private List<PromCluster> promClusterList;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public List<PromCluster> getPromClusterList() {
return this.promClusterList;
}
public void setPromClusterList(List<PromCluster> promClusterList) {
this.promClusterList = promClusterList;
}
public static class PromCluster {
private Long id;
private String clusterId;
private String clusterName;
private String agentStatus;
private String clusterType;
private String controllerId;
private Boolean isControllerInstalled;
private String userId;
private String regionId;
private String pluginsJsonArray;
private String stateJson;
private Integer nodeNum;
private Long createTime;
private Long updateTime;
private Long lastHeartBeatTime;
private Long installTime;
private String extra;
private String options;
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public String getClusterId() {
return this.clusterId;
}
public void setClusterId(String clusterId) {
this.clusterId = clusterId;
}
public String getClusterName() {
return this.clusterName;
}
public void setClusterName(String clusterName) {
this.clusterName = clusterName;
}
public String getAgentStatus() {
return this.agentStatus;
}
public void setAgentStatus(String agentStatus) {
this.agentStatus = agentStatus;
}
public String getClusterType() {
return this.clusterType;
}
public void setClusterType(String clusterType) {
this.clusterType = clusterType;
}
public String getControllerId() {
return this.controllerId;
}
public void setControllerId(String controllerId) {
this.controllerId = controllerId;
}
public Boolean getIsControllerInstalled() {
return this.isControllerInstalled;
}
public void setIsControllerInstalled(Boolean isControllerInstalled) {
this.isControllerInstalled = isControllerInstalled;
}
public String getUserId() {
return this.userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
public String getRegionId() {
return this.regionId;
}
public void setRegionId(String regionId) {
this.regionId = regionId;
}
public String getPluginsJsonArray() {
return this.pluginsJsonArray;
}
public void setPluginsJsonArray(String pluginsJsonArray) {
this.pluginsJsonArray = pluginsJsonArray;
}
public String getStateJson() {
return this.stateJson;
}
public void setStateJson(String stateJson) {
this.stateJson = stateJson;
}
public Integer getNodeNum() {
return this.nodeNum;
}
public void setNodeNum(Integer nodeNum) {
this.nodeNum = nodeNum;
}
public Long getCreateTime() {
return this.createTime;
}
public void setCreateTime(Long createTime) {
this.createTime = createTime;
}
public Long getUpdateTime() {
return this.updateTime;
}
public void setUpdateTime(Long updateTime) {
this.updateTime = updateTime;
}
public Long getLastHeartBeatTime() {
return this.lastHeartBeatTime;
}
public void setLastHeartBeatTime(Long lastHeartBeatTime) {
this.lastHeartBeatTime = lastHeartBeatTime;
}
public Long getInstallTime() {
return this.installTime;
}
public void setInstallTime(Long installTime) {
this.installTime = installTime;
}
public String getExtra() {
return this.extra;
}
public void setExtra(String extra) {
this.extra = extra;
}
public String getOptions() {
return this.options;
}
public void setOptions(String options) {
this.options = options;
}
}
@Override
public ListClusterFromGrafanaResponse getInstance(UnmarshallerContext context) {
return ListClusterFromGrafanaResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/ListDashboardsRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import com.aliyuncs.v5.RpcAcsRequest;
import com.aliyuncs.v5.http.MethodType;
import com.aliyuncs.v5.arms.Endpoint;
/**
* @author auto create
* @version
*/
public class ListDashboardsRequest extends RpcAcsRequest<ListDashboardsResponse> {
private String dashboardName;
private String product;
private Boolean recreateSwitch;
private String clusterId;
private String title;
private String clusterType;
public ListDashboardsRequest() {
super("ARMS", "2019-08-08", "ListDashboards", "arms");
setMethod(MethodType.POST);
try {
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getDashboardName() {
return this.dashboardName;
}
public void setDashboardName(String dashboardName) {
this.dashboardName = dashboardName;
if(dashboardName != null){
putQueryParameter("DashboardName", dashboardName);
}
}
public String getProduct() {
return this.product;
}
public void setProduct(String product) {
this.product = product;
if(product != null){
putQueryParameter("Product", product);
}
}
public Boolean getRecreateSwitch() {
return this.recreateSwitch;
}
public void setRecreateSwitch(Boolean recreateSwitch) {
this.recreateSwitch = recreateSwitch;
if(recreateSwitch != null){
putQueryParameter("RecreateSwitch", recreateSwitch.toString());
}
}
public String getClusterId() {
return this.clusterId;
}
public void setClusterId(String clusterId) {
this.clusterId = clusterId;
if(clusterId != null){
putQueryParameter("ClusterId", clusterId);
}
}
public String getTitle() {
return this.title;
}
public void setTitle(String title) {
this.title = title;
if(title != null){
putQueryParameter("Title", title);
}
}
public String getClusterType() {
return this.clusterType;
}
public void setClusterType(String clusterType) {
this.clusterType = clusterType;
if(clusterType != null){
putQueryParameter("ClusterType", clusterType);
}
}
@Override
public Class<ListDashboardsResponse> getResponseClass() {
return ListDashboardsResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/ListDashboardsResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import java.util.List;
import com.aliyuncs.v5.AcsResponse;
import com.aliyuncs.v5.arms.transform.v20190808.ListDashboardsResponseUnmarshaller;
import com.aliyuncs.v5.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ListDashboardsResponse extends AcsResponse {
private String requestId;
private List<DashboardVosItem> dashboardVos;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public List<DashboardVosItem> getDashboardVos() {
return this.dashboardVos;
}
public void setDashboardVos(List<DashboardVosItem> dashboardVos) {
this.dashboardVos = dashboardVos;
}
public static class DashboardVosItem {
private String id;
private String uid;
private String title;
private String time;
private String url;
private String type;
private String exporter;
private Boolean isArmsExporter;
private String name;
private String version;
private String dashboardType;
private String kind;
private Boolean needUpdate;
private String httpUrl;
private String httpsUrl;
private List<String> tags;
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
public String getUid() {
return this.uid;
}
public void setUid(String uid) {
this.uid = uid;
}
public String getTitle() {
return this.title;
}
public void setTitle(String title) {
this.title = title;
}
public String getTime() {
return this.time;
}
public void setTime(String time) {
this.time = time;
}
public String getUrl() {
return this.url;
}
public void setUrl(String url) {
this.url = url;
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public String getExporter() {
return this.exporter;
}
public void setExporter(String exporter) {
this.exporter = exporter;
}
public Boolean getIsArmsExporter() {
return this.isArmsExporter;
}
public void setIsArmsExporter(Boolean isArmsExporter) {
this.isArmsExporter = isArmsExporter;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getVersion() {
return this.version;
}
public void setVersion(String version) {
this.version = version;
}
public String getDashboardType() {
return this.dashboardType;
}
public void setDashboardType(String dashboardType) {
this.dashboardType = dashboardType;
}
public String getKind() {
return this.kind;
}
public void setKind(String kind) {
this.kind = kind;
}
public Boolean getNeedUpdate() {
return this.needUpdate;
}
public void setNeedUpdate(Boolean needUpdate) {
this.needUpdate = needUpdate;
}
public String getHttpUrl() {
return this.httpUrl;
}
public void setHttpUrl(String httpUrl) {
this.httpUrl = httpUrl;
}
public String getHttpsUrl() {
return this.httpsUrl;
}
public void setHttpsUrl(String httpsUrl) {
this.httpsUrl = httpsUrl;
}
public List<String> getTags() {
return this.tags;
}
public void setTags(List<String> tags) {
this.tags = tags;
}
}
@Override
public ListDashboardsResponse getInstance(UnmarshallerContext context) {
return ListDashboardsResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/ListDispatchRuleRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import com.aliyuncs.v5.RpcAcsRequest;
import com.aliyuncs.v5.http.MethodType;
import com.aliyuncs.v5.arms.Endpoint;
/**
* @author auto create
* @version
*/
public class ListDispatchRuleRequest extends RpcAcsRequest<ListDispatchRuleResponse> {
private Boolean system;
private String name;
public ListDispatchRuleRequest() {
super("ARMS", "2019-08-08", "ListDispatchRule", "arms");
setMethod(MethodType.POST);
try {
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public Boolean getSystem() {
return this.system;
}
public void setSystem(Boolean system) {
this.system = system;
if(system != null){
putQueryParameter("System", system.toString());
}
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
if(name != null){
putQueryParameter("Name", name);
}
}
@Override
public Class<ListDispatchRuleResponse> getResponseClass() {
return ListDispatchRuleResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/ListDispatchRuleResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import java.util.List;
import com.aliyuncs.v5.AcsResponse;
import com.aliyuncs.v5.arms.transform.v20190808.ListDispatchRuleResponseUnmarshaller;
import com.aliyuncs.v5.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ListDispatchRuleResponse extends AcsResponse {
private String requestId;
private List<DispatchRule> dispatchRules;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public List<DispatchRule> getDispatchRules() {
return this.dispatchRules;
}
public void setDispatchRules(List<DispatchRule> dispatchRules) {
this.dispatchRules = dispatchRules;
}
public static class DispatchRule {
private Long ruleId;
private String name;
private String state;
public Long getRuleId() {
return this.ruleId;
}
public void setRuleId(Long ruleId) {
this.ruleId = ruleId;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getState() {
return this.state;
}
public void setState(String state) {
this.state = state;
}
}
@Override
public ListDispatchRuleResponse getInstance(UnmarshallerContext context) {
return ListDispatchRuleResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/ListPrometheusAlertRulesRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import com.aliyuncs.v5.RpcAcsRequest;
import com.aliyuncs.v5.http.MethodType;
import com.aliyuncs.v5.arms.Endpoint;
/**
* @author auto create
* @version
*/
public class ListPrometheusAlertRulesRequest extends RpcAcsRequest<ListPrometheusAlertRulesResponse> {
private String clusterId;
private String type;
private String name;
private String matchExpressions;
private Integer status;
public ListPrometheusAlertRulesRequest() {
super("ARMS", "2019-08-08", "ListPrometheusAlertRules", "arms");
setMethod(MethodType.POST);
try {
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getClusterId() {
return this.clusterId;
}
public void setClusterId(String clusterId) {
this.clusterId = clusterId;
if(clusterId != null){
putQueryParameter("ClusterId", clusterId);
}
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
if(type != null){
putQueryParameter("Type", type);
}
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
if(name != null){
putQueryParameter("Name", name);
}
}
public String getMatchExpressions() {
return this.matchExpressions;
}
public void setMatchExpressions(String matchExpressions) {
this.matchExpressions = matchExpressions;
if(matchExpressions != null){
putQueryParameter("MatchExpressions", matchExpressions);
}
}
public Integer getStatus() {
return this.status;
}
public void setStatus(Integer status) {
this.status = status;
if(status != null){
putQueryParameter("Status", status.toString());
}
}
@Override
public Class<ListPrometheusAlertRulesResponse> getResponseClass() {
return ListPrometheusAlertRulesResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/ListPrometheusAlertRulesResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import java.util.List;
import com.aliyuncs.v5.AcsResponse;
import com.aliyuncs.v5.arms.transform.v20190808.ListPrometheusAlertRulesResponseUnmarshaller;
import com.aliyuncs.v5.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ListPrometheusAlertRulesResponse extends AcsResponse {
private String requestId;
private List<PrometheusAlertRule> prometheusAlertRules;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public List<PrometheusAlertRule> getPrometheusAlertRules() {
return this.prometheusAlertRules;
}
public void setPrometheusAlertRules(List<PrometheusAlertRule> prometheusAlertRules) {
this.prometheusAlertRules = prometheusAlertRules;
}
public static class PrometheusAlertRule {
private Long alertId;
private String alertName;
private String message;
private String type;
private String expression;
private String duration;
private String clusterId;
private Integer status;
private Long dispatchRuleId;
private String notifyType;
private List<Label> labels;
private List<Annotation> annotations;
public Long getAlertId() {
return this.alertId;
}
public void setAlertId(Long alertId) {
this.alertId = alertId;
}
public String getAlertName() {
return this.alertName;
}
public void setAlertName(String alertName) {
this.alertName = alertName;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public String getExpression() {
return this.expression;
}
public void setExpression(String expression) {
this.expression = expression;
}
public String getDuration() {
return this.duration;
}
public void setDuration(String duration) {
this.duration = duration;
}
public String getClusterId() {
return this.clusterId;
}
public void setClusterId(String clusterId) {
this.clusterId = clusterId;
}
public Integer getStatus() {
return this.status;
}
public void setStatus(Integer status) {
this.status = status;
}
public Long getDispatchRuleId() {
return this.dispatchRuleId;
}
public void setDispatchRuleId(Long dispatchRuleId) {
this.dispatchRuleId = dispatchRuleId;
}
public String getNotifyType() {
return this.notifyType;
}
public void setNotifyType(String notifyType) {
this.notifyType = notifyType;
}
public List<Label> getLabels() {
return this.labels;
}
public void setLabels(List<Label> labels) {
this.labels = labels;
}
public List<Annotation> getAnnotations() {
return this.annotations;
}
public void setAnnotations(List<Annotation> annotations) {
this.annotations = annotations;
}
public static class Label {
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 Annotation {
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;
}
}
}
@Override
public ListPrometheusAlertRulesResponse getInstance(UnmarshallerContext context) {
return ListPrometheusAlertRulesResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/ListPrometheusAlertTemplatesRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import com.aliyuncs.v5.RpcAcsRequest;
import com.aliyuncs.v5.http.MethodType;
import com.aliyuncs.v5.arms.Endpoint;
/**
* @author auto create
* @version
*/
public class ListPrometheusAlertTemplatesRequest extends RpcAcsRequest<ListPrometheusAlertTemplatesResponse> {
private String clusterId;
public ListPrometheusAlertTemplatesRequest() {
super("ARMS", "2019-08-08", "ListPrometheusAlertTemplates", "arms");
setMethod(MethodType.POST);
try {
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getClusterId() {
return this.clusterId;
}
public void setClusterId(String clusterId) {
this.clusterId = clusterId;
if(clusterId != null){
putQueryParameter("ClusterId", clusterId);
}
}
@Override
public Class<ListPrometheusAlertTemplatesResponse> getResponseClass() {
return ListPrometheusAlertTemplatesResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/ListPrometheusAlertTemplatesResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import java.util.List;
import com.aliyuncs.v5.AcsResponse;
import com.aliyuncs.v5.arms.transform.v20190808.ListPrometheusAlertTemplatesResponseUnmarshaller;
import com.aliyuncs.v5.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ListPrometheusAlertTemplatesResponse extends AcsResponse {
private String requestId;
private List<PrometheusAlertTemplate> prometheusAlertTemplates;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public List<PrometheusAlertTemplate> getPrometheusAlertTemplates() {
return this.prometheusAlertTemplates;
}
public void setPrometheusAlertTemplates(List<PrometheusAlertTemplate> prometheusAlertTemplates) {
this.prometheusAlertTemplates = prometheusAlertTemplates;
}
public static class PrometheusAlertTemplate {
private String alertName;
private String description;
private String type;
private String expression;
private String duration;
private String version;
private List<Label> labels;
private List<Annotation> annotations;
public String getAlertName() {
return this.alertName;
}
public void setAlertName(String alertName) {
this.alertName = alertName;
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public String getExpression() {
return this.expression;
}
public void setExpression(String expression) {
this.expression = expression;
}
public String getDuration() {
return this.duration;
}
public void setDuration(String duration) {
this.duration = duration;
}
public String getVersion() {
return this.version;
}
public void setVersion(String version) {
this.version = version;
}
public List<Label> getLabels() {
return this.labels;
}
public void setLabels(List<Label> labels) {
this.labels = labels;
}
public List<Annotation> getAnnotations() {
return this.annotations;
}
public void setAnnotations(List<Annotation> annotations) {
this.annotations = annotations;
}
public static class Label {
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 Annotation {
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;
}
}
}
@Override
public ListPrometheusAlertTemplatesResponse getInstance(UnmarshallerContext context) {
return ListPrometheusAlertTemplatesResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/ListRetcodeAppsRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import com.aliyuncs.v5.RpcAcsRequest;
import com.aliyuncs.v5.http.MethodType;
import com.aliyuncs.v5.arms.Endpoint;
/**
* @author auto create
* @version
*/
public class ListRetcodeAppsRequest extends RpcAcsRequest<ListRetcodeAppsResponse> {
private String securityToken;
public ListRetcodeAppsRequest() {
super("ARMS", "2019-08-08", "ListRetcodeApps", "arms");
setMethod(MethodType.POST);
try {
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getSecurityToken() {
return this.securityToken;
}
public void setSecurityToken(String securityToken) {
this.securityToken = securityToken;
if(securityToken != null){
putQueryParameter("SecurityToken", securityToken);
}
}
@Override
public Class<ListRetcodeAppsResponse> getResponseClass() {
return ListRetcodeAppsResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/ListRetcodeAppsResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import java.util.List;
import com.aliyuncs.v5.AcsResponse;
import com.aliyuncs.v5.arms.transform.v20190808.ListRetcodeAppsResponseUnmarshaller;
import com.aliyuncs.v5.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ListRetcodeAppsResponse extends AcsResponse {
private String requestId;
private List<RetcodeApp> retcodeApps;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public List<RetcodeApp> getRetcodeApps() {
return this.retcodeApps;
}
public void setRetcodeApps(List<RetcodeApp> retcodeApps) {
this.retcodeApps = retcodeApps;
}
public static class RetcodeApp {
private Long appId;
private String pid;
private String appName;
private String retcodeAppType;
public Long getAppId() {
return this.appId;
}
public void setAppId(Long appId) {
this.appId = appId;
}
public String getPid() {
return this.pid;
}
public void setPid(String pid) {
this.pid = pid;
}
public String getAppName() {
return this.appName;
}
public void setAppName(String appName) {
this.appName = appName;
}
public String getRetcodeAppType() {
return this.retcodeAppType;
}
public void setRetcodeAppType(String retcodeAppType) {
this.retcodeAppType = retcodeAppType;
}
}
@Override
public ListRetcodeAppsResponse getInstance(UnmarshallerContext context) {
return ListRetcodeAppsResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/ListScenarioRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import com.aliyuncs.v5.RpcAcsRequest;
import com.aliyuncs.v5.http.MethodType;
import com.aliyuncs.v5.arms.Endpoint;
/**
* @author auto create
* @version
*/
public class ListScenarioRequest extends RpcAcsRequest<ListScenarioResponse> {
private String scenario;
private String appId;
private String name;
private String sign;
public ListScenarioRequest() {
super("ARMS", "2019-08-08", "ListScenario", "arms");
setMethod(MethodType.POST);
try {
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getScenario() {
return this.scenario;
}
public void setScenario(String scenario) {
this.scenario = scenario;
if(scenario != null){
putQueryParameter("Scenario", scenario);
}
}
public String getAppId() {
return this.appId;
}
public void setAppId(String appId) {
this.appId = appId;
if(appId != null){
putQueryParameter("AppId", appId);
}
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
if(name != null){
putQueryParameter("Name", name);
}
}
public String getSign() {
return this.sign;
}
public void setSign(String sign) {
this.sign = sign;
if(sign != null){
putQueryParameter("Sign", sign);
}
}
@Override
public Class<ListScenarioResponse> getResponseClass() {
return ListScenarioResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/ListScenarioResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import java.util.List;
import com.aliyuncs.v5.AcsResponse;
import com.aliyuncs.v5.arms.transform.v20190808.ListScenarioResponseUnmarshaller;
import com.aliyuncs.v5.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ListScenarioResponse extends AcsResponse {
private String requestId;
private List<ArmsScenariosItem> armsScenarios;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public List<ArmsScenariosItem> getArmsScenarios() {
return this.armsScenarios;
}
public void setArmsScenarios(List<ArmsScenariosItem> armsScenarios) {
this.armsScenarios = armsScenarios;
}
public static class ArmsScenariosItem {
private Long id;
private String createTime;
private String updateTime;
private String name;
private String sign;
private String userId;
private String regionId;
private String appId;
private String extensions;
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public String getCreateTime() {
return this.createTime;
}
public void setCreateTime(String createTime) {
this.createTime = createTime;
}
public String getUpdateTime() {
return this.updateTime;
}
public void setUpdateTime(String updateTime) {
this.updateTime = updateTime;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getSign() {
return this.sign;
}
public void setSign(String sign) {
this.sign = sign;
}
public String getUserId() {
return this.userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
public String getRegionId() {
return this.regionId;
}
public void setRegionId(String regionId) {
this.regionId = regionId;
}
public String getAppId() {
return this.appId;
}
public void setAppId(String appId) {
this.appId = appId;
}
public String getExtensions() {
return this.extensions;
}
public void setExtensions(String extensions) {
this.extensions = extensions;
}
}
@Override
public ListScenarioResponse getInstance(UnmarshallerContext context) {
return ListScenarioResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/ListTraceAppsRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import com.aliyuncs.v5.RpcAcsRequest;
import com.aliyuncs.v5.http.MethodType;
import com.aliyuncs.v5.arms.Endpoint;
/**
* @author auto create
* @version
*/
public class ListTraceAppsRequest extends RpcAcsRequest<ListTraceAppsResponse> {
public ListTraceAppsRequest() {
super("ARMS", "2019-08-08", "ListTraceApps", "arms");
setMethod(MethodType.POST);
try {
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
@Override
public Class<ListTraceAppsResponse> getResponseClass() {
return ListTraceAppsResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/ListTraceAppsResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import java.util.List;
import com.aliyuncs.v5.AcsResponse;
import com.aliyuncs.v5.arms.transform.v20190808.ListTraceAppsResponseUnmarshaller;
import com.aliyuncs.v5.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ListTraceAppsResponse extends AcsResponse {
private String requestId;
private Boolean success;
private Integer code;
private String message;
private List<TraceApp> traceApps;
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 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 List<TraceApp> getTraceApps() {
return this.traceApps;
}
public void setTraceApps(List<TraceApp> traceApps) {
this.traceApps = traceApps;
}
public static class TraceApp {
private Long appId;
private String pid;
private String appName;
private String type;
private String userId;
private Long createTime;
private Long updateTime;
private String regionId;
private Boolean show;
private List<String> labels;
public Long getAppId() {
return this.appId;
}
public void setAppId(Long appId) {
this.appId = appId;
}
public String getPid() {
return this.pid;
}
public void setPid(String pid) {
this.pid = pid;
}
public String getAppName() {
return this.appName;
}
public void setAppName(String appName) {
this.appName = appName;
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public String getUserId() {
return this.userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
public Long getCreateTime() {
return this.createTime;
}
public void setCreateTime(Long createTime) {
this.createTime = createTime;
}
public Long getUpdateTime() {
return this.updateTime;
}
public void setUpdateTime(Long updateTime) {
this.updateTime = updateTime;
}
public String getRegionId() {
return this.regionId;
}
public void setRegionId(String regionId) {
this.regionId = regionId;
}
public Boolean getShow() {
return this.show;
}
public void setShow(Boolean show) {
this.show = show;
}
public List<String> getLabels() {
return this.labels;
}
public void setLabels(List<String> labels) {
this.labels = labels;
}
}
@Override
public ListTraceAppsResponse getInstance(UnmarshallerContext context) {
return ListTraceAppsResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/OpenArmsDefaultSLRRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import com.aliyuncs.v5.RpcAcsRequest;
import com.aliyuncs.v5.http.MethodType;
import com.aliyuncs.v5.arms.Endpoint;
/**
* @author auto create
* @version
*/
public class OpenArmsDefaultSLRRequest extends RpcAcsRequest<OpenArmsDefaultSLRResponse> {
public OpenArmsDefaultSLRRequest() {
super("ARMS", "2019-08-08", "OpenArmsDefaultSLR", "arms");
setMethod(MethodType.POST);
try {
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
@Override
public Class<OpenArmsDefaultSLRResponse> getResponseClass() {
return OpenArmsDefaultSLRResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/OpenArmsDefaultSLRResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import com.aliyuncs.v5.AcsResponse;
import com.aliyuncs.v5.arms.transform.v20190808.OpenArmsDefaultSLRResponseUnmarshaller;
import com.aliyuncs.v5.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class OpenArmsDefaultSLRResponse extends AcsResponse {
private String requestId;
private String data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getData() {
return this.data;
}
public void setData(String data) {
this.data = data;
}
@Override
public OpenArmsDefaultSLRResponse getInstance(UnmarshallerContext context) {
return OpenArmsDefaultSLRResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/OpenArmsServiceSecondVersionRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import com.aliyuncs.v5.RpcAcsRequest;
import com.aliyuncs.v5.http.MethodType;
import com.aliyuncs.v5.arms.Endpoint;
/**
* @author auto create
* @version
*/
public class OpenArmsServiceSecondVersionRequest extends RpcAcsRequest<OpenArmsServiceSecondVersionResponse> {
private String type;
public OpenArmsServiceSecondVersionRequest() {
super("ARMS", "2019-08-08", "OpenArmsServiceSecondVersion", "arms");
setMethod(MethodType.POST);
try {
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
if(type != null){
putQueryParameter("Type", type);
}
}
@Override
public Class<OpenArmsServiceSecondVersionResponse> getResponseClass() {
return OpenArmsServiceSecondVersionResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/OpenArmsServiceSecondVersionResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import com.aliyuncs.v5.AcsResponse;
import com.aliyuncs.v5.arms.transform.v20190808.OpenArmsServiceSecondVersionResponseUnmarshaller;
import com.aliyuncs.v5.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class OpenArmsServiceSecondVersionResponse extends AcsResponse {
private String requestId;
private String orderId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getOrderId() {
return this.orderId;
}
public void setOrderId(String orderId) {
this.orderId = orderId;
}
@Override
public OpenArmsServiceSecondVersionResponse getInstance(UnmarshallerContext context) {
return OpenArmsServiceSecondVersionResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/OpenXtraceDefaultSLRRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import com.aliyuncs.v5.RpcAcsRequest;
import com.aliyuncs.v5.http.MethodType;
import com.aliyuncs.v5.arms.Endpoint;
/**
* @author auto create
* @version
*/
public class OpenXtraceDefaultSLRRequest extends RpcAcsRequest<OpenXtraceDefaultSLRResponse> {
public OpenXtraceDefaultSLRRequest() {
super("ARMS", "2019-08-08", "OpenXtraceDefaultSLR", "arms");
setMethod(MethodType.POST);
try {
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
@Override
public Class<OpenXtraceDefaultSLRResponse> getResponseClass() {
return OpenXtraceDefaultSLRResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/OpenXtraceDefaultSLRResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import com.aliyuncs.v5.AcsResponse;
import com.aliyuncs.v5.arms.transform.v20190808.OpenXtraceDefaultSLRResponseUnmarshaller;
import com.aliyuncs.v5.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class OpenXtraceDefaultSLRResponse extends AcsResponse {
private String requestId;
private String data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getData() {
return this.data;
}
public void setData(String data) {
this.data = data;
}
@Override
public OpenXtraceDefaultSLRResponse getInstance(UnmarshallerContext context) {
return OpenXtraceDefaultSLRResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/QueryDatasetRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import com.aliyuncs.v5.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.v5.http.MethodType;
import com.aliyuncs.v5.arms.Endpoint;
/**
* @author auto create
* @version
*/
public class QueryDatasetRequest extends RpcAcsRequest<QueryDatasetResponse> {
private String dateStr;
private Long minTime;
private String proxyUserId;
private Boolean reduceTail;
private Long maxTime;
private List<OptionalDims> optionalDims;
private List<String> measures;
private Integer intervalInSec;
private Boolean isDrillDown;
private Boolean hungryMode;
private String orderByKey;
private Integer limit;
private Long datasetId;
private List<RequiredDims> requiredDims;
private List<Dimensions> dimensions;
public QueryDatasetRequest() {
super("ARMS", "2019-08-08", "QueryDataset", "arms");
setMethod(MethodType.POST);
try {
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getDateStr() {
return this.dateStr;
}
public void setDateStr(String dateStr) {
this.dateStr = dateStr;
if(dateStr != null){
putQueryParameter("DateStr", dateStr);
}
}
public Long getMinTime() {
return this.minTime;
}
public void setMinTime(Long minTime) {
this.minTime = minTime;
if(minTime != null){
putQueryParameter("MinTime", minTime.toString());
}
}
public String getProxyUserId() {
return this.proxyUserId;
}
public void setProxyUserId(String proxyUserId) {
this.proxyUserId = proxyUserId;
if(proxyUserId != null){
putQueryParameter("ProxyUserId", proxyUserId);
}
}
public Boolean getReduceTail() {
return this.reduceTail;
}
public void setReduceTail(Boolean reduceTail) {
this.reduceTail = reduceTail;
if(reduceTail != null){
putQueryParameter("ReduceTail", reduceTail.toString());
}
}
public Long getMaxTime() {
return this.maxTime;
}
public void setMaxTime(Long maxTime) {
this.maxTime = maxTime;
if(maxTime != null){
putQueryParameter("MaxTime", maxTime.toString());
}
}
public List<OptionalDims> getOptionalDims() {
return this.optionalDims;
}
public void setOptionalDims(List<OptionalDims> optionalDims) {
this.optionalDims = optionalDims;
if (optionalDims != null) {
for (int depth1 = 0; depth1 < optionalDims.size(); depth1++) {
putQueryParameter("OptionalDims." + (depth1 + 1) + ".Type" , optionalDims.get(depth1).getType());
putQueryParameter("OptionalDims." + (depth1 + 1) + ".Value" , optionalDims.get(depth1).getValue());
putQueryParameter("OptionalDims." + (depth1 + 1) + ".Key" , optionalDims.get(depth1).getKey());
}
}
}
public List<String> getMeasures() {
return this.measures;
}
public void setMeasures(List<String> measures) {
this.measures = measures;
if (measures != null) {
for (int i = 0; i < measures.size(); i++) {
putQueryParameter("Measures." + (i + 1) , measures.get(i));
}
}
}
public Integer getIntervalInSec() {
return this.intervalInSec;
}
public void setIntervalInSec(Integer intervalInSec) {
this.intervalInSec = intervalInSec;
if(intervalInSec != null){
putQueryParameter("IntervalInSec", intervalInSec.toString());
}
}
public Boolean getIsDrillDown() {
return this.isDrillDown;
}
public void setIsDrillDown(Boolean isDrillDown) {
this.isDrillDown = isDrillDown;
if(isDrillDown != null){
putQueryParameter("IsDrillDown", isDrillDown.toString());
}
}
public Boolean getHungryMode() {
return this.hungryMode;
}
public void setHungryMode(Boolean hungryMode) {
this.hungryMode = hungryMode;
if(hungryMode != null){
putQueryParameter("HungryMode", hungryMode.toString());
}
}
public String getOrderByKey() {
return this.orderByKey;
}
public void setOrderByKey(String orderByKey) {
this.orderByKey = orderByKey;
if(orderByKey != null){
putQueryParameter("OrderByKey", orderByKey);
}
}
public Integer getLimit() {
return this.limit;
}
public void setLimit(Integer limit) {
this.limit = limit;
if(limit != null){
putQueryParameter("Limit", limit.toString());
}
}
public Long getDatasetId() {
return this.datasetId;
}
public void setDatasetId(Long datasetId) {
this.datasetId = datasetId;
if(datasetId != null){
putQueryParameter("DatasetId", datasetId.toString());
}
}
public List<RequiredDims> getRequiredDims() {
return this.requiredDims;
}
public void setRequiredDims(List<RequiredDims> requiredDims) {
this.requiredDims = requiredDims;
if (requiredDims != null) {
for (int depth1 = 0; depth1 < requiredDims.size(); depth1++) {
putQueryParameter("RequiredDims." + (depth1 + 1) + ".Type" , requiredDims.get(depth1).getType());
putQueryParameter("RequiredDims." + (depth1 + 1) + ".Value" , requiredDims.get(depth1).getValue());
putQueryParameter("RequiredDims." + (depth1 + 1) + ".Key" , requiredDims.get(depth1).getKey());
}
}
}
public List<Dimensions> getDimensions() {
return this.dimensions;
}
public void setDimensions(List<Dimensions> dimensions) {
this.dimensions = dimensions;
if (dimensions != null) {
for (int depth1 = 0; depth1 < dimensions.size(); depth1++) {
putQueryParameter("Dimensions." + (depth1 + 1) + ".Type" , dimensions.get(depth1).getType());
putQueryParameter("Dimensions." + (depth1 + 1) + ".Value" , dimensions.get(depth1).getValue());
putQueryParameter("Dimensions." + (depth1 + 1) + ".Key" , dimensions.get(depth1).getKey());
}
}
}
public static class OptionalDims {
private String type;
private String value;
private String key;
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
}
public static class RequiredDims {
private String type;
private String value;
private String key;
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
}
public static class Dimensions {
private String type;
private String value;
private String key;
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
}
@Override
public Class<QueryDatasetResponse> getResponseClass() {
return QueryDatasetResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/QueryDatasetResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import com.aliyuncs.v5.AcsResponse;
import com.aliyuncs.v5.arms.transform.v20190808.QueryDatasetResponseUnmarshaller;
import com.aliyuncs.v5.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class QueryDatasetResponse extends AcsResponse {
private String requestId;
private String data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getData() {
return this.data;
}
public void setData(String data) {
this.data = data;
}
@Override
public QueryDatasetResponse getInstance(UnmarshallerContext context) {
return QueryDatasetResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/QueryMetricByPageRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import com.aliyuncs.v5.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.v5.http.MethodType;
import com.aliyuncs.v5.arms.Endpoint;
/**
* @author auto create
* @version
*/
public class QueryMetricByPageRequest extends RpcAcsRequest<QueryMetricByPageResponse> {
private Long endTime;
private String orderBy;
private Integer currentPage;
private Long startTime;
private List<Filters> filters;
private List<String> measures;
private Integer intervalInSec;
private String metric;
private List<String> customFilters;
private Integer pageSize;
private List<String> dimensions;
private String order;
public QueryMetricByPageRequest() {
super("ARMS", "2019-08-08", "QueryMetricByPage", "arms");
setMethod(MethodType.POST);
try {
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public Long getEndTime() {
return this.endTime;
}
public void setEndTime(Long endTime) {
this.endTime = endTime;
if(endTime != null){
putQueryParameter("EndTime", endTime.toString());
}
}
public String getOrderBy() {
return this.orderBy;
}
public void setOrderBy(String orderBy) {
this.orderBy = orderBy;
if(orderBy != null){
putQueryParameter("OrderBy", orderBy);
}
}
public Integer getCurrentPage() {
return this.currentPage;
}
public void setCurrentPage(Integer currentPage) {
this.currentPage = currentPage;
if(currentPage != null){
putQueryParameter("CurrentPage", currentPage.toString());
}
}
public Long getStartTime() {
return this.startTime;
}
public void setStartTime(Long startTime) {
this.startTime = startTime;
if(startTime != null){
putQueryParameter("StartTime", startTime.toString());
}
}
public List<Filters> getFilters() {
return this.filters;
}
public void setFilters(List<Filters> filters) {
this.filters = filters;
if (filters != null) {
for (int depth1 = 0; depth1 < filters.size(); depth1++) {
putQueryParameter("Filters." + (depth1 + 1) + ".Value" , filters.get(depth1).getValue());
putQueryParameter("Filters." + (depth1 + 1) + ".Key" , filters.get(depth1).getKey());
}
}
}
public List<String> getMeasures() {
return this.measures;
}
public void setMeasures(List<String> measures) {
this.measures = measures;
if (measures != null) {
for (int i = 0; i < measures.size(); i++) {
putQueryParameter("Measures." + (i + 1) , measures.get(i));
}
}
}
public Integer getIntervalInSec() {
return this.intervalInSec;
}
public void setIntervalInSec(Integer intervalInSec) {
this.intervalInSec = intervalInSec;
if(intervalInSec != null){
putQueryParameter("IntervalInSec", intervalInSec.toString());
}
}
public String getMetric() {
return this.metric;
}
public void setMetric(String metric) {
this.metric = metric;
if(metric != null){
putQueryParameter("Metric", metric);
}
}
public List<String> getCustomFilters() {
return this.customFilters;
}
public void setCustomFilters(List<String> customFilters) {
this.customFilters = customFilters;
if (customFilters != null) {
for (int i = 0; i < customFilters.size(); i++) {
putQueryParameter("CustomFilters." + (i + 1) , customFilters.get(i));
}
}
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
if(pageSize != null){
putQueryParameter("PageSize", pageSize.toString());
}
}
public List<String> getDimensions() {
return this.dimensions;
}
public void setDimensions(List<String> dimensions) {
this.dimensions = dimensions;
if (dimensions != null) {
for (int i = 0; i < dimensions.size(); i++) {
putQueryParameter("Dimensions." + (i + 1) , dimensions.get(i));
}
}
}
public String getOrder() {
return this.order;
}
public void setOrder(String order) {
this.order = order;
if(order != null){
putQueryParameter("Order", order);
}
}
public static class Filters {
private String value;
private String key;
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
}
@Override
public Class<QueryMetricByPageResponse> getResponseClass() {
return QueryMetricByPageResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/QueryMetricByPageResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import java.util.List;
import java.util.Map;
import com.aliyuncs.v5.AcsResponse;
import com.aliyuncs.v5.arms.transform.v20190808.QueryMetricByPageResponseUnmarshaller;
import com.aliyuncs.v5.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class QueryMetricByPageResponse extends AcsResponse {
private String requestId;
private String code;
private Boolean success;
private String message;
private Data data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private Integer total;
private Integer page;
private Integer pageSize;
private List<Map<Object,Object>> items;
public Integer getTotal() {
return this.total;
}
public void setTotal(Integer total) {
this.total = total;
}
public Integer getPage() {
return this.page;
}
public void setPage(Integer page) {
this.page = page;
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
}
public List<Map<Object,Object>> getItems() {
return this.items;
}
public void setItems(List<Map<Object,Object>> items) {
this.items = items;
}
}
@Override
public QueryMetricByPageResponse getInstance(UnmarshallerContext context) {
return QueryMetricByPageResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/SaveTraceAppConfigRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import com.aliyuncs.v5.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.v5.http.MethodType;
import com.aliyuncs.v5.arms.Endpoint;
/**
* @author auto create
* @version
*/
public class SaveTraceAppConfigRequest extends RpcAcsRequest<SaveTraceAppConfigResponse> {
private List<Settings> settings;
private String pid;
public SaveTraceAppConfigRequest() {
super("ARMS", "2019-08-08", "SaveTraceAppConfig", "arms");
setMethod(MethodType.POST);
try {
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public List<Settings> getSettings() {
return this.settings;
}
public void setSettings(List<Settings> settings) {
this.settings = settings;
if (settings != null) {
for (int depth1 = 0; depth1 < settings.size(); depth1++) {
putQueryParameter("Settings." + (depth1 + 1) + ".Value" , settings.get(depth1).getValue());
putQueryParameter("Settings." + (depth1 + 1) + ".Key" , settings.get(depth1).getKey());
}
}
}
public String getPid() {
return this.pid;
}
public void setPid(String pid) {
this.pid = pid;
if(pid != null){
putQueryParameter("Pid", pid);
}
}
public static class Settings {
private String value;
private String key;
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
}
@Override
public Class<SaveTraceAppConfigResponse> getResponseClass() {
return SaveTraceAppConfigResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/SaveTraceAppConfigResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import com.aliyuncs.v5.AcsResponse;
import com.aliyuncs.v5.arms.transform.v20190808.SaveTraceAppConfigResponseUnmarshaller;
import com.aliyuncs.v5.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class SaveTraceAppConfigResponse extends AcsResponse {
private String requestId;
private String data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getData() {
return this.data;
}
public void setData(String data) {
this.data = data;
}
@Override
public SaveTraceAppConfigResponse getInstance(UnmarshallerContext context) {
return SaveTraceAppConfigResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/SearchAlertContactGroupRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import com.aliyuncs.v5.RpcAcsRequest;
import com.aliyuncs.v5.http.MethodType;
import com.aliyuncs.v5.arms.Endpoint;
/**
* @author auto create
* @version
*/
public class SearchAlertContactGroupRequest extends RpcAcsRequest<SearchAlertContactGroupResponse> {
private Long contactId;
private Boolean isDetail;
private String contactGroupName;
private String contactName;
private String contactGroupIds;
public SearchAlertContactGroupRequest() {
super("ARMS", "2019-08-08", "SearchAlertContactGroup", "arms");
setMethod(MethodType.POST);
try {
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public Long getContactId() {
return this.contactId;
}
public void setContactId(Long contactId) {
this.contactId = contactId;
if(contactId != null){
putQueryParameter("ContactId", contactId.toString());
}
}
public Boolean getIsDetail() {
return this.isDetail;
}
public void setIsDetail(Boolean isDetail) {
this.isDetail = isDetail;
if(isDetail != null){
putQueryParameter("IsDetail", isDetail.toString());
}
}
public String getContactGroupName() {
return this.contactGroupName;
}
public void setContactGroupName(String contactGroupName) {
this.contactGroupName = contactGroupName;
if(contactGroupName != null){
putQueryParameter("ContactGroupName", contactGroupName);
}
}
public String getContactName() {
return this.contactName;
}
public void setContactName(String contactName) {
this.contactName = contactName;
if(contactName != null){
putQueryParameter("ContactName", contactName);
}
}
public String getContactGroupIds() {
return this.contactGroupIds;
}
public void setContactGroupIds(String contactGroupIds) {
this.contactGroupIds = contactGroupIds;
if(contactGroupIds != null){
putQueryParameter("ContactGroupIds", contactGroupIds);
}
}
@Override
public Class<SearchAlertContactGroupResponse> getResponseClass() {
return SearchAlertContactGroupResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/SearchAlertContactGroupResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import java.util.List;
import com.aliyuncs.v5.AcsResponse;
import com.aliyuncs.v5.arms.transform.v20190808.SearchAlertContactGroupResponseUnmarshaller;
import com.aliyuncs.v5.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class SearchAlertContactGroupResponse extends AcsResponse {
private String requestId;
private List<ContactGroup> contactGroups;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public List<ContactGroup> getContactGroups() {
return this.contactGroups;
}
public void setContactGroups(List<ContactGroup> contactGroups) {
this.contactGroups = contactGroups;
}
public static class ContactGroup {
private Long contactGroupId;
private String contactGroupName;
private String userId;
private Long createTime;
private Long updateTime;
private List<Contact> contacts;
public Long getContactGroupId() {
return this.contactGroupId;
}
public void setContactGroupId(Long contactGroupId) {
this.contactGroupId = contactGroupId;
}
public String getContactGroupName() {
return this.contactGroupName;
}
public void setContactGroupName(String contactGroupName) {
this.contactGroupName = contactGroupName;
}
public String getUserId() {
return this.userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
public Long getCreateTime() {
return this.createTime;
}
public void setCreateTime(Long createTime) {
this.createTime = createTime;
}
public Long getUpdateTime() {
return this.updateTime;
}
public void setUpdateTime(Long updateTime) {
this.updateTime = updateTime;
}
public List<Contact> getContacts() {
return this.contacts;
}
public void setContacts(List<Contact> contacts) {
this.contacts = contacts;
}
public static class Contact {
private Long contactId;
private String contactName;
private String phone;
private String email;
private String userId;
private String dingRobot;
private Long createTime;
private Long updateTime;
private Boolean systemNoc;
public Long getContactId() {
return this.contactId;
}
public void setContactId(Long contactId) {
this.contactId = contactId;
}
public String getContactName() {
return this.contactName;
}
public void setContactName(String contactName) {
this.contactName = contactName;
}
public String getPhone() {
return this.phone;
}
public void setPhone(String phone) {
this.phone = phone;
}
public String getEmail() {
return this.email;
}
public void setEmail(String email) {
this.email = email;
}
public String getUserId() {
return this.userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
public String getDingRobot() {
return this.dingRobot;
}
public void setDingRobot(String dingRobot) {
this.dingRobot = dingRobot;
}
public Long getCreateTime() {
return this.createTime;
}
public void setCreateTime(Long createTime) {
this.createTime = createTime;
}
public Long getUpdateTime() {
return this.updateTime;
}
public void setUpdateTime(Long updateTime) {
this.updateTime = updateTime;
}
public Boolean getSystemNoc() {
return this.systemNoc;
}
public void setSystemNoc(Boolean systemNoc) {
this.systemNoc = systemNoc;
}
}
}
@Override
public SearchAlertContactGroupResponse getInstance(UnmarshallerContext context) {
return SearchAlertContactGroupResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/SearchAlertContactRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import com.aliyuncs.v5.RpcAcsRequest;
import com.aliyuncs.v5.http.MethodType;
import com.aliyuncs.v5.arms.Endpoint;
/**
* @author auto create
* @version
*/
public class SearchAlertContactRequest extends RpcAcsRequest<SearchAlertContactResponse> {
private String currentPage;
private String contactIds;
private String contactName;
private String phone;
private String pageSize;
private String email;
public SearchAlertContactRequest() {
super("ARMS", "2019-08-08", "SearchAlertContact", "arms");
setMethod(MethodType.POST);
try {
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getCurrentPage() {
return this.currentPage;
}
public void setCurrentPage(String currentPage) {
this.currentPage = currentPage;
if(currentPage != null){
putQueryParameter("CurrentPage", currentPage);
}
}
public String getContactIds() {
return this.contactIds;
}
public void setContactIds(String contactIds) {
this.contactIds = contactIds;
if(contactIds != null){
putQueryParameter("ContactIds", contactIds);
}
}
public String getContactName() {
return this.contactName;
}
public void setContactName(String contactName) {
this.contactName = contactName;
if(contactName != null){
putQueryParameter("ContactName", contactName);
}
}
public String getPhone() {
return this.phone;
}
public void setPhone(String phone) {
this.phone = phone;
if(phone != null){
putQueryParameter("Phone", phone);
}
}
public String getPageSize() {
return this.pageSize;
}
public void setPageSize(String pageSize) {
this.pageSize = pageSize;
if(pageSize != null){
putQueryParameter("PageSize", pageSize);
}
}
public String getEmail() {
return this.email;
}
public void setEmail(String email) {
this.email = email;
if(email != null){
putQueryParameter("Email", email);
}
}
@Override
public Class<SearchAlertContactResponse> getResponseClass() {
return SearchAlertContactResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/SearchAlertContactResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import java.util.List;
import com.aliyuncs.v5.AcsResponse;
import com.aliyuncs.v5.arms.transform.v20190808.SearchAlertContactResponseUnmarshaller;
import com.aliyuncs.v5.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class SearchAlertContactResponse extends AcsResponse {
private String requestId;
private PageBean pageBean;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public PageBean getPageBean() {
return this.pageBean;
}
public void setPageBean(PageBean pageBean) {
this.pageBean = pageBean;
}
public static class PageBean {
private Integer totalCount;
private Integer pageNumber;
private Integer pageSize;
private List<Contact> contacts;
public Integer getTotalCount() {
return this.totalCount;
}
public void setTotalCount(Integer totalCount) {
this.totalCount = totalCount;
}
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 List<Contact> getContacts() {
return this.contacts;
}
public void setContacts(List<Contact> contacts) {
this.contacts = contacts;
}
public static class Contact {
private Long contactId;
private String contactName;
private String phone;
private String email;
private String userId;
private String dingRobot;
private Long createTime;
private Long updateTime;
private Boolean systemNoc;
private String webhook;
private String content;
public Long getContactId() {
return this.contactId;
}
public void setContactId(Long contactId) {
this.contactId = contactId;
}
public String getContactName() {
return this.contactName;
}
public void setContactName(String contactName) {
this.contactName = contactName;
}
public String getPhone() {
return this.phone;
}
public void setPhone(String phone) {
this.phone = phone;
}
public String getEmail() {
return this.email;
}
public void setEmail(String email) {
this.email = email;
}
public String getUserId() {
return this.userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
public String getDingRobot() {
return this.dingRobot;
}
public void setDingRobot(String dingRobot) {
this.dingRobot = dingRobot;
}
public Long getCreateTime() {
return this.createTime;
}
public void setCreateTime(Long createTime) {
this.createTime = createTime;
}
public Long getUpdateTime() {
return this.updateTime;
}
public void setUpdateTime(Long updateTime) {
this.updateTime = updateTime;
}
public Boolean getSystemNoc() {
return this.systemNoc;
}
public void setSystemNoc(Boolean systemNoc) {
this.systemNoc = systemNoc;
}
public String getWebhook() {
return this.webhook;
}
public void setWebhook(String webhook) {
this.webhook = webhook;
}
public String getContent() {
return this.content;
}
public void setContent(String content) {
this.content = content;
}
}
}
@Override
public SearchAlertContactResponse getInstance(UnmarshallerContext context) {
return SearchAlertContactResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/SearchAlertHistoriesRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import com.aliyuncs.v5.RpcAcsRequest;
import com.aliyuncs.v5.http.MethodType;
import com.aliyuncs.v5.arms.Endpoint;
/**
* @author auto create
* @version
*/
public class SearchAlertHistoriesRequest extends RpcAcsRequest<SearchAlertHistoriesResponse> {
private Long endTime;
private Integer currentPage;
private Long startTime;
private Integer alertType;
private Integer pageSize;
private Long alertId;
public SearchAlertHistoriesRequest() {
super("ARMS", "2019-08-08", "SearchAlertHistories", "arms");
setMethod(MethodType.POST);
try {
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public Long getEndTime() {
return this.endTime;
}
public void setEndTime(Long endTime) {
this.endTime = endTime;
if(endTime != null){
putQueryParameter("EndTime", endTime.toString());
}
}
public Integer getCurrentPage() {
return this.currentPage;
}
public void setCurrentPage(Integer currentPage) {
this.currentPage = currentPage;
if(currentPage != null){
putQueryParameter("CurrentPage", currentPage.toString());
}
}
public Long getStartTime() {
return this.startTime;
}
public void setStartTime(Long startTime) {
this.startTime = startTime;
if(startTime != null){
putQueryParameter("StartTime", startTime.toString());
}
}
public Integer getAlertType() {
return this.alertType;
}
public void setAlertType(Integer alertType) {
this.alertType = alertType;
if(alertType != null){
putQueryParameter("AlertType", alertType.toString());
}
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
if(pageSize != null){
putQueryParameter("PageSize", pageSize.toString());
}
}
public Long getAlertId() {
return this.alertId;
}
public void setAlertId(Long alertId) {
this.alertId = alertId;
if(alertId != null){
putQueryParameter("AlertId", alertId.toString());
}
}
@Override
public Class<SearchAlertHistoriesResponse> getResponseClass() {
return SearchAlertHistoriesResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/SearchAlertHistoriesResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import java.util.List;
import com.aliyuncs.v5.AcsResponse;
import com.aliyuncs.v5.arms.transform.v20190808.SearchAlertHistoriesResponseUnmarshaller;
import com.aliyuncs.v5.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class SearchAlertHistoriesResponse extends AcsResponse {
private String requestId;
private PageBean pageBean;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public PageBean getPageBean() {
return this.pageBean;
}
public void setPageBean(PageBean pageBean) {
this.pageBean = pageBean;
}
public static class PageBean {
private Integer totalCount;
private Integer pageNumber;
private Integer pageSize;
private List<AlarmHistory> alarmHistories;
public Integer getTotalCount() {
return this.totalCount;
}
public void setTotalCount(Integer totalCount) {
this.totalCount = totalCount;
}
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 List<AlarmHistory> getAlarmHistories() {
return this.alarmHistories;
}
public void setAlarmHistories(List<AlarmHistory> alarmHistories) {
this.alarmHistories = alarmHistories;
}
public static class AlarmHistory {
private Long id;
private String strategyId;
private String userId;
private String target;
private String phones;
private String emails;
private Long alarmTime;
private Integer alarmType;
private Integer alarmResponseCode;
private String alarmContent;
private String alarmSources;
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public String getStrategyId() {
return this.strategyId;
}
public void setStrategyId(String strategyId) {
this.strategyId = strategyId;
}
public String getUserId() {
return this.userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
public String getTarget() {
return this.target;
}
public void setTarget(String target) {
this.target = target;
}
public String getPhones() {
return this.phones;
}
public void setPhones(String phones) {
this.phones = phones;
}
public String getEmails() {
return this.emails;
}
public void setEmails(String emails) {
this.emails = emails;
}
public Long getAlarmTime() {
return this.alarmTime;
}
public void setAlarmTime(Long alarmTime) {
this.alarmTime = alarmTime;
}
public Integer getAlarmType() {
return this.alarmType;
}
public void setAlarmType(Integer alarmType) {
this.alarmType = alarmType;
}
public Integer getAlarmResponseCode() {
return this.alarmResponseCode;
}
public void setAlarmResponseCode(Integer alarmResponseCode) {
this.alarmResponseCode = alarmResponseCode;
}
public String getAlarmContent() {
return this.alarmContent;
}
public void setAlarmContent(String alarmContent) {
this.alarmContent = alarmContent;
}
public String getAlarmSources() {
return this.alarmSources;
}
public void setAlarmSources(String alarmSources) {
this.alarmSources = alarmSources;
}
}
}
@Override
public SearchAlertHistoriesResponse getInstance(UnmarshallerContext context) {
return SearchAlertHistoriesResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/SearchAlertRulesRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import com.aliyuncs.v5.RpcAcsRequest;
import com.aliyuncs.v5.http.MethodType;
import com.aliyuncs.v5.arms.Endpoint;
/**
* @author auto create
* @version
*/
public class SearchAlertRulesRequest extends RpcAcsRequest<SearchAlertRulesResponse> {
private String appType;
private Integer currentPage;
private String pid;
private String title;
private String type;
private Integer pageSize;
public SearchAlertRulesRequest() {
super("ARMS", "2019-08-08", "SearchAlertRules", "arms");
setMethod(MethodType.POST);
try {
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getAppType() {
return this.appType;
}
public void setAppType(String appType) {
this.appType = appType;
if(appType != null){
putQueryParameter("AppType", appType);
}
}
public Integer getCurrentPage() {
return this.currentPage;
}
public void setCurrentPage(Integer currentPage) {
this.currentPage = currentPage;
if(currentPage != null){
putQueryParameter("CurrentPage", currentPage.toString());
}
}
public String getPid() {
return this.pid;
}
public void setPid(String pid) {
this.pid = pid;
if(pid != null){
putQueryParameter("Pid", pid);
}
}
public String getTitle() {
return this.title;
}
public void setTitle(String title) {
this.title = title;
if(title != null){
putQueryParameter("Title", title);
}
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
if(type != null){
putQueryParameter("Type", type);
}
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
if(pageSize != null){
putQueryParameter("PageSize", pageSize.toString());
}
}
@Override
public Class<SearchAlertRulesResponse> getResponseClass() {
return SearchAlertRulesResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/SearchAlertRulesResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import java.util.List;
import com.aliyuncs.v5.AcsResponse;
import com.aliyuncs.v5.arms.transform.v20190808.SearchAlertRulesResponseUnmarshaller;
import com.aliyuncs.v5.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class SearchAlertRulesResponse extends AcsResponse {
private String requestId;
private PageBean pageBean;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public PageBean getPageBean() {
return this.pageBean;
}
public void setPageBean(PageBean pageBean) {
this.pageBean = pageBean;
}
public static class PageBean {
private Integer totalCount;
private Integer pageNumber;
private Integer pageSize;
private List<AlertRuleEntity> alertRules;
public Integer getTotalCount() {
return this.totalCount;
}
public void setTotalCount(Integer totalCount) {
this.totalCount = totalCount;
}
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 List<AlertRuleEntity> getAlertRules() {
return this.alertRules;
}
public void setAlertRules(List<AlertRuleEntity> alertRules) {
this.alertRules = alertRules;
}
public static class AlertRuleEntity {
private String alertTitle;
private String alertLevel;
private Integer alertType;
private Integer alertVersion;
private String config;
private String contactGroupIdList;
private Long createTime;
private Long id;
private String regionId;
private String status;
private Long taskId;
private String taskStatus;
private Long updateTime;
private String userId;
private String title;
private String contactGroupIds;
private Boolean hostByAlertManager;
private List<String> alertWays;
private List<String> alertWay;
private AlarmContext alarmContext;
private AlertRule alertRule;
private MetricParam metricParam;
private Notice notice;
public String getAlertTitle() {
return this.alertTitle;
}
public void setAlertTitle(String alertTitle) {
this.alertTitle = alertTitle;
}
public String getAlertLevel() {
return this.alertLevel;
}
public void setAlertLevel(String alertLevel) {
this.alertLevel = alertLevel;
}
public Integer getAlertType() {
return this.alertType;
}
public void setAlertType(Integer alertType) {
this.alertType = alertType;
}
public Integer getAlertVersion() {
return this.alertVersion;
}
public void setAlertVersion(Integer alertVersion) {
this.alertVersion = alertVersion;
}
public String getConfig() {
return this.config;
}
public void setConfig(String config) {
this.config = config;
}
public String getContactGroupIdList() {
return this.contactGroupIdList;
}
public void setContactGroupIdList(String contactGroupIdList) {
this.contactGroupIdList = contactGroupIdList;
}
public Long getCreateTime() {
return this.createTime;
}
public void setCreateTime(Long createTime) {
this.createTime = createTime;
}
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public String getRegionId() {
return this.regionId;
}
public void setRegionId(String regionId) {
this.regionId = regionId;
}
public String getStatus() {
return this.status;
}
public void setStatus(String status) {
this.status = status;
}
public Long getTaskId() {
return this.taskId;
}
public void setTaskId(Long taskId) {
this.taskId = taskId;
}
public String getTaskStatus() {
return this.taskStatus;
}
public void setTaskStatus(String taskStatus) {
this.taskStatus = taskStatus;
}
public Long getUpdateTime() {
return this.updateTime;
}
public void setUpdateTime(Long updateTime) {
this.updateTime = updateTime;
}
public String getUserId() {
return this.userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
public String getTitle() {
return this.title;
}
public void setTitle(String title) {
this.title = title;
}
public String getContactGroupIds() {
return this.contactGroupIds;
}
public void setContactGroupIds(String contactGroupIds) {
this.contactGroupIds = contactGroupIds;
}
public Boolean getHostByAlertManager() {
return this.hostByAlertManager;
}
public void setHostByAlertManager(Boolean hostByAlertManager) {
this.hostByAlertManager = hostByAlertManager;
}
public List<String> getAlertWays() {
return this.alertWays;
}
public void setAlertWays(List<String> alertWays) {
this.alertWays = alertWays;
}
public List<String> getAlertWay() {
return this.alertWay;
}
public void setAlertWay(List<String> alertWay) {
this.alertWay = alertWay;
}
public AlarmContext getAlarmContext() {
return this.alarmContext;
}
public void setAlarmContext(AlarmContext alarmContext) {
this.alarmContext = alarmContext;
}
public AlertRule getAlertRule() {
return this.alertRule;
}
public void setAlertRule(AlertRule alertRule) {
this.alertRule = alertRule;
}
public MetricParam getMetricParam() {
return this.metricParam;
}
public void setMetricParam(MetricParam metricParam) {
this.metricParam = metricParam;
}
public Notice getNotice() {
return this.notice;
}
public void setNotice(Notice notice) {
this.notice = notice;
}
public static class AlarmContext {
private String alarmContentTemplate;
private String alarmContentSubTitle;
private String content;
private String subTitle;
public String getAlarmContentTemplate() {
return this.alarmContentTemplate;
}
public void setAlarmContentTemplate(String alarmContentTemplate) {
this.alarmContentTemplate = alarmContentTemplate;
}
public String getAlarmContentSubTitle() {
return this.alarmContentSubTitle;
}
public void setAlarmContentSubTitle(String alarmContentSubTitle) {
this.alarmContentSubTitle = alarmContentSubTitle;
}
public String getContent() {
return this.content;
}
public void setContent(String content) {
this.content = content;
}
public String getSubTitle() {
return this.subTitle;
}
public void setSubTitle(String subTitle) {
this.subTitle = subTitle;
}
}
public static class AlertRule {
private String operator;
private List<Rule> rules;
public String getOperator() {
return this.operator;
}
public void setOperator(String operator) {
this.operator = operator;
}
public List<Rule> getRules() {
return this.rules;
}
public void setRules(List<Rule> rules) {
this.rules = rules;
}
public static class Rule {
private String aggregates;
private String alias;
private String measure;
private Integer nValue;
private String operator;
private Float value;
public String getAggregates() {
return this.aggregates;
}
public void setAggregates(String aggregates) {
this.aggregates = aggregates;
}
public String getAlias() {
return this.alias;
}
public void setAlias(String alias) {
this.alias = alias;
}
public String getMeasure() {
return this.measure;
}
public void setMeasure(String measure) {
this.measure = measure;
}
public Integer getNValue() {
return this.nValue;
}
public void setNValue(Integer nValue) {
this.nValue = nValue;
}
public String getOperator() {
return this.operator;
}
public void setOperator(String operator) {
this.operator = operator;
}
public Float getValue() {
return this.value;
}
public void setValue(Float value) {
this.value = value;
}
}
}
public static class MetricParam {
private String appGroupId;
private String appId;
private String pid;
private String type;
private List<Dimension> dimensions;
public String getAppGroupId() {
return this.appGroupId;
}
public void setAppGroupId(String appGroupId) {
this.appGroupId = appGroupId;
}
public String getAppId() {
return this.appId;
}
public void setAppId(String appId) {
this.appId = appId;
}
public String getPid() {
return this.pid;
}
public void setPid(String pid) {
this.pid = pid;
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public List<Dimension> getDimensions() {
return this.dimensions;
}
public void setDimensions(List<Dimension> dimensions) {
this.dimensions = dimensions;
}
public static class Dimension {
private String key;
private String type;
private String value;
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
}
}
public static class Notice {
private Long endTime;
private Long noticeEndTime;
private Long noticeStartTime;
private Long startTime;
public Long getEndTime() {
return this.endTime;
}
public void setEndTime(Long endTime) {
this.endTime = endTime;
}
public Long getNoticeEndTime() {
return this.noticeEndTime;
}
public void setNoticeEndTime(Long noticeEndTime) {
this.noticeEndTime = noticeEndTime;
}
public Long getNoticeStartTime() {
return this.noticeStartTime;
}
public void setNoticeStartTime(Long noticeStartTime) {
this.noticeStartTime = noticeStartTime;
}
public Long getStartTime() {
return this.startTime;
}
public void setStartTime(Long startTime) {
this.startTime = startTime;
}
}
}
}
@Override
public SearchAlertRulesResponse getInstance(UnmarshallerContext context) {
return SearchAlertRulesResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/SearchEventsRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import com.aliyuncs.v5.RpcAcsRequest;
import com.aliyuncs.v5.http.MethodType;
import com.aliyuncs.v5.arms.Endpoint;
/**
* @author auto create
* @version
*/
public class SearchEventsRequest extends RpcAcsRequest<SearchEventsResponse> {
private Integer isTrigger;
private String appType;
private Long endTime;
private String pid;
private Integer currentPage;
private Long startTime;
private Integer alertType;
private Integer pageSize;
private Long alertId;
public SearchEventsRequest() {
super("ARMS", "2019-08-08", "SearchEvents", "arms");
setMethod(MethodType.POST);
try {
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public Integer getIsTrigger() {
return this.isTrigger;
}
public void setIsTrigger(Integer isTrigger) {
this.isTrigger = isTrigger;
if(isTrigger != null){
putQueryParameter("IsTrigger", isTrigger.toString());
}
}
public String getAppType() {
return this.appType;
}
public void setAppType(String appType) {
this.appType = appType;
if(appType != null){
putQueryParameter("AppType", appType);
}
}
public Long getEndTime() {
return this.endTime;
}
public void setEndTime(Long endTime) {
this.endTime = endTime;
if(endTime != null){
putQueryParameter("EndTime", endTime.toString());
}
}
public String getPid() {
return this.pid;
}
public void setPid(String pid) {
this.pid = pid;
if(pid != null){
putQueryParameter("Pid", pid);
}
}
public Integer getCurrentPage() {
return this.currentPage;
}
public void setCurrentPage(Integer currentPage) {
this.currentPage = currentPage;
if(currentPage != null){
putQueryParameter("CurrentPage", currentPage.toString());
}
}
public Long getStartTime() {
return this.startTime;
}
public void setStartTime(Long startTime) {
this.startTime = startTime;
if(startTime != null){
putQueryParameter("StartTime", startTime.toString());
}
}
public Integer getAlertType() {
return this.alertType;
}
public void setAlertType(Integer alertType) {
this.alertType = alertType;
if(alertType != null){
putQueryParameter("AlertType", alertType.toString());
}
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
if(pageSize != null){
putQueryParameter("PageSize", pageSize.toString());
}
}
public Long getAlertId() {
return this.alertId;
}
public void setAlertId(Long alertId) {
this.alertId = alertId;
if(alertId != null){
putQueryParameter("AlertId", alertId.toString());
}
}
@Override
public Class<SearchEventsResponse> getResponseClass() {
return SearchEventsResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/SearchEventsResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import java.util.List;
import com.aliyuncs.v5.AcsResponse;
import com.aliyuncs.v5.arms.transform.v20190808.SearchEventsResponseUnmarshaller;
import com.aliyuncs.v5.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class SearchEventsResponse extends AcsResponse {
private String requestId;
private Integer isTrigger;
private PageBean pageBean;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Integer getIsTrigger() {
return this.isTrigger;
}
public void setIsTrigger(Integer isTrigger) {
this.isTrigger = isTrigger;
}
public PageBean getPageBean() {
return this.pageBean;
}
public void setPageBean(PageBean pageBean) {
this.pageBean = pageBean;
}
public static class PageBean {
private Integer totalCount;
private Integer pageNumber;
private Integer pageSize;
private List<EventItem> event;
public Integer getTotalCount() {
return this.totalCount;
}
public void setTotalCount(Integer totalCount) {
this.totalCount = totalCount;
}
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 List<EventItem> getEvent() {
return this.event;
}
public void setEvent(List<EventItem> event) {
this.event = event;
}
public static class EventItem {
private Long id;
private Long eventTime;
private Integer alertType;
private String eventLevel;
private String message;
private Long alertId;
private String alertName;
private String alertRule;
private List<String> links;
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public Long getEventTime() {
return this.eventTime;
}
public void setEventTime(Long eventTime) {
this.eventTime = eventTime;
}
public Integer getAlertType() {
return this.alertType;
}
public void setAlertType(Integer alertType) {
this.alertType = alertType;
}
public String getEventLevel() {
return this.eventLevel;
}
public void setEventLevel(String eventLevel) {
this.eventLevel = eventLevel;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public Long getAlertId() {
return this.alertId;
}
public void setAlertId(Long alertId) {
this.alertId = alertId;
}
public String getAlertName() {
return this.alertName;
}
public void setAlertName(String alertName) {
this.alertName = alertName;
}
public String getAlertRule() {
return this.alertRule;
}
public void setAlertRule(String alertRule) {
this.alertRule = alertRule;
}
public List<String> getLinks() {
return this.links;
}
public void setLinks(List<String> links) {
this.links = links;
}
}
}
@Override
public SearchEventsResponse getInstance(UnmarshallerContext context) {
return SearchEventsResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/SearchRetcodeAppByPageRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import com.aliyuncs.v5.RpcAcsRequest;
import com.aliyuncs.v5.http.MethodType;
import com.aliyuncs.v5.arms.Endpoint;
/**
* @author auto create
* @version
*/
public class SearchRetcodeAppByPageRequest extends RpcAcsRequest<SearchRetcodeAppByPageResponse> {
private String retcodeAppName;
private Integer pageSize;
private Integer pageNumber;
public SearchRetcodeAppByPageRequest() {
super("ARMS", "2019-08-08", "SearchRetcodeAppByPage", "arms");
setMethod(MethodType.POST);
try {
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getRetcodeAppName() {
return this.retcodeAppName;
}
public void setRetcodeAppName(String retcodeAppName) {
this.retcodeAppName = retcodeAppName;
if(retcodeAppName != null){
putQueryParameter("RetcodeAppName", retcodeAppName);
}
}
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());
}
}
@Override
public Class<SearchRetcodeAppByPageResponse> getResponseClass() {
return SearchRetcodeAppByPageResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/SearchRetcodeAppByPageResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import java.util.List;
import com.aliyuncs.v5.AcsResponse;
import com.aliyuncs.v5.arms.transform.v20190808.SearchRetcodeAppByPageResponseUnmarshaller;
import com.aliyuncs.v5.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class SearchRetcodeAppByPageResponse extends AcsResponse {
private String requestId;
private PageBean pageBean;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public PageBean getPageBean() {
return this.pageBean;
}
public void setPageBean(PageBean pageBean) {
this.pageBean = pageBean;
}
public static class PageBean {
private Integer totalCount;
private Integer pageNumber;
private Integer pageSize;
private List<RetcodeApp> retcodeApps;
public Integer getTotalCount() {
return this.totalCount;
}
public void setTotalCount(Integer totalCount) {
this.totalCount = totalCount;
}
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 List<RetcodeApp> getRetcodeApps() {
return this.retcodeApps;
}
public void setRetcodeApps(List<RetcodeApp> retcodeApps) {
this.retcodeApps = retcodeApps;
}
public static class RetcodeApp {
private Long appId;
private String pid;
private String appName;
private String type;
private String userId;
private String regionId;
private Long createTime;
private Long updateTime;
private String retcodeAppType;
public Long getAppId() {
return this.appId;
}
public void setAppId(Long appId) {
this.appId = appId;
}
public String getPid() {
return this.pid;
}
public void setPid(String pid) {
this.pid = pid;
}
public String getAppName() {
return this.appName;
}
public void setAppName(String appName) {
this.appName = appName;
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public String getUserId() {
return this.userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
public String getRegionId() {
return this.regionId;
}
public void setRegionId(String regionId) {
this.regionId = regionId;
}
public Long getCreateTime() {
return this.createTime;
}
public void setCreateTime(Long createTime) {
this.createTime = createTime;
}
public Long getUpdateTime() {
return this.updateTime;
}
public void setUpdateTime(Long updateTime) {
this.updateTime = updateTime;
}
public String getRetcodeAppType() {
return this.retcodeAppType;
}
public void setRetcodeAppType(String retcodeAppType) {
this.retcodeAppType = retcodeAppType;
}
}
}
@Override
public SearchRetcodeAppByPageResponse getInstance(UnmarshallerContext context) {
return SearchRetcodeAppByPageResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/SearchTraceAppByNameRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import com.aliyuncs.v5.RpcAcsRequest;
import com.aliyuncs.v5.http.MethodType;
import com.aliyuncs.v5.arms.Endpoint;
/**
* @author auto create
* @version
*/
public class SearchTraceAppByNameRequest extends RpcAcsRequest<SearchTraceAppByNameResponse> {
private String traceAppName;
public SearchTraceAppByNameRequest() {
super("ARMS", "2019-08-08", "SearchTraceAppByName", "arms");
setMethod(MethodType.POST);
try {
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getTraceAppName() {
return this.traceAppName;
}
public void setTraceAppName(String traceAppName) {
this.traceAppName = traceAppName;
if(traceAppName != null){
putQueryParameter("TraceAppName", traceAppName);
}
}
@Override
public Class<SearchTraceAppByNameResponse> getResponseClass() {
return SearchTraceAppByNameResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/SearchTraceAppByNameResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import java.util.List;
import com.aliyuncs.v5.AcsResponse;
import com.aliyuncs.v5.arms.transform.v20190808.SearchTraceAppByNameResponseUnmarshaller;
import com.aliyuncs.v5.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class SearchTraceAppByNameResponse extends AcsResponse {
private String requestId;
private List<TraceApp> traceApps;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public List<TraceApp> getTraceApps() {
return this.traceApps;
}
public void setTraceApps(List<TraceApp> traceApps) {
this.traceApps = traceApps;
}
public static class TraceApp {
private Long appId;
private String pid;
private String appName;
private String type;
private String userId;
private String regionId;
private Long createTime;
private Long updateTime;
private Boolean show;
private List<String> labels;
public Long getAppId() {
return this.appId;
}
public void setAppId(Long appId) {
this.appId = appId;
}
public String getPid() {
return this.pid;
}
public void setPid(String pid) {
this.pid = pid;
}
public String getAppName() {
return this.appName;
}
public void setAppName(String appName) {
this.appName = appName;
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public String getUserId() {
return this.userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
public String getRegionId() {
return this.regionId;
}
public void setRegionId(String regionId) {
this.regionId = regionId;
}
public Long getCreateTime() {
return this.createTime;
}
public void setCreateTime(Long createTime) {
this.createTime = createTime;
}
public Long getUpdateTime() {
return this.updateTime;
}
public void setUpdateTime(Long updateTime) {
this.updateTime = updateTime;
}
public Boolean getShow() {
return this.show;
}
public void setShow(Boolean show) {
this.show = show;
}
public List<String> getLabels() {
return this.labels;
}
public void setLabels(List<String> labels) {
this.labels = labels;
}
}
@Override
public SearchTraceAppByNameResponse getInstance(UnmarshallerContext context) {
return SearchTraceAppByNameResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/SearchTraceAppByPageRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import com.aliyuncs.v5.RpcAcsRequest;
import com.aliyuncs.v5.http.MethodType;
import com.aliyuncs.v5.arms.Endpoint;
/**
* @author auto create
* @version
*/
public class SearchTraceAppByPageRequest extends RpcAcsRequest<SearchTraceAppByPageResponse> {
private String traceAppName;
private Integer pageSize;
private Integer pageNumber;
public SearchTraceAppByPageRequest() {
super("ARMS", "2019-08-08", "SearchTraceAppByPage", "arms");
setMethod(MethodType.POST);
try {
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getTraceAppName() {
return this.traceAppName;
}
public void setTraceAppName(String traceAppName) {
this.traceAppName = traceAppName;
if(traceAppName != null){
putQueryParameter("TraceAppName", traceAppName);
}
}
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());
}
}
@Override
public Class<SearchTraceAppByPageResponse> getResponseClass() {
return SearchTraceAppByPageResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/SearchTraceAppByPageResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import java.util.List;
import com.aliyuncs.v5.AcsResponse;
import com.aliyuncs.v5.arms.transform.v20190808.SearchTraceAppByPageResponseUnmarshaller;
import com.aliyuncs.v5.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class SearchTraceAppByPageResponse extends AcsResponse {
private String requestId;
private PageBean pageBean;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public PageBean getPageBean() {
return this.pageBean;
}
public void setPageBean(PageBean pageBean) {
this.pageBean = pageBean;
}
public static class PageBean {
private Integer totalCount;
private Integer pageNumber;
private Integer pageSize;
private List<TraceApp> traceApps;
public Integer getTotalCount() {
return this.totalCount;
}
public void setTotalCount(Integer totalCount) {
this.totalCount = totalCount;
}
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 List<TraceApp> getTraceApps() {
return this.traceApps;
}
public void setTraceApps(List<TraceApp> traceApps) {
this.traceApps = traceApps;
}
public static class TraceApp {
private Long appId;
private String pid;
private String appName;
private String type;
private String userId;
private String regionId;
private Long createTime;
private Long updateTime;
private Boolean show;
private List<String> labels;
public Long getAppId() {
return this.appId;
}
public void setAppId(Long appId) {
this.appId = appId;
}
public String getPid() {
return this.pid;
}
public void setPid(String pid) {
this.pid = pid;
}
public String getAppName() {
return this.appName;
}
public void setAppName(String appName) {
this.appName = appName;
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public String getUserId() {
return this.userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
public String getRegionId() {
return this.regionId;
}
public void setRegionId(String regionId) {
this.regionId = regionId;
}
public Long getCreateTime() {
return this.createTime;
}
public void setCreateTime(Long createTime) {
this.createTime = createTime;
}
public Long getUpdateTime() {
return this.updateTime;
}
public void setUpdateTime(Long updateTime) {
this.updateTime = updateTime;
}
public Boolean getShow() {
return this.show;
}
public void setShow(Boolean show) {
this.show = show;
}
public List<String> getLabels() {
return this.labels;
}
public void setLabels(List<String> labels) {
this.labels = labels;
}
}
}
@Override
public SearchTraceAppByPageResponse getInstance(UnmarshallerContext context) {
return SearchTraceAppByPageResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/SearchTracesByPageRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import com.aliyuncs.v5.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.v5.http.MethodType;
import com.aliyuncs.v5.arms.Endpoint;
/**
* @author auto create
* @version
*/
public class SearchTracesByPageRequest extends RpcAcsRequest<SearchTracesByPageResponse> {
private Long endTime;
private Long startTime;
private Boolean reverse;
private Long minDuration;
private Integer pageNumber;
private String serviceIp;
private List<ExclusionFilters> exclusionFilters;
private String operationName;
private Integer pageSize;
private String serviceName;
public SearchTracesByPageRequest() {
super("ARMS", "2019-08-08", "SearchTracesByPage", "arms");
setMethod(MethodType.POST);
try {
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public Long getEndTime() {
return this.endTime;
}
public void setEndTime(Long endTime) {
this.endTime = endTime;
if(endTime != null){
putQueryParameter("EndTime", endTime.toString());
}
}
public Long getStartTime() {
return this.startTime;
}
public void setStartTime(Long startTime) {
this.startTime = startTime;
if(startTime != null){
putQueryParameter("StartTime", startTime.toString());
}
}
public Boolean getReverse() {
return this.reverse;
}
public void setReverse(Boolean reverse) {
this.reverse = reverse;
if(reverse != null){
putQueryParameter("Reverse", reverse.toString());
}
}
public Long getMinDuration() {
return this.minDuration;
}
public void setMinDuration(Long minDuration) {
this.minDuration = minDuration;
if(minDuration != null){
putQueryParameter("MinDuration", minDuration.toString());
}
}
public Integer getPageNumber() {
return this.pageNumber;
}
public void setPageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
if(pageNumber != null){
putQueryParameter("PageNumber", pageNumber.toString());
}
}
public String getServiceIp() {
return this.serviceIp;
}
public void setServiceIp(String serviceIp) {
this.serviceIp = serviceIp;
if(serviceIp != null){
putQueryParameter("ServiceIp", serviceIp);
}
}
public List<ExclusionFilters> getExclusionFilters() {
return this.exclusionFilters;
}
public void setExclusionFilters(List<ExclusionFilters> exclusionFilters) {
this.exclusionFilters = exclusionFilters;
if (exclusionFilters != null) {
for (int depth1 = 0; depth1 < exclusionFilters.size(); depth1++) {
putQueryParameter("ExclusionFilters." + (depth1 + 1) + ".Value" , exclusionFilters.get(depth1).getValue());
putQueryParameter("ExclusionFilters." + (depth1 + 1) + ".Key" , exclusionFilters.get(depth1).getKey());
}
}
}
public String getOperationName() {
return this.operationName;
}
public void setOperationName(String operationName) {
this.operationName = operationName;
if(operationName != null){
putQueryParameter("OperationName", operationName);
}
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
if(pageSize != null){
putQueryParameter("PageSize", pageSize.toString());
}
}
public String getServiceName() {
return this.serviceName;
}
public void setServiceName(String serviceName) {
this.serviceName = serviceName;
if(serviceName != null){
putQueryParameter("ServiceName", serviceName);
}
}
public static class ExclusionFilters {
private String value;
private String key;
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
}
@Override
public Class<SearchTracesByPageResponse> getResponseClass() {
return SearchTracesByPageResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/SearchTracesByPageResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import java.util.List;
import com.aliyuncs.v5.AcsResponse;
import com.aliyuncs.v5.arms.transform.v20190808.SearchTracesByPageResponseUnmarshaller;
import com.aliyuncs.v5.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class SearchTracesByPageResponse extends AcsResponse {
private String requestId;
private PageBean pageBean;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public PageBean getPageBean() {
return this.pageBean;
}
public void setPageBean(PageBean pageBean) {
this.pageBean = pageBean;
}
public static class PageBean {
private Integer total;
private Integer pageNumber;
private Integer pageSize;
private List<TraceInfo> traceInfos;
public Integer getTotal() {
return this.total;
}
public void setTotal(Integer total) {
this.total = total;
}
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 List<TraceInfo> getTraceInfos() {
return this.traceInfos;
}
public void setTraceInfos(List<TraceInfo> traceInfos) {
this.traceInfos = traceInfos;
}
public static class TraceInfo {
private String traceID;
private String operationName;
private String serviceName;
private String serviceIp;
private Long duration;
private Long timestamp;
public String getTraceID() {
return this.traceID;
}
public void setTraceID(String traceID) {
this.traceID = traceID;
}
public String getOperationName() {
return this.operationName;
}
public void setOperationName(String operationName) {
this.operationName = operationName;
}
public String getServiceName() {
return this.serviceName;
}
public void setServiceName(String serviceName) {
this.serviceName = serviceName;
}
public String getServiceIp() {
return this.serviceIp;
}
public void setServiceIp(String serviceIp) {
this.serviceIp = serviceIp;
}
public Long getDuration() {
return this.duration;
}
public void setDuration(Long duration) {
this.duration = duration;
}
public Long getTimestamp() {
return this.timestamp;
}
public void setTimestamp(Long timestamp) {
this.timestamp = timestamp;
}
}
}
@Override
public SearchTracesByPageResponse getInstance(UnmarshallerContext context) {
return SearchTracesByPageResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/SearchTracesRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import com.aliyuncs.v5.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.v5.http.MethodType;
import com.aliyuncs.v5.arms.Endpoint;
/**
* @author auto create
* @version
*/
public class SearchTracesRequest extends RpcAcsRequest<SearchTracesResponse> {
private Long endTime;
private Long startTime;
private Boolean reverse;
private Long minDuration;
private String serviceIp;
private List<ExclusionFilters> exclusionFilters;
private String operationName;
private String serviceName;
private List<Tag> tag;
public SearchTracesRequest() {
super("ARMS", "2019-08-08", "SearchTraces", "arms");
setMethod(MethodType.POST);
try {
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public Long getEndTime() {
return this.endTime;
}
public void setEndTime(Long endTime) {
this.endTime = endTime;
if(endTime != null){
putQueryParameter("EndTime", endTime.toString());
}
}
public Long getStartTime() {
return this.startTime;
}
public void setStartTime(Long startTime) {
this.startTime = startTime;
if(startTime != null){
putQueryParameter("StartTime", startTime.toString());
}
}
public Boolean getReverse() {
return this.reverse;
}
public void setReverse(Boolean reverse) {
this.reverse = reverse;
if(reverse != null){
putQueryParameter("Reverse", reverse.toString());
}
}
public Long getMinDuration() {
return this.minDuration;
}
public void setMinDuration(Long minDuration) {
this.minDuration = minDuration;
if(minDuration != null){
putQueryParameter("MinDuration", minDuration.toString());
}
}
public String getServiceIp() {
return this.serviceIp;
}
public void setServiceIp(String serviceIp) {
this.serviceIp = serviceIp;
if(serviceIp != null){
putQueryParameter("ServiceIp", serviceIp);
}
}
public List<ExclusionFilters> getExclusionFilters() {
return this.exclusionFilters;
}
public void setExclusionFilters(List<ExclusionFilters> exclusionFilters) {
this.exclusionFilters = exclusionFilters;
if (exclusionFilters != null) {
for (int depth1 = 0; depth1 < exclusionFilters.size(); depth1++) {
putQueryParameter("ExclusionFilters." + (depth1 + 1) + ".Value" , exclusionFilters.get(depth1).getValue());
putQueryParameter("ExclusionFilters." + (depth1 + 1) + ".Key" , exclusionFilters.get(depth1).getKey());
}
}
}
public String getOperationName() {
return this.operationName;
}
public void setOperationName(String operationName) {
this.operationName = operationName;
if(operationName != null){
putQueryParameter("OperationName", operationName);
}
}
public String getServiceName() {
return this.serviceName;
}
public void setServiceName(String serviceName) {
this.serviceName = serviceName;
if(serviceName != null){
putQueryParameter("ServiceName", serviceName);
}
}
public List<Tag> getTag() {
return this.tag;
}
public void setTag(List<Tag> tag) {
this.tag = tag;
if (tag != null) {
for (int depth1 = 0; depth1 < tag.size(); depth1++) {
putQueryParameter("Tag." + (depth1 + 1) + ".Value" , tag.get(depth1).getValue());
putQueryParameter("Tag." + (depth1 + 1) + ".Key" , tag.get(depth1).getKey());
}
}
}
public static class ExclusionFilters {
private String value;
private String key;
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
}
public static class Tag {
private String value;
private String key;
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
}
@Override
public Class<SearchTracesResponse> getResponseClass() {
return SearchTracesResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/SearchTracesResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import java.util.List;
import com.aliyuncs.v5.AcsResponse;
import com.aliyuncs.v5.arms.transform.v20190808.SearchTracesResponseUnmarshaller;
import com.aliyuncs.v5.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class SearchTracesResponse extends AcsResponse {
private String requestId;
private List<TraceInfo> traceInfos;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public List<TraceInfo> getTraceInfos() {
return this.traceInfos;
}
public void setTraceInfos(List<TraceInfo> traceInfos) {
this.traceInfos = traceInfos;
}
public static class TraceInfo {
private String traceID;
private String operationName;
private String serviceName;
private String serviceIp;
private Long duration;
private Long timestamp;
public String getTraceID() {
return this.traceID;
}
public void setTraceID(String traceID) {
this.traceID = traceID;
}
public String getOperationName() {
return this.operationName;
}
public void setOperationName(String operationName) {
this.operationName = operationName;
}
public String getServiceName() {
return this.serviceName;
}
public void setServiceName(String serviceName) {
this.serviceName = serviceName;
}
public String getServiceIp() {
return this.serviceIp;
}
public void setServiceIp(String serviceIp) {
this.serviceIp = serviceIp;
}
public Long getDuration() {
return this.duration;
}
public void setDuration(Long duration) {
this.duration = duration;
}
public Long getTimestamp() {
return this.timestamp;
}
public void setTimestamp(Long timestamp) {
this.timestamp = timestamp;
}
}
@Override
public SearchTracesResponse getInstance(UnmarshallerContext context) {
return SearchTracesResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/SetRetcodeShareStatusRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import com.aliyuncs.v5.RpcAcsRequest;
import com.aliyuncs.v5.http.MethodType;
import com.aliyuncs.v5.arms.Endpoint;
/**
* @author auto create
* @version
*/
public class SetRetcodeShareStatusRequest extends RpcAcsRequest<SetRetcodeShareStatusResponse> {
private String pid;
private Boolean status;
public SetRetcodeShareStatusRequest() {
super("ARMS", "2019-08-08", "SetRetcodeShareStatus", "arms");
setMethod(MethodType.POST);
try {
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getPid() {
return this.pid;
}
public void setPid(String pid) {
this.pid = pid;
if(pid != null){
putQueryParameter("Pid", pid);
}
}
public Boolean getStatus() {
return this.status;
}
public void setStatus(Boolean status) {
this.status = status;
if(status != null){
putQueryParameter("Status", status.toString());
}
}
@Override
public Class<SetRetcodeShareStatusResponse> getResponseClass() {
return SetRetcodeShareStatusResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/SetRetcodeShareStatusResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import com.aliyuncs.v5.AcsResponse;
import com.aliyuncs.v5.arms.transform.v20190808.SetRetcodeShareStatusResponseUnmarshaller;
import com.aliyuncs.v5.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class SetRetcodeShareStatusResponse extends AcsResponse {
private String requestId;
private Boolean isSuccess;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Boolean getIsSuccess() {
return this.isSuccess;
}
public void setIsSuccess(Boolean isSuccess) {
this.isSuccess = isSuccess;
}
@Override
public SetRetcodeShareStatusResponse getInstance(UnmarshallerContext context) {
return SetRetcodeShareStatusResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/StartAlertRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import com.aliyuncs.v5.RpcAcsRequest;
import com.aliyuncs.v5.http.MethodType;
import com.aliyuncs.v5.arms.Endpoint;
/**
* @author auto create
* @version
*/
public class StartAlertRequest extends RpcAcsRequest<StartAlertResponse> {
private String alertId;
public StartAlertRequest() {
super("ARMS", "2019-08-08", "StartAlert", "arms");
setMethod(MethodType.POST);
try {
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getAlertId() {
return this.alertId;
}
public void setAlertId(String alertId) {
this.alertId = alertId;
if(alertId != null){
putQueryParameter("AlertId", alertId);
}
}
@Override
public Class<StartAlertResponse> getResponseClass() {
return StartAlertResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/StartAlertResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import com.aliyuncs.v5.AcsResponse;
import com.aliyuncs.v5.arms.transform.v20190808.StartAlertResponseUnmarshaller;
import com.aliyuncs.v5.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class StartAlertResponse extends AcsResponse {
private String requestId;
private Boolean isSuccess;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Boolean getIsSuccess() {
return this.isSuccess;
}
public void setIsSuccess(Boolean isSuccess) {
this.isSuccess = isSuccess;
}
@Override
public StartAlertResponse getInstance(UnmarshallerContext context) {
return StartAlertResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/StopAlertRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import com.aliyuncs.v5.RpcAcsRequest;
import com.aliyuncs.v5.http.MethodType;
import com.aliyuncs.v5.arms.Endpoint;
/**
* @author auto create
* @version
*/
public class StopAlertRequest extends RpcAcsRequest<StopAlertResponse> {
private String alertId;
public StopAlertRequest() {
super("ARMS", "2019-08-08", "StopAlert", "arms");
setMethod(MethodType.POST);
try {
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getAlertId() {
return this.alertId;
}
public void setAlertId(String alertId) {
this.alertId = alertId;
if(alertId != null){
putQueryParameter("AlertId", alertId);
}
}
@Override
public Class<StopAlertResponse> getResponseClass() {
return StopAlertResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/StopAlertResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import com.aliyuncs.v5.AcsResponse;
import com.aliyuncs.v5.arms.transform.v20190808.StopAlertResponseUnmarshaller;
import com.aliyuncs.v5.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class StopAlertResponse extends AcsResponse {
private String requestId;
private Boolean isSuccess;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Boolean getIsSuccess() {
return this.isSuccess;
}
public void setIsSuccess(Boolean isSuccess) {
this.isSuccess = isSuccess;
}
@Override
public StopAlertResponse getInstance(UnmarshallerContext context) {
return StopAlertResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/UpdateAlertContactGroupRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import com.aliyuncs.v5.RpcAcsRequest;
import com.aliyuncs.v5.http.MethodType;
import com.aliyuncs.v5.arms.Endpoint;
/**
* @author auto create
* @version
*/
public class UpdateAlertContactGroupRequest extends RpcAcsRequest<UpdateAlertContactGroupResponse> {
private Long contactGroupId;
private String contactGroupName;
private String contactIds;
public UpdateAlertContactGroupRequest() {
super("ARMS", "2019-08-08", "UpdateAlertContactGroup", "arms");
setMethod(MethodType.POST);
try {
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public Long getContactGroupId() {
return this.contactGroupId;
}
public void setContactGroupId(Long contactGroupId) {
this.contactGroupId = contactGroupId;
if(contactGroupId != null){
putQueryParameter("ContactGroupId", contactGroupId.toString());
}
}
public String getContactGroupName() {
return this.contactGroupName;
}
public void setContactGroupName(String contactGroupName) {
this.contactGroupName = contactGroupName;
if(contactGroupName != null){
putQueryParameter("ContactGroupName", contactGroupName);
}
}
public String getContactIds() {
return this.contactIds;
}
public void setContactIds(String contactIds) {
this.contactIds = contactIds;
if(contactIds != null){
putQueryParameter("ContactIds", contactIds);
}
}
@Override
public Class<UpdateAlertContactGroupResponse> getResponseClass() {
return UpdateAlertContactGroupResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/UpdateAlertContactGroupResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import com.aliyuncs.v5.AcsResponse;
import com.aliyuncs.v5.arms.transform.v20190808.UpdateAlertContactGroupResponseUnmarshaller;
import com.aliyuncs.v5.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UpdateAlertContactGroupResponse extends AcsResponse {
private String requestId;
private Boolean isSuccess;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Boolean getIsSuccess() {
return this.isSuccess;
}
public void setIsSuccess(Boolean isSuccess) {
this.isSuccess = isSuccess;
}
@Override
public UpdateAlertContactGroupResponse getInstance(UnmarshallerContext context) {
return UpdateAlertContactGroupResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/UpdateAlertContactRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import com.aliyuncs.v5.RpcAcsRequest;
import com.aliyuncs.v5.http.MethodType;
import com.aliyuncs.v5.arms.Endpoint;
/**
* @author auto create
* @version
*/
public class UpdateAlertContactRequest extends RpcAcsRequest<UpdateAlertContactResponse> {
private Long contactId;
private String phoneNum;
private String contactName;
private String dingRobotWebhookUrl;
private String email;
private Boolean systemNoc;
public UpdateAlertContactRequest() {
super("ARMS", "2019-08-08", "UpdateAlertContact", "arms");
setMethod(MethodType.POST);
try {
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public Long getContactId() {
return this.contactId;
}
public void setContactId(Long contactId) {
this.contactId = contactId;
if(contactId != null){
putQueryParameter("ContactId", contactId.toString());
}
}
public String getPhoneNum() {
return this.phoneNum;
}
public void setPhoneNum(String phoneNum) {
this.phoneNum = phoneNum;
if(phoneNum != null){
putQueryParameter("PhoneNum", phoneNum);
}
}
public String getContactName() {
return this.contactName;
}
public void setContactName(String contactName) {
this.contactName = contactName;
if(contactName != null){
putQueryParameter("ContactName", contactName);
}
}
public String getDingRobotWebhookUrl() {
return this.dingRobotWebhookUrl;
}
public void setDingRobotWebhookUrl(String dingRobotWebhookUrl) {
this.dingRobotWebhookUrl = dingRobotWebhookUrl;
if(dingRobotWebhookUrl != null){
putQueryParameter("DingRobotWebhookUrl", dingRobotWebhookUrl);
}
}
public String getEmail() {
return this.email;
}
public void setEmail(String email) {
this.email = email;
if(email != null){
putQueryParameter("Email", email);
}
}
public Boolean getSystemNoc() {
return this.systemNoc;
}
public void setSystemNoc(Boolean systemNoc) {
this.systemNoc = systemNoc;
if(systemNoc != null){
putQueryParameter("SystemNoc", systemNoc.toString());
}
}
@Override
public Class<UpdateAlertContactResponse> getResponseClass() {
return UpdateAlertContactResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/UpdateAlertContactResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import com.aliyuncs.v5.AcsResponse;
import com.aliyuncs.v5.arms.transform.v20190808.UpdateAlertContactResponseUnmarshaller;
import com.aliyuncs.v5.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UpdateAlertContactResponse extends AcsResponse {
private String requestId;
private Boolean isSuccess;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Boolean getIsSuccess() {
return this.isSuccess;
}
public void setIsSuccess(Boolean isSuccess) {
this.isSuccess = isSuccess;
}
@Override
public UpdateAlertContactResponse getInstance(UnmarshallerContext context) {
return UpdateAlertContactResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/UpdateAlertRuleRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import com.aliyuncs.v5.RpcAcsRequest;
import com.aliyuncs.v5.http.MethodType;
import com.aliyuncs.v5.arms.Endpoint;
/**
* @author auto create
* @version
*/
public class UpdateAlertRuleRequest extends RpcAcsRequest<UpdateAlertRuleResponse> {
private Boolean isAutoStart;
private String contactGroupIds;
private Long alertId;
private String templageAlertConfig;
public UpdateAlertRuleRequest() {
super("ARMS", "2019-08-08", "UpdateAlertRule", "arms");
setMethod(MethodType.POST);
try {
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public Boolean getIsAutoStart() {
return this.isAutoStart;
}
public void setIsAutoStart(Boolean isAutoStart) {
this.isAutoStart = isAutoStart;
if(isAutoStart != null){
putQueryParameter("IsAutoStart", isAutoStart.toString());
}
}
public String getContactGroupIds() {
return this.contactGroupIds;
}
public void setContactGroupIds(String contactGroupIds) {
this.contactGroupIds = contactGroupIds;
if(contactGroupIds != null){
putQueryParameter("ContactGroupIds", contactGroupIds);
}
}
public Long getAlertId() {
return this.alertId;
}
public void setAlertId(Long alertId) {
this.alertId = alertId;
if(alertId != null){
putQueryParameter("AlertId", alertId.toString());
}
}
public String getTemplageAlertConfig() {
return this.templageAlertConfig;
}
public void setTemplageAlertConfig(String templageAlertConfig) {
this.templageAlertConfig = templageAlertConfig;
if(templageAlertConfig != null){
putQueryParameter("TemplageAlertConfig", templageAlertConfig);
}
}
@Override
public Class<UpdateAlertRuleResponse> getResponseClass() {
return UpdateAlertRuleResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/UpdateAlertRuleResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import com.aliyuncs.v5.AcsResponse;
import com.aliyuncs.v5.arms.transform.v20190808.UpdateAlertRuleResponseUnmarshaller;
import com.aliyuncs.v5.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UpdateAlertRuleResponse extends AcsResponse {
private String requestId;
private String data;
private Long alertId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getData() {
return this.data;
}
public void setData(String data) {
this.data = data;
}
public Long getAlertId() {
return this.alertId;
}
public void setAlertId(Long alertId) {
this.alertId = alertId;
}
@Override
public UpdateAlertRuleResponse getInstance(UnmarshallerContext context) {
return UpdateAlertRuleResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/UpdateDispatchRuleRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import com.aliyuncs.v5.RpcAcsRequest;
import com.aliyuncs.v5.http.MethodType;
import com.aliyuncs.v5.arms.Endpoint;
/**
* @author auto create
* @version
*/
public class UpdateDispatchRuleRequest extends RpcAcsRequest<UpdateDispatchRuleResponse> {
private String dispatchRule;
public UpdateDispatchRuleRequest() {
super("ARMS", "2019-08-08", "UpdateDispatchRule", "arms");
setMethod(MethodType.POST);
try {
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getDispatchRule() {
return this.dispatchRule;
}
public void setDispatchRule(String dispatchRule) {
this.dispatchRule = dispatchRule;
if(dispatchRule != null){
putQueryParameter("DispatchRule", dispatchRule);
}
}
@Override
public Class<UpdateDispatchRuleResponse> getResponseClass() {
return UpdateDispatchRuleResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/UpdateDispatchRuleResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import com.aliyuncs.v5.AcsResponse;
import com.aliyuncs.v5.arms.transform.v20190808.UpdateDispatchRuleResponseUnmarshaller;
import com.aliyuncs.v5.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UpdateDispatchRuleResponse extends AcsResponse {
private String requestId;
private Boolean success;
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 UpdateDispatchRuleResponse getInstance(UnmarshallerContext context) {
return UpdateDispatchRuleResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/UpdatePrometheusAlertRuleRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import com.aliyuncs.v5.RpcAcsRequest;
import com.aliyuncs.v5.http.MethodType;
import com.aliyuncs.v5.arms.Endpoint;
/**
* @author auto create
* @version
*/
public class UpdatePrometheusAlertRuleRequest extends RpcAcsRequest<UpdatePrometheusAlertRuleResponse> {
private String expression;
private String alertName;
private String annotations;
private String clusterId;
private Long dispatchRuleId;
private String type;
private String message;
private String labels;
private String duration;
private Long alertId;
private String notifyType;
public UpdatePrometheusAlertRuleRequest() {
super("ARMS", "2019-08-08", "UpdatePrometheusAlertRule", "arms");
setMethod(MethodType.POST);
try {
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getExpression() {
return this.expression;
}
public void setExpression(String expression) {
this.expression = expression;
if(expression != null){
putQueryParameter("Expression", expression);
}
}
public String getAlertName() {
return this.alertName;
}
public void setAlertName(String alertName) {
this.alertName = alertName;
if(alertName != null){
putQueryParameter("AlertName", alertName);
}
}
public String getAnnotations() {
return this.annotations;
}
public void setAnnotations(String annotations) {
this.annotations = annotations;
if(annotations != null){
putQueryParameter("Annotations", annotations);
}
}
public String getClusterId() {
return this.clusterId;
}
public void setClusterId(String clusterId) {
this.clusterId = clusterId;
if(clusterId != null){
putQueryParameter("ClusterId", clusterId);
}
}
public Long getDispatchRuleId() {
return this.dispatchRuleId;
}
public void setDispatchRuleId(Long dispatchRuleId) {
this.dispatchRuleId = dispatchRuleId;
if(dispatchRuleId != null){
putQueryParameter("DispatchRuleId", dispatchRuleId.toString());
}
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
if(type != null){
putQueryParameter("Type", type);
}
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
if(message != null){
putQueryParameter("Message", message);
}
}
public String getLabels() {
return this.labels;
}
public void setLabels(String labels) {
this.labels = labels;
if(labels != null){
putQueryParameter("Labels", labels);
}
}
public String getDuration() {
return this.duration;
}
public void setDuration(String duration) {
this.duration = duration;
if(duration != null){
putQueryParameter("Duration", duration);
}
}
public Long getAlertId() {
return this.alertId;
}
public void setAlertId(Long alertId) {
this.alertId = alertId;
if(alertId != null){
putQueryParameter("AlertId", alertId.toString());
}
}
public String getNotifyType() {
return this.notifyType;
}
public void setNotifyType(String notifyType) {
this.notifyType = notifyType;
if(notifyType != null){
putQueryParameter("NotifyType", notifyType);
}
}
@Override
public Class<UpdatePrometheusAlertRuleResponse> getResponseClass() {
return UpdatePrometheusAlertRuleResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/UpdatePrometheusAlertRuleResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import java.util.List;
import com.aliyuncs.v5.AcsResponse;
import com.aliyuncs.v5.arms.transform.v20190808.UpdatePrometheusAlertRuleResponseUnmarshaller;
import com.aliyuncs.v5.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UpdatePrometheusAlertRuleResponse extends AcsResponse {
private String requestId;
private PrometheusAlertRule prometheusAlertRule;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public PrometheusAlertRule getPrometheusAlertRule() {
return this.prometheusAlertRule;
}
public void setPrometheusAlertRule(PrometheusAlertRule prometheusAlertRule) {
this.prometheusAlertRule = prometheusAlertRule;
}
public static class PrometheusAlertRule {
private Long alertId;
private String alertName;
private String message;
private String type;
private String expression;
private String duration;
private String clusterId;
private Integer status;
private Long dispatchRuleId;
private String notifyType;
private List<Label> labels;
private List<Annotation> annotations;
public Long getAlertId() {
return this.alertId;
}
public void setAlertId(Long alertId) {
this.alertId = alertId;
}
public String getAlertName() {
return this.alertName;
}
public void setAlertName(String alertName) {
this.alertName = alertName;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public String getExpression() {
return this.expression;
}
public void setExpression(String expression) {
this.expression = expression;
}
public String getDuration() {
return this.duration;
}
public void setDuration(String duration) {
this.duration = duration;
}
public String getClusterId() {
return this.clusterId;
}
public void setClusterId(String clusterId) {
this.clusterId = clusterId;
}
public Integer getStatus() {
return this.status;
}
public void setStatus(Integer status) {
this.status = status;
}
public Long getDispatchRuleId() {
return this.dispatchRuleId;
}
public void setDispatchRuleId(Long dispatchRuleId) {
this.dispatchRuleId = dispatchRuleId;
}
public String getNotifyType() {
return this.notifyType;
}
public void setNotifyType(String notifyType) {
this.notifyType = notifyType;
}
public List<Label> getLabels() {
return this.labels;
}
public void setLabels(List<Label> labels) {
this.labels = labels;
}
public List<Annotation> getAnnotations() {
return this.annotations;
}
public void setAnnotations(List<Annotation> annotations) {
this.annotations = annotations;
}
public static class Label {
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 Annotation {
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;
}
}
}
@Override
public UpdatePrometheusAlertRuleResponse getInstance(UnmarshallerContext context) {
return UpdatePrometheusAlertRuleResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/UpdateWebhookRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import com.aliyuncs.v5.RpcAcsRequest;
import com.aliyuncs.v5.http.MethodType;
import com.aliyuncs.v5.arms.Endpoint;
/**
* @author auto create
* @version
*/
public class UpdateWebhookRequest extends RpcAcsRequest<UpdateWebhookResponse> {
private String httpHeaders;
private String method;
private Long contactId;
private String httpParams;
private String body;
private String url;
private String contactName;
public UpdateWebhookRequest() {
super("ARMS", "2019-08-08", "UpdateWebhook", "arms");
setMethod(MethodType.POST);
try {
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.v5.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getHttpHeaders() {
return this.httpHeaders;
}
public void setHttpHeaders(String httpHeaders) {
this.httpHeaders = httpHeaders;
if(httpHeaders != null){
putQueryParameter("HttpHeaders", httpHeaders);
}
}
public String getBizMethod() {
return this.method;
}
public void setBizMethod(String method) {
this.method = method;
if(method != null){
putQueryParameter("Method", method);
}
}
public Long getContactId() {
return this.contactId;
}
public void setContactId(Long contactId) {
this.contactId = contactId;
if(contactId != null){
putQueryParameter("ContactId", contactId.toString());
}
}
public String getHttpParams() {
return this.httpParams;
}
public void setHttpParams(String httpParams) {
this.httpParams = httpParams;
if(httpParams != null){
putQueryParameter("HttpParams", httpParams);
}
}
public String getBody() {
return this.body;
}
public void setBody(String body) {
this.body = body;
if(body != null){
putQueryParameter("Body", body);
}
}
public String getUrl() {
return this.url;
}
public void setUrl(String url) {
this.url = url;
if(url != null){
putQueryParameter("Url", url);
}
}
public String getContactName() {
return this.contactName;
}
public void setContactName(String contactName) {
this.contactName = contactName;
if(contactName != null){
putQueryParameter("ContactName", contactName);
}
}
@Override
public Class<UpdateWebhookResponse> getResponseClass() {
return UpdateWebhookResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/model/v20190808/UpdateWebhookResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.model.v20190808;
import com.aliyuncs.v5.AcsResponse;
import com.aliyuncs.v5.arms.transform.v20190808.UpdateWebhookResponseUnmarshaller;
import com.aliyuncs.v5.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UpdateWebhookResponse extends AcsResponse {
private String requestId;
private Boolean isSuccess;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Boolean getIsSuccess() {
return this.isSuccess;
}
public void setIsSuccess(Boolean isSuccess) {
this.isSuccess = isSuccess;
}
@Override
public UpdateWebhookResponse getInstance(UnmarshallerContext context) {
return UpdateWebhookResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/AddGrafanaResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import com.aliyuncs.v5.arms.model.v20190808.AddGrafanaResponse;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class AddGrafanaResponseUnmarshaller {
public static AddGrafanaResponse unmarshall(AddGrafanaResponse addGrafanaResponse, UnmarshallerContext _ctx) {
addGrafanaResponse.setRequestId(_ctx.stringValue("AddGrafanaResponse.RequestId"));
addGrafanaResponse.setData(_ctx.stringValue("AddGrafanaResponse.Data"));
return addGrafanaResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/AddIntegrationResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import com.aliyuncs.v5.arms.model.v20190808.AddIntegrationResponse;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class AddIntegrationResponseUnmarshaller {
public static AddIntegrationResponse unmarshall(AddIntegrationResponse addIntegrationResponse, UnmarshallerContext _ctx) {
addIntegrationResponse.setRequestId(_ctx.stringValue("AddIntegrationResponse.RequestId"));
addIntegrationResponse.setData(_ctx.stringValue("AddIntegrationResponse.Data"));
return addIntegrationResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/ApplyScenarioResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import com.aliyuncs.v5.arms.model.v20190808.ApplyScenarioResponse;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class ApplyScenarioResponseUnmarshaller {
public static ApplyScenarioResponse unmarshall(ApplyScenarioResponse applyScenarioResponse, UnmarshallerContext _ctx) {
applyScenarioResponse.setRequestId(_ctx.stringValue("ApplyScenarioResponse.RequestId"));
applyScenarioResponse.setResult(_ctx.stringValue("ApplyScenarioResponse.Result"));
return applyScenarioResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/ConfigAppResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import com.aliyuncs.v5.arms.model.v20190808.ConfigAppResponse;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class ConfigAppResponseUnmarshaller {
public static ConfigAppResponse unmarshall(ConfigAppResponse configAppResponse, UnmarshallerContext _ctx) {
configAppResponse.setRequestId(_ctx.stringValue("ConfigAppResponse.RequestId"));
configAppResponse.setData(_ctx.stringValue("ConfigAppResponse.Data"));
return configAppResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/CreateAlertContactGroupResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import com.aliyuncs.v5.arms.model.v20190808.CreateAlertContactGroupResponse;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class CreateAlertContactGroupResponseUnmarshaller {
public static CreateAlertContactGroupResponse unmarshall(CreateAlertContactGroupResponse createAlertContactGroupResponse, UnmarshallerContext _ctx) {
createAlertContactGroupResponse.setRequestId(_ctx.stringValue("CreateAlertContactGroupResponse.RequestId"));
createAlertContactGroupResponse.setContactGroupId(_ctx.stringValue("CreateAlertContactGroupResponse.ContactGroupId"));
return createAlertContactGroupResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/CreateAlertContactResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import com.aliyuncs.v5.arms.model.v20190808.CreateAlertContactResponse;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class CreateAlertContactResponseUnmarshaller {
public static CreateAlertContactResponse unmarshall(CreateAlertContactResponse createAlertContactResponse, UnmarshallerContext _ctx) {
createAlertContactResponse.setRequestId(_ctx.stringValue("CreateAlertContactResponse.RequestId"));
createAlertContactResponse.setContactId(_ctx.stringValue("CreateAlertContactResponse.ContactId"));
return createAlertContactResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/CreateDispatchRuleResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import com.aliyuncs.v5.arms.model.v20190808.CreateDispatchRuleResponse;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class CreateDispatchRuleResponseUnmarshaller {
public static CreateDispatchRuleResponse unmarshall(CreateDispatchRuleResponse createDispatchRuleResponse, UnmarshallerContext _ctx) {
createDispatchRuleResponse.setRequestId(_ctx.stringValue("CreateDispatchRuleResponse.RequestId"));
createDispatchRuleResponse.setDispatchRuleId(_ctx.longValue("CreateDispatchRuleResponse.DispatchRuleId"));
return createDispatchRuleResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/CreatePrometheusAlertRuleResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.v5.arms.model.v20190808.CreatePrometheusAlertRuleResponse;
import com.aliyuncs.v5.arms.model.v20190808.CreatePrometheusAlertRuleResponse.PrometheusAlertRule;
import com.aliyuncs.v5.arms.model.v20190808.CreatePrometheusAlertRuleResponse.PrometheusAlertRule.Annotation;
import com.aliyuncs.v5.arms.model.v20190808.CreatePrometheusAlertRuleResponse.PrometheusAlertRule.Label;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class CreatePrometheusAlertRuleResponseUnmarshaller {
public static CreatePrometheusAlertRuleResponse unmarshall(CreatePrometheusAlertRuleResponse createPrometheusAlertRuleResponse, UnmarshallerContext _ctx) {
createPrometheusAlertRuleResponse.setRequestId(_ctx.stringValue("CreatePrometheusAlertRuleResponse.RequestId"));
PrometheusAlertRule prometheusAlertRule = new PrometheusAlertRule();
prometheusAlertRule.setAlertId(_ctx.longValue("CreatePrometheusAlertRuleResponse.PrometheusAlertRule.AlertId"));
prometheusAlertRule.setAlertName(_ctx.stringValue("CreatePrometheusAlertRuleResponse.PrometheusAlertRule.AlertName"));
prometheusAlertRule.setMessage(_ctx.stringValue("CreatePrometheusAlertRuleResponse.PrometheusAlertRule.Message"));
prometheusAlertRule.setType(_ctx.stringValue("CreatePrometheusAlertRuleResponse.PrometheusAlertRule.Type"));
prometheusAlertRule.setExpression(_ctx.stringValue("CreatePrometheusAlertRuleResponse.PrometheusAlertRule.Expression"));
prometheusAlertRule.setDuration(_ctx.stringValue("CreatePrometheusAlertRuleResponse.PrometheusAlertRule.Duration"));
prometheusAlertRule.setClusterId(_ctx.stringValue("CreatePrometheusAlertRuleResponse.PrometheusAlertRule.ClusterId"));
prometheusAlertRule.setStatus(_ctx.integerValue("CreatePrometheusAlertRuleResponse.PrometheusAlertRule.Status"));
prometheusAlertRule.setDispatchRuleId(_ctx.longValue("CreatePrometheusAlertRuleResponse.PrometheusAlertRule.DispatchRuleId"));
prometheusAlertRule.setNotifyType(_ctx.stringValue("CreatePrometheusAlertRuleResponse.PrometheusAlertRule.NotifyType"));
List<Label> labelsList = new ArrayList<Label>();
for (int i = 0; i < _ctx.lengthValue("CreatePrometheusAlertRuleResponse.PrometheusAlertRule.Labels.Length"); i++) {
Label label = new Label();
label.setName(_ctx.stringValue("CreatePrometheusAlertRuleResponse.PrometheusAlertRule.Labels["+ i +"].Name"));
label.setValue(_ctx.stringValue("CreatePrometheusAlertRuleResponse.PrometheusAlertRule.Labels["+ i +"].Value"));
labelsList.add(label);
}
prometheusAlertRule.setLabels(labelsList);
List<Annotation> annotationsList = new ArrayList<Annotation>();
for (int i = 0; i < _ctx.lengthValue("CreatePrometheusAlertRuleResponse.PrometheusAlertRule.Annotations.Length"); i++) {
Annotation annotation = new Annotation();
annotation.setName(_ctx.stringValue("CreatePrometheusAlertRuleResponse.PrometheusAlertRule.Annotations["+ i +"].Name"));
annotation.setValue(_ctx.stringValue("CreatePrometheusAlertRuleResponse.PrometheusAlertRule.Annotations["+ i +"].Value"));
annotationsList.add(annotation);
}
prometheusAlertRule.setAnnotations(annotationsList);
createPrometheusAlertRuleResponse.setPrometheusAlertRule(prometheusAlertRule);
return createPrometheusAlertRuleResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/CreateRetcodeAppResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import com.aliyuncs.v5.arms.model.v20190808.CreateRetcodeAppResponse;
import com.aliyuncs.v5.arms.model.v20190808.CreateRetcodeAppResponse.RetcodeAppDataBean;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class CreateRetcodeAppResponseUnmarshaller {
public static CreateRetcodeAppResponse unmarshall(CreateRetcodeAppResponse createRetcodeAppResponse, UnmarshallerContext _ctx) {
createRetcodeAppResponse.setRequestId(_ctx.stringValue("CreateRetcodeAppResponse.RequestId"));
RetcodeAppDataBean retcodeAppDataBean = new RetcodeAppDataBean();
retcodeAppDataBean.setAppId(_ctx.longValue("CreateRetcodeAppResponse.RetcodeAppDataBean.AppId"));
retcodeAppDataBean.setPid(_ctx.stringValue("CreateRetcodeAppResponse.RetcodeAppDataBean.Pid"));
createRetcodeAppResponse.setRetcodeAppDataBean(retcodeAppDataBean);
return createRetcodeAppResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/CreateWebhookResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import com.aliyuncs.v5.arms.model.v20190808.CreateWebhookResponse;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class CreateWebhookResponseUnmarshaller {
public static CreateWebhookResponse unmarshall(CreateWebhookResponse createWebhookResponse, UnmarshallerContext _ctx) {
createWebhookResponse.setRequestId(_ctx.stringValue("CreateWebhookResponse.RequestId"));
createWebhookResponse.setContactId(_ctx.stringValue("CreateWebhookResponse.ContactId"));
return createWebhookResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/DeleteAlertContactGroupResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import com.aliyuncs.v5.arms.model.v20190808.DeleteAlertContactGroupResponse;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class DeleteAlertContactGroupResponseUnmarshaller {
public static DeleteAlertContactGroupResponse unmarshall(DeleteAlertContactGroupResponse deleteAlertContactGroupResponse, UnmarshallerContext _ctx) {
deleteAlertContactGroupResponse.setRequestId(_ctx.stringValue("DeleteAlertContactGroupResponse.RequestId"));
deleteAlertContactGroupResponse.setIsSuccess(_ctx.booleanValue("DeleteAlertContactGroupResponse.IsSuccess"));
return deleteAlertContactGroupResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/DeleteAlertContactResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import com.aliyuncs.v5.arms.model.v20190808.DeleteAlertContactResponse;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class DeleteAlertContactResponseUnmarshaller {
public static DeleteAlertContactResponse unmarshall(DeleteAlertContactResponse deleteAlertContactResponse, UnmarshallerContext _ctx) {
deleteAlertContactResponse.setRequestId(_ctx.stringValue("DeleteAlertContactResponse.RequestId"));
deleteAlertContactResponse.setIsSuccess(_ctx.booleanValue("DeleteAlertContactResponse.IsSuccess"));
return deleteAlertContactResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/DeleteAlertRulesResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import com.aliyuncs.v5.arms.model.v20190808.DeleteAlertRulesResponse;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class DeleteAlertRulesResponseUnmarshaller {
public static DeleteAlertRulesResponse unmarshall(DeleteAlertRulesResponse deleteAlertRulesResponse, UnmarshallerContext _ctx) {
deleteAlertRulesResponse.setRequestId(_ctx.stringValue("DeleteAlertRulesResponse.RequestId"));
deleteAlertRulesResponse.setIsSuccess(_ctx.booleanValue("DeleteAlertRulesResponse.IsSuccess"));
return deleteAlertRulesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/DeleteDispatchRuleResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import com.aliyuncs.v5.arms.model.v20190808.DeleteDispatchRuleResponse;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class DeleteDispatchRuleResponseUnmarshaller {
public static DeleteDispatchRuleResponse unmarshall(DeleteDispatchRuleResponse deleteDispatchRuleResponse, UnmarshallerContext _ctx) {
deleteDispatchRuleResponse.setRequestId(_ctx.stringValue("DeleteDispatchRuleResponse.RequestId"));
deleteDispatchRuleResponse.setSuccess(_ctx.booleanValue("DeleteDispatchRuleResponse.Success"));
return deleteDispatchRuleResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/DeletePrometheusAlertRuleResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import com.aliyuncs.v5.arms.model.v20190808.DeletePrometheusAlertRuleResponse;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class DeletePrometheusAlertRuleResponseUnmarshaller {
public static DeletePrometheusAlertRuleResponse unmarshall(DeletePrometheusAlertRuleResponse deletePrometheusAlertRuleResponse, UnmarshallerContext _ctx) {
deletePrometheusAlertRuleResponse.setRequestId(_ctx.stringValue("DeletePrometheusAlertRuleResponse.RequestId"));
deletePrometheusAlertRuleResponse.setSuccess(_ctx.booleanValue("DeletePrometheusAlertRuleResponse.Success"));
return deletePrometheusAlertRuleResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/DeleteRetcodeAppResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import com.aliyuncs.v5.arms.model.v20190808.DeleteRetcodeAppResponse;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class DeleteRetcodeAppResponseUnmarshaller {
public static DeleteRetcodeAppResponse unmarshall(DeleteRetcodeAppResponse deleteRetcodeAppResponse, UnmarshallerContext _ctx) {
deleteRetcodeAppResponse.setRequestId(_ctx.stringValue("DeleteRetcodeAppResponse.RequestId"));
deleteRetcodeAppResponse.setData(_ctx.stringValue("DeleteRetcodeAppResponse.Data"));
return deleteRetcodeAppResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/DeleteScenarioResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import com.aliyuncs.v5.arms.model.v20190808.DeleteScenarioResponse;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class DeleteScenarioResponseUnmarshaller {
public static DeleteScenarioResponse unmarshall(DeleteScenarioResponse deleteScenarioResponse, UnmarshallerContext _ctx) {
deleteScenarioResponse.setRequestId(_ctx.stringValue("DeleteScenarioResponse.RequestId"));
deleteScenarioResponse.setResult(_ctx.booleanValue("DeleteScenarioResponse.Result"));
return deleteScenarioResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/DeleteTraceAppResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import com.aliyuncs.v5.arms.model.v20190808.DeleteTraceAppResponse;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class DeleteTraceAppResponseUnmarshaller {
public static DeleteTraceAppResponse unmarshall(DeleteTraceAppResponse deleteTraceAppResponse, UnmarshallerContext _ctx) {
deleteTraceAppResponse.setRequestId(_ctx.stringValue("DeleteTraceAppResponse.RequestId"));
deleteTraceAppResponse.setData(_ctx.stringValue("DeleteTraceAppResponse.Data"));
return deleteTraceAppResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/DescribeDispatchRuleResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.v5.arms.model.v20190808.DescribeDispatchRuleResponse;
import com.aliyuncs.v5.arms.model.v20190808.DescribeDispatchRuleResponse.DispatchRule;
import com.aliyuncs.v5.arms.model.v20190808.DescribeDispatchRuleResponse.DispatchRule.GroupRule;
import com.aliyuncs.v5.arms.model.v20190808.DescribeDispatchRuleResponse.DispatchRule.LabelMatchExpressionGrid;
import com.aliyuncs.v5.arms.model.v20190808.DescribeDispatchRuleResponse.DispatchRule.LabelMatchExpressionGrid.LabelMatchExpressionGroup;
import com.aliyuncs.v5.arms.model.v20190808.DescribeDispatchRuleResponse.DispatchRule.LabelMatchExpressionGrid.LabelMatchExpressionGroup.LabelMatchExpression;
import com.aliyuncs.v5.arms.model.v20190808.DescribeDispatchRuleResponse.DispatchRule.NotifyRule;
import com.aliyuncs.v5.arms.model.v20190808.DescribeDispatchRuleResponse.DispatchRule.NotifyRule.NotifyObject;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class DescribeDispatchRuleResponseUnmarshaller {
public static DescribeDispatchRuleResponse unmarshall(DescribeDispatchRuleResponse describeDispatchRuleResponse, UnmarshallerContext _ctx) {
describeDispatchRuleResponse.setRequestId(_ctx.stringValue("DescribeDispatchRuleResponse.RequestId"));
DispatchRule dispatchRule = new DispatchRule();
dispatchRule.setRuleId(_ctx.longValue("DescribeDispatchRuleResponse.DispatchRule.RuleId"));
dispatchRule.setName(_ctx.stringValue("DescribeDispatchRuleResponse.DispatchRule.Name"));
dispatchRule.setState(_ctx.stringValue("DescribeDispatchRuleResponse.DispatchRule.State"));
dispatchRule.setDispatchType(_ctx.stringValue("DescribeDispatchRuleResponse.DispatchRule.DispatchType"));
dispatchRule.setIsRecover(_ctx.booleanValue("DescribeDispatchRuleResponse.DispatchRule.IsRecover"));
LabelMatchExpressionGrid labelMatchExpressionGrid = new LabelMatchExpressionGrid();
List<LabelMatchExpressionGroup> labelMatchExpressionGroupsList = new ArrayList<LabelMatchExpressionGroup>();
for (int i = 0; i < _ctx.lengthValue("DescribeDispatchRuleResponse.DispatchRule.LabelMatchExpressionGrid.LabelMatchExpressionGroups.Length"); i++) {
LabelMatchExpressionGroup labelMatchExpressionGroup = new LabelMatchExpressionGroup();
List<LabelMatchExpression> labelMatchExpressionsList = new ArrayList<LabelMatchExpression>();
for (int j = 0; j < _ctx.lengthValue("DescribeDispatchRuleResponse.DispatchRule.LabelMatchExpressionGrid.LabelMatchExpressionGroups["+ i +"].LabelMatchExpressions.Length"); j++) {
LabelMatchExpression labelMatchExpression = new LabelMatchExpression();
labelMatchExpression.setKey(_ctx.stringValue("DescribeDispatchRuleResponse.DispatchRule.LabelMatchExpressionGrid.LabelMatchExpressionGroups["+ i +"].LabelMatchExpressions["+ j +"].Key"));
labelMatchExpression.setValue(_ctx.stringValue("DescribeDispatchRuleResponse.DispatchRule.LabelMatchExpressionGrid.LabelMatchExpressionGroups["+ i +"].LabelMatchExpressions["+ j +"].Value"));
labelMatchExpression.setOperator(_ctx.stringValue("DescribeDispatchRuleResponse.DispatchRule.LabelMatchExpressionGrid.LabelMatchExpressionGroups["+ i +"].LabelMatchExpressions["+ j +"].Operator"));
labelMatchExpressionsList.add(labelMatchExpression);
}
labelMatchExpressionGroup.setLabelMatchExpressions(labelMatchExpressionsList);
labelMatchExpressionGroupsList.add(labelMatchExpressionGroup);
}
labelMatchExpressionGrid.setLabelMatchExpressionGroups(labelMatchExpressionGroupsList);
dispatchRule.setLabelMatchExpressionGrid(labelMatchExpressionGrid);
List<GroupRule> groupRulesList = new ArrayList<GroupRule>();
for (int i = 0; i < _ctx.lengthValue("DescribeDispatchRuleResponse.DispatchRule.GroupRules.Length"); i++) {
GroupRule groupRule = new GroupRule();
groupRule.setGroupId(_ctx.longValue("DescribeDispatchRuleResponse.DispatchRule.GroupRules["+ i +"].GroupId"));
groupRule.setGroupWaitTime(_ctx.longValue("DescribeDispatchRuleResponse.DispatchRule.GroupRules["+ i +"].GroupWaitTime"));
groupRule.setGroupInterval(_ctx.longValue("DescribeDispatchRuleResponse.DispatchRule.GroupRules["+ i +"].GroupInterval"));
groupRule.setRepeatInterval(_ctx.longValue("DescribeDispatchRuleResponse.DispatchRule.GroupRules["+ i +"].RepeatInterval"));
List<String> groupingFields = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("DescribeDispatchRuleResponse.DispatchRule.GroupRules["+ i +"].GroupingFields.Length"); j++) {
groupingFields.add(_ctx.stringValue("DescribeDispatchRuleResponse.DispatchRule.GroupRules["+ i +"].GroupingFields["+ j +"]"));
}
groupRule.setGroupingFields(groupingFields);
groupRulesList.add(groupRule);
}
dispatchRule.setGroupRules(groupRulesList);
List<NotifyRule> notifyRulesList = new ArrayList<NotifyRule>();
for (int i = 0; i < _ctx.lengthValue("DescribeDispatchRuleResponse.DispatchRule.NotifyRules.Length"); i++) {
NotifyRule notifyRule = new NotifyRule();
List<String> notifyChannels = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("DescribeDispatchRuleResponse.DispatchRule.NotifyRules["+ i +"].NotifyChannels.Length"); j++) {
notifyChannels.add(_ctx.stringValue("DescribeDispatchRuleResponse.DispatchRule.NotifyRules["+ i +"].NotifyChannels["+ j +"]"));
}
notifyRule.setNotifyChannels(notifyChannels);
List<NotifyObject> notifyObjectsList = new ArrayList<NotifyObject>();
for (int j = 0; j < _ctx.lengthValue("DescribeDispatchRuleResponse.DispatchRule.NotifyRules["+ i +"].NotifyObjects.Length"); j++) {
NotifyObject notifyObject = new NotifyObject();
notifyObject.setNotifyType(_ctx.stringValue("DescribeDispatchRuleResponse.DispatchRule.NotifyRules["+ i +"].NotifyObjects["+ j +"].NotifyType"));
notifyObject.setName(_ctx.stringValue("DescribeDispatchRuleResponse.DispatchRule.NotifyRules["+ i +"].NotifyObjects["+ j +"].Name"));
notifyObject.setNotifyObjectId(_ctx.stringValue("DescribeDispatchRuleResponse.DispatchRule.NotifyRules["+ i +"].NotifyObjects["+ j +"].NotifyObjectId"));
notifyObjectsList.add(notifyObject);
}
notifyRule.setNotifyObjects(notifyObjectsList);
notifyRulesList.add(notifyRule);
}
dispatchRule.setNotifyRules(notifyRulesList);
describeDispatchRuleResponse.setDispatchRule(dispatchRule);
return describeDispatchRuleResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/DescribePrometheusAlertRuleResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.v5.arms.model.v20190808.DescribePrometheusAlertRuleResponse;
import com.aliyuncs.v5.arms.model.v20190808.DescribePrometheusAlertRuleResponse.PrometheusAlertRule;
import com.aliyuncs.v5.arms.model.v20190808.DescribePrometheusAlertRuleResponse.PrometheusAlertRule.Annotation;
import com.aliyuncs.v5.arms.model.v20190808.DescribePrometheusAlertRuleResponse.PrometheusAlertRule.Label;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class DescribePrometheusAlertRuleResponseUnmarshaller {
public static DescribePrometheusAlertRuleResponse unmarshall(DescribePrometheusAlertRuleResponse describePrometheusAlertRuleResponse, UnmarshallerContext _ctx) {
describePrometheusAlertRuleResponse.setRequestId(_ctx.stringValue("DescribePrometheusAlertRuleResponse.RequestId"));
PrometheusAlertRule prometheusAlertRule = new PrometheusAlertRule();
prometheusAlertRule.setAlertId(_ctx.longValue("DescribePrometheusAlertRuleResponse.PrometheusAlertRule.AlertId"));
prometheusAlertRule.setAlertName(_ctx.stringValue("DescribePrometheusAlertRuleResponse.PrometheusAlertRule.AlertName"));
prometheusAlertRule.setMessage(_ctx.stringValue("DescribePrometheusAlertRuleResponse.PrometheusAlertRule.Message"));
prometheusAlertRule.setType(_ctx.stringValue("DescribePrometheusAlertRuleResponse.PrometheusAlertRule.Type"));
prometheusAlertRule.setExpression(_ctx.stringValue("DescribePrometheusAlertRuleResponse.PrometheusAlertRule.Expression"));
prometheusAlertRule.setDuration(_ctx.stringValue("DescribePrometheusAlertRuleResponse.PrometheusAlertRule.Duration"));
prometheusAlertRule.setClusterId(_ctx.stringValue("DescribePrometheusAlertRuleResponse.PrometheusAlertRule.ClusterId"));
prometheusAlertRule.setStatus(_ctx.integerValue("DescribePrometheusAlertRuleResponse.PrometheusAlertRule.Status"));
prometheusAlertRule.setDispatchRuleId(_ctx.longValue("DescribePrometheusAlertRuleResponse.PrometheusAlertRule.DispatchRuleId"));
prometheusAlertRule.setNotifyType(_ctx.stringValue("DescribePrometheusAlertRuleResponse.PrometheusAlertRule.NotifyType"));
List<Label> labelsList = new ArrayList<Label>();
for (int i = 0; i < _ctx.lengthValue("DescribePrometheusAlertRuleResponse.PrometheusAlertRule.Labels.Length"); i++) {
Label label = new Label();
label.setName(_ctx.stringValue("DescribePrometheusAlertRuleResponse.PrometheusAlertRule.Labels["+ i +"].Name"));
label.setValue(_ctx.stringValue("DescribePrometheusAlertRuleResponse.PrometheusAlertRule.Labels["+ i +"].Value"));
labelsList.add(label);
}
prometheusAlertRule.setLabels(labelsList);
List<Annotation> annotationsList = new ArrayList<Annotation>();
for (int i = 0; i < _ctx.lengthValue("DescribePrometheusAlertRuleResponse.PrometheusAlertRule.Annotations.Length"); i++) {
Annotation annotation = new Annotation();
annotation.setName(_ctx.stringValue("DescribePrometheusAlertRuleResponse.PrometheusAlertRule.Annotations["+ i +"].Name"));
annotation.setValue(_ctx.stringValue("DescribePrometheusAlertRuleResponse.PrometheusAlertRule.Annotations["+ i +"].Value"));
annotationsList.add(annotation);
}
prometheusAlertRule.setAnnotations(annotationsList);
describePrometheusAlertRuleResponse.setPrometheusAlertRule(prometheusAlertRule);
return describePrometheusAlertRuleResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/DescribeTraceLicenseKeyResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import com.aliyuncs.v5.arms.model.v20190808.DescribeTraceLicenseKeyResponse;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class DescribeTraceLicenseKeyResponseUnmarshaller {
public static DescribeTraceLicenseKeyResponse unmarshall(DescribeTraceLicenseKeyResponse describeTraceLicenseKeyResponse, UnmarshallerContext _ctx) {
describeTraceLicenseKeyResponse.setRequestId(_ctx.stringValue("DescribeTraceLicenseKeyResponse.RequestId"));
describeTraceLicenseKeyResponse.setLicenseKey(_ctx.stringValue("DescribeTraceLicenseKeyResponse.LicenseKey"));
return describeTraceLicenseKeyResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/GetAgentDownloadUrlResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import com.aliyuncs.v5.arms.model.v20190808.GetAgentDownloadUrlResponse;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class GetAgentDownloadUrlResponseUnmarshaller {
public static GetAgentDownloadUrlResponse unmarshall(GetAgentDownloadUrlResponse getAgentDownloadUrlResponse, UnmarshallerContext _ctx) {
getAgentDownloadUrlResponse.setRequestId(_ctx.stringValue("GetAgentDownloadUrlResponse.RequestId"));
getAgentDownloadUrlResponse.setArmsAgentDownloadUrl(_ctx.stringValue("GetAgentDownloadUrlResponse.ArmsAgentDownloadUrl"));
return getAgentDownloadUrlResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/GetAppApiByPageResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.v5.arms.model.v20190808.GetAppApiByPageResponse;
import com.aliyuncs.v5.arms.model.v20190808.GetAppApiByPageResponse.Data;
import java.util.Map;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class GetAppApiByPageResponseUnmarshaller {
public static GetAppApiByPageResponse unmarshall(GetAppApiByPageResponse getAppApiByPageResponse, UnmarshallerContext _ctx) {
getAppApiByPageResponse.setRequestId(_ctx.stringValue("GetAppApiByPageResponse.RequestId"));
getAppApiByPageResponse.setCode(_ctx.integerValue("GetAppApiByPageResponse.Code"));
getAppApiByPageResponse.setMessage(_ctx.stringValue("GetAppApiByPageResponse.Message"));
getAppApiByPageResponse.setSuccess(_ctx.booleanValue("GetAppApiByPageResponse.Success"));
Data data = new Data();
data.setTotal(_ctx.stringValue("GetAppApiByPageResponse.Data.Total"));
data.setPage(_ctx.integerValue("GetAppApiByPageResponse.Data.Page"));
data.setPageSize(_ctx.integerValue("GetAppApiByPageResponse.Data.PageSize"));
List<Map<Object, Object>> items = _ctx.listMapValue("GetAppApiByPageResponse.Data.Items");
data.setItems(items);
getAppApiByPageResponse.setData(data);
return getAppApiByPageResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/GetExploreUrlResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import com.aliyuncs.v5.arms.model.v20190808.GetExploreUrlResponse;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class GetExploreUrlResponseUnmarshaller {
public static GetExploreUrlResponse unmarshall(GetExploreUrlResponse getExploreUrlResponse, UnmarshallerContext _ctx) {
getExploreUrlResponse.setRequestId(_ctx.stringValue("GetExploreUrlResponse.RequestId"));
getExploreUrlResponse.setData(_ctx.stringValue("GetExploreUrlResponse.Data"));
return getExploreUrlResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/GetMultipleTraceResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.v5.arms.model.v20190808.GetMultipleTraceResponse;
import com.aliyuncs.v5.arms.model.v20190808.GetMultipleTraceResponse.MultiCallChainInfo;
import com.aliyuncs.v5.arms.model.v20190808.GetMultipleTraceResponse.MultiCallChainInfo.Span;
import com.aliyuncs.v5.arms.model.v20190808.GetMultipleTraceResponse.MultiCallChainInfo.Span.LogEvent;
import com.aliyuncs.v5.arms.model.v20190808.GetMultipleTraceResponse.MultiCallChainInfo.Span.LogEvent.TagEntry2;
import com.aliyuncs.v5.arms.model.v20190808.GetMultipleTraceResponse.MultiCallChainInfo.Span.TagEntry;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class GetMultipleTraceResponseUnmarshaller {
public static GetMultipleTraceResponse unmarshall(GetMultipleTraceResponse getMultipleTraceResponse, UnmarshallerContext _ctx) {
getMultipleTraceResponse.setRequestId(_ctx.stringValue("GetMultipleTraceResponse.RequestId"));
List<MultiCallChainInfo> multiCallChainInfosList = new ArrayList<MultiCallChainInfo>();
for (int i = 0; i < _ctx.lengthValue("GetMultipleTraceResponse.MultiCallChainInfos.Length"); i++) {
MultiCallChainInfo multiCallChainInfo = new MultiCallChainInfo();
multiCallChainInfo.setTraceID(_ctx.stringValue("GetMultipleTraceResponse.MultiCallChainInfos["+ i +"].TraceID"));
List<Span> spansList = new ArrayList<Span>();
for (int j = 0; j < _ctx.lengthValue("GetMultipleTraceResponse.MultiCallChainInfos["+ i +"].Spans.Length"); j++) {
Span span = new Span();
span.setTraceID(_ctx.stringValue("GetMultipleTraceResponse.MultiCallChainInfos["+ i +"].Spans["+ j +"].TraceID"));
span.setOperationName(_ctx.stringValue("GetMultipleTraceResponse.MultiCallChainInfos["+ i +"].Spans["+ j +"].OperationName"));
span.setDuration(_ctx.longValue("GetMultipleTraceResponse.MultiCallChainInfos["+ i +"].Spans["+ j +"].Duration"));
span.setServiceName(_ctx.stringValue("GetMultipleTraceResponse.MultiCallChainInfos["+ i +"].Spans["+ j +"].ServiceName"));
span.setServiceIp(_ctx.stringValue("GetMultipleTraceResponse.MultiCallChainInfos["+ i +"].Spans["+ j +"].ServiceIp"));
span.setTimestamp(_ctx.longValue("GetMultipleTraceResponse.MultiCallChainInfos["+ i +"].Spans["+ j +"].Timestamp"));
span.setRpcId(_ctx.stringValue("GetMultipleTraceResponse.MultiCallChainInfos["+ i +"].Spans["+ j +"].RpcId"));
span.setResultCode(_ctx.stringValue("GetMultipleTraceResponse.MultiCallChainInfos["+ i +"].Spans["+ j +"].ResultCode"));
span.setHaveStack(_ctx.booleanValue("GetMultipleTraceResponse.MultiCallChainInfos["+ i +"].Spans["+ j +"].HaveStack"));
span.setRpcType(_ctx.integerValue("GetMultipleTraceResponse.MultiCallChainInfos["+ i +"].Spans["+ j +"].RpcType"));
span.setSpanId(_ctx.stringValue("GetMultipleTraceResponse.MultiCallChainInfos["+ i +"].Spans["+ j +"].SpanId"));
span.setParentSpanId(_ctx.stringValue("GetMultipleTraceResponse.MultiCallChainInfos["+ i +"].Spans["+ j +"].ParentSpanId"));
List<TagEntry> tagEntryListList = new ArrayList<TagEntry>();
for (int k = 0; k < _ctx.lengthValue("GetMultipleTraceResponse.MultiCallChainInfos["+ i +"].Spans["+ j +"].TagEntryList.Length"); k++) {
TagEntry tagEntry = new TagEntry();
tagEntry.setKey(_ctx.stringValue("GetMultipleTraceResponse.MultiCallChainInfos["+ i +"].Spans["+ j +"].TagEntryList["+ k +"].Key"));
tagEntry.setValue(_ctx.stringValue("GetMultipleTraceResponse.MultiCallChainInfos["+ i +"].Spans["+ j +"].TagEntryList["+ k +"].Value"));
tagEntryListList.add(tagEntry);
}
span.setTagEntryList(tagEntryListList);
List<LogEvent> logEventListList = new ArrayList<LogEvent>();
for (int k = 0; k < _ctx.lengthValue("GetMultipleTraceResponse.MultiCallChainInfos["+ i +"].Spans["+ j +"].LogEventList.Length"); k++) {
LogEvent logEvent = new LogEvent();
logEvent.setTimestamp(_ctx.longValue("GetMultipleTraceResponse.MultiCallChainInfos["+ i +"].Spans["+ j +"].LogEventList["+ k +"].Timestamp"));
List<TagEntry2> tagEntryList1List = new ArrayList<TagEntry2>();
for (int l = 0; l < _ctx.lengthValue("GetMultipleTraceResponse.MultiCallChainInfos["+ i +"].Spans["+ j +"].LogEventList["+ k +"].TagEntryList.Length"); l++) {
TagEntry2 tagEntry2 = new TagEntry2();
tagEntry2.setKey(_ctx.stringValue("GetMultipleTraceResponse.MultiCallChainInfos["+ i +"].Spans["+ j +"].LogEventList["+ k +"].TagEntryList["+ l +"].Key"));
tagEntry2.setValue(_ctx.stringValue("GetMultipleTraceResponse.MultiCallChainInfos["+ i +"].Spans["+ j +"].LogEventList["+ k +"].TagEntryList["+ l +"].Value"));
tagEntryList1List.add(tagEntry2);
}
logEvent.setTagEntryList1(tagEntryList1List);
logEventListList.add(logEvent);
}
span.setLogEventList(logEventListList);
spansList.add(span);
}
multiCallChainInfo.setSpans(spansList);
multiCallChainInfosList.add(multiCallChainInfo);
}
getMultipleTraceResponse.setMultiCallChainInfos(multiCallChainInfosList);
return getMultipleTraceResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/GetPrometheusApiTokenResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import com.aliyuncs.v5.arms.model.v20190808.GetPrometheusApiTokenResponse;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class GetPrometheusApiTokenResponseUnmarshaller {
public static GetPrometheusApiTokenResponse unmarshall(GetPrometheusApiTokenResponse getPrometheusApiTokenResponse, UnmarshallerContext _ctx) {
getPrometheusApiTokenResponse.setRequestId(_ctx.stringValue("GetPrometheusApiTokenResponse.RequestId"));
getPrometheusApiTokenResponse.setToken(_ctx.stringValue("GetPrometheusApiTokenResponse.Token"));
return getPrometheusApiTokenResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/GetRetcodeShareUrlResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import com.aliyuncs.v5.arms.model.v20190808.GetRetcodeShareUrlResponse;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class GetRetcodeShareUrlResponseUnmarshaller {
public static GetRetcodeShareUrlResponse unmarshall(GetRetcodeShareUrlResponse getRetcodeShareUrlResponse, UnmarshallerContext _ctx) {
getRetcodeShareUrlResponse.setRequestId(_ctx.stringValue("GetRetcodeShareUrlResponse.RequestId"));
getRetcodeShareUrlResponse.setUrl(_ctx.stringValue("GetRetcodeShareUrlResponse.Url"));
return getRetcodeShareUrlResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/GetStackResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.v5.arms.model.v20190808.GetStackResponse;
import com.aliyuncs.v5.arms.model.v20190808.GetStackResponse.StackInfoItem;
import com.aliyuncs.v5.arms.model.v20190808.GetStackResponse.StackInfoItem.ExtInfo;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class GetStackResponseUnmarshaller {
public static GetStackResponse unmarshall(GetStackResponse getStackResponse, UnmarshallerContext _ctx) {
getStackResponse.setRequestId(_ctx.stringValue("GetStackResponse.RequestId"));
List<StackInfoItem> stackInfoList = new ArrayList<StackInfoItem>();
for (int i = 0; i < _ctx.lengthValue("GetStackResponse.StackInfo.Length"); i++) {
StackInfoItem stackInfoItem = new StackInfoItem();
stackInfoItem.setStartTime(_ctx.longValue("GetStackResponse.StackInfo["+ i +"].StartTime"));
stackInfoItem.setDuration(_ctx.longValue("GetStackResponse.StackInfo["+ i +"].Duration"));
stackInfoItem.setRpcId(_ctx.stringValue("GetStackResponse.StackInfo["+ i +"].RpcId"));
stackInfoItem.setServiceName(_ctx.stringValue("GetStackResponse.StackInfo["+ i +"].ServiceName"));
stackInfoItem.setApi(_ctx.stringValue("GetStackResponse.StackInfo["+ i +"].Api"));
stackInfoItem.setException(_ctx.stringValue("GetStackResponse.StackInfo["+ i +"].Exception"));
stackInfoItem.setLine(_ctx.stringValue("GetStackResponse.StackInfo["+ i +"].Line"));
ExtInfo extInfo = new ExtInfo();
extInfo.setType(_ctx.stringValue("GetStackResponse.StackInfo["+ i +"].ExtInfo.Type"));
extInfo.setInfo(_ctx.stringValue("GetStackResponse.StackInfo["+ i +"].ExtInfo.Info"));
stackInfoItem.setExtInfo(extInfo);
stackInfoList.add(stackInfoItem);
}
getStackResponse.setStackInfo(stackInfoList);
return getStackResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/GetTraceAppResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.v5.arms.model.v20190808.GetTraceAppResponse;
import com.aliyuncs.v5.arms.model.v20190808.GetTraceAppResponse.TraceApp;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class GetTraceAppResponseUnmarshaller {
public static GetTraceAppResponse unmarshall(GetTraceAppResponse getTraceAppResponse, UnmarshallerContext _ctx) {
getTraceAppResponse.setRequestId(_ctx.stringValue("GetTraceAppResponse.RequestId"));
TraceApp traceApp = new TraceApp();
traceApp.setAppId(_ctx.longValue("GetTraceAppResponse.TraceApp.AppId"));
traceApp.setPid(_ctx.stringValue("GetTraceAppResponse.TraceApp.Pid"));
traceApp.setAppName(_ctx.stringValue("GetTraceAppResponse.TraceApp.AppName"));
traceApp.setType(_ctx.stringValue("GetTraceAppResponse.TraceApp.Type"));
traceApp.setUserId(_ctx.stringValue("GetTraceAppResponse.TraceApp.UserId"));
traceApp.setRegionId(_ctx.stringValue("GetTraceAppResponse.TraceApp.RegionId"));
traceApp.setCreateTime(_ctx.longValue("GetTraceAppResponse.TraceApp.CreateTime"));
traceApp.setUpdateTime(_ctx.longValue("GetTraceAppResponse.TraceApp.UpdateTime"));
traceApp.setShow(_ctx.booleanValue("GetTraceAppResponse.TraceApp.Show"));
List<String> labels = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("GetTraceAppResponse.TraceApp.Labels.Length"); i++) {
labels.add(_ctx.stringValue("GetTraceAppResponse.TraceApp.Labels["+ i +"]"));
}
traceApp.setLabels(labels);
getTraceAppResponse.setTraceApp(traceApp);
return getTraceAppResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/GetTraceResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.v5.arms.model.v20190808.GetTraceResponse;
import com.aliyuncs.v5.arms.model.v20190808.GetTraceResponse.Span;
import com.aliyuncs.v5.arms.model.v20190808.GetTraceResponse.Span.LogEvent;
import com.aliyuncs.v5.arms.model.v20190808.GetTraceResponse.Span.LogEvent.TagEntry2;
import com.aliyuncs.v5.arms.model.v20190808.GetTraceResponse.Span.TagEntry;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class GetTraceResponseUnmarshaller {
public static GetTraceResponse unmarshall(GetTraceResponse getTraceResponse, UnmarshallerContext _ctx) {
getTraceResponse.setRequestId(_ctx.stringValue("GetTraceResponse.RequestId"));
List<Span> spansList = new ArrayList<Span>();
for (int i = 0; i < _ctx.lengthValue("GetTraceResponse.Spans.Length"); i++) {
Span span = new Span();
span.setTraceID(_ctx.stringValue("GetTraceResponse.Spans["+ i +"].TraceID"));
span.setOperationName(_ctx.stringValue("GetTraceResponse.Spans["+ i +"].OperationName"));
span.setDuration(_ctx.longValue("GetTraceResponse.Spans["+ i +"].Duration"));
span.setServiceName(_ctx.stringValue("GetTraceResponse.Spans["+ i +"].ServiceName"));
span.setServiceIp(_ctx.stringValue("GetTraceResponse.Spans["+ i +"].ServiceIp"));
span.setTimestamp(_ctx.longValue("GetTraceResponse.Spans["+ i +"].Timestamp"));
span.setRpcId(_ctx.stringValue("GetTraceResponse.Spans["+ i +"].RpcId"));
span.setResultCode(_ctx.stringValue("GetTraceResponse.Spans["+ i +"].ResultCode"));
span.setHaveStack(_ctx.booleanValue("GetTraceResponse.Spans["+ i +"].HaveStack"));
span.setRpcType(_ctx.integerValue("GetTraceResponse.Spans["+ i +"].RpcType"));
span.setSpanId(_ctx.stringValue("GetTraceResponse.Spans["+ i +"].SpanId"));
span.setParentSpanId(_ctx.stringValue("GetTraceResponse.Spans["+ i +"].ParentSpanId"));
List<TagEntry> tagEntryListList = new ArrayList<TagEntry>();
for (int j = 0; j < _ctx.lengthValue("GetTraceResponse.Spans["+ i +"].TagEntryList.Length"); j++) {
TagEntry tagEntry = new TagEntry();
tagEntry.setKey(_ctx.stringValue("GetTraceResponse.Spans["+ i +"].TagEntryList["+ j +"].Key"));
tagEntry.setValue(_ctx.stringValue("GetTraceResponse.Spans["+ i +"].TagEntryList["+ j +"].Value"));
tagEntryListList.add(tagEntry);
}
span.setTagEntryList(tagEntryListList);
List<LogEvent> logEventListList = new ArrayList<LogEvent>();
for (int j = 0; j < _ctx.lengthValue("GetTraceResponse.Spans["+ i +"].LogEventList.Length"); j++) {
LogEvent logEvent = new LogEvent();
logEvent.setTimestamp(_ctx.longValue("GetTraceResponse.Spans["+ i +"].LogEventList["+ j +"].Timestamp"));
List<TagEntry2> tagEntryList1List = new ArrayList<TagEntry2>();
for (int k = 0; k < _ctx.lengthValue("GetTraceResponse.Spans["+ i +"].LogEventList["+ j +"].TagEntryList.Length"); k++) {
TagEntry2 tagEntry2 = new TagEntry2();
tagEntry2.setKey(_ctx.stringValue("GetTraceResponse.Spans["+ i +"].LogEventList["+ j +"].TagEntryList["+ k +"].Key"));
tagEntry2.setValue(_ctx.stringValue("GetTraceResponse.Spans["+ i +"].LogEventList["+ j +"].TagEntryList["+ k +"].Value"));
tagEntryList1List.add(tagEntry2);
}
logEvent.setTagEntryList1(tagEntryList1List);
logEventListList.add(logEvent);
}
span.setLogEventList(logEventListList);
spansList.add(span);
}
getTraceResponse.setSpans(spansList);
return getTraceResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/GetUserCommercialStatusResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import com.aliyuncs.v5.arms.model.v20190808.GetUserCommercialStatusResponse;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class GetUserCommercialStatusResponseUnmarshaller {
public static GetUserCommercialStatusResponse unmarshall(GetUserCommercialStatusResponse getUserCommercialStatusResponse, UnmarshallerContext _ctx) {
getUserCommercialStatusResponse.setRequestId(_ctx.stringValue("GetUserCommercialStatusResponse.RequestId"));
getUserCommercialStatusResponse.setData(_ctx.stringValue("GetUserCommercialStatusResponse.Data"));
return getUserCommercialStatusResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform
|
java-sources/com/aliyun/aliyun-java-sdk-arms-v5/1.0.0/com/aliyuncs/v5/arms/transform/v20190808/ImportAppAlertRulesResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.v5.arms.transform.v20190808;
import com.aliyuncs.v5.arms.model.v20190808.ImportAppAlertRulesResponse;
import com.aliyuncs.v5.transform.UnmarshallerContext;
public class ImportAppAlertRulesResponseUnmarshaller {
public static ImportAppAlertRulesResponse unmarshall(ImportAppAlertRulesResponse importAppAlertRulesResponse, UnmarshallerContext _ctx) {
importAppAlertRulesResponse.setRequestId(_ctx.stringValue("ImportAppAlertRulesResponse.RequestId"));
importAppAlertRulesResponse.setData(_ctx.stringValue("ImportAppAlertRulesResponse.Data"));
return importAppAlertRulesResponse;
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.