Skip to content

Commit

Permalink
Support user customized desktop list.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Sep 9, 2022
1 parent 31ddeed commit 4d03611
Show file tree
Hide file tree
Showing 49 changed files with 3,005 additions and 402 deletions.
3 changes: 3 additions & 0 deletions aliyun-java-sdk-ecd/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2022-09-09 Version: 2.0.9
- Support user customized desktop list.

2022-08-11 Version: 2.0.8
- ModifydesktopGroup接口.

Expand Down
2 changes: 1 addition & 1 deletion aliyun-java-sdk-ecd/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>com.aliyun</groupId>
<artifactId>aliyun-java-sdk-ecd</artifactId>
<packaging>jar</packaging>
<version>2.0.8</version>
<version>2.0.9</version>
<name>aliyun-java-sdk-ecd</name>
<url>http://www.aliyun.com</url>
<description>Aliyun Open API SDK for Java
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,135 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package com.aliyuncs.ecd.model.v20200930;

import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.ecd.Endpoint;

/**
* @author auto create
* @version
*/
public class CreateAndBindNasFileSystemRequest extends RpcAcsRequest<CreateAndBindNasFileSystemResponse> {


private String officeSiteId;

private List<String> endUserIdss;

private String description;

private String storageType;

private Integer encryptType;

private String desktopGroupId;

private String fileSystemName;
public CreateAndBindNasFileSystemRequest() {
super("ecd", "2020-09-30", "CreateAndBindNasFileSystem");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}

public String getOfficeSiteId() {
return this.officeSiteId;
}

public void setOfficeSiteId(String officeSiteId) {
this.officeSiteId = officeSiteId;
if(officeSiteId != null){
putQueryParameter("OfficeSiteId", officeSiteId);
}
}

public List<String> getEndUserIdss() {
return this.endUserIdss;
}

public void setEndUserIdss(List<String> endUserIdss) {
this.endUserIdss = endUserIdss;
if (endUserIdss != null) {
for (int i = 0; i < endUserIdss.size(); i++) {
putQueryParameter("EndUserIds." + (i + 1) , endUserIdss.get(i));
}
}
}

public String getDescription() {
return this.description;
}

public void setDescription(String description) {
this.description = description;
if(description != null){
putQueryParameter("Description", description);
}
}

public String getStorageType() {
return this.storageType;
}

public void setStorageType(String storageType) {
this.storageType = storageType;
if(storageType != null){
putQueryParameter("StorageType", storageType);
}
}

public Integer getEncryptType() {
return this.encryptType;
}

public void setEncryptType(Integer encryptType) {
this.encryptType = encryptType;
if(encryptType != null){
putQueryParameter("EncryptType", encryptType.toString());
}
}

public String getDesktopGroupId() {
return this.desktopGroupId;
}

public void setDesktopGroupId(String desktopGroupId) {
this.desktopGroupId = desktopGroupId;
if(desktopGroupId != null){
putQueryParameter("DesktopGroupId", desktopGroupId);
}
}

public String getFileSystemName() {
return this.fileSystemName;
}

public void setFileSystemName(String fileSystemName) {
this.fileSystemName = fileSystemName;
if(fileSystemName != null){
putQueryParameter("FileSystemName", fileSystemName);
}
}

@Override
public Class<CreateAndBindNasFileSystemResponse> getResponseClass() {
return CreateAndBindNasFileSystemResponse.class;
}

}
Original file line number Diff line number Diff line change
@@ -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.ecd.model.v20200930;

import com.aliyuncs.AcsResponse;
import com.aliyuncs.ecd.transform.v20200930.CreateAndBindNasFileSystemResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;

/**
* @author auto create
* @version
*/
public class CreateAndBindNasFileSystemResponse extends AcsResponse {

private String requestId;

public String getRequestId() {
return this.requestId;
}

public void setRequestId(String requestId) {
this.requestId = requestId;
}

@Override
public CreateAndBindNasFileSystemResponse getInstance(UnmarshallerContext context) {
return CreateAndBindNasFileSystemResponseUnmarshaller.unmarshall(this, context);
}

@Override
public boolean checkShowJsonItemName() {
return false;
}
}
Loading

0 comments on commit 4d03611

Please sign in to comment.