Skip to content

Commit

Permalink
Generated 2017-08-01 for polardb.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Dec 19, 2024
1 parent 87465b1 commit 069b818
Show file tree
Hide file tree
Showing 14 changed files with 1,135 additions and 2 deletions.
3 changes: 3 additions & 0 deletions aliyun-java-sdk-polardb/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2024-12-19 Version: 1.8.50
- Generated 2017-08-01 for `polardb`.

2024-12-13 Version: 1.8.49
- Generated 2017-08-01 for `polardb`.

Expand Down
2 changes: 1 addition & 1 deletion aliyun-java-sdk-polardb/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-polardb</artifactId>
<packaging>jar</packaging>
<version>1.8.49</version>
<version>1.8.50</version>
<name>aliyun-java-sdk-polardb</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,119 @@
/*
* 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.polardb.model.v20170801;

import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.polardb.Endpoint;

/**
* @author auto create
* @version
*/
public class CancelActiveOperationTasksRequest extends RpcAcsRequest<CancelActiveOperationTasksResponse> {


private Long resourceOwnerId;

private String taskIds;

private String securityToken;

private String resourceOwnerAccount;

private String ownerAccount;

private Long ownerId;
public CancelActiveOperationTasksRequest() {
super("polardb", "2017-08-01", "CancelActiveOperationTasks", "polardb");
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 Long getResourceOwnerId() {
return this.resourceOwnerId;
}

public void setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
if(resourceOwnerId != null){
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
}
}

public String getTaskIds() {
return this.taskIds;
}

public void setTaskIds(String taskIds) {
this.taskIds = taskIds;
if(taskIds != null){
putQueryParameter("TaskIds", taskIds);
}
}

public String getSecurityToken() {
return this.securityToken;
}

public void setSecurityToken(String securityToken) {
this.securityToken = securityToken;
if(securityToken != null){
putQueryParameter("SecurityToken", securityToken);
}
}

public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}

public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}

public String getOwnerAccount() {
return this.ownerAccount;
}

public void setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
if(ownerAccount != null){
putQueryParameter("OwnerAccount", ownerAccount);
}
}

public Long getOwnerId() {
return this.ownerId;
}

public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}

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

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
/*
* 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.polardb.model.v20170801;

import com.aliyuncs.AcsResponse;
import com.aliyuncs.polardb.transform.v20170801.CancelActiveOperationTasksResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;

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

private String requestId;

private String taskIds;

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

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

public String getTaskIds() {
return this.taskIds;
}

public void setTaskIds(String taskIds) {
this.taskIds = taskIds;
}

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

@Override
public boolean checkShowJsonItemName() {
return false;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ public class CreateAccountRequest extends RpcAcsRequest<CreateAccountResponse> {

private String accountPassword;

private String dBName;
private String dBName;

private String privForAllDB;
public CreateAccountRequest() {
super("polardb", "2017-08-01", "CreateAccount", "polardb");
setMethod(MethodType.POST);
Expand Down Expand Up @@ -187,6 +189,17 @@ public void setDBName(String dBName) {
if(dBName != null){
putQueryParameter("DBName", dBName);
}
}

public String getPrivForAllDB() {
return this.privForAllDB;
}

public void setPrivForAllDB(String privForAllDB) {
this.privForAllDB = privForAllDB;
if(privForAllDB != null){
putQueryParameter("PrivForAllDB", privForAllDB);
}
}

@Override
Expand Down
Loading

0 comments on commit 069b818

Please sign in to comment.