diff --git a/aliyun-java-sdk-resourcesharing/ChangeLog.txt b/aliyun-java-sdk-resourcesharing/ChangeLog.txt
new file mode 100644
index 0000000000..8fa0c91db5
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/ChangeLog.txt
@@ -0,0 +1,3 @@
+2023-10-23 Version: 0.0.2
+- Generated 2020-01-10 for `ResourceSharing`.
+
diff --git a/aliyun-java-sdk-resourcesharing/pom.xml b/aliyun-java-sdk-resourcesharing/pom.xml
new file mode 100644
index 0000000000..b4c44a55b3
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/pom.xml
@@ -0,0 +1,118 @@
+
+
+ 4.0.0
+ com.aliyun
+ aliyun-java-sdk-resourcesharing
+ jar
+ 0.0.2
+ aliyun-java-sdk-resourcesharing
+ http://www.aliyun.com
+ Aliyun Open API SDK for Java
+Copyright (C) Alibaba Cloud Computing
+All rights reserved.
+版权所有 (C)阿里云计算有限公司
+http://www.aliyun.com
+
+
+ sonatype-nexus-snapshots
+ https://s01.oss.sonatype.org/content/repositories/snapshots
+
+
+ sonatype-nexus-staging
+ https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/
+
+
+
+
+ com.aliyun
+ aliyun-java-sdk-core
+ true
+ [4.3.2,5.0.0)
+
+
+ com.google.code.gson
+ gson
+ 2.8.9
+
+
+
+
+ The Apache License, Version 2.0
+ http://www.apache.org/licenses/LICENSE-2.0.txt
+
+
+
+ scm:git:git://github.com/aliyun/aliyun-openapi-java-sdk.git
+ scm:git:git@github.com:aliyun/aliyun-openapi-java-sdk.git
+ https://github.com/aliyun/aliyun-openapi-java-sdk
+
+
+
+ aliyunproducts
+ Aliyun SDK
+ aliyunsdk@aliyun.com
+
+
+
+
+
+ maven-compiler-plugin
+ 2.3.2
+
+
+ 1.6
+ UTF-8
+
+
+
+ org.apache.maven.plugins
+ maven-jar-plugin
+ 2.3.2
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+ 2.10
+
+ -Dfile.encoding=UTF-8
+
+
+
+ org.apache.maven.plugins
+ maven-javadoc-plugin
+ 2.8
+
+ UTF-8
+
+
+
+ org.apache.maven.plugins
+ maven-gpg-plugin
+ 1.5
+
+
+ sign-artifacts
+ verify
+
+ sign
+
+
+
+
+
+ org.sonatype.plugins
+ nexus-staging-maven-plugin
+ 1.6.3
+ true
+
+ sonatype-nexus-staging
+ https://s01.oss.sonatype.org/
+ true
+
+
+
+
+
\ No newline at end of file
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/Endpoint.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/Endpoint.java
new file mode 100644
index 0000000000..26f9be0848
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/Endpoint.java
@@ -0,0 +1,23 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing;
+
+import java.util.HashMap;
+
+public class Endpoint {
+ public static HashMap endpointMap = new HashMap() {};
+
+ public static String endpointRegionalType = "regional";
+}
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/AcceptResourceShareInvitationRequest.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/AcceptResourceShareInvitationRequest.java
new file mode 100644
index 0000000000..b7a459f90f
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/AcceptResourceShareInvitationRequest.java
@@ -0,0 +1,56 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.model.v20200110;
+
+import com.aliyuncs.RpcAcsRequest;
+import com.aliyuncs.http.ProtocolType;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.resourcesharing.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class AcceptResourceShareInvitationRequest extends RpcAcsRequest {
+
+
+ private String resourceShareInvitationId;
+ public AcceptResourceShareInvitationRequest() {
+ super("ResourceSharing", "2020-01-10", "AcceptResourceShareInvitation", "ressharing");
+ setProtocol(ProtocolType.HTTPS);
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public String getResourceShareInvitationId() {
+ return this.resourceShareInvitationId;
+ }
+
+ public void setResourceShareInvitationId(String resourceShareInvitationId) {
+ this.resourceShareInvitationId = resourceShareInvitationId;
+ if(resourceShareInvitationId != null){
+ putQueryParameter("ResourceShareInvitationId", resourceShareInvitationId);
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return AcceptResourceShareInvitationResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/AcceptResourceShareInvitationResponse.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/AcceptResourceShareInvitationResponse.java
new file mode 100644
index 0000000000..3c26132ca9
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/AcceptResourceShareInvitationResponse.java
@@ -0,0 +1,129 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.model.v20200110;
+
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.resourcesharing.transform.v20200110.AcceptResourceShareInvitationResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class AcceptResourceShareInvitationResponse extends AcsResponse {
+
+ private String requestId;
+
+ private ResourceShareInvitation resourceShareInvitation;
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ public ResourceShareInvitation getResourceShareInvitation() {
+ return this.resourceShareInvitation;
+ }
+
+ public void setResourceShareInvitation(ResourceShareInvitation resourceShareInvitation) {
+ this.resourceShareInvitation = resourceShareInvitation;
+ }
+
+ public static class ResourceShareInvitation {
+
+ private String resourceShareInvitationId;
+
+ private String resourceShareId;
+
+ private String resourceShareName;
+
+ private String senderAccountId;
+
+ private String receiverAccountId;
+
+ private String createTime;
+
+ private String status;
+
+ public String getResourceShareInvitationId() {
+ return this.resourceShareInvitationId;
+ }
+
+ public void setResourceShareInvitationId(String resourceShareInvitationId) {
+ this.resourceShareInvitationId = resourceShareInvitationId;
+ }
+
+ public String getResourceShareId() {
+ return this.resourceShareId;
+ }
+
+ public void setResourceShareId(String resourceShareId) {
+ this.resourceShareId = resourceShareId;
+ }
+
+ public String getResourceShareName() {
+ return this.resourceShareName;
+ }
+
+ public void setResourceShareName(String resourceShareName) {
+ this.resourceShareName = resourceShareName;
+ }
+
+ public String getSenderAccountId() {
+ return this.senderAccountId;
+ }
+
+ public void setSenderAccountId(String senderAccountId) {
+ this.senderAccountId = senderAccountId;
+ }
+
+ public String getReceiverAccountId() {
+ return this.receiverAccountId;
+ }
+
+ public void setReceiverAccountId(String receiverAccountId) {
+ this.receiverAccountId = receiverAccountId;
+ }
+
+ public String getCreateTime() {
+ return this.createTime;
+ }
+
+ public void setCreateTime(String createTime) {
+ this.createTime = createTime;
+ }
+
+ public String getStatus() {
+ return this.status;
+ }
+
+ public void setStatus(String status) {
+ this.status = status;
+ }
+ }
+
+ @Override
+ public AcceptResourceShareInvitationResponse getInstance(UnmarshallerContext context) {
+ return AcceptResourceShareInvitationResponseUnmarshaller.unmarshall(this, context);
+ }
+
+ @Override
+ public boolean checkShowJsonItemName() {
+ return false;
+ }
+}
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/AssociateResourceSharePermissionRequest.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/AssociateResourceSharePermissionRequest.java
new file mode 100644
index 0000000000..e83fb1e172
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/AssociateResourceSharePermissionRequest.java
@@ -0,0 +1,82 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.model.v20200110;
+
+import com.aliyuncs.RpcAcsRequest;
+import com.aliyuncs.http.ProtocolType;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.resourcesharing.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class AssociateResourceSharePermissionRequest extends RpcAcsRequest {
+
+
+ private Boolean replace;
+
+ private String permissionName;
+
+ private String resourceShareId;
+ public AssociateResourceSharePermissionRequest() {
+ super("ResourceSharing", "2020-01-10", "AssociateResourceSharePermission", "ressharing");
+ setProtocol(ProtocolType.HTTPS);
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public Boolean getReplace() {
+ return this.replace;
+ }
+
+ public void setReplace(Boolean replace) {
+ this.replace = replace;
+ if(replace != null){
+ putQueryParameter("Replace", replace.toString());
+ }
+ }
+
+ public String getPermissionName() {
+ return this.permissionName;
+ }
+
+ public void setPermissionName(String permissionName) {
+ this.permissionName = permissionName;
+ if(permissionName != null){
+ putQueryParameter("PermissionName", permissionName);
+ }
+ }
+
+ public String getResourceShareId() {
+ return this.resourceShareId;
+ }
+
+ public void setResourceShareId(String resourceShareId) {
+ this.resourceShareId = resourceShareId;
+ if(resourceShareId != null){
+ putQueryParameter("ResourceShareId", resourceShareId);
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return AssociateResourceSharePermissionResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/AssociateResourceSharePermissionResponse.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/AssociateResourceSharePermissionResponse.java
new file mode 100644
index 0000000000..1790eb5131
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/AssociateResourceSharePermissionResponse.java
@@ -0,0 +1,46 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.model.v20200110;
+
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.resourcesharing.transform.v20200110.AssociateResourceSharePermissionResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class AssociateResourceSharePermissionResponse extends AcsResponse {
+
+ private String requestId;
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ @Override
+ public AssociateResourceSharePermissionResponse getInstance(UnmarshallerContext context) {
+ return AssociateResourceSharePermissionResponseUnmarshaller.unmarshall(this, context);
+ }
+
+ @Override
+ public boolean checkShowJsonItemName() {
+ return false;
+ }
+}
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/AssociateResourceShareRequest.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/AssociateResourceShareRequest.java
new file mode 100644
index 0000000000..6b0c4794bb
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/AssociateResourceShareRequest.java
@@ -0,0 +1,126 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.model.v20200110;
+
+import com.aliyuncs.RpcAcsRequest;
+import java.util.List;
+import com.aliyuncs.http.ProtocolType;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.resourcesharing.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class AssociateResourceShareRequest extends RpcAcsRequest {
+
+
+ private List resourcess;
+
+ private List targetss;
+
+ private String resourceShareId;
+
+ private List permissionNamess;
+ public AssociateResourceShareRequest() {
+ super("ResourceSharing", "2020-01-10", "AssociateResourceShare", "ressharing");
+ setProtocol(ProtocolType.HTTPS);
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public List getResourcess() {
+ return this.resourcess;
+ }
+
+ public void setResourcess(List resourcess) {
+ this.resourcess = resourcess;
+ if (resourcess != null) {
+ for (int depth1 = 0; depth1 < resourcess.size(); depth1++) {
+ putQueryParameter("Resources." + (depth1 + 1) + ".ResourceId" , resourcess.get(depth1).getResourceId());
+ putQueryParameter("Resources." + (depth1 + 1) + ".ResourceType" , resourcess.get(depth1).getResourceType());
+ }
+ }
+ }
+
+ public List getTargetss() {
+ return this.targetss;
+ }
+
+ public void setTargetss(List targetss) {
+ this.targetss = targetss;
+ if (targetss != null) {
+ for (int i = 0; i < targetss.size(); i++) {
+ putQueryParameter("Targets." + (i + 1) , targetss.get(i));
+ }
+ }
+ }
+
+ public String getResourceShareId() {
+ return this.resourceShareId;
+ }
+
+ public void setResourceShareId(String resourceShareId) {
+ this.resourceShareId = resourceShareId;
+ if(resourceShareId != null){
+ putQueryParameter("ResourceShareId", resourceShareId);
+ }
+ }
+
+ public List getPermissionNamess() {
+ return this.permissionNamess;
+ }
+
+ public void setPermissionNamess(List permissionNamess) {
+ this.permissionNamess = permissionNamess;
+ if (permissionNamess != null) {
+ for (int i = 0; i < permissionNamess.size(); i++) {
+ putQueryParameter("PermissionNames." + (i + 1) , permissionNamess.get(i));
+ }
+ }
+ }
+
+ public static class Resources {
+
+ private String resourceId;
+
+ private String resourceType;
+
+ public String getResourceId() {
+ return this.resourceId;
+ }
+
+ public void setResourceId(String resourceId) {
+ this.resourceId = resourceId;
+ }
+
+ public String getResourceType() {
+ return this.resourceType;
+ }
+
+ public void setResourceType(String resourceType) {
+ this.resourceType = resourceType;
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return AssociateResourceShareResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/AssociateResourceShareResponse.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/AssociateResourceShareResponse.java
new file mode 100644
index 0000000000..50c6d48a87
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/AssociateResourceShareResponse.java
@@ -0,0 +1,150 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.model.v20200110;
+
+import java.util.List;
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.resourcesharing.transform.v20200110.AssociateResourceShareResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class AssociateResourceShareResponse extends AcsResponse {
+
+ private String requestId;
+
+ private List resourceShareAssociations;
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ public List getResourceShareAssociations() {
+ return this.resourceShareAssociations;
+ }
+
+ public void setResourceShareAssociations(List resourceShareAssociations) {
+ this.resourceShareAssociations = resourceShareAssociations;
+ }
+
+ public static class ResourceShareAssociation {
+
+ private String updateTime;
+
+ private String entityId;
+
+ private String resourceShareName;
+
+ private String createTime;
+
+ private String entityType;
+
+ private String resourceShareId;
+
+ private String associationStatusMessage;
+
+ private String associationType;
+
+ private String associationStatus;
+
+ public String getUpdateTime() {
+ return this.updateTime;
+ }
+
+ public void setUpdateTime(String updateTime) {
+ this.updateTime = updateTime;
+ }
+
+ public String getEntityId() {
+ return this.entityId;
+ }
+
+ public void setEntityId(String entityId) {
+ this.entityId = entityId;
+ }
+
+ public String getResourceShareName() {
+ return this.resourceShareName;
+ }
+
+ public void setResourceShareName(String resourceShareName) {
+ this.resourceShareName = resourceShareName;
+ }
+
+ public String getCreateTime() {
+ return this.createTime;
+ }
+
+ public void setCreateTime(String createTime) {
+ this.createTime = createTime;
+ }
+
+ public String getEntityType() {
+ return this.entityType;
+ }
+
+ public void setEntityType(String entityType) {
+ this.entityType = entityType;
+ }
+
+ public String getResourceShareId() {
+ return this.resourceShareId;
+ }
+
+ public void setResourceShareId(String resourceShareId) {
+ this.resourceShareId = resourceShareId;
+ }
+
+ public String getAssociationStatusMessage() {
+ return this.associationStatusMessage;
+ }
+
+ public void setAssociationStatusMessage(String associationStatusMessage) {
+ this.associationStatusMessage = associationStatusMessage;
+ }
+
+ public String getAssociationType() {
+ return this.associationType;
+ }
+
+ public void setAssociationType(String associationType) {
+ this.associationType = associationType;
+ }
+
+ public String getAssociationStatus() {
+ return this.associationStatus;
+ }
+
+ public void setAssociationStatus(String associationStatus) {
+ this.associationStatus = associationStatus;
+ }
+ }
+
+ @Override
+ public AssociateResourceShareResponse getInstance(UnmarshallerContext context) {
+ return AssociateResourceShareResponseUnmarshaller.unmarshall(this, context);
+ }
+
+ @Override
+ public boolean checkShowJsonItemName() {
+ return false;
+ }
+}
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/ChangeResourceGroupRequest.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/ChangeResourceGroupRequest.java
new file mode 100644
index 0000000000..ab914d1699
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/ChangeResourceGroupRequest.java
@@ -0,0 +1,82 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.model.v20200110;
+
+import com.aliyuncs.RpcAcsRequest;
+import com.aliyuncs.http.ProtocolType;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.resourcesharing.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class ChangeResourceGroupRequest extends RpcAcsRequest {
+
+
+ private String resourceGroupId;
+
+ private String resourceRegionId;
+
+ private String resourceId;
+ public ChangeResourceGroupRequest() {
+ super("ResourceSharing", "2020-01-10", "ChangeResourceGroup", "ressharing");
+ setProtocol(ProtocolType.HTTPS);
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public String getResourceGroupId() {
+ return this.resourceGroupId;
+ }
+
+ public void setResourceGroupId(String resourceGroupId) {
+ this.resourceGroupId = resourceGroupId;
+ if(resourceGroupId != null){
+ putQueryParameter("ResourceGroupId", resourceGroupId);
+ }
+ }
+
+ public String getResourceRegionId() {
+ return this.resourceRegionId;
+ }
+
+ public void setResourceRegionId(String resourceRegionId) {
+ this.resourceRegionId = resourceRegionId;
+ if(resourceRegionId != null){
+ putQueryParameter("ResourceRegionId", resourceRegionId);
+ }
+ }
+
+ public String getResourceId() {
+ return this.resourceId;
+ }
+
+ public void setResourceId(String resourceId) {
+ this.resourceId = resourceId;
+ if(resourceId != null){
+ putQueryParameter("ResourceId", resourceId);
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return ChangeResourceGroupResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/ChangeResourceGroupResponse.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/ChangeResourceGroupResponse.java
new file mode 100644
index 0000000000..a6c8954b7b
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/ChangeResourceGroupResponse.java
@@ -0,0 +1,46 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.model.v20200110;
+
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.resourcesharing.transform.v20200110.ChangeResourceGroupResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class ChangeResourceGroupResponse extends AcsResponse {
+
+ private String requestId;
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ @Override
+ public ChangeResourceGroupResponse getInstance(UnmarshallerContext context) {
+ return ChangeResourceGroupResponseUnmarshaller.unmarshall(this, context);
+ }
+
+ @Override
+ public boolean checkShowJsonItemName() {
+ return false;
+ }
+}
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/CheckSharingWithResourceDirectoryStatusRequest.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/CheckSharingWithResourceDirectoryStatusRequest.java
new file mode 100644
index 0000000000..fb47a37617
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/CheckSharingWithResourceDirectoryStatusRequest.java
@@ -0,0 +1,41 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.model.v20200110;
+
+import com.aliyuncs.RpcAcsRequest;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.resourcesharing.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class CheckSharingWithResourceDirectoryStatusRequest extends RpcAcsRequest {
+
+ public CheckSharingWithResourceDirectoryStatusRequest() {
+ super("ResourceSharing", "2020-01-10", "CheckSharingWithResourceDirectoryStatus", "ressharing");
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return CheckSharingWithResourceDirectoryStatusResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/CheckSharingWithResourceDirectoryStatusResponse.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/CheckSharingWithResourceDirectoryStatusResponse.java
new file mode 100644
index 0000000000..a0b95f0412
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/CheckSharingWithResourceDirectoryStatusResponse.java
@@ -0,0 +1,56 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.model.v20200110;
+
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.resourcesharing.transform.v20200110.CheckSharingWithResourceDirectoryStatusResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class CheckSharingWithResourceDirectoryStatusResponse extends AcsResponse {
+
+ private String requestId;
+
+ private Boolean enableSharingWithRd;
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ public Boolean getEnableSharingWithRd() {
+ return this.enableSharingWithRd;
+ }
+
+ public void setEnableSharingWithRd(Boolean enableSharingWithRd) {
+ this.enableSharingWithRd = enableSharingWithRd;
+ }
+
+ @Override
+ public CheckSharingWithResourceDirectoryStatusResponse getInstance(UnmarshallerContext context) {
+ return CheckSharingWithResourceDirectoryStatusResponseUnmarshaller.unmarshall(this, context);
+ }
+
+ @Override
+ public boolean checkShowJsonItemName() {
+ return false;
+ }
+}
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/CreateResourceShareRequest.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/CreateResourceShareRequest.java
new file mode 100644
index 0000000000..66aedef0c9
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/CreateResourceShareRequest.java
@@ -0,0 +1,139 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.model.v20200110;
+
+import com.aliyuncs.RpcAcsRequest;
+import java.util.List;
+import com.aliyuncs.http.ProtocolType;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.resourcesharing.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class CreateResourceShareRequest extends RpcAcsRequest {
+
+
+ private String resourceShareName;
+
+ private List targetss;
+
+ private List resourcess;
+
+ private Boolean allowExternalTargets;
+
+ private List permissionNamess;
+ public CreateResourceShareRequest() {
+ super("ResourceSharing", "2020-01-10", "CreateResourceShare", "ressharing");
+ setProtocol(ProtocolType.HTTPS);
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public String getResourceShareName() {
+ return this.resourceShareName;
+ }
+
+ public void setResourceShareName(String resourceShareName) {
+ this.resourceShareName = resourceShareName;
+ if(resourceShareName != null){
+ putQueryParameter("ResourceShareName", resourceShareName);
+ }
+ }
+
+ public List getTargetss() {
+ return this.targetss;
+ }
+
+ public void setTargetss(List targetss) {
+ this.targetss = targetss;
+ if (targetss != null) {
+ for (int i = 0; i < targetss.size(); i++) {
+ putQueryParameter("Targets." + (i + 1) , targetss.get(i));
+ }
+ }
+ }
+
+ public List getResourcess() {
+ return this.resourcess;
+ }
+
+ public void setResourcess(List resourcess) {
+ this.resourcess = resourcess;
+ if (resourcess != null) {
+ for (int depth1 = 0; depth1 < resourcess.size(); depth1++) {
+ putQueryParameter("Resources." + (depth1 + 1) + ".ResourceId" , resourcess.get(depth1).getResourceId());
+ putQueryParameter("Resources." + (depth1 + 1) + ".ResourceType" , resourcess.get(depth1).getResourceType());
+ }
+ }
+ }
+
+ public Boolean getAllowExternalTargets() {
+ return this.allowExternalTargets;
+ }
+
+ public void setAllowExternalTargets(Boolean allowExternalTargets) {
+ this.allowExternalTargets = allowExternalTargets;
+ if(allowExternalTargets != null){
+ putQueryParameter("AllowExternalTargets", allowExternalTargets.toString());
+ }
+ }
+
+ public List getPermissionNamess() {
+ return this.permissionNamess;
+ }
+
+ public void setPermissionNamess(List permissionNamess) {
+ this.permissionNamess = permissionNamess;
+ if (permissionNamess != null) {
+ for (int i = 0; i < permissionNamess.size(); i++) {
+ putQueryParameter("PermissionNames." + (i + 1) , permissionNamess.get(i));
+ }
+ }
+ }
+
+ public static class Resources {
+
+ private String resourceId;
+
+ private String resourceType;
+
+ public String getResourceId() {
+ return this.resourceId;
+ }
+
+ public void setResourceId(String resourceId) {
+ this.resourceId = resourceId;
+ }
+
+ public String getResourceType() {
+ return this.resourceType;
+ }
+
+ public void setResourceType(String resourceType) {
+ this.resourceType = resourceType;
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return CreateResourceShareResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/CreateResourceShareResponse.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/CreateResourceShareResponse.java
new file mode 100644
index 0000000000..ed9dc0fc73
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/CreateResourceShareResponse.java
@@ -0,0 +1,129 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.model.v20200110;
+
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.resourcesharing.transform.v20200110.CreateResourceShareResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class CreateResourceShareResponse extends AcsResponse {
+
+ private String requestId;
+
+ private ResourceShare resourceShare;
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ public ResourceShare getResourceShare() {
+ return this.resourceShare;
+ }
+
+ public void setResourceShare(ResourceShare resourceShare) {
+ this.resourceShare = resourceShare;
+ }
+
+ public static class ResourceShare {
+
+ private String updateTime;
+
+ private String resourceShareName;
+
+ private String resourceShareOwner;
+
+ private String createTime;
+
+ private String resourceShareId;
+
+ private String resourceShareStatus;
+
+ private Boolean allowExternalTargets;
+
+ public String getUpdateTime() {
+ return this.updateTime;
+ }
+
+ public void setUpdateTime(String updateTime) {
+ this.updateTime = updateTime;
+ }
+
+ public String getResourceShareName() {
+ return this.resourceShareName;
+ }
+
+ public void setResourceShareName(String resourceShareName) {
+ this.resourceShareName = resourceShareName;
+ }
+
+ public String getResourceShareOwner() {
+ return this.resourceShareOwner;
+ }
+
+ public void setResourceShareOwner(String resourceShareOwner) {
+ this.resourceShareOwner = resourceShareOwner;
+ }
+
+ public String getCreateTime() {
+ return this.createTime;
+ }
+
+ public void setCreateTime(String createTime) {
+ this.createTime = createTime;
+ }
+
+ public String getResourceShareId() {
+ return this.resourceShareId;
+ }
+
+ public void setResourceShareId(String resourceShareId) {
+ this.resourceShareId = resourceShareId;
+ }
+
+ public String getResourceShareStatus() {
+ return this.resourceShareStatus;
+ }
+
+ public void setResourceShareStatus(String resourceShareStatus) {
+ this.resourceShareStatus = resourceShareStatus;
+ }
+
+ public Boolean getAllowExternalTargets() {
+ return this.allowExternalTargets;
+ }
+
+ public void setAllowExternalTargets(Boolean allowExternalTargets) {
+ this.allowExternalTargets = allowExternalTargets;
+ }
+ }
+
+ @Override
+ public CreateResourceShareResponse getInstance(UnmarshallerContext context) {
+ return CreateResourceShareResponseUnmarshaller.unmarshall(this, context);
+ }
+
+ @Override
+ public boolean checkShowJsonItemName() {
+ return false;
+ }
+}
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/DeleteResourceShareRequest.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/DeleteResourceShareRequest.java
new file mode 100644
index 0000000000..8e09afa727
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/DeleteResourceShareRequest.java
@@ -0,0 +1,56 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.model.v20200110;
+
+import com.aliyuncs.RpcAcsRequest;
+import com.aliyuncs.http.ProtocolType;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.resourcesharing.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class DeleteResourceShareRequest extends RpcAcsRequest {
+
+
+ private String resourceShareId;
+ public DeleteResourceShareRequest() {
+ super("ResourceSharing", "2020-01-10", "DeleteResourceShare", "ressharing");
+ setProtocol(ProtocolType.HTTPS);
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public String getResourceShareId() {
+ return this.resourceShareId;
+ }
+
+ public void setResourceShareId(String resourceShareId) {
+ this.resourceShareId = resourceShareId;
+ if(resourceShareId != null){
+ putQueryParameter("ResourceShareId", resourceShareId);
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return DeleteResourceShareResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/DeleteResourceShareResponse.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/DeleteResourceShareResponse.java
new file mode 100644
index 0000000000..5fc3727635
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/DeleteResourceShareResponse.java
@@ -0,0 +1,46 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.model.v20200110;
+
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.resourcesharing.transform.v20200110.DeleteResourceShareResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class DeleteResourceShareResponse extends AcsResponse {
+
+ private String requestId;
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ @Override
+ public DeleteResourceShareResponse getInstance(UnmarshallerContext context) {
+ return DeleteResourceShareResponseUnmarshaller.unmarshall(this, context);
+ }
+
+ @Override
+ public boolean checkShowJsonItemName() {
+ return false;
+ }
+}
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/DescribeRegionsRequest.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/DescribeRegionsRequest.java
new file mode 100644
index 0000000000..456bc96415
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/DescribeRegionsRequest.java
@@ -0,0 +1,56 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.model.v20200110;
+
+import com.aliyuncs.RpcAcsRequest;
+import com.aliyuncs.http.ProtocolType;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.resourcesharing.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class DescribeRegionsRequest extends RpcAcsRequest {
+
+
+ private String acceptLanguage;
+ public DescribeRegionsRequest() {
+ super("ResourceSharing", "2020-01-10", "DescribeRegions", "ressharing");
+ setProtocol(ProtocolType.HTTPS);
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public String getAcceptLanguage() {
+ return this.acceptLanguage;
+ }
+
+ public void setAcceptLanguage(String acceptLanguage) {
+ this.acceptLanguage = acceptLanguage;
+ if(acceptLanguage != null){
+ putQueryParameter("AcceptLanguage", acceptLanguage);
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return DescribeRegionsResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/DescribeRegionsResponse.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/DescribeRegionsResponse.java
new file mode 100644
index 0000000000..448cee8cd8
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/DescribeRegionsResponse.java
@@ -0,0 +1,90 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.model.v20200110;
+
+import java.util.List;
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.resourcesharing.transform.v20200110.DescribeRegionsResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class DescribeRegionsResponse extends AcsResponse {
+
+ private String requestId;
+
+ private List regions;
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ public List getRegions() {
+ return this.regions;
+ }
+
+ public void setRegions(List regions) {
+ this.regions = regions;
+ }
+
+ public static class Region {
+
+ private String regionEndpoint;
+
+ private String localName;
+
+ private String regionId;
+
+ public String getRegionEndpoint() {
+ return this.regionEndpoint;
+ }
+
+ public void setRegionEndpoint(String regionEndpoint) {
+ this.regionEndpoint = regionEndpoint;
+ }
+
+ public String getLocalName() {
+ return this.localName;
+ }
+
+ public void setLocalName(String localName) {
+ this.localName = localName;
+ }
+
+ public String getRegionId() {
+ return this.regionId;
+ }
+
+ public void setRegionId(String regionId) {
+ this.regionId = regionId;
+ }
+ }
+
+ @Override
+ public DescribeRegionsResponse getInstance(UnmarshallerContext context) {
+ return DescribeRegionsResponseUnmarshaller.unmarshall(this, context);
+ }
+
+ @Override
+ public boolean checkShowJsonItemName() {
+ return false;
+ }
+}
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/DisassociateResourceSharePermissionRequest.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/DisassociateResourceSharePermissionRequest.java
new file mode 100644
index 0000000000..f690c5b978
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/DisassociateResourceSharePermissionRequest.java
@@ -0,0 +1,69 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.model.v20200110;
+
+import com.aliyuncs.RpcAcsRequest;
+import com.aliyuncs.http.ProtocolType;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.resourcesharing.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class DisassociateResourceSharePermissionRequest extends RpcAcsRequest {
+
+
+ private String permissionName;
+
+ private String resourceShareId;
+ public DisassociateResourceSharePermissionRequest() {
+ super("ResourceSharing", "2020-01-10", "DisassociateResourceSharePermission", "ressharing");
+ setProtocol(ProtocolType.HTTPS);
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public String getPermissionName() {
+ return this.permissionName;
+ }
+
+ public void setPermissionName(String permissionName) {
+ this.permissionName = permissionName;
+ if(permissionName != null){
+ putQueryParameter("PermissionName", permissionName);
+ }
+ }
+
+ public String getResourceShareId() {
+ return this.resourceShareId;
+ }
+
+ public void setResourceShareId(String resourceShareId) {
+ this.resourceShareId = resourceShareId;
+ if(resourceShareId != null){
+ putQueryParameter("ResourceShareId", resourceShareId);
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return DisassociateResourceSharePermissionResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/DisassociateResourceSharePermissionResponse.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/DisassociateResourceSharePermissionResponse.java
new file mode 100644
index 0000000000..51734c5b11
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/DisassociateResourceSharePermissionResponse.java
@@ -0,0 +1,46 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.model.v20200110;
+
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.resourcesharing.transform.v20200110.DisassociateResourceSharePermissionResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class DisassociateResourceSharePermissionResponse extends AcsResponse {
+
+ private String requestId;
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ @Override
+ public DisassociateResourceSharePermissionResponse getInstance(UnmarshallerContext context) {
+ return DisassociateResourceSharePermissionResponseUnmarshaller.unmarshall(this, context);
+ }
+
+ @Override
+ public boolean checkShowJsonItemName() {
+ return false;
+ }
+}
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/DisassociateResourceShareRequest.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/DisassociateResourceShareRequest.java
new file mode 100644
index 0000000000..01485e4d56
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/DisassociateResourceShareRequest.java
@@ -0,0 +1,124 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.model.v20200110;
+
+import com.aliyuncs.RpcAcsRequest;
+import java.util.List;
+import com.aliyuncs.http.ProtocolType;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.resourcesharing.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class DisassociateResourceShareRequest extends RpcAcsRequest {
+
+
+ private String resourceOwner;
+
+ private List resourcess;
+
+ private List targetss;
+
+ private String resourceShareId;
+ public DisassociateResourceShareRequest() {
+ super("ResourceSharing", "2020-01-10", "DisassociateResourceShare", "ressharing");
+ setProtocol(ProtocolType.HTTPS);
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public String getResourceOwner() {
+ return this.resourceOwner;
+ }
+
+ public void setResourceOwner(String resourceOwner) {
+ this.resourceOwner = resourceOwner;
+ if(resourceOwner != null){
+ putQueryParameter("ResourceOwner", resourceOwner);
+ }
+ }
+
+ public List getResourcess() {
+ return this.resourcess;
+ }
+
+ public void setResourcess(List resourcess) {
+ this.resourcess = resourcess;
+ if (resourcess != null) {
+ for (int depth1 = 0; depth1 < resourcess.size(); depth1++) {
+ putQueryParameter("Resources." + (depth1 + 1) + ".ResourceId" , resourcess.get(depth1).getResourceId());
+ putQueryParameter("Resources." + (depth1 + 1) + ".ResourceType" , resourcess.get(depth1).getResourceType());
+ }
+ }
+ }
+
+ public List getTargetss() {
+ return this.targetss;
+ }
+
+ public void setTargetss(List targetss) {
+ this.targetss = targetss;
+ if (targetss != null) {
+ for (int i = 0; i < targetss.size(); i++) {
+ putQueryParameter("Targets." + (i + 1) , targetss.get(i));
+ }
+ }
+ }
+
+ public String getResourceShareId() {
+ return this.resourceShareId;
+ }
+
+ public void setResourceShareId(String resourceShareId) {
+ this.resourceShareId = resourceShareId;
+ if(resourceShareId != null){
+ putQueryParameter("ResourceShareId", resourceShareId);
+ }
+ }
+
+ public static class Resources {
+
+ private String resourceId;
+
+ private String resourceType;
+
+ public String getResourceId() {
+ return this.resourceId;
+ }
+
+ public void setResourceId(String resourceId) {
+ this.resourceId = resourceId;
+ }
+
+ public String getResourceType() {
+ return this.resourceType;
+ }
+
+ public void setResourceType(String resourceType) {
+ this.resourceType = resourceType;
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return DisassociateResourceShareResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/DisassociateResourceShareResponse.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/DisassociateResourceShareResponse.java
new file mode 100644
index 0000000000..5c473ef001
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/DisassociateResourceShareResponse.java
@@ -0,0 +1,150 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.model.v20200110;
+
+import java.util.List;
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.resourcesharing.transform.v20200110.DisassociateResourceShareResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class DisassociateResourceShareResponse extends AcsResponse {
+
+ private String requestId;
+
+ private List resourceShareAssociations;
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ public List getResourceShareAssociations() {
+ return this.resourceShareAssociations;
+ }
+
+ public void setResourceShareAssociations(List resourceShareAssociations) {
+ this.resourceShareAssociations = resourceShareAssociations;
+ }
+
+ public static class ResourceShareAssociation {
+
+ private String updateTime;
+
+ private String entityId;
+
+ private String resourceShareName;
+
+ private String createTime;
+
+ private String entityType;
+
+ private String resourceShareId;
+
+ private String associationStatusMessage;
+
+ private String associationType;
+
+ private String associationStatus;
+
+ public String getUpdateTime() {
+ return this.updateTime;
+ }
+
+ public void setUpdateTime(String updateTime) {
+ this.updateTime = updateTime;
+ }
+
+ public String getEntityId() {
+ return this.entityId;
+ }
+
+ public void setEntityId(String entityId) {
+ this.entityId = entityId;
+ }
+
+ public String getResourceShareName() {
+ return this.resourceShareName;
+ }
+
+ public void setResourceShareName(String resourceShareName) {
+ this.resourceShareName = resourceShareName;
+ }
+
+ public String getCreateTime() {
+ return this.createTime;
+ }
+
+ public void setCreateTime(String createTime) {
+ this.createTime = createTime;
+ }
+
+ public String getEntityType() {
+ return this.entityType;
+ }
+
+ public void setEntityType(String entityType) {
+ this.entityType = entityType;
+ }
+
+ public String getResourceShareId() {
+ return this.resourceShareId;
+ }
+
+ public void setResourceShareId(String resourceShareId) {
+ this.resourceShareId = resourceShareId;
+ }
+
+ public String getAssociationStatusMessage() {
+ return this.associationStatusMessage;
+ }
+
+ public void setAssociationStatusMessage(String associationStatusMessage) {
+ this.associationStatusMessage = associationStatusMessage;
+ }
+
+ public String getAssociationType() {
+ return this.associationType;
+ }
+
+ public void setAssociationType(String associationType) {
+ this.associationType = associationType;
+ }
+
+ public String getAssociationStatus() {
+ return this.associationStatus;
+ }
+
+ public void setAssociationStatus(String associationStatus) {
+ this.associationStatus = associationStatus;
+ }
+ }
+
+ @Override
+ public DisassociateResourceShareResponse getInstance(UnmarshallerContext context) {
+ return DisassociateResourceShareResponseUnmarshaller.unmarshall(this, context);
+ }
+
+ @Override
+ public boolean checkShowJsonItemName() {
+ return false;
+ }
+}
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/EnableSharingWithResourceDirectoryRequest.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/EnableSharingWithResourceDirectoryRequest.java
new file mode 100644
index 0000000000..080848d622
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/EnableSharingWithResourceDirectoryRequest.java
@@ -0,0 +1,43 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.model.v20200110;
+
+import com.aliyuncs.RpcAcsRequest;
+import com.aliyuncs.http.ProtocolType;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.resourcesharing.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class EnableSharingWithResourceDirectoryRequest extends RpcAcsRequest {
+
+ public EnableSharingWithResourceDirectoryRequest() {
+ super("ResourceSharing", "2020-01-10", "EnableSharingWithResourceDirectory", "ressharing");
+ setProtocol(ProtocolType.HTTPS);
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return EnableSharingWithResourceDirectoryResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/EnableSharingWithResourceDirectoryResponse.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/EnableSharingWithResourceDirectoryResponse.java
new file mode 100644
index 0000000000..8793db738f
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/EnableSharingWithResourceDirectoryResponse.java
@@ -0,0 +1,46 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.model.v20200110;
+
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.resourcesharing.transform.v20200110.EnableSharingWithResourceDirectoryResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class EnableSharingWithResourceDirectoryResponse extends AcsResponse {
+
+ private String requestId;
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ @Override
+ public EnableSharingWithResourceDirectoryResponse getInstance(UnmarshallerContext context) {
+ return EnableSharingWithResourceDirectoryResponseUnmarshaller.unmarshall(this, context);
+ }
+
+ @Override
+ public boolean checkShowJsonItemName() {
+ return false;
+ }
+}
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/GetPermissionRequest.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/GetPermissionRequest.java
new file mode 100644
index 0000000000..398decdee0
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/GetPermissionRequest.java
@@ -0,0 +1,69 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.model.v20200110;
+
+import com.aliyuncs.RpcAcsRequest;
+import com.aliyuncs.http.ProtocolType;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.resourcesharing.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class GetPermissionRequest extends RpcAcsRequest {
+
+
+ private String permissionVersion;
+
+ private String permissionName;
+ public GetPermissionRequest() {
+ super("ResourceSharing", "2020-01-10", "GetPermission", "ressharing");
+ setProtocol(ProtocolType.HTTPS);
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public String getPermissionVersion() {
+ return this.permissionVersion;
+ }
+
+ public void setPermissionVersion(String permissionVersion) {
+ this.permissionVersion = permissionVersion;
+ if(permissionVersion != null){
+ putQueryParameter("PermissionVersion", permissionVersion);
+ }
+ }
+
+ public String getPermissionName() {
+ return this.permissionName;
+ }
+
+ public void setPermissionName(String permissionName) {
+ this.permissionName = permissionName;
+ if(permissionName != null){
+ putQueryParameter("PermissionName", permissionName);
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return GetPermissionResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/GetPermissionResponse.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/GetPermissionResponse.java
new file mode 100644
index 0000000000..2820498478
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/GetPermissionResponse.java
@@ -0,0 +1,139 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.model.v20200110;
+
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.resourcesharing.transform.v20200110.GetPermissionResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class GetPermissionResponse extends AcsResponse {
+
+ private String requestId;
+
+ private Permission permission;
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ public Permission getPermission() {
+ return this.permission;
+ }
+
+ public void setPermission(Permission permission) {
+ this.permission = permission;
+ }
+
+ public static class Permission {
+
+ private String permissionName;
+
+ private String permissionVersion;
+
+ private String permission;
+
+ private String resourceType;
+
+ private Boolean defaultVersion;
+
+ private String createTime;
+
+ private String updateTime;
+
+ private Boolean defaultPermission;
+
+ public String getPermissionName() {
+ return this.permissionName;
+ }
+
+ public void setPermissionName(String permissionName) {
+ this.permissionName = permissionName;
+ }
+
+ public String getPermissionVersion() {
+ return this.permissionVersion;
+ }
+
+ public void setPermissionVersion(String permissionVersion) {
+ this.permissionVersion = permissionVersion;
+ }
+
+ public String getPermission() {
+ return this.permission;
+ }
+
+ public void setPermission(String permission) {
+ this.permission = permission;
+ }
+
+ public String getResourceType() {
+ return this.resourceType;
+ }
+
+ public void setResourceType(String resourceType) {
+ this.resourceType = resourceType;
+ }
+
+ public Boolean getDefaultVersion() {
+ return this.defaultVersion;
+ }
+
+ public void setDefaultVersion(Boolean defaultVersion) {
+ this.defaultVersion = defaultVersion;
+ }
+
+ 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 Boolean getDefaultPermission() {
+ return this.defaultPermission;
+ }
+
+ public void setDefaultPermission(Boolean defaultPermission) {
+ this.defaultPermission = defaultPermission;
+ }
+ }
+
+ @Override
+ public GetPermissionResponse getInstance(UnmarshallerContext context) {
+ return GetPermissionResponseUnmarshaller.unmarshall(this, context);
+ }
+
+ @Override
+ public boolean checkShowJsonItemName() {
+ return false;
+ }
+}
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/ListPermissionVersionsRequest.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/ListPermissionVersionsRequest.java
new file mode 100644
index 0000000000..7afe4b9669
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/ListPermissionVersionsRequest.java
@@ -0,0 +1,82 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.model.v20200110;
+
+import com.aliyuncs.RpcAcsRequest;
+import com.aliyuncs.http.ProtocolType;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.resourcesharing.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class ListPermissionVersionsRequest extends RpcAcsRequest {
+
+
+ private String permissionName;
+
+ private String nextToken;
+
+ private Integer maxResults;
+ public ListPermissionVersionsRequest() {
+ super("ResourceSharing", "2020-01-10", "ListPermissionVersions", "ressharing");
+ setProtocol(ProtocolType.HTTPS);
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public String getPermissionName() {
+ return this.permissionName;
+ }
+
+ public void setPermissionName(String permissionName) {
+ this.permissionName = permissionName;
+ if(permissionName != null){
+ putQueryParameter("PermissionName", permissionName);
+ }
+ }
+
+ public String getNextToken() {
+ return this.nextToken;
+ }
+
+ public void setNextToken(String nextToken) {
+ this.nextToken = nextToken;
+ if(nextToken != null){
+ putQueryParameter("NextToken", nextToken);
+ }
+ }
+
+ public Integer getMaxResults() {
+ return this.maxResults;
+ }
+
+ public void setMaxResults(Integer maxResults) {
+ this.maxResults = maxResults;
+ if(maxResults != null){
+ putQueryParameter("MaxResults", maxResults.toString());
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return ListPermissionVersionsResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/ListPermissionVersionsResponse.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/ListPermissionVersionsResponse.java
new file mode 100644
index 0000000000..b76cdfb8ee
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/ListPermissionVersionsResponse.java
@@ -0,0 +1,140 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.model.v20200110;
+
+import java.util.List;
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.resourcesharing.transform.v20200110.ListPermissionVersionsResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class ListPermissionVersionsResponse extends AcsResponse {
+
+ private String nextToken;
+
+ private String requestId;
+
+ private List permissions;
+
+ public String getNextToken() {
+ return this.nextToken;
+ }
+
+ public void setNextToken(String nextToken) {
+ this.nextToken = nextToken;
+ }
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ public List getPermissions() {
+ return this.permissions;
+ }
+
+ public void setPermissions(List permissions) {
+ this.permissions = permissions;
+ }
+
+ public static class Permission {
+
+ private String permissionName;
+
+ private String permissionVersion;
+
+ private Boolean defaultVersion;
+
+ private String createTime;
+
+ private String updateTime;
+
+ private String resourceType;
+
+ private Boolean defaultPermission;
+
+ public String getPermissionName() {
+ return this.permissionName;
+ }
+
+ public void setPermissionName(String permissionName) {
+ this.permissionName = permissionName;
+ }
+
+ public String getPermissionVersion() {
+ return this.permissionVersion;
+ }
+
+ public void setPermissionVersion(String permissionVersion) {
+ this.permissionVersion = permissionVersion;
+ }
+
+ public Boolean getDefaultVersion() {
+ return this.defaultVersion;
+ }
+
+ public void setDefaultVersion(Boolean defaultVersion) {
+ this.defaultVersion = defaultVersion;
+ }
+
+ 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 getResourceType() {
+ return this.resourceType;
+ }
+
+ public void setResourceType(String resourceType) {
+ this.resourceType = resourceType;
+ }
+
+ public Boolean getDefaultPermission() {
+ return this.defaultPermission;
+ }
+
+ public void setDefaultPermission(Boolean defaultPermission) {
+ this.defaultPermission = defaultPermission;
+ }
+ }
+
+ @Override
+ public ListPermissionVersionsResponse getInstance(UnmarshallerContext context) {
+ return ListPermissionVersionsResponseUnmarshaller.unmarshall(this, context);
+ }
+
+ @Override
+ public boolean checkShowJsonItemName() {
+ return false;
+ }
+}
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/ListPermissionsRequest.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/ListPermissionsRequest.java
new file mode 100644
index 0000000000..e60285641c
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/ListPermissionsRequest.java
@@ -0,0 +1,82 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.model.v20200110;
+
+import com.aliyuncs.RpcAcsRequest;
+import com.aliyuncs.http.ProtocolType;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.resourcesharing.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class ListPermissionsRequest extends RpcAcsRequest {
+
+
+ private String resourceType;
+
+ private String nextToken;
+
+ private Integer maxResults;
+ public ListPermissionsRequest() {
+ super("ResourceSharing", "2020-01-10", "ListPermissions", "ressharing");
+ setProtocol(ProtocolType.HTTPS);
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public String getResourceType() {
+ return this.resourceType;
+ }
+
+ public void setResourceType(String resourceType) {
+ this.resourceType = resourceType;
+ if(resourceType != null){
+ putQueryParameter("ResourceType", resourceType);
+ }
+ }
+
+ public String getNextToken() {
+ return this.nextToken;
+ }
+
+ public void setNextToken(String nextToken) {
+ this.nextToken = nextToken;
+ if(nextToken != null){
+ putQueryParameter("NextToken", nextToken);
+ }
+ }
+
+ public Integer getMaxResults() {
+ return this.maxResults;
+ }
+
+ public void setMaxResults(Integer maxResults) {
+ this.maxResults = maxResults;
+ if(maxResults != null){
+ putQueryParameter("MaxResults", maxResults.toString());
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return ListPermissionsResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/ListPermissionsResponse.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/ListPermissionsResponse.java
new file mode 100644
index 0000000000..3b31607cd1
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/ListPermissionsResponse.java
@@ -0,0 +1,140 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.model.v20200110;
+
+import java.util.List;
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.resourcesharing.transform.v20200110.ListPermissionsResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class ListPermissionsResponse extends AcsResponse {
+
+ private String nextToken;
+
+ private String requestId;
+
+ private List permissions;
+
+ public String getNextToken() {
+ return this.nextToken;
+ }
+
+ public void setNextToken(String nextToken) {
+ this.nextToken = nextToken;
+ }
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ public List getPermissions() {
+ return this.permissions;
+ }
+
+ public void setPermissions(List permissions) {
+ this.permissions = permissions;
+ }
+
+ public static class Permission {
+
+ private String permissionName;
+
+ private String permissionVersion;
+
+ private Boolean defaultVersion;
+
+ private String createTime;
+
+ private String updateTime;
+
+ private String resourceType;
+
+ private Boolean defaultPermission;
+
+ public String getPermissionName() {
+ return this.permissionName;
+ }
+
+ public void setPermissionName(String permissionName) {
+ this.permissionName = permissionName;
+ }
+
+ public String getPermissionVersion() {
+ return this.permissionVersion;
+ }
+
+ public void setPermissionVersion(String permissionVersion) {
+ this.permissionVersion = permissionVersion;
+ }
+
+ public Boolean getDefaultVersion() {
+ return this.defaultVersion;
+ }
+
+ public void setDefaultVersion(Boolean defaultVersion) {
+ this.defaultVersion = defaultVersion;
+ }
+
+ 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 getResourceType() {
+ return this.resourceType;
+ }
+
+ public void setResourceType(String resourceType) {
+ this.resourceType = resourceType;
+ }
+
+ public Boolean getDefaultPermission() {
+ return this.defaultPermission;
+ }
+
+ public void setDefaultPermission(Boolean defaultPermission) {
+ this.defaultPermission = defaultPermission;
+ }
+ }
+
+ @Override
+ public ListPermissionsResponse getInstance(UnmarshallerContext context) {
+ return ListPermissionsResponseUnmarshaller.unmarshall(this, context);
+ }
+
+ @Override
+ public boolean checkShowJsonItemName() {
+ return false;
+ }
+}
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/ListResourceShareAssociationsRequest.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/ListResourceShareAssociationsRequest.java
new file mode 100644
index 0000000000..ebd92b3a70
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/ListResourceShareAssociationsRequest.java
@@ -0,0 +1,135 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.model.v20200110;
+
+import com.aliyuncs.RpcAcsRequest;
+import java.util.List;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.resourcesharing.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class ListResourceShareAssociationsRequest extends RpcAcsRequest {
+
+
+ private String nextToken;
+
+ private List resourceShareIdss;
+
+ private String resourceId;
+
+ private String target;
+
+ private String associationType;
+
+ private String associationStatus;
+
+ private Integer maxResults;
+ public ListResourceShareAssociationsRequest() {
+ super("ResourceSharing", "2020-01-10", "ListResourceShareAssociations", "ressharing");
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public String getNextToken() {
+ return this.nextToken;
+ }
+
+ public void setNextToken(String nextToken) {
+ this.nextToken = nextToken;
+ if(nextToken != null){
+ putQueryParameter("NextToken", nextToken);
+ }
+ }
+
+ public List getResourceShareIdss() {
+ return this.resourceShareIdss;
+ }
+
+ public void setResourceShareIdss(List resourceShareIdss) {
+ this.resourceShareIdss = resourceShareIdss;
+ if (resourceShareIdss != null) {
+ for (int i = 0; i < resourceShareIdss.size(); i++) {
+ putQueryParameter("ResourceShareIds." + (i + 1) , resourceShareIdss.get(i));
+ }
+ }
+ }
+
+ public String getResourceId() {
+ return this.resourceId;
+ }
+
+ public void setResourceId(String resourceId) {
+ this.resourceId = resourceId;
+ if(resourceId != null){
+ putQueryParameter("ResourceId", resourceId);
+ }
+ }
+
+ public String getTarget() {
+ return this.target;
+ }
+
+ public void setTarget(String target) {
+ this.target = target;
+ if(target != null){
+ putQueryParameter("Target", target);
+ }
+ }
+
+ public String getAssociationType() {
+ return this.associationType;
+ }
+
+ public void setAssociationType(String associationType) {
+ this.associationType = associationType;
+ if(associationType != null){
+ putQueryParameter("AssociationType", associationType);
+ }
+ }
+
+ public String getAssociationStatus() {
+ return this.associationStatus;
+ }
+
+ public void setAssociationStatus(String associationStatus) {
+ this.associationStatus = associationStatus;
+ if(associationStatus != null){
+ putQueryParameter("AssociationStatus", associationStatus);
+ }
+ }
+
+ public Integer getMaxResults() {
+ return this.maxResults;
+ }
+
+ public void setMaxResults(Integer maxResults) {
+ this.maxResults = maxResults;
+ if(maxResults != null){
+ putQueryParameter("MaxResults", maxResults.toString());
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return ListResourceShareAssociationsResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/ListResourceShareAssociationsResponse.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/ListResourceShareAssociationsResponse.java
new file mode 100644
index 0000000000..6a3c84d46a
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/ListResourceShareAssociationsResponse.java
@@ -0,0 +1,170 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.model.v20200110;
+
+import java.util.List;
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.resourcesharing.transform.v20200110.ListResourceShareAssociationsResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class ListResourceShareAssociationsResponse extends AcsResponse {
+
+ private String nextToken;
+
+ private String requestId;
+
+ private List resourceShareAssociations;
+
+ public String getNextToken() {
+ return this.nextToken;
+ }
+
+ public void setNextToken(String nextToken) {
+ this.nextToken = nextToken;
+ }
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ public List getResourceShareAssociations() {
+ return this.resourceShareAssociations;
+ }
+
+ public void setResourceShareAssociations(List resourceShareAssociations) {
+ this.resourceShareAssociations = resourceShareAssociations;
+ }
+
+ public static class ResourceShareAssociation {
+
+ private String updateTime;
+
+ private String entityId;
+
+ private String resourceShareName;
+
+ private String createTime;
+
+ private String entityType;
+
+ private String resourceShareId;
+
+ private String associationStatusMessage;
+
+ private String associationType;
+
+ private String associationStatus;
+
+ private Boolean external;
+
+ public String getUpdateTime() {
+ return this.updateTime;
+ }
+
+ public void setUpdateTime(String updateTime) {
+ this.updateTime = updateTime;
+ }
+
+ public String getEntityId() {
+ return this.entityId;
+ }
+
+ public void setEntityId(String entityId) {
+ this.entityId = entityId;
+ }
+
+ public String getResourceShareName() {
+ return this.resourceShareName;
+ }
+
+ public void setResourceShareName(String resourceShareName) {
+ this.resourceShareName = resourceShareName;
+ }
+
+ public String getCreateTime() {
+ return this.createTime;
+ }
+
+ public void setCreateTime(String createTime) {
+ this.createTime = createTime;
+ }
+
+ public String getEntityType() {
+ return this.entityType;
+ }
+
+ public void setEntityType(String entityType) {
+ this.entityType = entityType;
+ }
+
+ public String getResourceShareId() {
+ return this.resourceShareId;
+ }
+
+ public void setResourceShareId(String resourceShareId) {
+ this.resourceShareId = resourceShareId;
+ }
+
+ public String getAssociationStatusMessage() {
+ return this.associationStatusMessage;
+ }
+
+ public void setAssociationStatusMessage(String associationStatusMessage) {
+ this.associationStatusMessage = associationStatusMessage;
+ }
+
+ public String getAssociationType() {
+ return this.associationType;
+ }
+
+ public void setAssociationType(String associationType) {
+ this.associationType = associationType;
+ }
+
+ public String getAssociationStatus() {
+ return this.associationStatus;
+ }
+
+ public void setAssociationStatus(String associationStatus) {
+ this.associationStatus = associationStatus;
+ }
+
+ public Boolean getExternal() {
+ return this.external;
+ }
+
+ public void setExternal(Boolean external) {
+ this.external = external;
+ }
+ }
+
+ @Override
+ public ListResourceShareAssociationsResponse getInstance(UnmarshallerContext context) {
+ return ListResourceShareAssociationsResponseUnmarshaller.unmarshall(this, context);
+ }
+
+ @Override
+ public boolean checkShowJsonItemName() {
+ return false;
+ }
+}
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/ListResourceShareInvitationsRequest.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/ListResourceShareInvitationsRequest.java
new file mode 100644
index 0000000000..dcbe7aaa19
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/ListResourceShareInvitationsRequest.java
@@ -0,0 +1,100 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.model.v20200110;
+
+import com.aliyuncs.RpcAcsRequest;
+import java.util.List;
+import com.aliyuncs.http.ProtocolType;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.resourcesharing.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class ListResourceShareInvitationsRequest extends RpcAcsRequest {
+
+
+ private List resourceShareInvitationIdss;
+
+ private String nextToken;
+
+ private List resourceShareIdss;
+
+ private Integer maxResults;
+ public ListResourceShareInvitationsRequest() {
+ super("ResourceSharing", "2020-01-10", "ListResourceShareInvitations", "ressharing");
+ setProtocol(ProtocolType.HTTPS);
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public List getResourceShareInvitationIdss() {
+ return this.resourceShareInvitationIdss;
+ }
+
+ public void setResourceShareInvitationIdss(List resourceShareInvitationIdss) {
+ this.resourceShareInvitationIdss = resourceShareInvitationIdss;
+ if (resourceShareInvitationIdss != null) {
+ for (int i = 0; i < resourceShareInvitationIdss.size(); i++) {
+ putQueryParameter("ResourceShareInvitationIds." + (i + 1) , resourceShareInvitationIdss.get(i));
+ }
+ }
+ }
+
+ public String getNextToken() {
+ return this.nextToken;
+ }
+
+ public void setNextToken(String nextToken) {
+ this.nextToken = nextToken;
+ if(nextToken != null){
+ putQueryParameter("NextToken", nextToken);
+ }
+ }
+
+ public List getResourceShareIdss() {
+ return this.resourceShareIdss;
+ }
+
+ public void setResourceShareIdss(List resourceShareIdss) {
+ this.resourceShareIdss = resourceShareIdss;
+ if (resourceShareIdss != null) {
+ for (int i = 0; i < resourceShareIdss.size(); i++) {
+ putQueryParameter("ResourceShareIds." + (i + 1) , resourceShareIdss.get(i));
+ }
+ }
+ }
+
+ public Integer getMaxResults() {
+ return this.maxResults;
+ }
+
+ public void setMaxResults(Integer maxResults) {
+ this.maxResults = maxResults;
+ if(maxResults != null){
+ putQueryParameter("MaxResults", maxResults.toString());
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return ListResourceShareInvitationsResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/ListResourceShareInvitationsResponse.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/ListResourceShareInvitationsResponse.java
new file mode 100644
index 0000000000..bd1a55606e
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/ListResourceShareInvitationsResponse.java
@@ -0,0 +1,140 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.model.v20200110;
+
+import java.util.List;
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.resourcesharing.transform.v20200110.ListResourceShareInvitationsResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class ListResourceShareInvitationsResponse extends AcsResponse {
+
+ private String nextToken;
+
+ private String requestId;
+
+ private List resourceShareInvitations;
+
+ public String getNextToken() {
+ return this.nextToken;
+ }
+
+ public void setNextToken(String nextToken) {
+ this.nextToken = nextToken;
+ }
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ public List getResourceShareInvitations() {
+ return this.resourceShareInvitations;
+ }
+
+ public void setResourceShareInvitations(List resourceShareInvitations) {
+ this.resourceShareInvitations = resourceShareInvitations;
+ }
+
+ public static class ResourceShareInvitation {
+
+ private String status;
+
+ private String createTime;
+
+ private String resourceShareId;
+
+ private String resourceShareName;
+
+ private String senderAccountId;
+
+ private String receiverAccountId;
+
+ private String resourceShareInvitationId;
+
+ public String getStatus() {
+ return this.status;
+ }
+
+ public void setStatus(String status) {
+ this.status = status;
+ }
+
+ public String getCreateTime() {
+ return this.createTime;
+ }
+
+ public void setCreateTime(String createTime) {
+ this.createTime = createTime;
+ }
+
+ public String getResourceShareId() {
+ return this.resourceShareId;
+ }
+
+ public void setResourceShareId(String resourceShareId) {
+ this.resourceShareId = resourceShareId;
+ }
+
+ public String getResourceShareName() {
+ return this.resourceShareName;
+ }
+
+ public void setResourceShareName(String resourceShareName) {
+ this.resourceShareName = resourceShareName;
+ }
+
+ public String getSenderAccountId() {
+ return this.senderAccountId;
+ }
+
+ public void setSenderAccountId(String senderAccountId) {
+ this.senderAccountId = senderAccountId;
+ }
+
+ public String getReceiverAccountId() {
+ return this.receiverAccountId;
+ }
+
+ public void setReceiverAccountId(String receiverAccountId) {
+ this.receiverAccountId = receiverAccountId;
+ }
+
+ public String getResourceShareInvitationId() {
+ return this.resourceShareInvitationId;
+ }
+
+ public void setResourceShareInvitationId(String resourceShareInvitationId) {
+ this.resourceShareInvitationId = resourceShareInvitationId;
+ }
+ }
+
+ @Override
+ public ListResourceShareInvitationsResponse getInstance(UnmarshallerContext context) {
+ return ListResourceShareInvitationsResponseUnmarshaller.unmarshall(this, context);
+ }
+
+ @Override
+ public boolean checkShowJsonItemName() {
+ return false;
+ }
+}
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/ListResourceSharePermissionsRequest.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/ListResourceSharePermissionsRequest.java
new file mode 100644
index 0000000000..aa4a6375f2
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/ListResourceSharePermissionsRequest.java
@@ -0,0 +1,95 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.model.v20200110;
+
+import com.aliyuncs.RpcAcsRequest;
+import com.aliyuncs.http.ProtocolType;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.resourcesharing.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class ListResourceSharePermissionsRequest extends RpcAcsRequest {
+
+
+ private String resourceOwner;
+
+ private String nextToken;
+
+ private Integer maxResults;
+
+ private String resourceShareId;
+ public ListResourceSharePermissionsRequest() {
+ super("ResourceSharing", "2020-01-10", "ListResourceSharePermissions", "ressharing");
+ setProtocol(ProtocolType.HTTPS);
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public String getResourceOwner() {
+ return this.resourceOwner;
+ }
+
+ public void setResourceOwner(String resourceOwner) {
+ this.resourceOwner = resourceOwner;
+ if(resourceOwner != null){
+ putQueryParameter("ResourceOwner", resourceOwner);
+ }
+ }
+
+ public String getNextToken() {
+ return this.nextToken;
+ }
+
+ public void setNextToken(String nextToken) {
+ this.nextToken = nextToken;
+ if(nextToken != null){
+ putQueryParameter("NextToken", nextToken);
+ }
+ }
+
+ public Integer getMaxResults() {
+ return this.maxResults;
+ }
+
+ public void setMaxResults(Integer maxResults) {
+ this.maxResults = maxResults;
+ if(maxResults != null){
+ putQueryParameter("MaxResults", maxResults.toString());
+ }
+ }
+
+ public String getResourceShareId() {
+ return this.resourceShareId;
+ }
+
+ public void setResourceShareId(String resourceShareId) {
+ this.resourceShareId = resourceShareId;
+ if(resourceShareId != null){
+ putQueryParameter("ResourceShareId", resourceShareId);
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return ListResourceSharePermissionsResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/ListResourceSharePermissionsResponse.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/ListResourceSharePermissionsResponse.java
new file mode 100644
index 0000000000..8c6843a2c5
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/ListResourceSharePermissionsResponse.java
@@ -0,0 +1,140 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.model.v20200110;
+
+import java.util.List;
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.resourcesharing.transform.v20200110.ListResourceSharePermissionsResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class ListResourceSharePermissionsResponse extends AcsResponse {
+
+ private String nextToken;
+
+ private String requestId;
+
+ private List permissions;
+
+ public String getNextToken() {
+ return this.nextToken;
+ }
+
+ public void setNextToken(String nextToken) {
+ this.nextToken = nextToken;
+ }
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ public List getPermissions() {
+ return this.permissions;
+ }
+
+ public void setPermissions(List permissions) {
+ this.permissions = permissions;
+ }
+
+ public static class Permission {
+
+ private String permissionName;
+
+ private String permissionVersion;
+
+ private Boolean defaultVersion;
+
+ private String createTime;
+
+ private String updateTime;
+
+ private String resourceType;
+
+ private Boolean defaultPermission;
+
+ public String getPermissionName() {
+ return this.permissionName;
+ }
+
+ public void setPermissionName(String permissionName) {
+ this.permissionName = permissionName;
+ }
+
+ public String getPermissionVersion() {
+ return this.permissionVersion;
+ }
+
+ public void setPermissionVersion(String permissionVersion) {
+ this.permissionVersion = permissionVersion;
+ }
+
+ public Boolean getDefaultVersion() {
+ return this.defaultVersion;
+ }
+
+ public void setDefaultVersion(Boolean defaultVersion) {
+ this.defaultVersion = defaultVersion;
+ }
+
+ 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 getResourceType() {
+ return this.resourceType;
+ }
+
+ public void setResourceType(String resourceType) {
+ this.resourceType = resourceType;
+ }
+
+ public Boolean getDefaultPermission() {
+ return this.defaultPermission;
+ }
+
+ public void setDefaultPermission(Boolean defaultPermission) {
+ this.defaultPermission = defaultPermission;
+ }
+ }
+
+ @Override
+ public ListResourceSharePermissionsResponse getInstance(UnmarshallerContext context) {
+ return ListResourceSharePermissionsResponseUnmarshaller.unmarshall(this, context);
+ }
+
+ @Override
+ public boolean checkShowJsonItemName() {
+ return false;
+ }
+}
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/ListResourceSharesRequest.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/ListResourceSharesRequest.java
new file mode 100644
index 0000000000..be4558a50a
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/ListResourceSharesRequest.java
@@ -0,0 +1,137 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.model.v20200110;
+
+import com.aliyuncs.RpcAcsRequest;
+import java.util.List;
+import com.aliyuncs.http.ProtocolType;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.resourcesharing.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class ListResourceSharesRequest extends RpcAcsRequest {
+
+
+ private String resourceShareName;
+
+ private String permissionName;
+
+ private String nextToken;
+
+ private List resourceShareIdss;
+
+ private String resourceOwner;
+
+ private String resourceShareStatus;
+
+ private Integer maxResults;
+ public ListResourceSharesRequest() {
+ super("ResourceSharing", "2020-01-10", "ListResourceShares", "ressharing");
+ setProtocol(ProtocolType.HTTPS);
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public String getResourceShareName() {
+ return this.resourceShareName;
+ }
+
+ public void setResourceShareName(String resourceShareName) {
+ this.resourceShareName = resourceShareName;
+ if(resourceShareName != null){
+ putQueryParameter("ResourceShareName", resourceShareName);
+ }
+ }
+
+ public String getPermissionName() {
+ return this.permissionName;
+ }
+
+ public void setPermissionName(String permissionName) {
+ this.permissionName = permissionName;
+ if(permissionName != null){
+ putQueryParameter("PermissionName", permissionName);
+ }
+ }
+
+ public String getNextToken() {
+ return this.nextToken;
+ }
+
+ public void setNextToken(String nextToken) {
+ this.nextToken = nextToken;
+ if(nextToken != null){
+ putQueryParameter("NextToken", nextToken);
+ }
+ }
+
+ public List getResourceShareIdss() {
+ return this.resourceShareIdss;
+ }
+
+ public void setResourceShareIdss(List resourceShareIdss) {
+ this.resourceShareIdss = resourceShareIdss;
+ if (resourceShareIdss != null) {
+ for (int i = 0; i < resourceShareIdss.size(); i++) {
+ putQueryParameter("ResourceShareIds." + (i + 1) , resourceShareIdss.get(i));
+ }
+ }
+ }
+
+ public String getResourceOwner() {
+ return this.resourceOwner;
+ }
+
+ public void setResourceOwner(String resourceOwner) {
+ this.resourceOwner = resourceOwner;
+ if(resourceOwner != null){
+ putQueryParameter("ResourceOwner", resourceOwner);
+ }
+ }
+
+ public String getResourceShareStatus() {
+ return this.resourceShareStatus;
+ }
+
+ public void setResourceShareStatus(String resourceShareStatus) {
+ this.resourceShareStatus = resourceShareStatus;
+ if(resourceShareStatus != null){
+ putQueryParameter("ResourceShareStatus", resourceShareStatus);
+ }
+ }
+
+ public Integer getMaxResults() {
+ return this.maxResults;
+ }
+
+ public void setMaxResults(Integer maxResults) {
+ this.maxResults = maxResults;
+ if(maxResults != null){
+ putQueryParameter("MaxResults", maxResults.toString());
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return ListResourceSharesResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/ListResourceSharesResponse.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/ListResourceSharesResponse.java
new file mode 100644
index 0000000000..4ef7d2cd29
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/ListResourceSharesResponse.java
@@ -0,0 +1,150 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.model.v20200110;
+
+import java.util.List;
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.resourcesharing.transform.v20200110.ListResourceSharesResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class ListResourceSharesResponse extends AcsResponse {
+
+ private String nextToken;
+
+ private String requestId;
+
+ private List resourceShares;
+
+ public String getNextToken() {
+ return this.nextToken;
+ }
+
+ public void setNextToken(String nextToken) {
+ this.nextToken = nextToken;
+ }
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ public List getResourceShares() {
+ return this.resourceShares;
+ }
+
+ public void setResourceShares(List resourceShares) {
+ this.resourceShares = resourceShares;
+ }
+
+ public static class ResourceShare {
+
+ private String updateTime;
+
+ private String resourceShareName;
+
+ private String resourceShareOwner;
+
+ private String createTime;
+
+ private String resourceShareId;
+
+ private String resourceShareStatus;
+
+ private Boolean allowExternalTargets;
+
+ private String resourceGroupId;
+
+ public String getUpdateTime() {
+ return this.updateTime;
+ }
+
+ public void setUpdateTime(String updateTime) {
+ this.updateTime = updateTime;
+ }
+
+ public String getResourceShareName() {
+ return this.resourceShareName;
+ }
+
+ public void setResourceShareName(String resourceShareName) {
+ this.resourceShareName = resourceShareName;
+ }
+
+ public String getResourceShareOwner() {
+ return this.resourceShareOwner;
+ }
+
+ public void setResourceShareOwner(String resourceShareOwner) {
+ this.resourceShareOwner = resourceShareOwner;
+ }
+
+ public String getCreateTime() {
+ return this.createTime;
+ }
+
+ public void setCreateTime(String createTime) {
+ this.createTime = createTime;
+ }
+
+ public String getResourceShareId() {
+ return this.resourceShareId;
+ }
+
+ public void setResourceShareId(String resourceShareId) {
+ this.resourceShareId = resourceShareId;
+ }
+
+ public String getResourceShareStatus() {
+ return this.resourceShareStatus;
+ }
+
+ public void setResourceShareStatus(String resourceShareStatus) {
+ this.resourceShareStatus = resourceShareStatus;
+ }
+
+ public Boolean getAllowExternalTargets() {
+ return this.allowExternalTargets;
+ }
+
+ public void setAllowExternalTargets(Boolean allowExternalTargets) {
+ this.allowExternalTargets = allowExternalTargets;
+ }
+
+ public String getResourceGroupId() {
+ return this.resourceGroupId;
+ }
+
+ public void setResourceGroupId(String resourceGroupId) {
+ this.resourceGroupId = resourceGroupId;
+ }
+ }
+
+ @Override
+ public ListResourceSharesResponse getInstance(UnmarshallerContext context) {
+ return ListResourceSharesResponseUnmarshaller.unmarshall(this, context);
+ }
+
+ @Override
+ public boolean checkShowJsonItemName() {
+ return false;
+ }
+}
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/ListSharedResourcesRequest.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/ListSharedResourcesRequest.java
new file mode 100644
index 0000000000..e5ad71357e
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/ListSharedResourcesRequest.java
@@ -0,0 +1,139 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.model.v20200110;
+
+import com.aliyuncs.RpcAcsRequest;
+import java.util.List;
+import com.aliyuncs.http.ProtocolType;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.resourcesharing.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class ListSharedResourcesRequest extends RpcAcsRequest {
+
+
+ private String nextToken;
+
+ private List resourceShareIdss;
+
+ private String resourceOwner;
+
+ private String resourceType;
+
+ private String target;
+
+ private Integer maxResults;
+
+ private List resourceIdss;
+ public ListSharedResourcesRequest() {
+ super("ResourceSharing", "2020-01-10", "ListSharedResources", "ressharing");
+ setProtocol(ProtocolType.HTTPS);
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public String getNextToken() {
+ return this.nextToken;
+ }
+
+ public void setNextToken(String nextToken) {
+ this.nextToken = nextToken;
+ if(nextToken != null){
+ putQueryParameter("NextToken", nextToken);
+ }
+ }
+
+ public List getResourceShareIdss() {
+ return this.resourceShareIdss;
+ }
+
+ public void setResourceShareIdss(List resourceShareIdss) {
+ this.resourceShareIdss = resourceShareIdss;
+ if (resourceShareIdss != null) {
+ for (int i = 0; i < resourceShareIdss.size(); i++) {
+ putQueryParameter("ResourceShareIds." + (i + 1) , resourceShareIdss.get(i));
+ }
+ }
+ }
+
+ public String getResourceOwner() {
+ return this.resourceOwner;
+ }
+
+ public void setResourceOwner(String resourceOwner) {
+ this.resourceOwner = resourceOwner;
+ if(resourceOwner != null){
+ putQueryParameter("ResourceOwner", resourceOwner);
+ }
+ }
+
+ public String getResourceType() {
+ return this.resourceType;
+ }
+
+ public void setResourceType(String resourceType) {
+ this.resourceType = resourceType;
+ if(resourceType != null){
+ putQueryParameter("ResourceType", resourceType);
+ }
+ }
+
+ public String getTarget() {
+ return this.target;
+ }
+
+ public void setTarget(String target) {
+ this.target = target;
+ if(target != null){
+ putQueryParameter("Target", target);
+ }
+ }
+
+ public Integer getMaxResults() {
+ return this.maxResults;
+ }
+
+ public void setMaxResults(Integer maxResults) {
+ this.maxResults = maxResults;
+ if(maxResults != null){
+ putQueryParameter("MaxResults", maxResults.toString());
+ }
+ }
+
+ public List getResourceIdss() {
+ return this.resourceIdss;
+ }
+
+ public void setResourceIdss(List resourceIdss) {
+ this.resourceIdss = resourceIdss;
+ if (resourceIdss != null) {
+ for (int i = 0; i < resourceIdss.size(); i++) {
+ putQueryParameter("ResourceIds." + (i + 1) , resourceIdss.get(i));
+ }
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return ListSharedResourcesResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/ListSharedResourcesResponse.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/ListSharedResourcesResponse.java
new file mode 100644
index 0000000000..e75230356d
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/ListSharedResourcesResponse.java
@@ -0,0 +1,150 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.model.v20200110;
+
+import java.util.List;
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.resourcesharing.transform.v20200110.ListSharedResourcesResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class ListSharedResourcesResponse extends AcsResponse {
+
+ private String nextToken;
+
+ private String requestId;
+
+ private List sharedResources;
+
+ public String getNextToken() {
+ return this.nextToken;
+ }
+
+ public void setNextToken(String nextToken) {
+ this.nextToken = nextToken;
+ }
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ public List getSharedResources() {
+ return this.sharedResources;
+ }
+
+ public void setSharedResources(List sharedResources) {
+ this.sharedResources = sharedResources;
+ }
+
+ public static class SharedResource {
+
+ private String updateTime;
+
+ private String resourceType;
+
+ private String createTime;
+
+ private String resourceShareId;
+
+ private String resourceShareOwner;
+
+ private String resourceId;
+
+ private String resourceStatus;
+
+ private String resourceStatusMessage;
+
+ public String getUpdateTime() {
+ return this.updateTime;
+ }
+
+ public void setUpdateTime(String updateTime) {
+ this.updateTime = updateTime;
+ }
+
+ public String getResourceType() {
+ return this.resourceType;
+ }
+
+ public void setResourceType(String resourceType) {
+ this.resourceType = resourceType;
+ }
+
+ public String getCreateTime() {
+ return this.createTime;
+ }
+
+ public void setCreateTime(String createTime) {
+ this.createTime = createTime;
+ }
+
+ public String getResourceShareId() {
+ return this.resourceShareId;
+ }
+
+ public void setResourceShareId(String resourceShareId) {
+ this.resourceShareId = resourceShareId;
+ }
+
+ public String getResourceShareOwner() {
+ return this.resourceShareOwner;
+ }
+
+ public void setResourceShareOwner(String resourceShareOwner) {
+ this.resourceShareOwner = resourceShareOwner;
+ }
+
+ public String getResourceId() {
+ return this.resourceId;
+ }
+
+ public void setResourceId(String resourceId) {
+ this.resourceId = resourceId;
+ }
+
+ public String getResourceStatus() {
+ return this.resourceStatus;
+ }
+
+ public void setResourceStatus(String resourceStatus) {
+ this.resourceStatus = resourceStatus;
+ }
+
+ public String getResourceStatusMessage() {
+ return this.resourceStatusMessage;
+ }
+
+ public void setResourceStatusMessage(String resourceStatusMessage) {
+ this.resourceStatusMessage = resourceStatusMessage;
+ }
+ }
+
+ @Override
+ public ListSharedResourcesResponse getInstance(UnmarshallerContext context) {
+ return ListSharedResourcesResponseUnmarshaller.unmarshall(this, context);
+ }
+
+ @Override
+ public boolean checkShowJsonItemName() {
+ return false;
+ }
+}
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/ListSharedTargetsRequest.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/ListSharedTargetsRequest.java
new file mode 100644
index 0000000000..91821c497e
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/ListSharedTargetsRequest.java
@@ -0,0 +1,139 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.model.v20200110;
+
+import com.aliyuncs.RpcAcsRequest;
+import java.util.List;
+import com.aliyuncs.http.ProtocolType;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.resourcesharing.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class ListSharedTargetsRequest extends RpcAcsRequest {
+
+
+ private List targetss;
+
+ private String nextToken;
+
+ private List resourceShareIdss;
+
+ private String resourceId;
+
+ private String resourceOwner;
+
+ private String resourceType;
+
+ private Integer maxResults;
+ public ListSharedTargetsRequest() {
+ super("ResourceSharing", "2020-01-10", "ListSharedTargets", "ressharing");
+ setProtocol(ProtocolType.HTTPS);
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public List getTargetss() {
+ return this.targetss;
+ }
+
+ public void setTargetss(List targetss) {
+ this.targetss = targetss;
+ if (targetss != null) {
+ for (int i = 0; i < targetss.size(); i++) {
+ putQueryParameter("Targets." + (i + 1) , targetss.get(i));
+ }
+ }
+ }
+
+ public String getNextToken() {
+ return this.nextToken;
+ }
+
+ public void setNextToken(String nextToken) {
+ this.nextToken = nextToken;
+ if(nextToken != null){
+ putQueryParameter("NextToken", nextToken);
+ }
+ }
+
+ public List getResourceShareIdss() {
+ return this.resourceShareIdss;
+ }
+
+ public void setResourceShareIdss(List resourceShareIdss) {
+ this.resourceShareIdss = resourceShareIdss;
+ if (resourceShareIdss != null) {
+ for (int i = 0; i < resourceShareIdss.size(); i++) {
+ putQueryParameter("ResourceShareIds." + (i + 1) , resourceShareIdss.get(i));
+ }
+ }
+ }
+
+ public String getResourceId() {
+ return this.resourceId;
+ }
+
+ public void setResourceId(String resourceId) {
+ this.resourceId = resourceId;
+ if(resourceId != null){
+ putQueryParameter("ResourceId", resourceId);
+ }
+ }
+
+ public String getResourceOwner() {
+ return this.resourceOwner;
+ }
+
+ public void setResourceOwner(String resourceOwner) {
+ this.resourceOwner = resourceOwner;
+ if(resourceOwner != null){
+ putQueryParameter("ResourceOwner", resourceOwner);
+ }
+ }
+
+ public String getResourceType() {
+ return this.resourceType;
+ }
+
+ public void setResourceType(String resourceType) {
+ this.resourceType = resourceType;
+ if(resourceType != null){
+ putQueryParameter("ResourceType", resourceType);
+ }
+ }
+
+ public Integer getMaxResults() {
+ return this.maxResults;
+ }
+
+ public void setMaxResults(Integer maxResults) {
+ this.maxResults = maxResults;
+ if(maxResults != null){
+ putQueryParameter("MaxResults", maxResults.toString());
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return ListSharedTargetsResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/ListSharedTargetsResponse.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/ListSharedTargetsResponse.java
new file mode 100644
index 0000000000..6b6e58f86d
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/ListSharedTargetsResponse.java
@@ -0,0 +1,130 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.model.v20200110;
+
+import java.util.List;
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.resourcesharing.transform.v20200110.ListSharedTargetsResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class ListSharedTargetsResponse extends AcsResponse {
+
+ private String nextToken;
+
+ private String requestId;
+
+ private List sharedTargets;
+
+ public String getNextToken() {
+ return this.nextToken;
+ }
+
+ public void setNextToken(String nextToken) {
+ this.nextToken = nextToken;
+ }
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ public List getSharedTargets() {
+ return this.sharedTargets;
+ }
+
+ public void setSharedTargets(List sharedTargets) {
+ this.sharedTargets = sharedTargets;
+ }
+
+ public static class SharedTarget {
+
+ private String targetId;
+
+ private String updateTime;
+
+ private String createTime;
+
+ private String resourceShareId;
+
+ private String resourceShareOwner;
+
+ private Boolean external;
+
+ public String getTargetId() {
+ return this.targetId;
+ }
+
+ public void setTargetId(String targetId) {
+ this.targetId = targetId;
+ }
+
+ public String getUpdateTime() {
+ return this.updateTime;
+ }
+
+ public void setUpdateTime(String updateTime) {
+ this.updateTime = updateTime;
+ }
+
+ public String getCreateTime() {
+ return this.createTime;
+ }
+
+ public void setCreateTime(String createTime) {
+ this.createTime = createTime;
+ }
+
+ public String getResourceShareId() {
+ return this.resourceShareId;
+ }
+
+ public void setResourceShareId(String resourceShareId) {
+ this.resourceShareId = resourceShareId;
+ }
+
+ public String getResourceShareOwner() {
+ return this.resourceShareOwner;
+ }
+
+ public void setResourceShareOwner(String resourceShareOwner) {
+ this.resourceShareOwner = resourceShareOwner;
+ }
+
+ public Boolean getExternal() {
+ return this.external;
+ }
+
+ public void setExternal(Boolean external) {
+ this.external = external;
+ }
+ }
+
+ @Override
+ public ListSharedTargetsResponse getInstance(UnmarshallerContext context) {
+ return ListSharedTargetsResponseUnmarshaller.unmarshall(this, context);
+ }
+
+ @Override
+ public boolean checkShowJsonItemName() {
+ return false;
+ }
+}
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/RejectResourceShareInvitationRequest.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/RejectResourceShareInvitationRequest.java
new file mode 100644
index 0000000000..703e41dcdf
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/RejectResourceShareInvitationRequest.java
@@ -0,0 +1,56 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.model.v20200110;
+
+import com.aliyuncs.RpcAcsRequest;
+import com.aliyuncs.http.ProtocolType;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.resourcesharing.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class RejectResourceShareInvitationRequest extends RpcAcsRequest {
+
+
+ private String resourceShareInvitationId;
+ public RejectResourceShareInvitationRequest() {
+ super("ResourceSharing", "2020-01-10", "RejectResourceShareInvitation", "ressharing");
+ setProtocol(ProtocolType.HTTPS);
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public String getResourceShareInvitationId() {
+ return this.resourceShareInvitationId;
+ }
+
+ public void setResourceShareInvitationId(String resourceShareInvitationId) {
+ this.resourceShareInvitationId = resourceShareInvitationId;
+ if(resourceShareInvitationId != null){
+ putQueryParameter("ResourceShareInvitationId", resourceShareInvitationId);
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return RejectResourceShareInvitationResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/RejectResourceShareInvitationResponse.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/RejectResourceShareInvitationResponse.java
new file mode 100644
index 0000000000..90acdcf522
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/RejectResourceShareInvitationResponse.java
@@ -0,0 +1,129 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.model.v20200110;
+
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.resourcesharing.transform.v20200110.RejectResourceShareInvitationResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class RejectResourceShareInvitationResponse extends AcsResponse {
+
+ private String requestId;
+
+ private ResourceShareInvitation resourceShareInvitation;
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ public ResourceShareInvitation getResourceShareInvitation() {
+ return this.resourceShareInvitation;
+ }
+
+ public void setResourceShareInvitation(ResourceShareInvitation resourceShareInvitation) {
+ this.resourceShareInvitation = resourceShareInvitation;
+ }
+
+ public static class ResourceShareInvitation {
+
+ private String resourceShareInvitationId;
+
+ private String resourceShareId;
+
+ private String resourceShareName;
+
+ private String senderAccountId;
+
+ private String receiverAccountId;
+
+ private String createTime;
+
+ private String status;
+
+ public String getResourceShareInvitationId() {
+ return this.resourceShareInvitationId;
+ }
+
+ public void setResourceShareInvitationId(String resourceShareInvitationId) {
+ this.resourceShareInvitationId = resourceShareInvitationId;
+ }
+
+ public String getResourceShareId() {
+ return this.resourceShareId;
+ }
+
+ public void setResourceShareId(String resourceShareId) {
+ this.resourceShareId = resourceShareId;
+ }
+
+ public String getResourceShareName() {
+ return this.resourceShareName;
+ }
+
+ public void setResourceShareName(String resourceShareName) {
+ this.resourceShareName = resourceShareName;
+ }
+
+ public String getSenderAccountId() {
+ return this.senderAccountId;
+ }
+
+ public void setSenderAccountId(String senderAccountId) {
+ this.senderAccountId = senderAccountId;
+ }
+
+ public String getReceiverAccountId() {
+ return this.receiverAccountId;
+ }
+
+ public void setReceiverAccountId(String receiverAccountId) {
+ this.receiverAccountId = receiverAccountId;
+ }
+
+ public String getCreateTime() {
+ return this.createTime;
+ }
+
+ public void setCreateTime(String createTime) {
+ this.createTime = createTime;
+ }
+
+ public String getStatus() {
+ return this.status;
+ }
+
+ public void setStatus(String status) {
+ this.status = status;
+ }
+ }
+
+ @Override
+ public RejectResourceShareInvitationResponse getInstance(UnmarshallerContext context) {
+ return RejectResourceShareInvitationResponseUnmarshaller.unmarshall(this, context);
+ }
+
+ @Override
+ public boolean checkShowJsonItemName() {
+ return false;
+ }
+}
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/UpdateResourceShareRequest.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/UpdateResourceShareRequest.java
new file mode 100644
index 0000000000..75a1840620
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/UpdateResourceShareRequest.java
@@ -0,0 +1,82 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.model.v20200110;
+
+import com.aliyuncs.RpcAcsRequest;
+import com.aliyuncs.http.ProtocolType;
+import com.aliyuncs.http.MethodType;
+import com.aliyuncs.resourcesharing.Endpoint;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class UpdateResourceShareRequest extends RpcAcsRequest {
+
+
+ private String resourceShareName;
+
+ private String resourceShareId;
+
+ private Boolean allowExternalTargets;
+ public UpdateResourceShareRequest() {
+ super("ResourceSharing", "2020-01-10", "UpdateResourceShare", "ressharing");
+ setProtocol(ProtocolType.HTTPS);
+ setMethod(MethodType.POST);
+ try {
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
+ com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
+ } catch (Exception e) {}
+ }
+
+ public String getResourceShareName() {
+ return this.resourceShareName;
+ }
+
+ public void setResourceShareName(String resourceShareName) {
+ this.resourceShareName = resourceShareName;
+ if(resourceShareName != null){
+ putQueryParameter("ResourceShareName", resourceShareName);
+ }
+ }
+
+ public String getResourceShareId() {
+ return this.resourceShareId;
+ }
+
+ public void setResourceShareId(String resourceShareId) {
+ this.resourceShareId = resourceShareId;
+ if(resourceShareId != null){
+ putQueryParameter("ResourceShareId", resourceShareId);
+ }
+ }
+
+ public Boolean getAllowExternalTargets() {
+ return this.allowExternalTargets;
+ }
+
+ public void setAllowExternalTargets(Boolean allowExternalTargets) {
+ this.allowExternalTargets = allowExternalTargets;
+ if(allowExternalTargets != null){
+ putQueryParameter("AllowExternalTargets", allowExternalTargets.toString());
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return UpdateResourceShareResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/UpdateResourceShareResponse.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/UpdateResourceShareResponse.java
new file mode 100644
index 0000000000..60e68669f0
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/model/v20200110/UpdateResourceShareResponse.java
@@ -0,0 +1,129 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.model.v20200110;
+
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.resourcesharing.transform.v20200110.UpdateResourceShareResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class UpdateResourceShareResponse extends AcsResponse {
+
+ private String requestId;
+
+ private ResourceShare resourceShare;
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ public ResourceShare getResourceShare() {
+ return this.resourceShare;
+ }
+
+ public void setResourceShare(ResourceShare resourceShare) {
+ this.resourceShare = resourceShare;
+ }
+
+ public static class ResourceShare {
+
+ private String updateTime;
+
+ private String resourceShareName;
+
+ private String resourceShareOwner;
+
+ private String createTime;
+
+ private String resourceShareId;
+
+ private String resourceShareStatus;
+
+ private Boolean allowExternalTargets;
+
+ public String getUpdateTime() {
+ return this.updateTime;
+ }
+
+ public void setUpdateTime(String updateTime) {
+ this.updateTime = updateTime;
+ }
+
+ public String getResourceShareName() {
+ return this.resourceShareName;
+ }
+
+ public void setResourceShareName(String resourceShareName) {
+ this.resourceShareName = resourceShareName;
+ }
+
+ public String getResourceShareOwner() {
+ return this.resourceShareOwner;
+ }
+
+ public void setResourceShareOwner(String resourceShareOwner) {
+ this.resourceShareOwner = resourceShareOwner;
+ }
+
+ public String getCreateTime() {
+ return this.createTime;
+ }
+
+ public void setCreateTime(String createTime) {
+ this.createTime = createTime;
+ }
+
+ public String getResourceShareId() {
+ return this.resourceShareId;
+ }
+
+ public void setResourceShareId(String resourceShareId) {
+ this.resourceShareId = resourceShareId;
+ }
+
+ public String getResourceShareStatus() {
+ return this.resourceShareStatus;
+ }
+
+ public void setResourceShareStatus(String resourceShareStatus) {
+ this.resourceShareStatus = resourceShareStatus;
+ }
+
+ public Boolean getAllowExternalTargets() {
+ return this.allowExternalTargets;
+ }
+
+ public void setAllowExternalTargets(Boolean allowExternalTargets) {
+ this.allowExternalTargets = allowExternalTargets;
+ }
+ }
+
+ @Override
+ public UpdateResourceShareResponse getInstance(UnmarshallerContext context) {
+ return UpdateResourceShareResponseUnmarshaller.unmarshall(this, context);
+ }
+
+ @Override
+ public boolean checkShowJsonItemName() {
+ return false;
+ }
+}
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/AcceptResourceShareInvitationResponseUnmarshaller.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/AcceptResourceShareInvitationResponseUnmarshaller.java
new file mode 100644
index 0000000000..51de3fe8f9
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/AcceptResourceShareInvitationResponseUnmarshaller.java
@@ -0,0 +1,40 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.transform.v20200110;
+
+import com.aliyuncs.resourcesharing.model.v20200110.AcceptResourceShareInvitationResponse;
+import com.aliyuncs.resourcesharing.model.v20200110.AcceptResourceShareInvitationResponse.ResourceShareInvitation;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+
+public class AcceptResourceShareInvitationResponseUnmarshaller {
+
+ public static AcceptResourceShareInvitationResponse unmarshall(AcceptResourceShareInvitationResponse acceptResourceShareInvitationResponse, UnmarshallerContext _ctx) {
+
+ acceptResourceShareInvitationResponse.setRequestId(_ctx.stringValue("AcceptResourceShareInvitationResponse.RequestId"));
+
+ ResourceShareInvitation resourceShareInvitation = new ResourceShareInvitation();
+ resourceShareInvitation.setResourceShareInvitationId(_ctx.stringValue("AcceptResourceShareInvitationResponse.ResourceShareInvitation.ResourceShareInvitationId"));
+ resourceShareInvitation.setResourceShareId(_ctx.stringValue("AcceptResourceShareInvitationResponse.ResourceShareInvitation.ResourceShareId"));
+ resourceShareInvitation.setResourceShareName(_ctx.stringValue("AcceptResourceShareInvitationResponse.ResourceShareInvitation.ResourceShareName"));
+ resourceShareInvitation.setSenderAccountId(_ctx.stringValue("AcceptResourceShareInvitationResponse.ResourceShareInvitation.SenderAccountId"));
+ resourceShareInvitation.setReceiverAccountId(_ctx.stringValue("AcceptResourceShareInvitationResponse.ResourceShareInvitation.ReceiverAccountId"));
+ resourceShareInvitation.setCreateTime(_ctx.stringValue("AcceptResourceShareInvitationResponse.ResourceShareInvitation.CreateTime"));
+ resourceShareInvitation.setStatus(_ctx.stringValue("AcceptResourceShareInvitationResponse.ResourceShareInvitation.Status"));
+ acceptResourceShareInvitationResponse.setResourceShareInvitation(resourceShareInvitation);
+
+ return acceptResourceShareInvitationResponse;
+ }
+}
\ No newline at end of file
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/AssociateResourceSharePermissionResponseUnmarshaller.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/AssociateResourceSharePermissionResponseUnmarshaller.java
new file mode 100644
index 0000000000..66be8b0ad7
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/AssociateResourceSharePermissionResponseUnmarshaller.java
@@ -0,0 +1,29 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.transform.v20200110;
+
+import com.aliyuncs.resourcesharing.model.v20200110.AssociateResourceSharePermissionResponse;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+
+public class AssociateResourceSharePermissionResponseUnmarshaller {
+
+ public static AssociateResourceSharePermissionResponse unmarshall(AssociateResourceSharePermissionResponse associateResourceSharePermissionResponse, UnmarshallerContext _ctx) {
+
+ associateResourceSharePermissionResponse.setRequestId(_ctx.stringValue("AssociateResourceSharePermissionResponse.RequestId"));
+
+ return associateResourceSharePermissionResponse;
+ }
+}
\ No newline at end of file
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/AssociateResourceShareResponseUnmarshaller.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/AssociateResourceShareResponseUnmarshaller.java
new file mode 100644
index 0000000000..1ad8c085b8
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/AssociateResourceShareResponseUnmarshaller.java
@@ -0,0 +1,50 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.transform.v20200110;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import com.aliyuncs.resourcesharing.model.v20200110.AssociateResourceShareResponse;
+import com.aliyuncs.resourcesharing.model.v20200110.AssociateResourceShareResponse.ResourceShareAssociation;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+
+public class AssociateResourceShareResponseUnmarshaller {
+
+ public static AssociateResourceShareResponse unmarshall(AssociateResourceShareResponse associateResourceShareResponse, UnmarshallerContext _ctx) {
+
+ associateResourceShareResponse.setRequestId(_ctx.stringValue("AssociateResourceShareResponse.RequestId"));
+
+ List resourceShareAssociations = new ArrayList();
+ for (int i = 0; i < _ctx.lengthValue("AssociateResourceShareResponse.ResourceShareAssociations.Length"); i++) {
+ ResourceShareAssociation resourceShareAssociation = new ResourceShareAssociation();
+ resourceShareAssociation.setUpdateTime(_ctx.stringValue("AssociateResourceShareResponse.ResourceShareAssociations["+ i +"].UpdateTime"));
+ resourceShareAssociation.setEntityId(_ctx.stringValue("AssociateResourceShareResponse.ResourceShareAssociations["+ i +"].EntityId"));
+ resourceShareAssociation.setResourceShareName(_ctx.stringValue("AssociateResourceShareResponse.ResourceShareAssociations["+ i +"].ResourceShareName"));
+ resourceShareAssociation.setCreateTime(_ctx.stringValue("AssociateResourceShareResponse.ResourceShareAssociations["+ i +"].CreateTime"));
+ resourceShareAssociation.setEntityType(_ctx.stringValue("AssociateResourceShareResponse.ResourceShareAssociations["+ i +"].EntityType"));
+ resourceShareAssociation.setResourceShareId(_ctx.stringValue("AssociateResourceShareResponse.ResourceShareAssociations["+ i +"].ResourceShareId"));
+ resourceShareAssociation.setAssociationStatusMessage(_ctx.stringValue("AssociateResourceShareResponse.ResourceShareAssociations["+ i +"].AssociationStatusMessage"));
+ resourceShareAssociation.setAssociationType(_ctx.stringValue("AssociateResourceShareResponse.ResourceShareAssociations["+ i +"].AssociationType"));
+ resourceShareAssociation.setAssociationStatus(_ctx.stringValue("AssociateResourceShareResponse.ResourceShareAssociations["+ i +"].AssociationStatus"));
+
+ resourceShareAssociations.add(resourceShareAssociation);
+ }
+ associateResourceShareResponse.setResourceShareAssociations(resourceShareAssociations);
+
+ return associateResourceShareResponse;
+ }
+}
\ No newline at end of file
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/ChangeResourceGroupResponseUnmarshaller.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/ChangeResourceGroupResponseUnmarshaller.java
new file mode 100644
index 0000000000..81a1392366
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/ChangeResourceGroupResponseUnmarshaller.java
@@ -0,0 +1,29 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.transform.v20200110;
+
+import com.aliyuncs.resourcesharing.model.v20200110.ChangeResourceGroupResponse;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+
+public class ChangeResourceGroupResponseUnmarshaller {
+
+ public static ChangeResourceGroupResponse unmarshall(ChangeResourceGroupResponse changeResourceGroupResponse, UnmarshallerContext _ctx) {
+
+ changeResourceGroupResponse.setRequestId(_ctx.stringValue("ChangeResourceGroupResponse.RequestId"));
+
+ return changeResourceGroupResponse;
+ }
+}
\ No newline at end of file
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/CheckSharingWithResourceDirectoryStatusResponseUnmarshaller.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/CheckSharingWithResourceDirectoryStatusResponseUnmarshaller.java
new file mode 100644
index 0000000000..52672fa950
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/CheckSharingWithResourceDirectoryStatusResponseUnmarshaller.java
@@ -0,0 +1,30 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.transform.v20200110;
+
+import com.aliyuncs.resourcesharing.model.v20200110.CheckSharingWithResourceDirectoryStatusResponse;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+
+public class CheckSharingWithResourceDirectoryStatusResponseUnmarshaller {
+
+ public static CheckSharingWithResourceDirectoryStatusResponse unmarshall(CheckSharingWithResourceDirectoryStatusResponse checkSharingWithResourceDirectoryStatusResponse, UnmarshallerContext _ctx) {
+
+ checkSharingWithResourceDirectoryStatusResponse.setRequestId(_ctx.stringValue("CheckSharingWithResourceDirectoryStatusResponse.RequestId"));
+ checkSharingWithResourceDirectoryStatusResponse.setEnableSharingWithRd(_ctx.booleanValue("CheckSharingWithResourceDirectoryStatusResponse.EnableSharingWithRd"));
+
+ return checkSharingWithResourceDirectoryStatusResponse;
+ }
+}
\ No newline at end of file
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/CreateResourceShareResponseUnmarshaller.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/CreateResourceShareResponseUnmarshaller.java
new file mode 100644
index 0000000000..17a9e34c40
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/CreateResourceShareResponseUnmarshaller.java
@@ -0,0 +1,40 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.transform.v20200110;
+
+import com.aliyuncs.resourcesharing.model.v20200110.CreateResourceShareResponse;
+import com.aliyuncs.resourcesharing.model.v20200110.CreateResourceShareResponse.ResourceShare;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+
+public class CreateResourceShareResponseUnmarshaller {
+
+ public static CreateResourceShareResponse unmarshall(CreateResourceShareResponse createResourceShareResponse, UnmarshallerContext _ctx) {
+
+ createResourceShareResponse.setRequestId(_ctx.stringValue("CreateResourceShareResponse.RequestId"));
+
+ ResourceShare resourceShare = new ResourceShare();
+ resourceShare.setUpdateTime(_ctx.stringValue("CreateResourceShareResponse.ResourceShare.UpdateTime"));
+ resourceShare.setResourceShareName(_ctx.stringValue("CreateResourceShareResponse.ResourceShare.ResourceShareName"));
+ resourceShare.setResourceShareOwner(_ctx.stringValue("CreateResourceShareResponse.ResourceShare.ResourceShareOwner"));
+ resourceShare.setCreateTime(_ctx.stringValue("CreateResourceShareResponse.ResourceShare.CreateTime"));
+ resourceShare.setResourceShareId(_ctx.stringValue("CreateResourceShareResponse.ResourceShare.ResourceShareId"));
+ resourceShare.setResourceShareStatus(_ctx.stringValue("CreateResourceShareResponse.ResourceShare.ResourceShareStatus"));
+ resourceShare.setAllowExternalTargets(_ctx.booleanValue("CreateResourceShareResponse.ResourceShare.AllowExternalTargets"));
+ createResourceShareResponse.setResourceShare(resourceShare);
+
+ return createResourceShareResponse;
+ }
+}
\ No newline at end of file
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/DeleteResourceShareResponseUnmarshaller.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/DeleteResourceShareResponseUnmarshaller.java
new file mode 100644
index 0000000000..09bc557acf
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/DeleteResourceShareResponseUnmarshaller.java
@@ -0,0 +1,29 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.transform.v20200110;
+
+import com.aliyuncs.resourcesharing.model.v20200110.DeleteResourceShareResponse;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+
+public class DeleteResourceShareResponseUnmarshaller {
+
+ public static DeleteResourceShareResponse unmarshall(DeleteResourceShareResponse deleteResourceShareResponse, UnmarshallerContext _ctx) {
+
+ deleteResourceShareResponse.setRequestId(_ctx.stringValue("DeleteResourceShareResponse.RequestId"));
+
+ return deleteResourceShareResponse;
+ }
+}
\ No newline at end of file
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/DescribeRegionsResponseUnmarshaller.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/DescribeRegionsResponseUnmarshaller.java
new file mode 100644
index 0000000000..97c36e49aa
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/DescribeRegionsResponseUnmarshaller.java
@@ -0,0 +1,44 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.transform.v20200110;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import com.aliyuncs.resourcesharing.model.v20200110.DescribeRegionsResponse;
+import com.aliyuncs.resourcesharing.model.v20200110.DescribeRegionsResponse.Region;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+
+public class DescribeRegionsResponseUnmarshaller {
+
+ public static DescribeRegionsResponse unmarshall(DescribeRegionsResponse describeRegionsResponse, UnmarshallerContext _ctx) {
+
+ describeRegionsResponse.setRequestId(_ctx.stringValue("DescribeRegionsResponse.RequestId"));
+
+ List regions = new ArrayList();
+ for (int i = 0; i < _ctx.lengthValue("DescribeRegionsResponse.Regions.Length"); i++) {
+ Region region = new Region();
+ region.setRegionEndpoint(_ctx.stringValue("DescribeRegionsResponse.Regions["+ i +"].RegionEndpoint"));
+ region.setLocalName(_ctx.stringValue("DescribeRegionsResponse.Regions["+ i +"].LocalName"));
+ region.setRegionId(_ctx.stringValue("DescribeRegionsResponse.Regions["+ i +"].RegionId"));
+
+ regions.add(region);
+ }
+ describeRegionsResponse.setRegions(regions);
+
+ return describeRegionsResponse;
+ }
+}
\ No newline at end of file
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/DisassociateResourceSharePermissionResponseUnmarshaller.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/DisassociateResourceSharePermissionResponseUnmarshaller.java
new file mode 100644
index 0000000000..342ef21c01
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/DisassociateResourceSharePermissionResponseUnmarshaller.java
@@ -0,0 +1,29 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.transform.v20200110;
+
+import com.aliyuncs.resourcesharing.model.v20200110.DisassociateResourceSharePermissionResponse;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+
+public class DisassociateResourceSharePermissionResponseUnmarshaller {
+
+ public static DisassociateResourceSharePermissionResponse unmarshall(DisassociateResourceSharePermissionResponse disassociateResourceSharePermissionResponse, UnmarshallerContext _ctx) {
+
+ disassociateResourceSharePermissionResponse.setRequestId(_ctx.stringValue("DisassociateResourceSharePermissionResponse.RequestId"));
+
+ return disassociateResourceSharePermissionResponse;
+ }
+}
\ No newline at end of file
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/DisassociateResourceShareResponseUnmarshaller.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/DisassociateResourceShareResponseUnmarshaller.java
new file mode 100644
index 0000000000..b3e39052c6
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/DisassociateResourceShareResponseUnmarshaller.java
@@ -0,0 +1,50 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.transform.v20200110;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import com.aliyuncs.resourcesharing.model.v20200110.DisassociateResourceShareResponse;
+import com.aliyuncs.resourcesharing.model.v20200110.DisassociateResourceShareResponse.ResourceShareAssociation;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+
+public class DisassociateResourceShareResponseUnmarshaller {
+
+ public static DisassociateResourceShareResponse unmarshall(DisassociateResourceShareResponse disassociateResourceShareResponse, UnmarshallerContext _ctx) {
+
+ disassociateResourceShareResponse.setRequestId(_ctx.stringValue("DisassociateResourceShareResponse.RequestId"));
+
+ List resourceShareAssociations = new ArrayList();
+ for (int i = 0; i < _ctx.lengthValue("DisassociateResourceShareResponse.ResourceShareAssociations.Length"); i++) {
+ ResourceShareAssociation resourceShareAssociation = new ResourceShareAssociation();
+ resourceShareAssociation.setUpdateTime(_ctx.stringValue("DisassociateResourceShareResponse.ResourceShareAssociations["+ i +"].UpdateTime"));
+ resourceShareAssociation.setEntityId(_ctx.stringValue("DisassociateResourceShareResponse.ResourceShareAssociations["+ i +"].EntityId"));
+ resourceShareAssociation.setResourceShareName(_ctx.stringValue("DisassociateResourceShareResponse.ResourceShareAssociations["+ i +"].ResourceShareName"));
+ resourceShareAssociation.setCreateTime(_ctx.stringValue("DisassociateResourceShareResponse.ResourceShareAssociations["+ i +"].CreateTime"));
+ resourceShareAssociation.setEntityType(_ctx.stringValue("DisassociateResourceShareResponse.ResourceShareAssociations["+ i +"].EntityType"));
+ resourceShareAssociation.setResourceShareId(_ctx.stringValue("DisassociateResourceShareResponse.ResourceShareAssociations["+ i +"].ResourceShareId"));
+ resourceShareAssociation.setAssociationStatusMessage(_ctx.stringValue("DisassociateResourceShareResponse.ResourceShareAssociations["+ i +"].AssociationStatusMessage"));
+ resourceShareAssociation.setAssociationType(_ctx.stringValue("DisassociateResourceShareResponse.ResourceShareAssociations["+ i +"].AssociationType"));
+ resourceShareAssociation.setAssociationStatus(_ctx.stringValue("DisassociateResourceShareResponse.ResourceShareAssociations["+ i +"].AssociationStatus"));
+
+ resourceShareAssociations.add(resourceShareAssociation);
+ }
+ disassociateResourceShareResponse.setResourceShareAssociations(resourceShareAssociations);
+
+ return disassociateResourceShareResponse;
+ }
+}
\ No newline at end of file
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/EnableSharingWithResourceDirectoryResponseUnmarshaller.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/EnableSharingWithResourceDirectoryResponseUnmarshaller.java
new file mode 100644
index 0000000000..af2d673a10
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/EnableSharingWithResourceDirectoryResponseUnmarshaller.java
@@ -0,0 +1,29 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.transform.v20200110;
+
+import com.aliyuncs.resourcesharing.model.v20200110.EnableSharingWithResourceDirectoryResponse;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+
+public class EnableSharingWithResourceDirectoryResponseUnmarshaller {
+
+ public static EnableSharingWithResourceDirectoryResponse unmarshall(EnableSharingWithResourceDirectoryResponse enableSharingWithResourceDirectoryResponse, UnmarshallerContext _ctx) {
+
+ enableSharingWithResourceDirectoryResponse.setRequestId(_ctx.stringValue("EnableSharingWithResourceDirectoryResponse.RequestId"));
+
+ return enableSharingWithResourceDirectoryResponse;
+ }
+}
\ No newline at end of file
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/GetPermissionResponseUnmarshaller.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/GetPermissionResponseUnmarshaller.java
new file mode 100644
index 0000000000..d0a4076513
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/GetPermissionResponseUnmarshaller.java
@@ -0,0 +1,41 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.transform.v20200110;
+
+import com.aliyuncs.resourcesharing.model.v20200110.GetPermissionResponse;
+import com.aliyuncs.resourcesharing.model.v20200110.GetPermissionResponse.Permission;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+
+public class GetPermissionResponseUnmarshaller {
+
+ public static GetPermissionResponse unmarshall(GetPermissionResponse getPermissionResponse, UnmarshallerContext _ctx) {
+
+ getPermissionResponse.setRequestId(_ctx.stringValue("GetPermissionResponse.RequestId"));
+
+ Permission permission = new Permission();
+ permission.setPermissionName(_ctx.stringValue("GetPermissionResponse.Permission.PermissionName"));
+ permission.setPermissionVersion(_ctx.stringValue("GetPermissionResponse.Permission.PermissionVersion"));
+ permission.setPermission(_ctx.stringValue("GetPermissionResponse.Permission.Permission"));
+ permission.setResourceType(_ctx.stringValue("GetPermissionResponse.Permission.ResourceType"));
+ permission.setDefaultVersion(_ctx.booleanValue("GetPermissionResponse.Permission.DefaultVersion"));
+ permission.setCreateTime(_ctx.stringValue("GetPermissionResponse.Permission.CreateTime"));
+ permission.setUpdateTime(_ctx.stringValue("GetPermissionResponse.Permission.UpdateTime"));
+ permission.setDefaultPermission(_ctx.booleanValue("GetPermissionResponse.Permission.DefaultPermission"));
+ getPermissionResponse.setPermission(permission);
+
+ return getPermissionResponse;
+ }
+}
\ No newline at end of file
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/ListPermissionVersionsResponseUnmarshaller.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/ListPermissionVersionsResponseUnmarshaller.java
new file mode 100644
index 0000000000..bdfbf82b78
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/ListPermissionVersionsResponseUnmarshaller.java
@@ -0,0 +1,49 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.transform.v20200110;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import com.aliyuncs.resourcesharing.model.v20200110.ListPermissionVersionsResponse;
+import com.aliyuncs.resourcesharing.model.v20200110.ListPermissionVersionsResponse.Permission;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+
+public class ListPermissionVersionsResponseUnmarshaller {
+
+ public static ListPermissionVersionsResponse unmarshall(ListPermissionVersionsResponse listPermissionVersionsResponse, UnmarshallerContext _ctx) {
+
+ listPermissionVersionsResponse.setRequestId(_ctx.stringValue("ListPermissionVersionsResponse.RequestId"));
+ listPermissionVersionsResponse.setNextToken(_ctx.stringValue("ListPermissionVersionsResponse.NextToken"));
+
+ List permissions = new ArrayList();
+ for (int i = 0; i < _ctx.lengthValue("ListPermissionVersionsResponse.Permissions.Length"); i++) {
+ Permission permission = new Permission();
+ permission.setPermissionName(_ctx.stringValue("ListPermissionVersionsResponse.Permissions["+ i +"].PermissionName"));
+ permission.setPermissionVersion(_ctx.stringValue("ListPermissionVersionsResponse.Permissions["+ i +"].PermissionVersion"));
+ permission.setDefaultVersion(_ctx.booleanValue("ListPermissionVersionsResponse.Permissions["+ i +"].DefaultVersion"));
+ permission.setCreateTime(_ctx.stringValue("ListPermissionVersionsResponse.Permissions["+ i +"].CreateTime"));
+ permission.setUpdateTime(_ctx.stringValue("ListPermissionVersionsResponse.Permissions["+ i +"].UpdateTime"));
+ permission.setResourceType(_ctx.stringValue("ListPermissionVersionsResponse.Permissions["+ i +"].ResourceType"));
+ permission.setDefaultPermission(_ctx.booleanValue("ListPermissionVersionsResponse.Permissions["+ i +"].DefaultPermission"));
+
+ permissions.add(permission);
+ }
+ listPermissionVersionsResponse.setPermissions(permissions);
+
+ return listPermissionVersionsResponse;
+ }
+}
\ No newline at end of file
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/ListPermissionsResponseUnmarshaller.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/ListPermissionsResponseUnmarshaller.java
new file mode 100644
index 0000000000..715d041a8f
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/ListPermissionsResponseUnmarshaller.java
@@ -0,0 +1,49 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.transform.v20200110;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import com.aliyuncs.resourcesharing.model.v20200110.ListPermissionsResponse;
+import com.aliyuncs.resourcesharing.model.v20200110.ListPermissionsResponse.Permission;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+
+public class ListPermissionsResponseUnmarshaller {
+
+ public static ListPermissionsResponse unmarshall(ListPermissionsResponse listPermissionsResponse, UnmarshallerContext _ctx) {
+
+ listPermissionsResponse.setRequestId(_ctx.stringValue("ListPermissionsResponse.RequestId"));
+ listPermissionsResponse.setNextToken(_ctx.stringValue("ListPermissionsResponse.NextToken"));
+
+ List permissions = new ArrayList();
+ for (int i = 0; i < _ctx.lengthValue("ListPermissionsResponse.Permissions.Length"); i++) {
+ Permission permission = new Permission();
+ permission.setPermissionName(_ctx.stringValue("ListPermissionsResponse.Permissions["+ i +"].PermissionName"));
+ permission.setPermissionVersion(_ctx.stringValue("ListPermissionsResponse.Permissions["+ i +"].PermissionVersion"));
+ permission.setDefaultVersion(_ctx.booleanValue("ListPermissionsResponse.Permissions["+ i +"].DefaultVersion"));
+ permission.setCreateTime(_ctx.stringValue("ListPermissionsResponse.Permissions["+ i +"].CreateTime"));
+ permission.setUpdateTime(_ctx.stringValue("ListPermissionsResponse.Permissions["+ i +"].UpdateTime"));
+ permission.setResourceType(_ctx.stringValue("ListPermissionsResponse.Permissions["+ i +"].ResourceType"));
+ permission.setDefaultPermission(_ctx.booleanValue("ListPermissionsResponse.Permissions["+ i +"].DefaultPermission"));
+
+ permissions.add(permission);
+ }
+ listPermissionsResponse.setPermissions(permissions);
+
+ return listPermissionsResponse;
+ }
+}
\ No newline at end of file
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/ListResourceShareAssociationsResponseUnmarshaller.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/ListResourceShareAssociationsResponseUnmarshaller.java
new file mode 100644
index 0000000000..e909544839
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/ListResourceShareAssociationsResponseUnmarshaller.java
@@ -0,0 +1,52 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.transform.v20200110;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import com.aliyuncs.resourcesharing.model.v20200110.ListResourceShareAssociationsResponse;
+import com.aliyuncs.resourcesharing.model.v20200110.ListResourceShareAssociationsResponse.ResourceShareAssociation;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+
+public class ListResourceShareAssociationsResponseUnmarshaller {
+
+ public static ListResourceShareAssociationsResponse unmarshall(ListResourceShareAssociationsResponse listResourceShareAssociationsResponse, UnmarshallerContext _ctx) {
+
+ listResourceShareAssociationsResponse.setRequestId(_ctx.stringValue("ListResourceShareAssociationsResponse.RequestId"));
+ listResourceShareAssociationsResponse.setNextToken(_ctx.stringValue("ListResourceShareAssociationsResponse.NextToken"));
+
+ List resourceShareAssociations = new ArrayList();
+ for (int i = 0; i < _ctx.lengthValue("ListResourceShareAssociationsResponse.ResourceShareAssociations.Length"); i++) {
+ ResourceShareAssociation resourceShareAssociation = new ResourceShareAssociation();
+ resourceShareAssociation.setUpdateTime(_ctx.stringValue("ListResourceShareAssociationsResponse.ResourceShareAssociations["+ i +"].UpdateTime"));
+ resourceShareAssociation.setEntityId(_ctx.stringValue("ListResourceShareAssociationsResponse.ResourceShareAssociations["+ i +"].EntityId"));
+ resourceShareAssociation.setResourceShareName(_ctx.stringValue("ListResourceShareAssociationsResponse.ResourceShareAssociations["+ i +"].ResourceShareName"));
+ resourceShareAssociation.setCreateTime(_ctx.stringValue("ListResourceShareAssociationsResponse.ResourceShareAssociations["+ i +"].CreateTime"));
+ resourceShareAssociation.setEntityType(_ctx.stringValue("ListResourceShareAssociationsResponse.ResourceShareAssociations["+ i +"].EntityType"));
+ resourceShareAssociation.setResourceShareId(_ctx.stringValue("ListResourceShareAssociationsResponse.ResourceShareAssociations["+ i +"].ResourceShareId"));
+ resourceShareAssociation.setAssociationStatusMessage(_ctx.stringValue("ListResourceShareAssociationsResponse.ResourceShareAssociations["+ i +"].AssociationStatusMessage"));
+ resourceShareAssociation.setAssociationType(_ctx.stringValue("ListResourceShareAssociationsResponse.ResourceShareAssociations["+ i +"].AssociationType"));
+ resourceShareAssociation.setAssociationStatus(_ctx.stringValue("ListResourceShareAssociationsResponse.ResourceShareAssociations["+ i +"].AssociationStatus"));
+ resourceShareAssociation.setExternal(_ctx.booleanValue("ListResourceShareAssociationsResponse.ResourceShareAssociations["+ i +"].External"));
+
+ resourceShareAssociations.add(resourceShareAssociation);
+ }
+ listResourceShareAssociationsResponse.setResourceShareAssociations(resourceShareAssociations);
+
+ return listResourceShareAssociationsResponse;
+ }
+}
\ No newline at end of file
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/ListResourceShareInvitationsResponseUnmarshaller.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/ListResourceShareInvitationsResponseUnmarshaller.java
new file mode 100644
index 0000000000..d00c8678b7
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/ListResourceShareInvitationsResponseUnmarshaller.java
@@ -0,0 +1,49 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.transform.v20200110;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import com.aliyuncs.resourcesharing.model.v20200110.ListResourceShareInvitationsResponse;
+import com.aliyuncs.resourcesharing.model.v20200110.ListResourceShareInvitationsResponse.ResourceShareInvitation;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+
+public class ListResourceShareInvitationsResponseUnmarshaller {
+
+ public static ListResourceShareInvitationsResponse unmarshall(ListResourceShareInvitationsResponse listResourceShareInvitationsResponse, UnmarshallerContext _ctx) {
+
+ listResourceShareInvitationsResponse.setRequestId(_ctx.stringValue("ListResourceShareInvitationsResponse.RequestId"));
+ listResourceShareInvitationsResponse.setNextToken(_ctx.stringValue("ListResourceShareInvitationsResponse.NextToken"));
+
+ List resourceShareInvitations = new ArrayList();
+ for (int i = 0; i < _ctx.lengthValue("ListResourceShareInvitationsResponse.ResourceShareInvitations.Length"); i++) {
+ ResourceShareInvitation resourceShareInvitation = new ResourceShareInvitation();
+ resourceShareInvitation.setStatus(_ctx.stringValue("ListResourceShareInvitationsResponse.ResourceShareInvitations["+ i +"].Status"));
+ resourceShareInvitation.setCreateTime(_ctx.stringValue("ListResourceShareInvitationsResponse.ResourceShareInvitations["+ i +"].CreateTime"));
+ resourceShareInvitation.setResourceShareId(_ctx.stringValue("ListResourceShareInvitationsResponse.ResourceShareInvitations["+ i +"].ResourceShareId"));
+ resourceShareInvitation.setResourceShareName(_ctx.stringValue("ListResourceShareInvitationsResponse.ResourceShareInvitations["+ i +"].ResourceShareName"));
+ resourceShareInvitation.setSenderAccountId(_ctx.stringValue("ListResourceShareInvitationsResponse.ResourceShareInvitations["+ i +"].SenderAccountId"));
+ resourceShareInvitation.setReceiverAccountId(_ctx.stringValue("ListResourceShareInvitationsResponse.ResourceShareInvitations["+ i +"].ReceiverAccountId"));
+ resourceShareInvitation.setResourceShareInvitationId(_ctx.stringValue("ListResourceShareInvitationsResponse.ResourceShareInvitations["+ i +"].ResourceShareInvitationId"));
+
+ resourceShareInvitations.add(resourceShareInvitation);
+ }
+ listResourceShareInvitationsResponse.setResourceShareInvitations(resourceShareInvitations);
+
+ return listResourceShareInvitationsResponse;
+ }
+}
\ No newline at end of file
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/ListResourceSharePermissionsResponseUnmarshaller.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/ListResourceSharePermissionsResponseUnmarshaller.java
new file mode 100644
index 0000000000..3e921506b2
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/ListResourceSharePermissionsResponseUnmarshaller.java
@@ -0,0 +1,49 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.transform.v20200110;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import com.aliyuncs.resourcesharing.model.v20200110.ListResourceSharePermissionsResponse;
+import com.aliyuncs.resourcesharing.model.v20200110.ListResourceSharePermissionsResponse.Permission;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+
+public class ListResourceSharePermissionsResponseUnmarshaller {
+
+ public static ListResourceSharePermissionsResponse unmarshall(ListResourceSharePermissionsResponse listResourceSharePermissionsResponse, UnmarshallerContext _ctx) {
+
+ listResourceSharePermissionsResponse.setRequestId(_ctx.stringValue("ListResourceSharePermissionsResponse.RequestId"));
+ listResourceSharePermissionsResponse.setNextToken(_ctx.stringValue("ListResourceSharePermissionsResponse.NextToken"));
+
+ List permissions = new ArrayList();
+ for (int i = 0; i < _ctx.lengthValue("ListResourceSharePermissionsResponse.Permissions.Length"); i++) {
+ Permission permission = new Permission();
+ permission.setPermissionName(_ctx.stringValue("ListResourceSharePermissionsResponse.Permissions["+ i +"].PermissionName"));
+ permission.setPermissionVersion(_ctx.stringValue("ListResourceSharePermissionsResponse.Permissions["+ i +"].PermissionVersion"));
+ permission.setDefaultVersion(_ctx.booleanValue("ListResourceSharePermissionsResponse.Permissions["+ i +"].DefaultVersion"));
+ permission.setCreateTime(_ctx.stringValue("ListResourceSharePermissionsResponse.Permissions["+ i +"].CreateTime"));
+ permission.setUpdateTime(_ctx.stringValue("ListResourceSharePermissionsResponse.Permissions["+ i +"].UpdateTime"));
+ permission.setResourceType(_ctx.stringValue("ListResourceSharePermissionsResponse.Permissions["+ i +"].ResourceType"));
+ permission.setDefaultPermission(_ctx.booleanValue("ListResourceSharePermissionsResponse.Permissions["+ i +"].DefaultPermission"));
+
+ permissions.add(permission);
+ }
+ listResourceSharePermissionsResponse.setPermissions(permissions);
+
+ return listResourceSharePermissionsResponse;
+ }
+}
\ No newline at end of file
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/ListResourceSharesResponseUnmarshaller.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/ListResourceSharesResponseUnmarshaller.java
new file mode 100644
index 0000000000..d6b29f35b8
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/ListResourceSharesResponseUnmarshaller.java
@@ -0,0 +1,50 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.transform.v20200110;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import com.aliyuncs.resourcesharing.model.v20200110.ListResourceSharesResponse;
+import com.aliyuncs.resourcesharing.model.v20200110.ListResourceSharesResponse.ResourceShare;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+
+public class ListResourceSharesResponseUnmarshaller {
+
+ public static ListResourceSharesResponse unmarshall(ListResourceSharesResponse listResourceSharesResponse, UnmarshallerContext _ctx) {
+
+ listResourceSharesResponse.setRequestId(_ctx.stringValue("ListResourceSharesResponse.RequestId"));
+ listResourceSharesResponse.setNextToken(_ctx.stringValue("ListResourceSharesResponse.NextToken"));
+
+ List resourceShares = new ArrayList();
+ for (int i = 0; i < _ctx.lengthValue("ListResourceSharesResponse.ResourceShares.Length"); i++) {
+ ResourceShare resourceShare = new ResourceShare();
+ resourceShare.setUpdateTime(_ctx.stringValue("ListResourceSharesResponse.ResourceShares["+ i +"].UpdateTime"));
+ resourceShare.setResourceShareName(_ctx.stringValue("ListResourceSharesResponse.ResourceShares["+ i +"].ResourceShareName"));
+ resourceShare.setResourceShareOwner(_ctx.stringValue("ListResourceSharesResponse.ResourceShares["+ i +"].ResourceShareOwner"));
+ resourceShare.setCreateTime(_ctx.stringValue("ListResourceSharesResponse.ResourceShares["+ i +"].CreateTime"));
+ resourceShare.setResourceShareId(_ctx.stringValue("ListResourceSharesResponse.ResourceShares["+ i +"].ResourceShareId"));
+ resourceShare.setResourceShareStatus(_ctx.stringValue("ListResourceSharesResponse.ResourceShares["+ i +"].ResourceShareStatus"));
+ resourceShare.setAllowExternalTargets(_ctx.booleanValue("ListResourceSharesResponse.ResourceShares["+ i +"].AllowExternalTargets"));
+ resourceShare.setResourceGroupId(_ctx.stringValue("ListResourceSharesResponse.ResourceShares["+ i +"].ResourceGroupId"));
+
+ resourceShares.add(resourceShare);
+ }
+ listResourceSharesResponse.setResourceShares(resourceShares);
+
+ return listResourceSharesResponse;
+ }
+}
\ No newline at end of file
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/ListSharedResourcesResponseUnmarshaller.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/ListSharedResourcesResponseUnmarshaller.java
new file mode 100644
index 0000000000..9466765d47
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/ListSharedResourcesResponseUnmarshaller.java
@@ -0,0 +1,50 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.transform.v20200110;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import com.aliyuncs.resourcesharing.model.v20200110.ListSharedResourcesResponse;
+import com.aliyuncs.resourcesharing.model.v20200110.ListSharedResourcesResponse.SharedResource;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+
+public class ListSharedResourcesResponseUnmarshaller {
+
+ public static ListSharedResourcesResponse unmarshall(ListSharedResourcesResponse listSharedResourcesResponse, UnmarshallerContext _ctx) {
+
+ listSharedResourcesResponse.setRequestId(_ctx.stringValue("ListSharedResourcesResponse.RequestId"));
+ listSharedResourcesResponse.setNextToken(_ctx.stringValue("ListSharedResourcesResponse.NextToken"));
+
+ List sharedResources = new ArrayList();
+ for (int i = 0; i < _ctx.lengthValue("ListSharedResourcesResponse.SharedResources.Length"); i++) {
+ SharedResource sharedResource = new SharedResource();
+ sharedResource.setUpdateTime(_ctx.stringValue("ListSharedResourcesResponse.SharedResources["+ i +"].UpdateTime"));
+ sharedResource.setResourceType(_ctx.stringValue("ListSharedResourcesResponse.SharedResources["+ i +"].ResourceType"));
+ sharedResource.setCreateTime(_ctx.stringValue("ListSharedResourcesResponse.SharedResources["+ i +"].CreateTime"));
+ sharedResource.setResourceShareId(_ctx.stringValue("ListSharedResourcesResponse.SharedResources["+ i +"].ResourceShareId"));
+ sharedResource.setResourceShareOwner(_ctx.stringValue("ListSharedResourcesResponse.SharedResources["+ i +"].ResourceShareOwner"));
+ sharedResource.setResourceId(_ctx.stringValue("ListSharedResourcesResponse.SharedResources["+ i +"].ResourceId"));
+ sharedResource.setResourceStatus(_ctx.stringValue("ListSharedResourcesResponse.SharedResources["+ i +"].ResourceStatus"));
+ sharedResource.setResourceStatusMessage(_ctx.stringValue("ListSharedResourcesResponse.SharedResources["+ i +"].ResourceStatusMessage"));
+
+ sharedResources.add(sharedResource);
+ }
+ listSharedResourcesResponse.setSharedResources(sharedResources);
+
+ return listSharedResourcesResponse;
+ }
+}
\ No newline at end of file
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/ListSharedTargetsResponseUnmarshaller.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/ListSharedTargetsResponseUnmarshaller.java
new file mode 100644
index 0000000000..203357eb23
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/ListSharedTargetsResponseUnmarshaller.java
@@ -0,0 +1,48 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.transform.v20200110;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import com.aliyuncs.resourcesharing.model.v20200110.ListSharedTargetsResponse;
+import com.aliyuncs.resourcesharing.model.v20200110.ListSharedTargetsResponse.SharedTarget;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+
+public class ListSharedTargetsResponseUnmarshaller {
+
+ public static ListSharedTargetsResponse unmarshall(ListSharedTargetsResponse listSharedTargetsResponse, UnmarshallerContext _ctx) {
+
+ listSharedTargetsResponse.setRequestId(_ctx.stringValue("ListSharedTargetsResponse.RequestId"));
+ listSharedTargetsResponse.setNextToken(_ctx.stringValue("ListSharedTargetsResponse.NextToken"));
+
+ List sharedTargets = new ArrayList();
+ for (int i = 0; i < _ctx.lengthValue("ListSharedTargetsResponse.SharedTargets.Length"); i++) {
+ SharedTarget sharedTarget = new SharedTarget();
+ sharedTarget.setTargetId(_ctx.stringValue("ListSharedTargetsResponse.SharedTargets["+ i +"].TargetId"));
+ sharedTarget.setUpdateTime(_ctx.stringValue("ListSharedTargetsResponse.SharedTargets["+ i +"].UpdateTime"));
+ sharedTarget.setCreateTime(_ctx.stringValue("ListSharedTargetsResponse.SharedTargets["+ i +"].CreateTime"));
+ sharedTarget.setResourceShareId(_ctx.stringValue("ListSharedTargetsResponse.SharedTargets["+ i +"].ResourceShareId"));
+ sharedTarget.setResourceShareOwner(_ctx.stringValue("ListSharedTargetsResponse.SharedTargets["+ i +"].ResourceShareOwner"));
+ sharedTarget.setExternal(_ctx.booleanValue("ListSharedTargetsResponse.SharedTargets["+ i +"].External"));
+
+ sharedTargets.add(sharedTarget);
+ }
+ listSharedTargetsResponse.setSharedTargets(sharedTargets);
+
+ return listSharedTargetsResponse;
+ }
+}
\ No newline at end of file
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/RejectResourceShareInvitationResponseUnmarshaller.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/RejectResourceShareInvitationResponseUnmarshaller.java
new file mode 100644
index 0000000000..cea6f2ca01
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/RejectResourceShareInvitationResponseUnmarshaller.java
@@ -0,0 +1,40 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.transform.v20200110;
+
+import com.aliyuncs.resourcesharing.model.v20200110.RejectResourceShareInvitationResponse;
+import com.aliyuncs.resourcesharing.model.v20200110.RejectResourceShareInvitationResponse.ResourceShareInvitation;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+
+public class RejectResourceShareInvitationResponseUnmarshaller {
+
+ public static RejectResourceShareInvitationResponse unmarshall(RejectResourceShareInvitationResponse rejectResourceShareInvitationResponse, UnmarshallerContext _ctx) {
+
+ rejectResourceShareInvitationResponse.setRequestId(_ctx.stringValue("RejectResourceShareInvitationResponse.RequestId"));
+
+ ResourceShareInvitation resourceShareInvitation = new ResourceShareInvitation();
+ resourceShareInvitation.setResourceShareInvitationId(_ctx.stringValue("RejectResourceShareInvitationResponse.ResourceShareInvitation.ResourceShareInvitationId"));
+ resourceShareInvitation.setResourceShareId(_ctx.stringValue("RejectResourceShareInvitationResponse.ResourceShareInvitation.ResourceShareId"));
+ resourceShareInvitation.setResourceShareName(_ctx.stringValue("RejectResourceShareInvitationResponse.ResourceShareInvitation.ResourceShareName"));
+ resourceShareInvitation.setSenderAccountId(_ctx.stringValue("RejectResourceShareInvitationResponse.ResourceShareInvitation.SenderAccountId"));
+ resourceShareInvitation.setReceiverAccountId(_ctx.stringValue("RejectResourceShareInvitationResponse.ResourceShareInvitation.ReceiverAccountId"));
+ resourceShareInvitation.setCreateTime(_ctx.stringValue("RejectResourceShareInvitationResponse.ResourceShareInvitation.CreateTime"));
+ resourceShareInvitation.setStatus(_ctx.stringValue("RejectResourceShareInvitationResponse.ResourceShareInvitation.Status"));
+ rejectResourceShareInvitationResponse.setResourceShareInvitation(resourceShareInvitation);
+
+ return rejectResourceShareInvitationResponse;
+ }
+}
\ No newline at end of file
diff --git a/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/UpdateResourceShareResponseUnmarshaller.java b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/UpdateResourceShareResponseUnmarshaller.java
new file mode 100644
index 0000000000..ed0662d433
--- /dev/null
+++ b/aliyun-java-sdk-resourcesharing/src/main/java/com/aliyuncs/resourcesharing/transform/v20200110/UpdateResourceShareResponseUnmarshaller.java
@@ -0,0 +1,40 @@
+/*
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.aliyuncs.resourcesharing.transform.v20200110;
+
+import com.aliyuncs.resourcesharing.model.v20200110.UpdateResourceShareResponse;
+import com.aliyuncs.resourcesharing.model.v20200110.UpdateResourceShareResponse.ResourceShare;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+
+public class UpdateResourceShareResponseUnmarshaller {
+
+ public static UpdateResourceShareResponse unmarshall(UpdateResourceShareResponse updateResourceShareResponse, UnmarshallerContext _ctx) {
+
+ updateResourceShareResponse.setRequestId(_ctx.stringValue("UpdateResourceShareResponse.RequestId"));
+
+ ResourceShare resourceShare = new ResourceShare();
+ resourceShare.setUpdateTime(_ctx.stringValue("UpdateResourceShareResponse.ResourceShare.UpdateTime"));
+ resourceShare.setResourceShareName(_ctx.stringValue("UpdateResourceShareResponse.ResourceShare.ResourceShareName"));
+ resourceShare.setResourceShareOwner(_ctx.stringValue("UpdateResourceShareResponse.ResourceShare.ResourceShareOwner"));
+ resourceShare.setCreateTime(_ctx.stringValue("UpdateResourceShareResponse.ResourceShare.CreateTime"));
+ resourceShare.setResourceShareId(_ctx.stringValue("UpdateResourceShareResponse.ResourceShare.ResourceShareId"));
+ resourceShare.setResourceShareStatus(_ctx.stringValue("UpdateResourceShareResponse.ResourceShare.ResourceShareStatus"));
+ resourceShare.setAllowExternalTargets(_ctx.booleanValue("UpdateResourceShareResponse.ResourceShare.AllowExternalTargets"));
+ updateResourceShareResponse.setResourceShare(resourceShare);
+
+ return updateResourceShareResponse;
+ }
+}
\ No newline at end of file