Skip to content

Commit 2782ad0

Browse files
committed
Generated 2021-03-08 for eds-user.
1 parent 80a9ecc commit 2782ad0

File tree

102 files changed

+7854
-0
lines changed

Some content is hidden

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

102 files changed

+7854
-0
lines changed
+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2025-04-23 Version: 1.0.0
2+
- Generated 2021-03-08 for `eds-user`.
3+

aliyun-java-sdk-eds-user/pom.xml

+118
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
<modelVersion>4.0.0</modelVersion>
4+
<groupId>com.aliyun</groupId>
5+
<artifactId>aliyun-java-sdk-eds-user</artifactId>
6+
<packaging>jar</packaging>
7+
<version>1.0.0</version>
8+
<name>aliyun-java-sdk-eds-user</name>
9+
<url>http://www.aliyun.com</url>
10+
<description>Aliyun Open API SDK for Java
11+
Copyright (C) Alibaba Cloud Computing
12+
All rights reserved.
13+
版权所有 (C)阿里云计算有限公司
14+
http://www.aliyun.com</description>
15+
<distributionManagement>
16+
<snapshotRepository>
17+
<id>sonatype-nexus-snapshots</id>
18+
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
19+
</snapshotRepository>
20+
<repository>
21+
<id>sonatype-nexus-staging</id>
22+
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
23+
</repository>
24+
</distributionManagement>
25+
<dependencies>
26+
<dependency>
27+
<groupId>com.aliyun</groupId>
28+
<artifactId>aliyun-java-sdk-core</artifactId>
29+
<optional>true</optional>
30+
<version>[4.3.2,5.0.0)</version>
31+
</dependency>
32+
<dependency>
33+
<groupId>com.google.code.gson</groupId>
34+
<artifactId>gson</artifactId>
35+
<version>2.8.9</version>
36+
</dependency>
37+
</dependencies>
38+
<licenses>
39+
<license>
40+
<name>The Apache License, Version 2.0</name>
41+
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
42+
</license>
43+
</licenses>
44+
<scm>
45+
<connection>scm:git:git://github.com/aliyun/aliyun-openapi-java-sdk.git</connection>
46+
<developerConnection>scm:git:[email protected]:aliyun/aliyun-openapi-java-sdk.git</developerConnection>
47+
<url>https://github.com/aliyun/aliyun-openapi-java-sdk</url>
48+
</scm>
49+
<developers>
50+
<developer>
51+
<id>aliyunproducts</id>
52+
<name>Aliyun SDK</name>
53+
<email>[email protected]</email>
54+
</developer>
55+
</developers>
56+
<build>
57+
<plugins>
58+
<plugin>
59+
<artifactId>maven-compiler-plugin</artifactId>
60+
<version>2.3.2</version>
61+
<configuration>
62+
<source>1.6</source>
63+
<target>1.6</target>
64+
<encoding>UTF-8</encoding>
65+
</configuration>
66+
</plugin>
67+
<plugin>
68+
<groupId>org.apache.maven.plugins</groupId>
69+
<artifactId>maven-jar-plugin</artifactId>
70+
<version>2.3.2</version>
71+
<configuration>
72+
<excludes/>
73+
</configuration>
74+
</plugin>
75+
<plugin>
76+
<groupId>org.apache.maven.plugins</groupId>
77+
<artifactId>maven-surefire-plugin</artifactId>
78+
<version>2.10</version>
79+
<configuration>
80+
<argLine>-Dfile.encoding=UTF-8</argLine>
81+
</configuration>
82+
</plugin>
83+
<plugin>
84+
<groupId>org.apache.maven.plugins</groupId>
85+
<artifactId>maven-javadoc-plugin</artifactId>
86+
<version>2.8</version>
87+
<configuration>
88+
<encoding>UTF-8</encoding>
89+
</configuration>
90+
</plugin>
91+
<plugin>
92+
<groupId>org.apache.maven.plugins</groupId>
93+
<artifactId>maven-gpg-plugin</artifactId>
94+
<version>3.1.0</version>
95+
<executions>
96+
<execution>
97+
<id>sign-artifacts</id>
98+
<phase>verify</phase>
99+
<goals>
100+
<goal>sign</goal>
101+
</goals>
102+
</execution>
103+
</executions>
104+
</plugin>
105+
<plugin>
106+
<groupId>org.sonatype.plugins</groupId>
107+
<artifactId>nexus-staging-maven-plugin</artifactId>
108+
<version>1.6.3</version>
109+
<extensions>true</extensions>
110+
<configuration>
111+
<serverId>sonatype-nexus-staging</serverId>
112+
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
113+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
114+
</configuration>
115+
</plugin>
116+
</plugins>
117+
</build>
118+
</project>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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.eds_user;
16+
17+
import java.util.HashMap;
18+
19+
public class Endpoint {
20+
public static HashMap<String, String> endpointMap = new HashMap<String, String>() {};
21+
22+
public static String endpointRegionalType = "regional";
23+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
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.eds_user.model.v20210308;
16+
17+
import com.aliyuncs.RpcAcsRequest;
18+
import java.util.List;
19+
import com.aliyuncs.http.MethodType;
20+
import com.aliyuncs.eds_user.Endpoint;
21+
22+
/**
23+
* @author auto create
24+
* @version
25+
*/
26+
public class BatchSetDesktopManagerRequest extends RpcAcsRequest<BatchSetDesktopManagerResponse> {
27+
28+
29+
private String isDesktopManager;
30+
31+
private List<String> userss;
32+
public BatchSetDesktopManagerRequest() {
33+
super("eds-user", "2021-03-08", "BatchSetDesktopManager", "eds-user");
34+
setMethod(MethodType.POST);
35+
try {
36+
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
37+
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
38+
} catch (Exception e) {}
39+
}
40+
41+
public String getIsDesktopManager() {
42+
return this.isDesktopManager;
43+
}
44+
45+
public void setIsDesktopManager(String isDesktopManager) {
46+
this.isDesktopManager = isDesktopManager;
47+
if(isDesktopManager != null){
48+
putBodyParameter("IsDesktopManager", isDesktopManager);
49+
}
50+
}
51+
52+
public List<String> getUserss() {
53+
return this.userss;
54+
}
55+
56+
public void setUserss(List<String> userss) {
57+
this.userss = userss;
58+
if (userss != null) {
59+
for (int i = 0; i < userss.size(); i++) {
60+
putBodyParameter("Users." + (i + 1) , userss.get(i));
61+
}
62+
}
63+
}
64+
65+
@Override
66+
public Class<BatchSetDesktopManagerResponse> getResponseClass() {
67+
return BatchSetDesktopManagerResponse.class;
68+
}
69+
70+
}
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.eds_user.model.v20210308;
16+
17+
import com.aliyuncs.AcsResponse;
18+
import com.aliyuncs.eds_user.transform.v20210308.BatchSetDesktopManagerResponseUnmarshaller;
19+
import com.aliyuncs.transform.UnmarshallerContext;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class BatchSetDesktopManagerResponse 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 BatchSetDesktopManagerResponse getInstance(UnmarshallerContext context) {
39+
return BatchSetDesktopManagerResponseUnmarshaller.unmarshall(this, context);
40+
}
41+
42+
@Override
43+
public boolean checkShowJsonItemName() {
44+
return false;
45+
}
46+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
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.eds_user.model.v20210308;
16+
17+
import com.aliyuncs.RpcAcsRequest;
18+
import com.aliyuncs.http.MethodType;
19+
import com.aliyuncs.eds_user.Endpoint;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class ChangeUserPasswordRequest extends RpcAcsRequest<ChangeUserPasswordResponse> {
26+
27+
28+
private String newPassword;
29+
30+
private String endUserId;
31+
public ChangeUserPasswordRequest() {
32+
super("eds-user", "2021-03-08", "ChangeUserPassword", "eds-user");
33+
setMethod(MethodType.POST);
34+
try {
35+
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
36+
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
37+
} catch (Exception e) {}
38+
}
39+
40+
public String getNewPassword() {
41+
return this.newPassword;
42+
}
43+
44+
public void setNewPassword(String newPassword) {
45+
this.newPassword = newPassword;
46+
if(newPassword != null){
47+
putBodyParameter("NewPassword", newPassword);
48+
}
49+
}
50+
51+
public String getEndUserId() {
52+
return this.endUserId;
53+
}
54+
55+
public void setEndUserId(String endUserId) {
56+
this.endUserId = endUserId;
57+
if(endUserId != null){
58+
putBodyParameter("EndUserId", endUserId);
59+
}
60+
}
61+
62+
@Override
63+
public Class<ChangeUserPasswordResponse> getResponseClass() {
64+
return ChangeUserPasswordResponse.class;
65+
}
66+
67+
}
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.eds_user.model.v20210308;
16+
17+
import com.aliyuncs.AcsResponse;
18+
import com.aliyuncs.eds_user.transform.v20210308.ChangeUserPasswordResponseUnmarshaller;
19+
import com.aliyuncs.transform.UnmarshallerContext;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class ChangeUserPasswordResponse 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 ChangeUserPasswordResponse getInstance(UnmarshallerContext context) {
39+
return ChangeUserPasswordResponseUnmarshaller.unmarshall(this, context);
40+
}
41+
42+
@Override
43+
public boolean checkShowJsonItemName() {
44+
return false;
45+
}
46+
}

0 commit comments

Comments
 (0)