From 88782f6b8fca57ec1ee83ffdb910cffa74430ade Mon Sep 17 00:00:00 2001 From: sdk-team Date: Mon, 30 Sep 2024 07:08:48 +0000 Subject: [PATCH] Generated 2018-08-28 for Tag. --- aliyun-java-sdk-tag/ChangeLog.txt | 3 + aliyun-java-sdk-tag/pom.xml | 2 +- .../CheckCreatedByEnabledResponse.java | 18 ++-- .../model/v20180828/CreatePolicyResponse.java | 10 +++ .../v20180828/DisablePolicyTypeRequest.java | 15 +++- .../v20180828/EnablePolicyTypeRequest.java | 15 +++- .../GenerateConfigRuleReportResponse.java | 18 ++-- .../GetConfigRuleReportResponse.java | 40 ++++----- .../GetPolicyEnableStatusRequest.java | 15 +++- .../GetPolicyEnableStatusResponse.java | 18 ++-- .../ListConfigRulesForTargetResponse.java | 88 +++++++++++-------- .../ListPoliciesForTargetResponse.java | 58 ++++++------ .../model/v20180828/ListPoliciesResponse.java | 50 +++++------ .../v20180828/ListResourcesByTagResponse.java | 38 ++++---- .../ListSupportResourceTypesResponse.java | 53 +++++++---- .../ListTargetsForPolicyResponse.java | 30 +++---- .../CreatePolicyResponseUnmarshaller.java | 3 +- ...tConfigRuleReportResponseUnmarshaller.java | 4 +- ...olicyEnableStatusResponseUnmarshaller.java | 2 +- ...figRulesForTargetResponseUnmarshaller.java | 11 +-- ...PoliciesForTargetResponseUnmarshaller.java | 4 +- .../ListPoliciesResponseUnmarshaller.java | 4 +- ...istResourcesByTagResponseUnmarshaller.java | 2 +- ...portResourceTypesResponseUnmarshaller.java | 9 +- ...tTargetsForPolicyResponseUnmarshaller.java | 2 +- 25 files changed, 301 insertions(+), 211 deletions(-) diff --git a/aliyun-java-sdk-tag/ChangeLog.txt b/aliyun-java-sdk-tag/ChangeLog.txt index 3860bf66c6..0c1378341b 100644 --- a/aliyun-java-sdk-tag/ChangeLog.txt +++ b/aliyun-java-sdk-tag/ChangeLog.txt @@ -1,3 +1,6 @@ +2024-09-30 Version: 1.0.5 +- Generated 2018-08-28 for `Tag`. + 2023-06-14 Version: 1.0.4 - Add EnablePolicy APIs. diff --git a/aliyun-java-sdk-tag/pom.xml b/aliyun-java-sdk-tag/pom.xml index 525789af1a..5835add9ee 100644 --- a/aliyun-java-sdk-tag/pom.xml +++ b/aliyun-java-sdk-tag/pom.xml @@ -4,7 +4,7 @@ com.aliyun aliyun-java-sdk-tag jar - 1.0.4 + 1.0.5 aliyun-java-sdk-tag http://www.aliyun.com Aliyun Open API SDK for Java diff --git a/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/model/v20180828/CheckCreatedByEnabledResponse.java b/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/model/v20180828/CheckCreatedByEnabledResponse.java index e111d35893..218fb1a4ae 100644 --- a/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/model/v20180828/CheckCreatedByEnabledResponse.java +++ b/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/model/v20180828/CheckCreatedByEnabledResponse.java @@ -24,17 +24,9 @@ */ public class CheckCreatedByEnabledResponse extends AcsResponse { - private String requestId; - private Boolean openStatus; - public String getRequestId() { - return this.requestId; - } - - public void setRequestId(String requestId) { - this.requestId = requestId; - } + private String requestId; public Boolean getOpenStatus() { return this.openStatus; @@ -44,6 +36,14 @@ public void setOpenStatus(Boolean openStatus) { this.openStatus = openStatus; } + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + @Override public CheckCreatedByEnabledResponse getInstance(UnmarshallerContext context) { return CheckCreatedByEnabledResponseUnmarshaller.unmarshall(this, context); diff --git a/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/model/v20180828/CreatePolicyResponse.java b/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/model/v20180828/CreatePolicyResponse.java index 4abc2cc2d6..9a371cf9f3 100644 --- a/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/model/v20180828/CreatePolicyResponse.java +++ b/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/model/v20180828/CreatePolicyResponse.java @@ -28,6 +28,8 @@ public class CreatePolicyResponse extends AcsResponse { private String policyId; + private String policyName; + public String getRequestId() { return this.requestId; } @@ -44,6 +46,14 @@ public void setPolicyId(String policyId) { this.policyId = policyId; } + public String getPolicyName() { + return this.policyName; + } + + public void setPolicyName(String policyName) { + this.policyName = policyName; + } + @Override public CreatePolicyResponse getInstance(UnmarshallerContext context) { return CreatePolicyResponseUnmarshaller.unmarshall(this, context); diff --git a/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/model/v20180828/DisablePolicyTypeRequest.java b/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/model/v20180828/DisablePolicyTypeRequest.java index 51607ad340..a11d671fb9 100644 --- a/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/model/v20180828/DisablePolicyTypeRequest.java +++ b/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/model/v20180828/DisablePolicyTypeRequest.java @@ -33,7 +33,9 @@ public class DisablePolicyTypeRequest extends RpcAcsRequest statusModels) { public static class StatusModelsItem { - private String userType; - private String status; - public String getUserType() { - return this.userType; - } - - public void setUserType(String userType) { - this.userType = userType; - } + private String userType; public String getStatus() { return this.status; @@ -66,6 +58,14 @@ public String getStatus() { public void setStatus(String status) { this.status = status; } + + public String getUserType() { + return this.userType; + } + + public void setUserType(String userType) { + this.userType = userType; + } } @Override diff --git a/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/model/v20180828/ListConfigRulesForTargetResponse.java b/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/model/v20180828/ListConfigRulesForTargetResponse.java index 886c074784..e100c28383 100644 --- a/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/model/v20180828/ListConfigRulesForTargetResponse.java +++ b/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/model/v20180828/ListConfigRulesForTargetResponse.java @@ -25,19 +25,11 @@ */ public class ListConfigRulesForTargetResponse extends AcsResponse { - private String requestId; - private String nextToken; - private List data; - - public String getRequestId() { - return this.requestId; - } + private String requestId; - public void setRequestId(String requestId) { - this.requestId = requestId; - } + private List data; public String getNextToken() { return this.nextToken; @@ -47,6 +39,14 @@ public void setNextToken(String nextToken) { this.nextToken = nextToken; } + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + public List getData() { return this.data; } @@ -57,34 +57,28 @@ public void setData(List data) { public static class DataItem { - private String targetId; - - private String targetType; + private String aggregatorId; private String configRuleId; - private String aggregatorId; - - private String tagKey; + private String policyType; private Boolean remediation; - private String policyType; + private String tagKey; - public String getTargetId() { - return this.targetId; - } + private String tagValue; - public void setTargetId(String targetId) { - this.targetId = targetId; - } + private String targetId; - public String getTargetType() { - return this.targetType; + private String targetType; + + public String getAggregatorId() { + return this.aggregatorId; } - public void setTargetType(String targetType) { - this.targetType = targetType; + public void setAggregatorId(String aggregatorId) { + this.aggregatorId = aggregatorId; } public String getConfigRuleId() { @@ -95,12 +89,20 @@ public void setConfigRuleId(String configRuleId) { this.configRuleId = configRuleId; } - public String getAggregatorId() { - return this.aggregatorId; + public String getPolicyType() { + return this.policyType; } - public void setAggregatorId(String aggregatorId) { - this.aggregatorId = aggregatorId; + public void setPolicyType(String policyType) { + this.policyType = policyType; + } + + public Boolean getRemediation() { + return this.remediation; + } + + public void setRemediation(Boolean remediation) { + this.remediation = remediation; } public String getTagKey() { @@ -111,20 +113,28 @@ public void setTagKey(String tagKey) { this.tagKey = tagKey; } - public Boolean getRemediation() { - return this.remediation; + public String getTagValue() { + return this.tagValue; } - public void setRemediation(Boolean remediation) { - this.remediation = remediation; + public void setTagValue(String tagValue) { + this.tagValue = tagValue; } - public String getPolicyType() { - return this.policyType; + public String getTargetId() { + return this.targetId; } - public void setPolicyType(String policyType) { - this.policyType = policyType; + public void setTargetId(String targetId) { + this.targetId = targetId; + } + + public String getTargetType() { + return this.targetType; + } + + public void setTargetType(String targetType) { + this.targetType = targetType; } } diff --git a/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/model/v20180828/ListPoliciesForTargetResponse.java b/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/model/v20180828/ListPoliciesForTargetResponse.java index ddc60804d9..c547543e9c 100644 --- a/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/model/v20180828/ListPoliciesForTargetResponse.java +++ b/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/model/v20180828/ListPoliciesForTargetResponse.java @@ -25,19 +25,11 @@ */ public class ListPoliciesForTargetResponse extends AcsResponse { - private String requestId; - private String nextToken; - private List data; - - public String getRequestId() { - return this.requestId; - } + private String requestId; - public void setRequestId(String requestId) { - this.requestId = requestId; - } + private List data; public String getNextToken() { return this.nextToken; @@ -47,6 +39,14 @@ public void setNextToken(String nextToken) { this.nextToken = nextToken; } + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + public List getData() { return this.data; } @@ -57,15 +57,31 @@ public void setData(List data) { public static class DataItem { + private String policyContent; + + private String policyDesc; + private String policyId; private String policyName; - private String policyDesc; + private String userType; - private String policyContent; + public String getPolicyContent() { + return this.policyContent; + } - private String userType; + public void setPolicyContent(String policyContent) { + this.policyContent = policyContent; + } + + public String getPolicyDesc() { + return this.policyDesc; + } + + public void setPolicyDesc(String policyDesc) { + this.policyDesc = policyDesc; + } public String getPolicyId() { return this.policyId; @@ -83,22 +99,6 @@ public void setPolicyName(String policyName) { this.policyName = policyName; } - public String getPolicyDesc() { - return this.policyDesc; - } - - public void setPolicyDesc(String policyDesc) { - this.policyDesc = policyDesc; - } - - public String getPolicyContent() { - return this.policyContent; - } - - public void setPolicyContent(String policyContent) { - this.policyContent = policyContent; - } - public String getUserType() { return this.userType; } diff --git a/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/model/v20180828/ListPoliciesResponse.java b/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/model/v20180828/ListPoliciesResponse.java index f0ee524d3d..cbe668fc7b 100644 --- a/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/model/v20180828/ListPoliciesResponse.java +++ b/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/model/v20180828/ListPoliciesResponse.java @@ -25,19 +25,11 @@ */ public class ListPoliciesResponse extends AcsResponse { - private String requestId; - private String nextToken; - private List policyList; - - public String getRequestId() { - return this.requestId; - } + private String requestId; - public void setRequestId(String requestId) { - this.requestId = requestId; - } + private List policyList; public String getNextToken() { return this.nextToken; @@ -47,6 +39,14 @@ public void setNextToken(String nextToken) { this.nextToken = nextToken; } + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + public List getPolicyList() { return this.policyList; } @@ -57,22 +57,22 @@ public void setPolicyList(List policyList) { public static class Policy { - private String policyName; + private String policyContent; private String policyDesc; - private String policyContent; - private String policyId; + private String policyName; + private String userType; - public String getPolicyName() { - return this.policyName; + public String getPolicyContent() { + return this.policyContent; } - public void setPolicyName(String policyName) { - this.policyName = policyName; + public void setPolicyContent(String policyContent) { + this.policyContent = policyContent; } public String getPolicyDesc() { @@ -83,14 +83,6 @@ public void setPolicyDesc(String policyDesc) { this.policyDesc = policyDesc; } - public String getPolicyContent() { - return this.policyContent; - } - - public void setPolicyContent(String policyContent) { - this.policyContent = policyContent; - } - public String getPolicyId() { return this.policyId; } @@ -99,6 +91,14 @@ public void setPolicyId(String policyId) { this.policyId = policyId; } + public String getPolicyName() { + return this.policyName; + } + + public void setPolicyName(String policyName) { + this.policyName = policyName; + } + public String getUserType() { return this.userType; } diff --git a/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/model/v20180828/ListResourcesByTagResponse.java b/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/model/v20180828/ListResourcesByTagResponse.java index 9ae1c31d2a..1ecb1aca43 100644 --- a/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/model/v20180828/ListResourcesByTagResponse.java +++ b/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/model/v20180828/ListResourcesByTagResponse.java @@ -25,19 +25,11 @@ */ public class ListResourcesByTagResponse extends AcsResponse { - private String requestId; - private String nextToken; - private List resources; - - public String getRequestId() { - return this.requestId; - } + private String requestId; - public void setRequestId(String requestId) { - this.requestId = requestId; - } + private List resources; public String getNextToken() { return this.nextToken; @@ -47,6 +39,14 @@ public void setNextToken(String nextToken) { this.nextToken = nextToken; } + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + public List getResources() { return this.resources; } @@ -79,11 +79,19 @@ public void setTags(List tags) { public static class Tag { + private String category; + private String key; private String value; - private String category; + public String getCategory() { + return this.category; + } + + public void setCategory(String category) { + this.category = category; + } public String getKey() { return this.key; @@ -100,14 +108,6 @@ public String getValue() { public void setValue(String value) { this.value = value; } - - public String getCategory() { - return this.category; - } - - public void setCategory(String category) { - this.category = category; - } } } diff --git a/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/model/v20180828/ListSupportResourceTypesResponse.java b/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/model/v20180828/ListSupportResourceTypesResponse.java index e98783c3a2..4be6be8d68 100644 --- a/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/model/v20180828/ListSupportResourceTypesResponse.java +++ b/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/model/v20180828/ListSupportResourceTypesResponse.java @@ -14,7 +14,8 @@ package com.aliyuncs.tag.model.v20180828; -import java.util.List; +import java.util.List; +import java.util.Map; import com.aliyuncs.AcsResponse; import com.aliyuncs.tag.transform.v20180828.ListSupportResourceTypesResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; @@ -25,19 +26,11 @@ */ public class ListSupportResourceTypesResponse extends AcsResponse { - private String requestId; - private String nextToken; - private List supportResourceTypes; - - public String getRequestId() { - return this.requestId; - } + private String requestId; - public void setRequestId(String requestId) { - this.requestId = requestId; - } + private List supportResourceTypes; public String getNextToken() { return this.nextToken; @@ -47,6 +40,14 @@ public void setNextToken(String nextToken) { this.nextToken = nextToken; } + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + public List getSupportResourceTypes() { return this.supportResourceTypes; } @@ -57,12 +58,22 @@ public void setSupportResourceTypes(List supportResourceTyp public static class SupportResourceType { + private String arnTemplate; + private String productCode; private String resourceType; private List supportItems; + public String getArnTemplate() { + return this.arnTemplate; + } + + public void setArnTemplate(String arnTemplate) { + this.arnTemplate = arnTemplate; + } + public String getProductCode() { return this.productCode; } @@ -89,9 +100,19 @@ public void setSupportItems(List supportItems) { public static class SupportItemsItem { + private Boolean support; + private String supportCode; - private Boolean support; + private List> supportDetails; + + public Boolean getSupport() { + return this.support; + } + + public void setSupport(Boolean support) { + this.support = support; + } public String getSupportCode() { return this.supportCode; @@ -101,12 +122,12 @@ public void setSupportCode(String supportCode) { this.supportCode = supportCode; } - public Boolean getSupport() { - return this.support; + public List> getSupportDetails() { + return this.supportDetails; } - public void setSupport(Boolean support) { - this.support = support; + public void setSupportDetails(List> supportDetails) { + this.supportDetails = supportDetails; } } } diff --git a/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/model/v20180828/ListTargetsForPolicyResponse.java b/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/model/v20180828/ListTargetsForPolicyResponse.java index a339d09df2..3e8bc81072 100644 --- a/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/model/v20180828/ListTargetsForPolicyResponse.java +++ b/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/model/v20180828/ListTargetsForPolicyResponse.java @@ -25,23 +25,15 @@ */ public class ListTargetsForPolicyResponse extends AcsResponse { - private String requestId; - private Boolean isRd; - private String rdId; - private String nextToken; - private List targets; + private String rdId; - public String getRequestId() { - return this.requestId; - } + private String requestId; - public void setRequestId(String requestId) { - this.requestId = requestId; - } + private List targets; public Boolean getIsRd() { return this.isRd; @@ -51,6 +43,14 @@ public void setIsRd(Boolean isRd) { this.isRd = isRd; } + public String getNextToken() { + return this.nextToken; + } + + public void setNextToken(String nextToken) { + this.nextToken = nextToken; + } + public String getRdId() { return this.rdId; } @@ -59,12 +59,12 @@ public void setRdId(String rdId) { this.rdId = rdId; } - public String getNextToken() { - return this.nextToken; + public String getRequestId() { + return this.requestId; } - public void setNextToken(String nextToken) { - this.nextToken = nextToken; + public void setRequestId(String requestId) { + this.requestId = requestId; } public List getTargets() { diff --git a/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/transform/v20180828/CreatePolicyResponseUnmarshaller.java b/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/transform/v20180828/CreatePolicyResponseUnmarshaller.java index 538e770f2f..f3d397edd8 100644 --- a/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/transform/v20180828/CreatePolicyResponseUnmarshaller.java +++ b/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/transform/v20180828/CreatePolicyResponseUnmarshaller.java @@ -23,7 +23,8 @@ public class CreatePolicyResponseUnmarshaller { public static CreatePolicyResponse unmarshall(CreatePolicyResponse createPolicyResponse, UnmarshallerContext _ctx) { createPolicyResponse.setRequestId(_ctx.stringValue("CreatePolicyResponse.RequestId")); - createPolicyResponse.setPolicyId(_ctx.stringValue("CreatePolicyResponse.PolicyId")); + createPolicyResponse.setPolicyId(_ctx.stringValue("CreatePolicyResponse.PolicyId")); + createPolicyResponse.setPolicyName(_ctx.stringValue("CreatePolicyResponse.PolicyName")); return createPolicyResponse; } diff --git a/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/transform/v20180828/GetConfigRuleReportResponseUnmarshaller.java b/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/transform/v20180828/GetConfigRuleReportResponseUnmarshaller.java index c35f7d1563..9521147639 100644 --- a/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/transform/v20180828/GetConfigRuleReportResponseUnmarshaller.java +++ b/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/transform/v20180828/GetConfigRuleReportResponseUnmarshaller.java @@ -24,12 +24,12 @@ public class GetConfigRuleReportResponseUnmarshaller { public static GetConfigRuleReportResponse unmarshall(GetConfigRuleReportResponse getConfigRuleReportResponse, UnmarshallerContext _ctx) { getConfigRuleReportResponse.setRequestId(_ctx.stringValue("GetConfigRuleReportResponse.RequestId")); - getConfigRuleReportResponse.setSuccess(_ctx.booleanValue("GetConfigRuleReportResponse.Success")); getConfigRuleReportResponse.setHttpStatusCode(_ctx.integerValue("GetConfigRuleReportResponse.HttpStatusCode")); + getConfigRuleReportResponse.setSuccess(_ctx.booleanValue("GetConfigRuleReportResponse.Success")); Data data = new Data(); - data.setReportId(_ctx.stringValue("GetConfigRuleReportResponse.Data.ReportId")); data.setCreatedTime(_ctx.longValue("GetConfigRuleReportResponse.Data.CreatedTime")); + data.setReportId(_ctx.stringValue("GetConfigRuleReportResponse.Data.ReportId")); data.setTargetId(_ctx.stringValue("GetConfigRuleReportResponse.Data.TargetId")); data.setTargetType(_ctx.stringValue("GetConfigRuleReportResponse.Data.TargetType")); getConfigRuleReportResponse.setData(data); diff --git a/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/transform/v20180828/GetPolicyEnableStatusResponseUnmarshaller.java b/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/transform/v20180828/GetPolicyEnableStatusResponseUnmarshaller.java index 63ee5f24f7..7e08789bcc 100644 --- a/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/transform/v20180828/GetPolicyEnableStatusResponseUnmarshaller.java +++ b/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/transform/v20180828/GetPolicyEnableStatusResponseUnmarshaller.java @@ -31,8 +31,8 @@ public static GetPolicyEnableStatusResponse unmarshall(GetPolicyEnableStatusResp List statusModels = new ArrayList(); for (int i = 0; i < _ctx.lengthValue("GetPolicyEnableStatusResponse.StatusModels.Length"); i++) { StatusModelsItem statusModelsItem = new StatusModelsItem(); - statusModelsItem.setUserType(_ctx.stringValue("GetPolicyEnableStatusResponse.StatusModels["+ i +"].UserType")); statusModelsItem.setStatus(_ctx.stringValue("GetPolicyEnableStatusResponse.StatusModels["+ i +"].Status")); + statusModelsItem.setUserType(_ctx.stringValue("GetPolicyEnableStatusResponse.StatusModels["+ i +"].UserType")); statusModels.add(statusModelsItem); } diff --git a/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/transform/v20180828/ListConfigRulesForTargetResponseUnmarshaller.java b/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/transform/v20180828/ListConfigRulesForTargetResponseUnmarshaller.java index 641491b553..41b26436a3 100644 --- a/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/transform/v20180828/ListConfigRulesForTargetResponseUnmarshaller.java +++ b/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/transform/v20180828/ListConfigRulesForTargetResponseUnmarshaller.java @@ -32,13 +32,14 @@ public static ListConfigRulesForTargetResponse unmarshall(ListConfigRulesForTarg List data = new ArrayList(); for (int i = 0; i < _ctx.lengthValue("ListConfigRulesForTargetResponse.Data.Length"); i++) { DataItem dataItem = new DataItem(); - dataItem.setTargetId(_ctx.stringValue("ListConfigRulesForTargetResponse.Data["+ i +"].TargetId")); - dataItem.setTargetType(_ctx.stringValue("ListConfigRulesForTargetResponse.Data["+ i +"].TargetType")); - dataItem.setConfigRuleId(_ctx.stringValue("ListConfigRulesForTargetResponse.Data["+ i +"].ConfigRuleId")); dataItem.setAggregatorId(_ctx.stringValue("ListConfigRulesForTargetResponse.Data["+ i +"].AggregatorId")); - dataItem.setTagKey(_ctx.stringValue("ListConfigRulesForTargetResponse.Data["+ i +"].TagKey")); - dataItem.setRemediation(_ctx.booleanValue("ListConfigRulesForTargetResponse.Data["+ i +"].Remediation")); + dataItem.setConfigRuleId(_ctx.stringValue("ListConfigRulesForTargetResponse.Data["+ i +"].ConfigRuleId")); dataItem.setPolicyType(_ctx.stringValue("ListConfigRulesForTargetResponse.Data["+ i +"].PolicyType")); + dataItem.setRemediation(_ctx.booleanValue("ListConfigRulesForTargetResponse.Data["+ i +"].Remediation")); + dataItem.setTagKey(_ctx.stringValue("ListConfigRulesForTargetResponse.Data["+ i +"].TagKey")); + dataItem.setTagValue(_ctx.stringValue("ListConfigRulesForTargetResponse.Data["+ i +"].TagValue")); + dataItem.setTargetId(_ctx.stringValue("ListConfigRulesForTargetResponse.Data["+ i +"].TargetId")); + dataItem.setTargetType(_ctx.stringValue("ListConfigRulesForTargetResponse.Data["+ i +"].TargetType")); data.add(dataItem); } diff --git a/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/transform/v20180828/ListPoliciesForTargetResponseUnmarshaller.java b/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/transform/v20180828/ListPoliciesForTargetResponseUnmarshaller.java index daa12ba05e..f0b1367a8e 100644 --- a/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/transform/v20180828/ListPoliciesForTargetResponseUnmarshaller.java +++ b/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/transform/v20180828/ListPoliciesForTargetResponseUnmarshaller.java @@ -32,10 +32,10 @@ public static ListPoliciesForTargetResponse unmarshall(ListPoliciesForTargetResp List data = new ArrayList(); for (int i = 0; i < _ctx.lengthValue("ListPoliciesForTargetResponse.Data.Length"); i++) { DataItem dataItem = new DataItem(); + dataItem.setPolicyContent(_ctx.stringValue("ListPoliciesForTargetResponse.Data["+ i +"].PolicyContent")); + dataItem.setPolicyDesc(_ctx.stringValue("ListPoliciesForTargetResponse.Data["+ i +"].PolicyDesc")); dataItem.setPolicyId(_ctx.stringValue("ListPoliciesForTargetResponse.Data["+ i +"].PolicyId")); dataItem.setPolicyName(_ctx.stringValue("ListPoliciesForTargetResponse.Data["+ i +"].PolicyName")); - dataItem.setPolicyDesc(_ctx.stringValue("ListPoliciesForTargetResponse.Data["+ i +"].PolicyDesc")); - dataItem.setPolicyContent(_ctx.stringValue("ListPoliciesForTargetResponse.Data["+ i +"].PolicyContent")); dataItem.setUserType(_ctx.stringValue("ListPoliciesForTargetResponse.Data["+ i +"].UserType")); data.add(dataItem); diff --git a/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/transform/v20180828/ListPoliciesResponseUnmarshaller.java b/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/transform/v20180828/ListPoliciesResponseUnmarshaller.java index 23e64b23f4..d360944206 100644 --- a/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/transform/v20180828/ListPoliciesResponseUnmarshaller.java +++ b/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/transform/v20180828/ListPoliciesResponseUnmarshaller.java @@ -32,10 +32,10 @@ public static ListPoliciesResponse unmarshall(ListPoliciesResponse listPoliciesR List policyList = new ArrayList(); for (int i = 0; i < _ctx.lengthValue("ListPoliciesResponse.PolicyList.Length"); i++) { Policy policy = new Policy(); - policy.setPolicyName(_ctx.stringValue("ListPoliciesResponse.PolicyList["+ i +"].PolicyName")); - policy.setPolicyDesc(_ctx.stringValue("ListPoliciesResponse.PolicyList["+ i +"].PolicyDesc")); policy.setPolicyContent(_ctx.stringValue("ListPoliciesResponse.PolicyList["+ i +"].PolicyContent")); + policy.setPolicyDesc(_ctx.stringValue("ListPoliciesResponse.PolicyList["+ i +"].PolicyDesc")); policy.setPolicyId(_ctx.stringValue("ListPoliciesResponse.PolicyList["+ i +"].PolicyId")); + policy.setPolicyName(_ctx.stringValue("ListPoliciesResponse.PolicyList["+ i +"].PolicyName")); policy.setUserType(_ctx.stringValue("ListPoliciesResponse.PolicyList["+ i +"].UserType")); policyList.add(policy); diff --git a/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/transform/v20180828/ListResourcesByTagResponseUnmarshaller.java b/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/transform/v20180828/ListResourcesByTagResponseUnmarshaller.java index a4f78bcf55..5e7442e2ea 100644 --- a/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/transform/v20180828/ListResourcesByTagResponseUnmarshaller.java +++ b/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/transform/v20180828/ListResourcesByTagResponseUnmarshaller.java @@ -38,9 +38,9 @@ public static ListResourcesByTagResponse unmarshall(ListResourcesByTagResponse l List tags = new ArrayList(); for (int j = 0; j < _ctx.lengthValue("ListResourcesByTagResponse.Resources["+ i +"].Tags.Length"); j++) { Tag tag = new Tag(); + tag.setCategory(_ctx.stringValue("ListResourcesByTagResponse.Resources["+ i +"].Tags["+ j +"].Category")); tag.setKey(_ctx.stringValue("ListResourcesByTagResponse.Resources["+ i +"].Tags["+ j +"].Key")); tag.setValue(_ctx.stringValue("ListResourcesByTagResponse.Resources["+ i +"].Tags["+ j +"].Value")); - tag.setCategory(_ctx.stringValue("ListResourcesByTagResponse.Resources["+ i +"].Tags["+ j +"].Category")); tags.add(tag); } diff --git a/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/transform/v20180828/ListSupportResourceTypesResponseUnmarshaller.java b/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/transform/v20180828/ListSupportResourceTypesResponseUnmarshaller.java index 8997c2fca3..011f034da8 100644 --- a/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/transform/v20180828/ListSupportResourceTypesResponseUnmarshaller.java +++ b/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/transform/v20180828/ListSupportResourceTypesResponseUnmarshaller.java @@ -19,7 +19,8 @@ import com.aliyuncs.tag.model.v20180828.ListSupportResourceTypesResponse; import com.aliyuncs.tag.model.v20180828.ListSupportResourceTypesResponse.SupportResourceType; -import com.aliyuncs.tag.model.v20180828.ListSupportResourceTypesResponse.SupportResourceType.SupportItemsItem; +import com.aliyuncs.tag.model.v20180828.ListSupportResourceTypesResponse.SupportResourceType.SupportItemsItem; +import java.util.Map; import com.aliyuncs.transform.UnmarshallerContext; @@ -33,14 +34,18 @@ public static ListSupportResourceTypesResponse unmarshall(ListSupportResourceTyp List supportResourceTypes = new ArrayList(); for (int i = 0; i < _ctx.lengthValue("ListSupportResourceTypesResponse.SupportResourceTypes.Length"); i++) { SupportResourceType supportResourceType = new SupportResourceType(); + supportResourceType.setArnTemplate(_ctx.stringValue("ListSupportResourceTypesResponse.SupportResourceTypes["+ i +"].ArnTemplate")); supportResourceType.setProductCode(_ctx.stringValue("ListSupportResourceTypesResponse.SupportResourceTypes["+ i +"].ProductCode")); supportResourceType.setResourceType(_ctx.stringValue("ListSupportResourceTypesResponse.SupportResourceTypes["+ i +"].ResourceType")); List supportItems = new ArrayList(); for (int j = 0; j < _ctx.lengthValue("ListSupportResourceTypesResponse.SupportResourceTypes["+ i +"].SupportItems.Length"); j++) { SupportItemsItem supportItemsItem = new SupportItemsItem(); - supportItemsItem.setSupportCode(_ctx.stringValue("ListSupportResourceTypesResponse.SupportResourceTypes["+ i +"].SupportItems["+ j +"].SupportCode")); supportItemsItem.setSupport(_ctx.booleanValue("ListSupportResourceTypesResponse.SupportResourceTypes["+ i +"].SupportItems["+ j +"].Support")); + supportItemsItem.setSupportCode(_ctx.stringValue("ListSupportResourceTypesResponse.SupportResourceTypes["+ i +"].SupportItems["+ j +"].SupportCode")); + + List> supportDetails = _ctx.listMapValue("ListSupportResourceTypesResponse.SupportResourceTypes["+ i +"].SupportItems["+ j +"].SupportDetails"); + supportItemsItem.setSupportDetails(supportDetails); supportItems.add(supportItemsItem); } diff --git a/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/transform/v20180828/ListTargetsForPolicyResponseUnmarshaller.java b/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/transform/v20180828/ListTargetsForPolicyResponseUnmarshaller.java index 52e5f3a65b..04d3e9c2ec 100644 --- a/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/transform/v20180828/ListTargetsForPolicyResponseUnmarshaller.java +++ b/aliyun-java-sdk-tag/src/main/java/com/aliyuncs/tag/transform/v20180828/ListTargetsForPolicyResponseUnmarshaller.java @@ -28,8 +28,8 @@ public static ListTargetsForPolicyResponse unmarshall(ListTargetsForPolicyRespon listTargetsForPolicyResponse.setRequestId(_ctx.stringValue("ListTargetsForPolicyResponse.RequestId")); listTargetsForPolicyResponse.setIsRd(_ctx.booleanValue("ListTargetsForPolicyResponse.IsRd")); - listTargetsForPolicyResponse.setRdId(_ctx.stringValue("ListTargetsForPolicyResponse.RdId")); listTargetsForPolicyResponse.setNextToken(_ctx.stringValue("ListTargetsForPolicyResponse.NextToken")); + listTargetsForPolicyResponse.setRdId(_ctx.stringValue("ListTargetsForPolicyResponse.RdId")); List targets = new ArrayList(); for (int i = 0; i < _ctx.lengthValue("ListTargetsForPolicyResponse.Targets.Length"); i++) {