Skip to content

Commit 069b818

Browse files
committed
Generated 2017-08-01 for polardb.
1 parent 87465b1 commit 069b818

14 files changed

+1135
-2
lines changed

aliyun-java-sdk-polardb/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2024-12-19 Version: 1.8.50
2+
- Generated 2017-08-01 for `polardb`.
3+
14
2024-12-13 Version: 1.8.49
25
- Generated 2017-08-01 for `polardb`.
36

aliyun-java-sdk-polardb/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-polardb</artifactId>
66
<packaging>jar</packaging>
7-
<version>1.8.49</version>
7+
<version>1.8.50</version>
88
<name>aliyun-java-sdk-polardb</name>
99
<url>http://www.aliyun.com</url>
1010
<description>Aliyun Open API SDK for Java
Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
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.polardb.model.v20170801;
16+
17+
import com.aliyuncs.RpcAcsRequest;
18+
import com.aliyuncs.http.MethodType;
19+
import com.aliyuncs.polardb.Endpoint;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class CancelActiveOperationTasksRequest extends RpcAcsRequest<CancelActiveOperationTasksResponse> {
26+
27+
28+
private Long resourceOwnerId;
29+
30+
private String taskIds;
31+
32+
private String securityToken;
33+
34+
private String resourceOwnerAccount;
35+
36+
private String ownerAccount;
37+
38+
private Long ownerId;
39+
public CancelActiveOperationTasksRequest() {
40+
super("polardb", "2017-08-01", "CancelActiveOperationTasks", "polardb");
41+
setMethod(MethodType.POST);
42+
try {
43+
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
44+
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
45+
} catch (Exception e) {}
46+
}
47+
48+
public Long getResourceOwnerId() {
49+
return this.resourceOwnerId;
50+
}
51+
52+
public void setResourceOwnerId(Long resourceOwnerId) {
53+
this.resourceOwnerId = resourceOwnerId;
54+
if(resourceOwnerId != null){
55+
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
56+
}
57+
}
58+
59+
public String getTaskIds() {
60+
return this.taskIds;
61+
}
62+
63+
public void setTaskIds(String taskIds) {
64+
this.taskIds = taskIds;
65+
if(taskIds != null){
66+
putQueryParameter("TaskIds", taskIds);
67+
}
68+
}
69+
70+
public String getSecurityToken() {
71+
return this.securityToken;
72+
}
73+
74+
public void setSecurityToken(String securityToken) {
75+
this.securityToken = securityToken;
76+
if(securityToken != null){
77+
putQueryParameter("SecurityToken", securityToken);
78+
}
79+
}
80+
81+
public String getResourceOwnerAccount() {
82+
return this.resourceOwnerAccount;
83+
}
84+
85+
public void setResourceOwnerAccount(String resourceOwnerAccount) {
86+
this.resourceOwnerAccount = resourceOwnerAccount;
87+
if(resourceOwnerAccount != null){
88+
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
89+
}
90+
}
91+
92+
public String getOwnerAccount() {
93+
return this.ownerAccount;
94+
}
95+
96+
public void setOwnerAccount(String ownerAccount) {
97+
this.ownerAccount = ownerAccount;
98+
if(ownerAccount != null){
99+
putQueryParameter("OwnerAccount", ownerAccount);
100+
}
101+
}
102+
103+
public Long getOwnerId() {
104+
return this.ownerId;
105+
}
106+
107+
public void setOwnerId(Long ownerId) {
108+
this.ownerId = ownerId;
109+
if(ownerId != null){
110+
putQueryParameter("OwnerId", ownerId.toString());
111+
}
112+
}
113+
114+
@Override
115+
public Class<CancelActiveOperationTasksResponse> getResponseClass() {
116+
return CancelActiveOperationTasksResponse.class;
117+
}
118+
119+
}
Lines changed: 56 additions & 0 deletions
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.polardb.model.v20170801;
16+
17+
import com.aliyuncs.AcsResponse;
18+
import com.aliyuncs.polardb.transform.v20170801.CancelActiveOperationTasksResponseUnmarshaller;
19+
import com.aliyuncs.transform.UnmarshallerContext;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class CancelActiveOperationTasksResponse extends AcsResponse {
26+
27+
private String requestId;
28+
29+
private String taskIds;
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 getTaskIds() {
40+
return this.taskIds;
41+
}
42+
43+
public void setTaskIds(String taskIds) {
44+
this.taskIds = taskIds;
45+
}
46+
47+
@Override
48+
public CancelActiveOperationTasksResponse getInstance(UnmarshallerContext context) {
49+
return CancelActiveOperationTasksResponseUnmarshaller.unmarshall(this, context);
50+
}
51+
52+
@Override
53+
public boolean checkShowJsonItemName() {
54+
return false;
55+
}
56+
}

aliyun-java-sdk-polardb/src/main/java/com/aliyuncs/polardb/model/v20170801/CreateAccountRequest.java

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@ public class CreateAccountRequest extends RpcAcsRequest<CreateAccountResponse> {
4747

4848
private String accountPassword;
4949

50-
private String dBName;
50+
private String dBName;
51+
52+
private String privForAllDB;
5153
public CreateAccountRequest() {
5254
super("polardb", "2017-08-01", "CreateAccount", "polardb");
5355
setMethod(MethodType.POST);
@@ -187,6 +189,17 @@ public void setDBName(String dBName) {
187189
if(dBName != null){
188190
putQueryParameter("DBName", dBName);
189191
}
192+
}
193+
194+
public String getPrivForAllDB() {
195+
return this.privForAllDB;
196+
}
197+
198+
public void setPrivForAllDB(String privForAllDB) {
199+
this.privForAllDB = privForAllDB;
200+
if(privForAllDB != null){
201+
putQueryParameter("PrivForAllDB", privForAllDB);
202+
}
190203
}
191204

192205
@Override

0 commit comments

Comments
 (0)