Skip to content

Commit 4d03611

Browse files
committed
Support user customized desktop list.
1 parent 31ddeed commit 4d03611

File tree

49 files changed

+3005
-402
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+3005
-402
lines changed

aliyun-java-sdk-ecd/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2022-09-09 Version: 2.0.9
2+
- Support user customized desktop list.
3+
14
2022-08-11 Version: 2.0.8
25
- ModifydesktopGroup接口.
36

aliyun-java-sdk-ecd/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>com.aliyun</groupId>
55
<artifactId>aliyun-java-sdk-ecd</artifactId>
66
<packaging>jar</packaging>
7-
<version>2.0.8</version>
7+
<version>2.0.9</version>
88
<name>aliyun-java-sdk-ecd</name>
99
<url>http://www.aliyun.com</url>
1010
<description>Aliyun Open API SDK for Java
Lines changed: 135 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,135 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
14+
15+
package com.aliyuncs.ecd.model.v20200930;
16+
17+
import com.aliyuncs.RpcAcsRequest;
18+
import java.util.List;
19+
import com.aliyuncs.http.MethodType;
20+
import com.aliyuncs.ecd.Endpoint;
21+
22+
/**
23+
* @author auto create
24+
* @version
25+
*/
26+
public class CreateAndBindNasFileSystemRequest extends RpcAcsRequest<CreateAndBindNasFileSystemResponse> {
27+
28+
29+
private String officeSiteId;
30+
31+
private List<String> endUserIdss;
32+
33+
private String description;
34+
35+
private String storageType;
36+
37+
private Integer encryptType;
38+
39+
private String desktopGroupId;
40+
41+
private String fileSystemName;
42+
public CreateAndBindNasFileSystemRequest() {
43+
super("ecd", "2020-09-30", "CreateAndBindNasFileSystem");
44+
setMethod(MethodType.POST);
45+
try {
46+
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
47+
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
48+
} catch (Exception e) {}
49+
}
50+
51+
public String getOfficeSiteId() {
52+
return this.officeSiteId;
53+
}
54+
55+
public void setOfficeSiteId(String officeSiteId) {
56+
this.officeSiteId = officeSiteId;
57+
if(officeSiteId != null){
58+
putQueryParameter("OfficeSiteId", officeSiteId);
59+
}
60+
}
61+
62+
public List<String> getEndUserIdss() {
63+
return this.endUserIdss;
64+
}
65+
66+
public void setEndUserIdss(List<String> endUserIdss) {
67+
this.endUserIdss = endUserIdss;
68+
if (endUserIdss != null) {
69+
for (int i = 0; i < endUserIdss.size(); i++) {
70+
putQueryParameter("EndUserIds." + (i + 1) , endUserIdss.get(i));
71+
}
72+
}
73+
}
74+
75+
public String getDescription() {
76+
return this.description;
77+
}
78+
79+
public void setDescription(String description) {
80+
this.description = description;
81+
if(description != null){
82+
putQueryParameter("Description", description);
83+
}
84+
}
85+
86+
public String getStorageType() {
87+
return this.storageType;
88+
}
89+
90+
public void setStorageType(String storageType) {
91+
this.storageType = storageType;
92+
if(storageType != null){
93+
putQueryParameter("StorageType", storageType);
94+
}
95+
}
96+
97+
public Integer getEncryptType() {
98+
return this.encryptType;
99+
}
100+
101+
public void setEncryptType(Integer encryptType) {
102+
this.encryptType = encryptType;
103+
if(encryptType != null){
104+
putQueryParameter("EncryptType", encryptType.toString());
105+
}
106+
}
107+
108+
public String getDesktopGroupId() {
109+
return this.desktopGroupId;
110+
}
111+
112+
public void setDesktopGroupId(String desktopGroupId) {
113+
this.desktopGroupId = desktopGroupId;
114+
if(desktopGroupId != null){
115+
putQueryParameter("DesktopGroupId", desktopGroupId);
116+
}
117+
}
118+
119+
public String getFileSystemName() {
120+
return this.fileSystemName;
121+
}
122+
123+
public void setFileSystemName(String fileSystemName) {
124+
this.fileSystemName = fileSystemName;
125+
if(fileSystemName != null){
126+
putQueryParameter("FileSystemName", fileSystemName);
127+
}
128+
}
129+
130+
@Override
131+
public Class<CreateAndBindNasFileSystemResponse> getResponseClass() {
132+
return CreateAndBindNasFileSystemResponse.class;
133+
}
134+
135+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
14+
15+
package com.aliyuncs.ecd.model.v20200930;
16+
17+
import com.aliyuncs.AcsResponse;
18+
import com.aliyuncs.ecd.transform.v20200930.CreateAndBindNasFileSystemResponseUnmarshaller;
19+
import com.aliyuncs.transform.UnmarshallerContext;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class CreateAndBindNasFileSystemResponse extends AcsResponse {
26+
27+
private String requestId;
28+
29+
public String getRequestId() {
30+
return this.requestId;
31+
}
32+
33+
public void setRequestId(String requestId) {
34+
this.requestId = requestId;
35+
}
36+
37+
@Override
38+
public CreateAndBindNasFileSystemResponse getInstance(UnmarshallerContext context) {
39+
return CreateAndBindNasFileSystemResponseUnmarshaller.unmarshall(this, context);
40+
}
41+
42+
@Override
43+
public boolean checkShowJsonItemName() {
44+
return false;
45+
}
46+
}

0 commit comments

Comments
 (0)