Skip to content

Commit 5dcc9de

Browse files
committed
Generated 2021-03-08 for eds-user.
1 parent 26d2e57 commit 5dcc9de

13 files changed

+714
-1
lines changed
+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-04-27 Version: 1.0.1
2+
- Generated 2021-03-08 for `eds-user`.
3+
14
2025-04-23 Version: 1.0.0
25
- Generated 2021-03-08 for `eds-user`.
36

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>com.aliyun</groupId>
55
<artifactId>aliyun-java-sdk-eds-user</artifactId>
66
<packaging>jar</packaging>
7-
<version>1.0.0</version>
7+
<version>1.0.1</version>
88
<name>aliyun-java-sdk-eds-user</name>
99
<url>http://www.aliyun.com</url>
1010
<description>Aliyun Open API SDK for Java
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
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 CreateResourceGroupRequest extends RpcAcsRequest<CreateResourceGroupResponse> {
26+
27+
28+
private String resourceGroupName;
29+
30+
private String platform;
31+
32+
private Long isResourceGroupWithOfficeSite;
33+
public CreateResourceGroupRequest() {
34+
super("eds-user", "2021-03-08", "CreateResourceGroup", "eds-user");
35+
setMethod(MethodType.POST);
36+
try {
37+
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
38+
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
39+
} catch (Exception e) {}
40+
}
41+
42+
public String getResourceGroupName() {
43+
return this.resourceGroupName;
44+
}
45+
46+
public void setResourceGroupName(String resourceGroupName) {
47+
this.resourceGroupName = resourceGroupName;
48+
if(resourceGroupName != null){
49+
putQueryParameter("ResourceGroupName", resourceGroupName);
50+
}
51+
}
52+
53+
public String getPlatform() {
54+
return this.platform;
55+
}
56+
57+
public void setPlatform(String platform) {
58+
this.platform = platform;
59+
if(platform != null){
60+
putQueryParameter("Platform", platform);
61+
}
62+
}
63+
64+
public Long getIsResourceGroupWithOfficeSite() {
65+
return this.isResourceGroupWithOfficeSite;
66+
}
67+
68+
public void setIsResourceGroupWithOfficeSite(Long isResourceGroupWithOfficeSite) {
69+
this.isResourceGroupWithOfficeSite = isResourceGroupWithOfficeSite;
70+
if(isResourceGroupWithOfficeSite != null){
71+
putQueryParameter("IsResourceGroupWithOfficeSite", isResourceGroupWithOfficeSite.toString());
72+
}
73+
}
74+
75+
@Override
76+
public Class<CreateResourceGroupResponse> getResponseClass() {
77+
return CreateResourceGroupResponse.class;
78+
}
79+
80+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
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.CreateResourceGroupResponseUnmarshaller;
19+
import com.aliyuncs.transform.UnmarshallerContext;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class CreateResourceGroupResponse extends AcsResponse {
26+
27+
private String requestId;
28+
29+
private String resourceGroupId;
30+
31+
public String getRequestId() {
32+
return this.requestId;
33+
}
34+
35+
public void setRequestId(String requestId) {
36+
this.requestId = requestId;
37+
}
38+
39+
public String getResourceGroupId() {
40+
return this.resourceGroupId;
41+
}
42+
43+
public void setResourceGroupId(String resourceGroupId) {
44+
this.resourceGroupId = resourceGroupId;
45+
}
46+
47+
@Override
48+
public CreateResourceGroupResponse getInstance(UnmarshallerContext context) {
49+
return CreateResourceGroupResponseUnmarshaller.unmarshall(this, context);
50+
}
51+
52+
@Override
53+
public boolean checkShowJsonItemName() {
54+
return false;
55+
}
56+
}

aliyun-java-sdk-eds-user/src/main/java/com/aliyuncs/eds_user/model/v20210308/CreateUsersResponse.java

+10
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ public class CreateUsersResponse extends AcsResponse {
2727

2828
private String requestId;
2929

30+
private Boolean allSucceed;
31+
3032
private CreateResult createResult;
3133

3234
public String getRequestId() {
@@ -37,6 +39,14 @@ public void setRequestId(String requestId) {
3739
this.requestId = requestId;
3840
}
3941

42+
public Boolean getAllSucceed() {
43+
return this.allSucceed;
44+
}
45+
46+
public void setAllSucceed(Boolean allSucceed) {
47+
this.allSucceed = allSucceed;
48+
}
49+
4050
public CreateResult getCreateResult() {
4151
return this.createResult;
4252
}
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 DeleteResourceGroupRequest extends RpcAcsRequest<DeleteResourceGroupResponse> {
27+
28+
29+
private String resourceGroupId;
30+
31+
private List<String> resourceGroupIds;
32+
public DeleteResourceGroupRequest() {
33+
super("eds-user", "2021-03-08", "DeleteResourceGroup", "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 getResourceGroupId() {
42+
return this.resourceGroupId;
43+
}
44+
45+
public void setResourceGroupId(String resourceGroupId) {
46+
this.resourceGroupId = resourceGroupId;
47+
if(resourceGroupId != null){
48+
putQueryParameter("ResourceGroupId", resourceGroupId);
49+
}
50+
}
51+
52+
public List<String> getResourceGroupIds() {
53+
return this.resourceGroupIds;
54+
}
55+
56+
public void setResourceGroupIds(List<String> resourceGroupIds) {
57+
this.resourceGroupIds = resourceGroupIds;
58+
if (resourceGroupIds != null) {
59+
for (int depth1 = 0; depth1 < resourceGroupIds.size(); depth1++) {
60+
putQueryParameter("ResourceGroupIds." + (depth1 + 1) , resourceGroupIds.get(depth1));
61+
}
62+
}
63+
}
64+
65+
@Override
66+
public Class<DeleteResourceGroupResponse> getResponseClass() {
67+
return DeleteResourceGroupResponse.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.DeleteResourceGroupResponseUnmarshaller;
19+
import com.aliyuncs.transform.UnmarshallerContext;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class DeleteResourceGroupResponse 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 DeleteResourceGroupResponse getInstance(UnmarshallerContext context) {
39+
return DeleteResourceGroupResponseUnmarshaller.unmarshall(this, context);
40+
}
41+
42+
@Override
43+
public boolean checkShowJsonItemName() {
44+
return false;
45+
}
46+
}

0 commit comments

Comments
 (0)