diff --git a/aliyun-java-sdk-dfs/ChangeLog.txt b/aliyun-java-sdk-dfs/ChangeLog.txt new file mode 100644 index 0000000000..fac21e29a3 --- /dev/null +++ b/aliyun-java-sdk-dfs/ChangeLog.txt @@ -0,0 +1,3 @@ +2025-01-02 Version: 1.0.1 +- Suport 3az mp. + diff --git a/aliyun-java-sdk-dfs/pom.xml b/aliyun-java-sdk-dfs/pom.xml new file mode 100644 index 0000000000..2a550aea0a --- /dev/null +++ b/aliyun-java-sdk-dfs/pom.xml @@ -0,0 +1,118 @@ + + + 4.0.0 + com.aliyun + aliyun-java-sdk-dfs + jar + 1.0.1 + aliyun-java-sdk-dfs + 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 + 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-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/AttachVscMountPointRequest.java b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/AttachVscMountPointRequest.java new file mode 100644 index 0000000000..7d13dca1e8 --- /dev/null +++ b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/AttachVscMountPointRequest.java @@ -0,0 +1,145 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.dfs.model.v20180620; + +import com.aliyuncs.RpcAcsRequest; +import java.util.List; +import com.google.gson.Gson; +import com.google.gson.annotations.SerializedName; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class AttachVscMountPointRequest extends RpcAcsRequest { + + + private String vscType; + + private String description; + + private String inputRegionId; + + private String mountPointId; + + private String fileSystemId; + + @SerializedName("vscIds") + private List vscIds; + + private Boolean useAssumeRoleChkServerPerm; + + @SerializedName("instanceIds") + private List instanceIds; + public AttachVscMountPointRequest() { + super("DFS", "2018-06-20", "AttachVscMountPoint", "alidfs"); + setMethod(MethodType.POST); + } + + public String getVscType() { + return this.vscType; + } + + public void setVscType(String vscType) { + this.vscType = vscType; + if(vscType != null){ + putQueryParameter("VscType", vscType); + } + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + if(description != null){ + putQueryParameter("Description", description); + } + } + + public String getInputRegionId() { + return this.inputRegionId; + } + + public void setInputRegionId(String inputRegionId) { + this.inputRegionId = inputRegionId; + if(inputRegionId != null){ + putQueryParameter("InputRegionId", inputRegionId); + } + } + + public String getMountPointId() { + return this.mountPointId; + } + + public void setMountPointId(String mountPointId) { + this.mountPointId = mountPointId; + if(mountPointId != null){ + putQueryParameter("MountPointId", mountPointId); + } + } + + public String getFileSystemId() { + return this.fileSystemId; + } + + public void setFileSystemId(String fileSystemId) { + this.fileSystemId = fileSystemId; + if(fileSystemId != null){ + putQueryParameter("FileSystemId", fileSystemId); + } + } + + public List getVscIds() { + return this.vscIds; + } + + public void setVscIds(List vscIds) { + this.vscIds = vscIds; + if (vscIds != null) { + putQueryParameter("VscIds" , new Gson().toJson(vscIds)); + } + } + + public Boolean getUseAssumeRoleChkServerPerm() { + return this.useAssumeRoleChkServerPerm; + } + + public void setUseAssumeRoleChkServerPerm(Boolean useAssumeRoleChkServerPerm) { + this.useAssumeRoleChkServerPerm = useAssumeRoleChkServerPerm; + if(useAssumeRoleChkServerPerm != null){ + putQueryParameter("UseAssumeRoleChkServerPerm", useAssumeRoleChkServerPerm.toString()); + } + } + + public List getInstanceIds() { + return this.instanceIds; + } + + public void setInstanceIds(List instanceIds) { + this.instanceIds = instanceIds; + if (instanceIds != null) { + putQueryParameter("InstanceIds" , new Gson().toJson(instanceIds)); + } + } + + @Override + public Class getResponseClass() { + return AttachVscMountPointResponse.class; + } + +} diff --git a/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/AttachVscMountPointResponse.java b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/AttachVscMountPointResponse.java new file mode 100644 index 0000000000..df2a586f94 --- /dev/null +++ b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/AttachVscMountPointResponse.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.dfs.model.v20180620; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dfs.transform.v20180620.AttachVscMountPointResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class AttachVscMountPointResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public AttachVscMountPointResponse getInstance(UnmarshallerContext context) { + return AttachVscMountPointResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/BindVscMountPointAliasRequest.java b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/BindVscMountPointAliasRequest.java new file mode 100644 index 0000000000..6294a11601 --- /dev/null +++ b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/BindVscMountPointAliasRequest.java @@ -0,0 +1,88 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.dfs.model.v20180620; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class BindVscMountPointAliasRequest extends RpcAcsRequest { + + + private String inputRegionId; + + private String mountPointId; + + private String fileSystemId; + + private String aliasPrefix; + public BindVscMountPointAliasRequest() { + super("DFS", "2018-06-20", "BindVscMountPointAlias", "alidfs"); + setMethod(MethodType.POST); + } + + public String getInputRegionId() { + return this.inputRegionId; + } + + public void setInputRegionId(String inputRegionId) { + this.inputRegionId = inputRegionId; + if(inputRegionId != null){ + putQueryParameter("InputRegionId", inputRegionId); + } + } + + public String getMountPointId() { + return this.mountPointId; + } + + public void setMountPointId(String mountPointId) { + this.mountPointId = mountPointId; + if(mountPointId != null){ + putQueryParameter("MountPointId", mountPointId); + } + } + + public String getFileSystemId() { + return this.fileSystemId; + } + + public void setFileSystemId(String fileSystemId) { + this.fileSystemId = fileSystemId; + if(fileSystemId != null){ + putQueryParameter("FileSystemId", fileSystemId); + } + } + + public String getAliasPrefix() { + return this.aliasPrefix; + } + + public void setAliasPrefix(String aliasPrefix) { + this.aliasPrefix = aliasPrefix; + if(aliasPrefix != null){ + putQueryParameter("AliasPrefix", aliasPrefix); + } + } + + @Override + public Class getResponseClass() { + return BindVscMountPointAliasResponse.class; + } + +} diff --git a/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/BindVscMountPointAliasResponse.java b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/BindVscMountPointAliasResponse.java new file mode 100644 index 0000000000..1c80631907 --- /dev/null +++ b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/BindVscMountPointAliasResponse.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.dfs.model.v20180620; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dfs.transform.v20180620.BindVscMountPointAliasResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class BindVscMountPointAliasResponse extends AcsResponse { + + private String mountPointAlias; + + private String requestId; + + public String getMountPointAlias() { + return this.mountPointAlias; + } + + public void setMountPointAlias(String mountPointAlias) { + this.mountPointAlias = mountPointAlias; + } + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public BindVscMountPointAliasResponse getInstance(UnmarshallerContext context) { + return BindVscMountPointAliasResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/CreateAccessGroupRequest.java b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/CreateAccessGroupRequest.java new file mode 100644 index 0000000000..4d02770093 --- /dev/null +++ b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/CreateAccessGroupRequest.java @@ -0,0 +1,88 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.dfs.model.v20180620; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class CreateAccessGroupRequest extends RpcAcsRequest { + + + private String description; + + private String networkType; + + private String inputRegionId; + + private String accessGroupName; + public CreateAccessGroupRequest() { + super("DFS", "2018-06-20", "CreateAccessGroup", "alidfs"); + setMethod(MethodType.POST); + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + if(description != null){ + putQueryParameter("Description", description); + } + } + + public String getNetworkType() { + return this.networkType; + } + + public void setNetworkType(String networkType) { + this.networkType = networkType; + if(networkType != null){ + putQueryParameter("NetworkType", networkType); + } + } + + public String getInputRegionId() { + return this.inputRegionId; + } + + public void setInputRegionId(String inputRegionId) { + this.inputRegionId = inputRegionId; + if(inputRegionId != null){ + putQueryParameter("InputRegionId", inputRegionId); + } + } + + public String getAccessGroupName() { + return this.accessGroupName; + } + + public void setAccessGroupName(String accessGroupName) { + this.accessGroupName = accessGroupName; + if(accessGroupName != null){ + putQueryParameter("AccessGroupName", accessGroupName); + } + } + + @Override + public Class getResponseClass() { + return CreateAccessGroupResponse.class; + } + +} diff --git a/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/CreateAccessGroupResponse.java b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/CreateAccessGroupResponse.java new file mode 100644 index 0000000000..39f38f37b3 --- /dev/null +++ b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/CreateAccessGroupResponse.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.dfs.model.v20180620; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dfs.transform.v20180620.CreateAccessGroupResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class CreateAccessGroupResponse extends AcsResponse { + + private String accessGroupId; + + private String requestId; + + public String getAccessGroupId() { + return this.accessGroupId; + } + + public void setAccessGroupId(String accessGroupId) { + this.accessGroupId = accessGroupId; + } + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public CreateAccessGroupResponse getInstance(UnmarshallerContext context) { + return CreateAccessGroupResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/CreateAccessRuleRequest.java b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/CreateAccessRuleRequest.java new file mode 100644 index 0000000000..64c0f3ce26 --- /dev/null +++ b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/CreateAccessRuleRequest.java @@ -0,0 +1,114 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.dfs.model.v20180620; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class CreateAccessRuleRequest extends RpcAcsRequest { + + + private String rWAccessType; + + private String description; + + private String accessGroupId; + + private String inputRegionId; + + private String networkSegment; + + private Integer priority; + public CreateAccessRuleRequest() { + super("DFS", "2018-06-20", "CreateAccessRule", "alidfs"); + setMethod(MethodType.POST); + } + + public String getRWAccessType() { + return this.rWAccessType; + } + + public void setRWAccessType(String rWAccessType) { + this.rWAccessType = rWAccessType; + if(rWAccessType != null){ + putQueryParameter("RWAccessType", rWAccessType); + } + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + if(description != null){ + putQueryParameter("Description", description); + } + } + + public String getAccessGroupId() { + return this.accessGroupId; + } + + public void setAccessGroupId(String accessGroupId) { + this.accessGroupId = accessGroupId; + if(accessGroupId != null){ + putQueryParameter("AccessGroupId", accessGroupId); + } + } + + public String getInputRegionId() { + return this.inputRegionId; + } + + public void setInputRegionId(String inputRegionId) { + this.inputRegionId = inputRegionId; + if(inputRegionId != null){ + putQueryParameter("InputRegionId", inputRegionId); + } + } + + public String getNetworkSegment() { + return this.networkSegment; + } + + public void setNetworkSegment(String networkSegment) { + this.networkSegment = networkSegment; + if(networkSegment != null){ + putQueryParameter("NetworkSegment", networkSegment); + } + } + + public Integer getPriority() { + return this.priority; + } + + public void setPriority(Integer priority) { + this.priority = priority; + if(priority != null){ + putQueryParameter("Priority", priority.toString()); + } + } + + @Override + public Class getResponseClass() { + return CreateAccessRuleResponse.class; + } + +} diff --git a/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/CreateAccessRuleResponse.java b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/CreateAccessRuleResponse.java new file mode 100644 index 0000000000..1d7429d31c --- /dev/null +++ b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/CreateAccessRuleResponse.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.dfs.model.v20180620; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dfs.transform.v20180620.CreateAccessRuleResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class CreateAccessRuleResponse extends AcsResponse { + + private String accessRuleId; + + private String requestId; + + public String getAccessRuleId() { + return this.accessRuleId; + } + + public void setAccessRuleId(String accessRuleId) { + this.accessRuleId = accessRuleId; + } + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public CreateAccessRuleResponse getInstance(UnmarshallerContext context) { + return CreateAccessRuleResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/CreateFileSystemRequest.java b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/CreateFileSystemRequest.java new file mode 100644 index 0000000000..991662dbc1 --- /dev/null +++ b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/CreateFileSystemRequest.java @@ -0,0 +1,205 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.dfs.model.v20180620; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class CreateFileSystemRequest extends RpcAcsRequest { + + + private String throughputMode; + + private String description; + + private String dedicatedClusterId; + + private String dataRedundancyType; + + private String storageType; + + private String fileSystemName; + + private String inputRegionId; + + private Long spaceCapacity; + + private Integer partitionNumber; + + private Long provisionedThroughputInMiBps; + + private String zoneId; + + private String protocolType; + + private String storageSetName; + public CreateFileSystemRequest() { + super("DFS", "2018-06-20", "CreateFileSystem", "alidfs"); + setMethod(MethodType.POST); + } + + public String getThroughputMode() { + return this.throughputMode; + } + + public void setThroughputMode(String throughputMode) { + this.throughputMode = throughputMode; + if(throughputMode != null){ + putQueryParameter("ThroughputMode", throughputMode); + } + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + if(description != null){ + putQueryParameter("Description", description); + } + } + + public String getDedicatedClusterId() { + return this.dedicatedClusterId; + } + + public void setDedicatedClusterId(String dedicatedClusterId) { + this.dedicatedClusterId = dedicatedClusterId; + if(dedicatedClusterId != null){ + putQueryParameter("DedicatedClusterId", dedicatedClusterId); + } + } + + public String getDataRedundancyType() { + return this.dataRedundancyType; + } + + public void setDataRedundancyType(String dataRedundancyType) { + this.dataRedundancyType = dataRedundancyType; + if(dataRedundancyType != null){ + putQueryParameter("DataRedundancyType", dataRedundancyType); + } + } + + public String getStorageType() { + return this.storageType; + } + + public void setStorageType(String storageType) { + this.storageType = storageType; + if(storageType != null){ + putQueryParameter("StorageType", storageType); + } + } + + public String getFileSystemName() { + return this.fileSystemName; + } + + public void setFileSystemName(String fileSystemName) { + this.fileSystemName = fileSystemName; + if(fileSystemName != null){ + putQueryParameter("FileSystemName", fileSystemName); + } + } + + public String getInputRegionId() { + return this.inputRegionId; + } + + public void setInputRegionId(String inputRegionId) { + this.inputRegionId = inputRegionId; + if(inputRegionId != null){ + putQueryParameter("InputRegionId", inputRegionId); + } + } + + public Long getSpaceCapacity() { + return this.spaceCapacity; + } + + public void setSpaceCapacity(Long spaceCapacity) { + this.spaceCapacity = spaceCapacity; + if(spaceCapacity != null){ + putQueryParameter("SpaceCapacity", spaceCapacity.toString()); + } + } + + public Integer getPartitionNumber() { + return this.partitionNumber; + } + + public void setPartitionNumber(Integer partitionNumber) { + this.partitionNumber = partitionNumber; + if(partitionNumber != null){ + putQueryParameter("PartitionNumber", partitionNumber.toString()); + } + } + + public Long getProvisionedThroughputInMiBps() { + return this.provisionedThroughputInMiBps; + } + + public void setProvisionedThroughputInMiBps(Long provisionedThroughputInMiBps) { + this.provisionedThroughputInMiBps = provisionedThroughputInMiBps; + if(provisionedThroughputInMiBps != null){ + putQueryParameter("ProvisionedThroughputInMiBps", provisionedThroughputInMiBps.toString()); + } + } + + public String getZoneId() { + return this.zoneId; + } + + public void setZoneId(String zoneId) { + this.zoneId = zoneId; + if(zoneId != null){ + putQueryParameter("ZoneId", zoneId); + } + } + + public String getProtocolType() { + return this.protocolType; + } + + public void setProtocolType(String protocolType) { + this.protocolType = protocolType; + if(protocolType != null){ + putQueryParameter("ProtocolType", protocolType); + } + } + + public String getStorageSetName() { + return this.storageSetName; + } + + public void setStorageSetName(String storageSetName) { + this.storageSetName = storageSetName; + if(storageSetName != null){ + putQueryParameter("StorageSetName", storageSetName); + } + } + + @Override + public Class getResponseClass() { + return CreateFileSystemResponse.class; + } + +} diff --git a/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/CreateFileSystemResponse.java b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/CreateFileSystemResponse.java new file mode 100644 index 0000000000..e9acf0484f --- /dev/null +++ b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/CreateFileSystemResponse.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.dfs.model.v20180620; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dfs.transform.v20180620.CreateFileSystemResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class CreateFileSystemResponse extends AcsResponse { + + private String fileSystemId; + + private String requestId; + + public String getFileSystemId() { + return this.fileSystemId; + } + + public void setFileSystemId(String fileSystemId) { + this.fileSystemId = fileSystemId; + } + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public CreateFileSystemResponse getInstance(UnmarshallerContext context) { + return CreateFileSystemResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/CreateMountPointRequest.java b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/CreateMountPointRequest.java new file mode 100644 index 0000000000..e9d0debadb --- /dev/null +++ b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/CreateMountPointRequest.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.dfs.model.v20180620; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class CreateMountPointRequest extends RpcAcsRequest { + + + private String description; + + private String networkType; + + private String accessGroupId; + + private String inputRegionId; + + private String fileSystemId; + + private String vSwitchId; + + private Boolean usePerformanceMode; + + private String vpcId; + public CreateMountPointRequest() { + super("DFS", "2018-06-20", "CreateMountPoint", "alidfs"); + setMethod(MethodType.POST); + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + if(description != null){ + putQueryParameter("Description", description); + } + } + + public String getNetworkType() { + return this.networkType; + } + + public void setNetworkType(String networkType) { + this.networkType = networkType; + if(networkType != null){ + putQueryParameter("NetworkType", networkType); + } + } + + public String getAccessGroupId() { + return this.accessGroupId; + } + + public void setAccessGroupId(String accessGroupId) { + this.accessGroupId = accessGroupId; + if(accessGroupId != null){ + putQueryParameter("AccessGroupId", accessGroupId); + } + } + + public String getInputRegionId() { + return this.inputRegionId; + } + + public void setInputRegionId(String inputRegionId) { + this.inputRegionId = inputRegionId; + if(inputRegionId != null){ + putQueryParameter("InputRegionId", inputRegionId); + } + } + + public String getFileSystemId() { + return this.fileSystemId; + } + + public void setFileSystemId(String fileSystemId) { + this.fileSystemId = fileSystemId; + if(fileSystemId != null){ + putQueryParameter("FileSystemId", fileSystemId); + } + } + + public String getVSwitchId() { + return this.vSwitchId; + } + + public void setVSwitchId(String vSwitchId) { + this.vSwitchId = vSwitchId; + if(vSwitchId != null){ + putQueryParameter("VSwitchId", vSwitchId); + } + } + + public Boolean getUsePerformanceMode() { + return this.usePerformanceMode; + } + + public void setUsePerformanceMode(Boolean usePerformanceMode) { + this.usePerformanceMode = usePerformanceMode; + if(usePerformanceMode != null){ + putQueryParameter("UsePerformanceMode", usePerformanceMode.toString()); + } + } + + public String getVpcId() { + return this.vpcId; + } + + public void setVpcId(String vpcId) { + this.vpcId = vpcId; + if(vpcId != null){ + putQueryParameter("VpcId", vpcId); + } + } + + @Override + public Class getResponseClass() { + return CreateMountPointResponse.class; + } + +} diff --git a/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/CreateMountPointResponse.java b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/CreateMountPointResponse.java new file mode 100644 index 0000000000..e7c5c8584a --- /dev/null +++ b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/CreateMountPointResponse.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.dfs.model.v20180620; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dfs.transform.v20180620.CreateMountPointResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class CreateMountPointResponse extends AcsResponse { + + private String mountPointId; + + private String requestId; + + public String getMountPointId() { + return this.mountPointId; + } + + public void setMountPointId(String mountPointId) { + this.mountPointId = mountPointId; + } + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public CreateMountPointResponse getInstance(UnmarshallerContext context) { + return CreateMountPointResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/CreateQosPolicyRequest.java b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/CreateQosPolicyRequest.java new file mode 100644 index 0000000000..8b2b81e5a4 --- /dev/null +++ b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/CreateQosPolicyRequest.java @@ -0,0 +1,160 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.dfs.model.v20180620; + +import com.aliyuncs.RpcAcsRequest; +import java.util.List; +import com.google.gson.Gson; +import com.google.gson.annotations.SerializedName; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class CreateQosPolicyRequest extends RpcAcsRequest { + + + private String description; + + @SerializedName("flowIds") + private List flowIds; + + @SerializedName("zoneIds") + private List zoneIds; + + private Long maxIOps; + + private String inputRegionId; + + private Long maxMetaQps; + + private String fileSystemId; + + private Long maxIOBandWidth; + + private String federationId; + public CreateQosPolicyRequest() { + super("DFS", "2018-06-20", "CreateQosPolicy", "alidfs"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + if(description != null){ + putQueryParameter("Description", description); + } + } + + public List getFlowIds() { + return this.flowIds; + } + + public void setFlowIds(List flowIds) { + this.flowIds = flowIds; + if (flowIds != null) { + putQueryParameter("FlowIds" , new Gson().toJson(flowIds)); + } + } + + public List getZoneIds() { + return this.zoneIds; + } + + public void setZoneIds(List zoneIds) { + this.zoneIds = zoneIds; + if (zoneIds != null) { + putQueryParameter("ZoneIds" , new Gson().toJson(zoneIds)); + } + } + + public Long getMaxIOps() { + return this.maxIOps; + } + + public void setMaxIOps(Long maxIOps) { + this.maxIOps = maxIOps; + if(maxIOps != null){ + putQueryParameter("MaxIOps", maxIOps.toString()); + } + } + + public String getInputRegionId() { + return this.inputRegionId; + } + + public void setInputRegionId(String inputRegionId) { + this.inputRegionId = inputRegionId; + if(inputRegionId != null){ + putQueryParameter("InputRegionId", inputRegionId); + } + } + + public Long getMaxMetaQps() { + return this.maxMetaQps; + } + + public void setMaxMetaQps(Long maxMetaQps) { + this.maxMetaQps = maxMetaQps; + if(maxMetaQps != null){ + putQueryParameter("MaxMetaQps", maxMetaQps.toString()); + } + } + + public String getFileSystemId() { + return this.fileSystemId; + } + + public void setFileSystemId(String fileSystemId) { + this.fileSystemId = fileSystemId; + if(fileSystemId != null){ + putQueryParameter("FileSystemId", fileSystemId); + } + } + + public Long getMaxIOBandWidth() { + return this.maxIOBandWidth; + } + + public void setMaxIOBandWidth(Long maxIOBandWidth) { + this.maxIOBandWidth = maxIOBandWidth; + if(maxIOBandWidth != null){ + putQueryParameter("MaxIOBandWidth", maxIOBandWidth.toString()); + } + } + + public String getFederationId() { + return this.federationId; + } + + public void setFederationId(String federationId) { + this.federationId = federationId; + if(federationId != null){ + putQueryParameter("FederationId", federationId); + } + } + + @Override + public Class getResponseClass() { + return CreateQosPolicyResponse.class; + } + +} diff --git a/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/CreateQosPolicyResponse.java b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/CreateQosPolicyResponse.java new file mode 100644 index 0000000000..961886cee0 --- /dev/null +++ b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/CreateQosPolicyResponse.java @@ -0,0 +1,66 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.dfs.model.v20180620; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dfs.transform.v20180620.CreateQosPolicyResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class CreateQosPolicyResponse extends AcsResponse { + + private String qosPolicyId; + + private String errorMessages; + + private String requestId; + + public String getQosPolicyId() { + return this.qosPolicyId; + } + + public void setQosPolicyId(String qosPolicyId) { + this.qosPolicyId = qosPolicyId; + } + + public String getErrorMessages() { + return this.errorMessages; + } + + public void setErrorMessages(String errorMessages) { + this.errorMessages = errorMessages; + } + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public CreateQosPolicyResponse getInstance(UnmarshallerContext context) { + return CreateQosPolicyResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/CreateUserGroupsMappingRequest.java b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/CreateUserGroupsMappingRequest.java new file mode 100644 index 0000000000..b3382e7df6 --- /dev/null +++ b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/CreateUserGroupsMappingRequest.java @@ -0,0 +1,92 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.dfs.model.v20180620; + +import com.aliyuncs.RpcAcsRequest; +import java.util.List; +import com.google.gson.Gson; +import com.google.gson.annotations.SerializedName; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class CreateUserGroupsMappingRequest extends RpcAcsRequest { + + + @SerializedName("groupNames") + private List groupNames; + + private String inputRegionId; + + private String fileSystemId; + + private String userName; + public CreateUserGroupsMappingRequest() { + super("DFS", "2018-06-20", "CreateUserGroupsMapping", "alidfs"); + setMethod(MethodType.GET); + } + + public List getGroupNames() { + return this.groupNames; + } + + public void setGroupNames(List groupNames) { + this.groupNames = groupNames; + if (groupNames != null) { + putQueryParameter("GroupNames" , new Gson().toJson(groupNames)); + } + } + + public String getInputRegionId() { + return this.inputRegionId; + } + + public void setInputRegionId(String inputRegionId) { + this.inputRegionId = inputRegionId; + if(inputRegionId != null){ + putQueryParameter("InputRegionId", inputRegionId); + } + } + + public String getFileSystemId() { + return this.fileSystemId; + } + + public void setFileSystemId(String fileSystemId) { + this.fileSystemId = fileSystemId; + if(fileSystemId != null){ + putQueryParameter("FileSystemId", fileSystemId); + } + } + + public String getUserName() { + return this.userName; + } + + public void setUserName(String userName) { + this.userName = userName; + if(userName != null){ + putQueryParameter("UserName", userName); + } + } + + @Override + public Class getResponseClass() { + return CreateUserGroupsMappingResponse.class; + } + +} diff --git a/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/CreateUserGroupsMappingResponse.java b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/CreateUserGroupsMappingResponse.java new file mode 100644 index 0000000000..a508a01ff6 --- /dev/null +++ b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/CreateUserGroupsMappingResponse.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.dfs.model.v20180620; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dfs.transform.v20180620.CreateUserGroupsMappingResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class CreateUserGroupsMappingResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public CreateUserGroupsMappingResponse getInstance(UnmarshallerContext context) { + return CreateUserGroupsMappingResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/CreateVscMountPointRequest.java b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/CreateVscMountPointRequest.java new file mode 100644 index 0000000000..b31e1f21f7 --- /dev/null +++ b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/CreateVscMountPointRequest.java @@ -0,0 +1,92 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.dfs.model.v20180620; + +import com.aliyuncs.RpcAcsRequest; +import java.util.List; +import com.google.gson.Gson; +import com.google.gson.annotations.SerializedName; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class CreateVscMountPointRequest extends RpcAcsRequest { + + + private String description; + + private String inputRegionId; + + private String fileSystemId; + + @SerializedName("instanceIds") + private List instanceIds; + public CreateVscMountPointRequest() { + super("DFS", "2018-06-20", "CreateVscMountPoint", "alidfs"); + setMethod(MethodType.POST); + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + if(description != null){ + putQueryParameter("Description", description); + } + } + + public String getInputRegionId() { + return this.inputRegionId; + } + + public void setInputRegionId(String inputRegionId) { + this.inputRegionId = inputRegionId; + if(inputRegionId != null){ + putQueryParameter("InputRegionId", inputRegionId); + } + } + + public String getFileSystemId() { + return this.fileSystemId; + } + + public void setFileSystemId(String fileSystemId) { + this.fileSystemId = fileSystemId; + if(fileSystemId != null){ + putQueryParameter("FileSystemId", fileSystemId); + } + } + + public List getInstanceIds() { + return this.instanceIds; + } + + public void setInstanceIds(List instanceIds) { + this.instanceIds = instanceIds; + if (instanceIds != null) { + putQueryParameter("InstanceIds" , new Gson().toJson(instanceIds)); + } + } + + @Override + public Class getResponseClass() { + return CreateVscMountPointResponse.class; + } + +} diff --git a/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/CreateVscMountPointResponse.java b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/CreateVscMountPointResponse.java new file mode 100644 index 0000000000..b2076bd079 --- /dev/null +++ b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/CreateVscMountPointResponse.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.dfs.model.v20180620; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dfs.transform.v20180620.CreateVscMountPointResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class CreateVscMountPointResponse extends AcsResponse { + + private String mountPointId; + + private String requestId; + + public String getMountPointId() { + return this.mountPointId; + } + + public void setMountPointId(String mountPointId) { + this.mountPointId = mountPointId; + } + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public CreateVscMountPointResponse getInstance(UnmarshallerContext context) { + return CreateVscMountPointResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/DeleteAccessGroupRequest.java b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/DeleteAccessGroupRequest.java new file mode 100644 index 0000000000..ca0745448e --- /dev/null +++ b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/DeleteAccessGroupRequest.java @@ -0,0 +1,62 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.dfs.model.v20180620; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class DeleteAccessGroupRequest extends RpcAcsRequest { + + + private String accessGroupId; + + private String inputRegionId; + public DeleteAccessGroupRequest() { + super("DFS", "2018-06-20", "DeleteAccessGroup", "alidfs"); + setMethod(MethodType.POST); + } + + public String getAccessGroupId() { + return this.accessGroupId; + } + + public void setAccessGroupId(String accessGroupId) { + this.accessGroupId = accessGroupId; + if(accessGroupId != null){ + putQueryParameter("AccessGroupId", accessGroupId); + } + } + + public String getInputRegionId() { + return this.inputRegionId; + } + + public void setInputRegionId(String inputRegionId) { + this.inputRegionId = inputRegionId; + if(inputRegionId != null){ + putQueryParameter("InputRegionId", inputRegionId); + } + } + + @Override + public Class getResponseClass() { + return DeleteAccessGroupResponse.class; + } + +} diff --git a/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/DeleteAccessGroupResponse.java b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/DeleteAccessGroupResponse.java new file mode 100644 index 0000000000..3b42464540 --- /dev/null +++ b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/DeleteAccessGroupResponse.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.dfs.model.v20180620; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dfs.transform.v20180620.DeleteAccessGroupResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DeleteAccessGroupResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public DeleteAccessGroupResponse getInstance(UnmarshallerContext context) { + return DeleteAccessGroupResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/DeleteAccessRuleRequest.java b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/DeleteAccessRuleRequest.java new file mode 100644 index 0000000000..aab03c6d04 --- /dev/null +++ b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/DeleteAccessRuleRequest.java @@ -0,0 +1,75 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.dfs.model.v20180620; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class DeleteAccessRuleRequest extends RpcAcsRequest { + + + private String accessGroupId; + + private String inputRegionId; + + private String accessRuleId; + public DeleteAccessRuleRequest() { + super("DFS", "2018-06-20", "DeleteAccessRule", "alidfs"); + setMethod(MethodType.POST); + } + + public String getAccessGroupId() { + return this.accessGroupId; + } + + public void setAccessGroupId(String accessGroupId) { + this.accessGroupId = accessGroupId; + if(accessGroupId != null){ + putQueryParameter("AccessGroupId", accessGroupId); + } + } + + public String getInputRegionId() { + return this.inputRegionId; + } + + public void setInputRegionId(String inputRegionId) { + this.inputRegionId = inputRegionId; + if(inputRegionId != null){ + putQueryParameter("InputRegionId", inputRegionId); + } + } + + public String getAccessRuleId() { + return this.accessRuleId; + } + + public void setAccessRuleId(String accessRuleId) { + this.accessRuleId = accessRuleId; + if(accessRuleId != null){ + putQueryParameter("AccessRuleId", accessRuleId); + } + } + + @Override + public Class getResponseClass() { + return DeleteAccessRuleResponse.class; + } + +} diff --git a/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/DeleteAccessRuleResponse.java b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/DeleteAccessRuleResponse.java new file mode 100644 index 0000000000..8d37cd86ce --- /dev/null +++ b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/DeleteAccessRuleResponse.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.dfs.model.v20180620; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dfs.transform.v20180620.DeleteAccessRuleResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DeleteAccessRuleResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public DeleteAccessRuleResponse getInstance(UnmarshallerContext context) { + return DeleteAccessRuleResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/DeleteFileSystemRequest.java b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/DeleteFileSystemRequest.java new file mode 100644 index 0000000000..f24491a6fc --- /dev/null +++ b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/DeleteFileSystemRequest.java @@ -0,0 +1,62 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.dfs.model.v20180620; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class DeleteFileSystemRequest extends RpcAcsRequest { + + + private String inputRegionId; + + private String fileSystemId; + public DeleteFileSystemRequest() { + super("DFS", "2018-06-20", "DeleteFileSystem", "alidfs"); + setMethod(MethodType.POST); + } + + public String getInputRegionId() { + return this.inputRegionId; + } + + public void setInputRegionId(String inputRegionId) { + this.inputRegionId = inputRegionId; + if(inputRegionId != null){ + putQueryParameter("InputRegionId", inputRegionId); + } + } + + public String getFileSystemId() { + return this.fileSystemId; + } + + public void setFileSystemId(String fileSystemId) { + this.fileSystemId = fileSystemId; + if(fileSystemId != null){ + putQueryParameter("FileSystemId", fileSystemId); + } + } + + @Override + public Class getResponseClass() { + return DeleteFileSystemResponse.class; + } + +} diff --git a/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/DeleteFileSystemResponse.java b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/DeleteFileSystemResponse.java new file mode 100644 index 0000000000..6cd7915c98 --- /dev/null +++ b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/DeleteFileSystemResponse.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.dfs.model.v20180620; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dfs.transform.v20180620.DeleteFileSystemResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DeleteFileSystemResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public DeleteFileSystemResponse getInstance(UnmarshallerContext context) { + return DeleteFileSystemResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/DeleteMountPointRequest.java b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/DeleteMountPointRequest.java new file mode 100644 index 0000000000..a0960c7a82 --- /dev/null +++ b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/DeleteMountPointRequest.java @@ -0,0 +1,75 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.dfs.model.v20180620; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class DeleteMountPointRequest extends RpcAcsRequest { + + + private String inputRegionId; + + private String mountPointId; + + private String fileSystemId; + public DeleteMountPointRequest() { + super("DFS", "2018-06-20", "DeleteMountPoint", "alidfs"); + setMethod(MethodType.POST); + } + + public String getInputRegionId() { + return this.inputRegionId; + } + + public void setInputRegionId(String inputRegionId) { + this.inputRegionId = inputRegionId; + if(inputRegionId != null){ + putQueryParameter("InputRegionId", inputRegionId); + } + } + + public String getMountPointId() { + return this.mountPointId; + } + + public void setMountPointId(String mountPointId) { + this.mountPointId = mountPointId; + if(mountPointId != null){ + putQueryParameter("MountPointId", mountPointId); + } + } + + public String getFileSystemId() { + return this.fileSystemId; + } + + public void setFileSystemId(String fileSystemId) { + this.fileSystemId = fileSystemId; + if(fileSystemId != null){ + putQueryParameter("FileSystemId", fileSystemId); + } + } + + @Override + public Class getResponseClass() { + return DeleteMountPointResponse.class; + } + +} diff --git a/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/DeleteMountPointResponse.java b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/DeleteMountPointResponse.java new file mode 100644 index 0000000000..d748323072 --- /dev/null +++ b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/DeleteMountPointResponse.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.dfs.model.v20180620; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dfs.transform.v20180620.DeleteMountPointResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DeleteMountPointResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public DeleteMountPointResponse getInstance(UnmarshallerContext context) { + return DeleteMountPointResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/DeleteQosPolicyRequest.java b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/DeleteQosPolicyRequest.java new file mode 100644 index 0000000000..e0aa8d0481 --- /dev/null +++ b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/DeleteQosPolicyRequest.java @@ -0,0 +1,64 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.dfs.model.v20180620; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class DeleteQosPolicyRequest extends RpcAcsRequest { + + + private String qosPolicyId; + + private String inputRegionId; + public DeleteQosPolicyRequest() { + super("DFS", "2018-06-20", "DeleteQosPolicy", "alidfs"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public String getQosPolicyId() { + return this.qosPolicyId; + } + + public void setQosPolicyId(String qosPolicyId) { + this.qosPolicyId = qosPolicyId; + if(qosPolicyId != null){ + putQueryParameter("QosPolicyId", qosPolicyId); + } + } + + public String getInputRegionId() { + return this.inputRegionId; + } + + public void setInputRegionId(String inputRegionId) { + this.inputRegionId = inputRegionId; + if(inputRegionId != null){ + putQueryParameter("InputRegionId", inputRegionId); + } + } + + @Override + public Class getResponseClass() { + return DeleteQosPolicyResponse.class; + } + +} diff --git a/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/DeleteQosPolicyResponse.java b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/DeleteQosPolicyResponse.java new file mode 100644 index 0000000000..9a73399186 --- /dev/null +++ b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/DeleteQosPolicyResponse.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.dfs.model.v20180620; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dfs.transform.v20180620.DeleteQosPolicyResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DeleteQosPolicyResponse extends AcsResponse { + + private String requestId; + + private String errorMessages; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getErrorMessages() { + return this.errorMessages; + } + + public void setErrorMessages(String errorMessages) { + this.errorMessages = errorMessages; + } + + @Override + public DeleteQosPolicyResponse getInstance(UnmarshallerContext context) { + return DeleteQosPolicyResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/DeleteUserGroupsMappingRequest.java b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/DeleteUserGroupsMappingRequest.java new file mode 100644 index 0000000000..9424352af2 --- /dev/null +++ b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/DeleteUserGroupsMappingRequest.java @@ -0,0 +1,92 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.dfs.model.v20180620; + +import com.aliyuncs.RpcAcsRequest; +import java.util.List; +import com.google.gson.Gson; +import com.google.gson.annotations.SerializedName; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class DeleteUserGroupsMappingRequest extends RpcAcsRequest { + + + @SerializedName("groupNames") + private List groupNames; + + private String inputRegionId; + + private String fileSystemId; + + private String userName; + public DeleteUserGroupsMappingRequest() { + super("DFS", "2018-06-20", "DeleteUserGroupsMapping", "alidfs"); + setMethod(MethodType.GET); + } + + public List getGroupNames() { + return this.groupNames; + } + + public void setGroupNames(List groupNames) { + this.groupNames = groupNames; + if (groupNames != null) { + putQueryParameter("GroupNames" , new Gson().toJson(groupNames)); + } + } + + public String getInputRegionId() { + return this.inputRegionId; + } + + public void setInputRegionId(String inputRegionId) { + this.inputRegionId = inputRegionId; + if(inputRegionId != null){ + putQueryParameter("InputRegionId", inputRegionId); + } + } + + public String getFileSystemId() { + return this.fileSystemId; + } + + public void setFileSystemId(String fileSystemId) { + this.fileSystemId = fileSystemId; + if(fileSystemId != null){ + putQueryParameter("FileSystemId", fileSystemId); + } + } + + public String getUserName() { + return this.userName; + } + + public void setUserName(String userName) { + this.userName = userName; + if(userName != null){ + putQueryParameter("UserName", userName); + } + } + + @Override + public Class getResponseClass() { + return DeleteUserGroupsMappingResponse.class; + } + +} diff --git a/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/DeleteUserGroupsMappingResponse.java b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/DeleteUserGroupsMappingResponse.java new file mode 100644 index 0000000000..c830479bf8 --- /dev/null +++ b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/DeleteUserGroupsMappingResponse.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.dfs.model.v20180620; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dfs.transform.v20180620.DeleteUserGroupsMappingResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DeleteUserGroupsMappingResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public DeleteUserGroupsMappingResponse getInstance(UnmarshallerContext context) { + return DeleteUserGroupsMappingResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/DeleteVscMountPointRequest.java b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/DeleteVscMountPointRequest.java new file mode 100644 index 0000000000..555bb068b8 --- /dev/null +++ b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/DeleteVscMountPointRequest.java @@ -0,0 +1,75 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.dfs.model.v20180620; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class DeleteVscMountPointRequest extends RpcAcsRequest { + + + private String inputRegionId; + + private String mountPointId; + + private String fileSystemId; + public DeleteVscMountPointRequest() { + super("DFS", "2018-06-20", "DeleteVscMountPoint", "alidfs"); + setMethod(MethodType.POST); + } + + public String getInputRegionId() { + return this.inputRegionId; + } + + public void setInputRegionId(String inputRegionId) { + this.inputRegionId = inputRegionId; + if(inputRegionId != null){ + putQueryParameter("InputRegionId", inputRegionId); + } + } + + public String getMountPointId() { + return this.mountPointId; + } + + public void setMountPointId(String mountPointId) { + this.mountPointId = mountPointId; + if(mountPointId != null){ + putQueryParameter("MountPointId", mountPointId); + } + } + + public String getFileSystemId() { + return this.fileSystemId; + } + + public void setFileSystemId(String fileSystemId) { + this.fileSystemId = fileSystemId; + if(fileSystemId != null){ + putQueryParameter("FileSystemId", fileSystemId); + } + } + + @Override + public Class getResponseClass() { + return DeleteVscMountPointResponse.class; + } + +} diff --git a/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/DeleteVscMountPointResponse.java b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/DeleteVscMountPointResponse.java new file mode 100644 index 0000000000..eaccaba525 --- /dev/null +++ b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/DeleteVscMountPointResponse.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.dfs.model.v20180620; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dfs.transform.v20180620.DeleteVscMountPointResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DeleteVscMountPointResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public DeleteVscMountPointResponse getInstance(UnmarshallerContext context) { + return DeleteVscMountPointResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/DescribeRegionsRequest.java b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/DescribeRegionsRequest.java new file mode 100644 index 0000000000..64c7d6bf08 --- /dev/null +++ b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/DescribeRegionsRequest.java @@ -0,0 +1,62 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.dfs.model.v20180620; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class DescribeRegionsRequest extends RpcAcsRequest { + + + private String inputRegionId; + + private String acceptLanguage; + public DescribeRegionsRequest() { + super("DFS", "2018-06-20", "DescribeRegions", "alidfs"); + setMethod(MethodType.POST); + } + + public String getInputRegionId() { + return this.inputRegionId; + } + + public void setInputRegionId(String inputRegionId) { + this.inputRegionId = inputRegionId; + if(inputRegionId != null){ + putQueryParameter("InputRegionId", inputRegionId); + } + } + + 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-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/DescribeRegionsResponse.java b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/DescribeRegionsResponse.java new file mode 100644 index 0000000000..4a61755033 --- /dev/null +++ b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/DescribeRegionsResponse.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.dfs.model.v20180620; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dfs.transform.v20180620.DescribeRegionsResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DescribeRegionsResponse extends AcsResponse { + + private String requestId; + + private Regions regions; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Regions getRegions() { + return this.regions; + } + + public void setRegions(Regions regions) { + this.regions = regions; + } + + public static class Regions { + + private List region; + + public List getRegion() { + return this.region; + } + + public void setRegion(List region) { + this.region = region; + } + + public static class RegionItem { + + 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-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/DescribeVscMountPointsRequest.java b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/DescribeVscMountPointsRequest.java new file mode 100644 index 0000000000..98950b36c4 --- /dev/null +++ b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/DescribeVscMountPointsRequest.java @@ -0,0 +1,114 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.dfs.model.v20180620; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class DescribeVscMountPointsRequest extends RpcAcsRequest { + + + private String vscId; + + private String inputRegionId; + + private String mountPointId; + + private String fileSystemId; + + private String instanceId; + + private String status; + public DescribeVscMountPointsRequest() { + super("DFS", "2018-06-20", "DescribeVscMountPoints", "alidfs"); + setMethod(MethodType.POST); + } + + public String getVscId() { + return this.vscId; + } + + public void setVscId(String vscId) { + this.vscId = vscId; + if(vscId != null){ + putQueryParameter("VscId", vscId); + } + } + + public String getInputRegionId() { + return this.inputRegionId; + } + + public void setInputRegionId(String inputRegionId) { + this.inputRegionId = inputRegionId; + if(inputRegionId != null){ + putQueryParameter("InputRegionId", inputRegionId); + } + } + + public String getMountPointId() { + return this.mountPointId; + } + + public void setMountPointId(String mountPointId) { + this.mountPointId = mountPointId; + if(mountPointId != null){ + putQueryParameter("MountPointId", mountPointId); + } + } + + public String getFileSystemId() { + return this.fileSystemId; + } + + public void setFileSystemId(String fileSystemId) { + this.fileSystemId = fileSystemId; + if(fileSystemId != null){ + putQueryParameter("FileSystemId", fileSystemId); + } + } + + public String getInstanceId() { + return this.instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + if(instanceId != null){ + putQueryParameter("InstanceId", instanceId); + } + } + + public String getStatus() { + return this.status; + } + + public void setStatus(String status) { + this.status = status; + if(status != null){ + putQueryParameter("Status", status); + } + } + + @Override + public Class getResponseClass() { + return DescribeVscMountPointsResponse.class; + } + +} diff --git a/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/DescribeVscMountPointsResponse.java b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/DescribeVscMountPointsResponse.java new file mode 100644 index 0000000000..ba486527d5 --- /dev/null +++ b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/DescribeVscMountPointsResponse.java @@ -0,0 +1,186 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.dfs.model.v20180620; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dfs.transform.v20180620.DescribeVscMountPointsResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DescribeVscMountPointsResponse extends AcsResponse { + + private Integer totalCount; + + private String requestId; + + private List mountPoints; + + public Integer getTotalCount() { + return this.totalCount; + } + + public void setTotalCount(Integer totalCount) { + this.totalCount = totalCount; + } + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public List getMountPoints() { + return this.mountPoints; + } + + public void setMountPoints(List mountPoints) { + this.mountPoints = mountPoints; + } + + public static class MountPoint { + + private String mountPointId; + + private String description; + + private Integer instanceTotalCount; + + private String mountPointAlias; + + private List instances; + + public String getMountPointId() { + return this.mountPointId; + } + + public void setMountPointId(String mountPointId) { + this.mountPointId = mountPointId; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public Integer getInstanceTotalCount() { + return this.instanceTotalCount; + } + + public void setInstanceTotalCount(Integer instanceTotalCount) { + this.instanceTotalCount = instanceTotalCount; + } + + public String getMountPointAlias() { + return this.mountPointAlias; + } + + public void setMountPointAlias(String mountPointAlias) { + this.mountPointAlias = mountPointAlias; + } + + public List getInstances() { + return this.instances; + } + + public void setInstances(List instances) { + this.instances = instances; + } + + public static class Instance { + + private String status; + + private String instanceId; + + private List vscs; + + public String getStatus() { + return this.status; + } + + public void setStatus(String status) { + this.status = status; + } + + public String getInstanceId() { + return this.instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + public List getVscs() { + return this.vscs; + } + + public void setVscs(List vscs) { + this.vscs = vscs; + } + + public static class Vsc { + + private String vscId; + + private String vscType; + + private String vscStatus; + + public String getVscId() { + return this.vscId; + } + + public void setVscId(String vscId) { + this.vscId = vscId; + } + + public String getVscType() { + return this.vscType; + } + + public void setVscType(String vscType) { + this.vscType = vscType; + } + + public String getVscStatus() { + return this.vscStatus; + } + + public void setVscStatus(String vscStatus) { + this.vscStatus = vscStatus; + } + } + } + } + + @Override + public DescribeVscMountPointsResponse getInstance(UnmarshallerContext context) { + return DescribeVscMountPointsResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/DetachVscMountPointRequest.java b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/DetachVscMountPointRequest.java new file mode 100644 index 0000000000..be915b9d37 --- /dev/null +++ b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/DetachVscMountPointRequest.java @@ -0,0 +1,132 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.dfs.model.v20180620; + +import com.aliyuncs.RpcAcsRequest; +import java.util.List; +import com.google.gson.Gson; +import com.google.gson.annotations.SerializedName; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class DetachVscMountPointRequest extends RpcAcsRequest { + + + private String description; + + private String inputRegionId; + + private String mountPointId; + + private String fileSystemId; + + @SerializedName("vscIds") + private List vscIds; + + private Boolean useAssumeRoleChkServerPerm; + + @SerializedName("instanceIds") + private List instanceIds; + public DetachVscMountPointRequest() { + super("DFS", "2018-06-20", "DetachVscMountPoint", "alidfs"); + setMethod(MethodType.POST); + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + if(description != null){ + putQueryParameter("Description", description); + } + } + + public String getInputRegionId() { + return this.inputRegionId; + } + + public void setInputRegionId(String inputRegionId) { + this.inputRegionId = inputRegionId; + if(inputRegionId != null){ + putQueryParameter("InputRegionId", inputRegionId); + } + } + + public String getMountPointId() { + return this.mountPointId; + } + + public void setMountPointId(String mountPointId) { + this.mountPointId = mountPointId; + if(mountPointId != null){ + putQueryParameter("MountPointId", mountPointId); + } + } + + public String getFileSystemId() { + return this.fileSystemId; + } + + public void setFileSystemId(String fileSystemId) { + this.fileSystemId = fileSystemId; + if(fileSystemId != null){ + putQueryParameter("FileSystemId", fileSystemId); + } + } + + public List getVscIds() { + return this.vscIds; + } + + public void setVscIds(List vscIds) { + this.vscIds = vscIds; + if (vscIds != null) { + putQueryParameter("VscIds" , new Gson().toJson(vscIds)); + } + } + + public Boolean getUseAssumeRoleChkServerPerm() { + return this.useAssumeRoleChkServerPerm; + } + + public void setUseAssumeRoleChkServerPerm(Boolean useAssumeRoleChkServerPerm) { + this.useAssumeRoleChkServerPerm = useAssumeRoleChkServerPerm; + if(useAssumeRoleChkServerPerm != null){ + putQueryParameter("UseAssumeRoleChkServerPerm", useAssumeRoleChkServerPerm.toString()); + } + } + + public List getInstanceIds() { + return this.instanceIds; + } + + public void setInstanceIds(List instanceIds) { + this.instanceIds = instanceIds; + if (instanceIds != null) { + putQueryParameter("InstanceIds" , new Gson().toJson(instanceIds)); + } + } + + @Override + public Class getResponseClass() { + return DetachVscMountPointResponse.class; + } + +} diff --git a/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/DetachVscMountPointResponse.java b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/DetachVscMountPointResponse.java new file mode 100644 index 0000000000..dccab7ee0f --- /dev/null +++ b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/DetachVscMountPointResponse.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.dfs.model.v20180620; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dfs.transform.v20180620.DetachVscMountPointResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DetachVscMountPointResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public DetachVscMountPointResponse getInstance(UnmarshallerContext context) { + return DetachVscMountPointResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/GetAccessGroupRequest.java b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/GetAccessGroupRequest.java new file mode 100644 index 0000000000..12354c616a --- /dev/null +++ b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/GetAccessGroupRequest.java @@ -0,0 +1,62 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.dfs.model.v20180620; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class GetAccessGroupRequest extends RpcAcsRequest { + + + private String accessGroupId; + + private String inputRegionId; + public GetAccessGroupRequest() { + super("DFS", "2018-06-20", "GetAccessGroup", "alidfs"); + setMethod(MethodType.POST); + } + + public String getAccessGroupId() { + return this.accessGroupId; + } + + public void setAccessGroupId(String accessGroupId) { + this.accessGroupId = accessGroupId; + if(accessGroupId != null){ + putQueryParameter("AccessGroupId", accessGroupId); + } + } + + public String getInputRegionId() { + return this.inputRegionId; + } + + public void setInputRegionId(String inputRegionId) { + this.inputRegionId = inputRegionId; + if(inputRegionId != null){ + putQueryParameter("InputRegionId", inputRegionId); + } + } + + @Override + public Class getResponseClass() { + return GetAccessGroupResponse.class; + } + +} diff --git a/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/GetAccessGroupResponse.java b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/GetAccessGroupResponse.java new file mode 100644 index 0000000000..5e28b483fa --- /dev/null +++ b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/GetAccessGroupResponse.java @@ -0,0 +1,149 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.dfs.model.v20180620; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dfs.transform.v20180620.GetAccessGroupResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetAccessGroupResponse extends AcsResponse { + + private String requestId; + + private AccessGroup accessGroup; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public AccessGroup getAccessGroup() { + return this.accessGroup; + } + + public void setAccessGroup(AccessGroup accessGroup) { + this.accessGroup = accessGroup; + } + + public static class AccessGroup { + + private Boolean isDefault; + + private String accessGroupName; + + private Integer mountPointCount; + + private String description; + + private String accessGroupId; + + private String createTime; + + private String networkType; + + private Integer ruleCount; + + private String regionId; + + public Boolean getIsDefault() { + return this.isDefault; + } + + public void setIsDefault(Boolean isDefault) { + this.isDefault = isDefault; + } + + public String getAccessGroupName() { + return this.accessGroupName; + } + + public void setAccessGroupName(String accessGroupName) { + this.accessGroupName = accessGroupName; + } + + public Integer getMountPointCount() { + return this.mountPointCount; + } + + public void setMountPointCount(Integer mountPointCount) { + this.mountPointCount = mountPointCount; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public String getAccessGroupId() { + return this.accessGroupId; + } + + public void setAccessGroupId(String accessGroupId) { + this.accessGroupId = accessGroupId; + } + + public String getCreateTime() { + return this.createTime; + } + + public void setCreateTime(String createTime) { + this.createTime = createTime; + } + + public String getNetworkType() { + return this.networkType; + } + + public void setNetworkType(String networkType) { + this.networkType = networkType; + } + + public Integer getRuleCount() { + return this.ruleCount; + } + + public void setRuleCount(Integer ruleCount) { + this.ruleCount = ruleCount; + } + + public String getRegionId() { + return this.regionId; + } + + public void setRegionId(String regionId) { + this.regionId = regionId; + } + } + + @Override + public GetAccessGroupResponse getInstance(UnmarshallerContext context) { + return GetAccessGroupResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/GetAccessRuleRequest.java b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/GetAccessRuleRequest.java new file mode 100644 index 0000000000..3582c12274 --- /dev/null +++ b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/GetAccessRuleRequest.java @@ -0,0 +1,75 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.dfs.model.v20180620; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class GetAccessRuleRequest extends RpcAcsRequest { + + + private String accessGroupId; + + private String inputRegionId; + + private String accessRuleId; + public GetAccessRuleRequest() { + super("DFS", "2018-06-20", "GetAccessRule", "alidfs"); + setMethod(MethodType.POST); + } + + public String getAccessGroupId() { + return this.accessGroupId; + } + + public void setAccessGroupId(String accessGroupId) { + this.accessGroupId = accessGroupId; + if(accessGroupId != null){ + putQueryParameter("AccessGroupId", accessGroupId); + } + } + + public String getInputRegionId() { + return this.inputRegionId; + } + + public void setInputRegionId(String inputRegionId) { + this.inputRegionId = inputRegionId; + if(inputRegionId != null){ + putQueryParameter("InputRegionId", inputRegionId); + } + } + + public String getAccessRuleId() { + return this.accessRuleId; + } + + public void setAccessRuleId(String accessRuleId) { + this.accessRuleId = accessRuleId; + if(accessRuleId != null){ + putQueryParameter("AccessRuleId", accessRuleId); + } + } + + @Override + public Class getResponseClass() { + return GetAccessRuleResponse.class; + } + +} diff --git a/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/GetAccessRuleResponse.java b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/GetAccessRuleResponse.java new file mode 100644 index 0000000000..8e1eb31562 --- /dev/null +++ b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/GetAccessRuleResponse.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.dfs.model.v20180620; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dfs.transform.v20180620.GetAccessRuleResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetAccessRuleResponse extends AcsResponse { + + private String requestId; + + private AccessRule accessRule; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public AccessRule getAccessRule() { + return this.accessRule; + } + + public void setAccessRule(AccessRule accessRule) { + this.accessRule = accessRule; + } + + public static class AccessRule { + + private String accessRuleId; + + private String networkSegment; + + private String description; + + private String accessGroupId; + + private String createTime; + + private String rWAccessType; + + private Integer priority; + + private String regionId; + + public String getAccessRuleId() { + return this.accessRuleId; + } + + public void setAccessRuleId(String accessRuleId) { + this.accessRuleId = accessRuleId; + } + + public String getNetworkSegment() { + return this.networkSegment; + } + + public void setNetworkSegment(String networkSegment) { + this.networkSegment = networkSegment; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public String getAccessGroupId() { + return this.accessGroupId; + } + + public void setAccessGroupId(String accessGroupId) { + this.accessGroupId = accessGroupId; + } + + public String getCreateTime() { + return this.createTime; + } + + public void setCreateTime(String createTime) { + this.createTime = createTime; + } + + public String getRWAccessType() { + return this.rWAccessType; + } + + public void setRWAccessType(String rWAccessType) { + this.rWAccessType = rWAccessType; + } + + public Integer getPriority() { + return this.priority; + } + + public void setPriority(Integer priority) { + this.priority = priority; + } + + public String getRegionId() { + return this.regionId; + } + + public void setRegionId(String regionId) { + this.regionId = regionId; + } + } + + @Override + public GetAccessRuleResponse getInstance(UnmarshallerContext context) { + return GetAccessRuleResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/GetFileSystemRequest.java b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/GetFileSystemRequest.java new file mode 100644 index 0000000000..5fc96a0507 --- /dev/null +++ b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/GetFileSystemRequest.java @@ -0,0 +1,62 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.dfs.model.v20180620; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class GetFileSystemRequest extends RpcAcsRequest { + + + private String inputRegionId; + + private String fileSystemId; + public GetFileSystemRequest() { + super("DFS", "2018-06-20", "GetFileSystem", "alidfs"); + setMethod(MethodType.POST); + } + + public String getInputRegionId() { + return this.inputRegionId; + } + + public void setInputRegionId(String inputRegionId) { + this.inputRegionId = inputRegionId; + if(inputRegionId != null){ + putQueryParameter("InputRegionId", inputRegionId); + } + } + + public String getFileSystemId() { + return this.fileSystemId; + } + + public void setFileSystemId(String fileSystemId) { + this.fileSystemId = fileSystemId; + if(fileSystemId != null){ + putQueryParameter("FileSystemId", fileSystemId); + } + } + + @Override + public Class getResponseClass() { + return GetFileSystemResponse.class; + } + +} diff --git a/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/GetFileSystemResponse.java b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/GetFileSystemResponse.java new file mode 100644 index 0000000000..719c09b023 --- /dev/null +++ b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/GetFileSystemResponse.java @@ -0,0 +1,239 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.dfs.model.v20180620; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dfs.transform.v20180620.GetFileSystemResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetFileSystemResponse extends AcsResponse { + + private String requestId; + + private FileSystem fileSystem; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public FileSystem getFileSystem() { + return this.fileSystem; + } + + public void setFileSystem(FileSystem fileSystem) { + this.fileSystem = fileSystem; + } + + public static class FileSystem { + + private String createTime; + + private Long provisionedThroughputInMiBps; + + private Long spaceCapacity; + + private String storageType; + + private Float usedSpaceSize; + + private String regionId; + + private String fileSystemId; + + private String fileSystemName; + + private String description; + + private Long mountPointCount; + + private String throughputMode; + + private String zoneId; + + private Long numberOfFiles; + + private String storagePackageId; + + private Long numberOfDirectories; + + private String protocolType; + + private String version; + + private Float meteringSpaceSize; + + public String getCreateTime() { + return this.createTime; + } + + public void setCreateTime(String createTime) { + this.createTime = createTime; + } + + public Long getProvisionedThroughputInMiBps() { + return this.provisionedThroughputInMiBps; + } + + public void setProvisionedThroughputInMiBps(Long provisionedThroughputInMiBps) { + this.provisionedThroughputInMiBps = provisionedThroughputInMiBps; + } + + public Long getSpaceCapacity() { + return this.spaceCapacity; + } + + public void setSpaceCapacity(Long spaceCapacity) { + this.spaceCapacity = spaceCapacity; + } + + public String getStorageType() { + return this.storageType; + } + + public void setStorageType(String storageType) { + this.storageType = storageType; + } + + public Float getUsedSpaceSize() { + return this.usedSpaceSize; + } + + public void setUsedSpaceSize(Float usedSpaceSize) { + this.usedSpaceSize = usedSpaceSize; + } + + public String getRegionId() { + return this.regionId; + } + + public void setRegionId(String regionId) { + this.regionId = regionId; + } + + public String getFileSystemId() { + return this.fileSystemId; + } + + public void setFileSystemId(String fileSystemId) { + this.fileSystemId = fileSystemId; + } + + public String getFileSystemName() { + return this.fileSystemName; + } + + public void setFileSystemName(String fileSystemName) { + this.fileSystemName = fileSystemName; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public Long getMountPointCount() { + return this.mountPointCount; + } + + public void setMountPointCount(Long mountPointCount) { + this.mountPointCount = mountPointCount; + } + + public String getThroughputMode() { + return this.throughputMode; + } + + public void setThroughputMode(String throughputMode) { + this.throughputMode = throughputMode; + } + + public String getZoneId() { + return this.zoneId; + } + + public void setZoneId(String zoneId) { + this.zoneId = zoneId; + } + + public Long getNumberOfFiles() { + return this.numberOfFiles; + } + + public void setNumberOfFiles(Long numberOfFiles) { + this.numberOfFiles = numberOfFiles; + } + + public String getStoragePackageId() { + return this.storagePackageId; + } + + public void setStoragePackageId(String storagePackageId) { + this.storagePackageId = storagePackageId; + } + + public Long getNumberOfDirectories() { + return this.numberOfDirectories; + } + + public void setNumberOfDirectories(Long numberOfDirectories) { + this.numberOfDirectories = numberOfDirectories; + } + + public String getProtocolType() { + return this.protocolType; + } + + public void setProtocolType(String protocolType) { + this.protocolType = protocolType; + } + + public String getVersion() { + return this.version; + } + + public void setVersion(String version) { + this.version = version; + } + + public Float getMeteringSpaceSize() { + return this.meteringSpaceSize; + } + + public void setMeteringSpaceSize(Float meteringSpaceSize) { + this.meteringSpaceSize = meteringSpaceSize; + } + } + + @Override + public GetFileSystemResponse getInstance(UnmarshallerContext context) { + return GetFileSystemResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/GetMountPointRequest.java b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/GetMountPointRequest.java new file mode 100644 index 0000000000..d37e75f017 --- /dev/null +++ b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/GetMountPointRequest.java @@ -0,0 +1,75 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.dfs.model.v20180620; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class GetMountPointRequest extends RpcAcsRequest { + + + private String inputRegionId; + + private String mountPointId; + + private String fileSystemId; + public GetMountPointRequest() { + super("DFS", "2018-06-20", "GetMountPoint", "alidfs"); + setMethod(MethodType.POST); + } + + public String getInputRegionId() { + return this.inputRegionId; + } + + public void setInputRegionId(String inputRegionId) { + this.inputRegionId = inputRegionId; + if(inputRegionId != null){ + putQueryParameter("InputRegionId", inputRegionId); + } + } + + public String getMountPointId() { + return this.mountPointId; + } + + public void setMountPointId(String mountPointId) { + this.mountPointId = mountPointId; + if(mountPointId != null){ + putQueryParameter("MountPointId", mountPointId); + } + } + + public String getFileSystemId() { + return this.fileSystemId; + } + + public void setFileSystemId(String fileSystemId) { + this.fileSystemId = fileSystemId; + if(fileSystemId != null){ + putQueryParameter("FileSystemId", fileSystemId); + } + } + + @Override + public Class getResponseClass() { + return GetMountPointResponse.class; + } + +} diff --git a/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/GetMountPointResponse.java b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/GetMountPointResponse.java new file mode 100644 index 0000000000..5c78286e4c --- /dev/null +++ b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/GetMountPointResponse.java @@ -0,0 +1,179 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.dfs.model.v20180620; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dfs.transform.v20180620.GetMountPointResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetMountPointResponse extends AcsResponse { + + private String requestId; + + private MountPoint mountPoint; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public MountPoint getMountPoint() { + return this.mountPoint; + } + + public void setMountPoint(MountPoint mountPoint) { + this.mountPoint = mountPoint; + } + + public static class MountPoint { + + private String status; + + private String vpcId; + + private String fileSystemId; + + private String vSwitchId; + + private String mountPointId; + + private String description; + + private String accessGroupId; + + private String createTime; + + private String networkType; + + private String mountPointDomain; + + private String regionId; + + private String mountPointAlias; + + public String getStatus() { + return this.status; + } + + public void setStatus(String status) { + this.status = status; + } + + public String getVpcId() { + return this.vpcId; + } + + public void setVpcId(String vpcId) { + this.vpcId = vpcId; + } + + public String getFileSystemId() { + return this.fileSystemId; + } + + public void setFileSystemId(String fileSystemId) { + this.fileSystemId = fileSystemId; + } + + public String getVSwitchId() { + return this.vSwitchId; + } + + public void setVSwitchId(String vSwitchId) { + this.vSwitchId = vSwitchId; + } + + public String getMountPointId() { + return this.mountPointId; + } + + public void setMountPointId(String mountPointId) { + this.mountPointId = mountPointId; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public String getAccessGroupId() { + return this.accessGroupId; + } + + public void setAccessGroupId(String accessGroupId) { + this.accessGroupId = accessGroupId; + } + + public String getCreateTime() { + return this.createTime; + } + + public void setCreateTime(String createTime) { + this.createTime = createTime; + } + + public String getNetworkType() { + return this.networkType; + } + + public void setNetworkType(String networkType) { + this.networkType = networkType; + } + + public String getMountPointDomain() { + return this.mountPointDomain; + } + + public void setMountPointDomain(String mountPointDomain) { + this.mountPointDomain = mountPointDomain; + } + + public String getRegionId() { + return this.regionId; + } + + public void setRegionId(String regionId) { + this.regionId = regionId; + } + + public String getMountPointAlias() { + return this.mountPointAlias; + } + + public void setMountPointAlias(String mountPointAlias) { + this.mountPointAlias = mountPointAlias; + } + } + + @Override + public GetMountPointResponse getInstance(UnmarshallerContext context) { + return GetMountPointResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/GetRegionRequest.java b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/GetRegionRequest.java new file mode 100644 index 0000000000..8fe3dc786f --- /dev/null +++ b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/GetRegionRequest.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.dfs.model.v20180620; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class GetRegionRequest extends RpcAcsRequest { + + + private String inputRegionId; + public GetRegionRequest() { + super("DFS", "2018-06-20", "GetRegion", "alidfs"); + setMethod(MethodType.POST); + } + + public String getInputRegionId() { + return this.inputRegionId; + } + + public void setInputRegionId(String inputRegionId) { + this.inputRegionId = inputRegionId; + if(inputRegionId != null){ + putQueryParameter("InputRegionId", inputRegionId); + } + } + + @Override + public Class getResponseClass() { + return GetRegionResponse.class; + } + +} diff --git a/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/GetRegionResponse.java b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/GetRegionResponse.java new file mode 100644 index 0000000000..86ad9140b8 --- /dev/null +++ b/aliyun-java-sdk-dfs/src/main/java/com/aliyuncs/dfs/model/v20180620/GetRegionResponse.java @@ -0,0 +1,103 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.dfs.model.v20180620; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dfs.transform.v20180620.GetRegionResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetRegionResponse extends AcsResponse { + + private String requestId; + + private List availableZones; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public List getAvailableZones() { + return this.availableZones; + } + + public void setAvailableZones(List availableZones) { + this.availableZones = availableZones; + } + + public static class AvailableZone { + + private String zoneId; + + private List