Skip to content

Commit

Permalink
Generated 2015-12-01 for Dds.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Aug 1, 2024
1 parent bbd66cf commit c14d061
Show file tree
Hide file tree
Showing 7 changed files with 71 additions and 29 deletions.
3 changes: 3 additions & 0 deletions aliyun-java-sdk-dds/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2024-08-01 Version: 3.7.19
- Generated 2015-12-01 for `Dds`.

2024-05-24 Version: 3.7.18
- Generated 2015-12-01 for `Dds`.

Expand Down
2 changes: 1 addition & 1 deletion aliyun-java-sdk-dds/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-dds</artifactId>
<packaging>jar</packaging>
<version>3.7.18</version>
<version>3.7.19</version>
<name>aliyun-java-sdk-dds</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
Expand Up @@ -40,7 +40,7 @@ public class Endpoint {
put("ap-northeast-1", "mongodb.ap-northeast-1.aliyuncs.com");
put("cn-huhehaote-nebula-1", "mongodb.aliyuncs.com");
put("cn-shanghai-et2-b01", "mongodb.aliyuncs.com");
put("ap-southeast-1", "mongodb.aliyuncs.com");
put("ap-southeast-1", "mongodb.ap-southeast-1.aliyuncs.com");
put("ap-southeast-2", "mongodb.ap-southeast-2.aliyuncs.com");
put("ap-southeast-3", "mongodb.ap-southeast-3.aliyuncs.com");
put("ap-southeast-5", "mongodb.ap-southeast-5.aliyuncs.com");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,12 @@ public class MigrateAvailableZoneRequest extends RpcAcsRequest<MigrateAvailableZ

private Long resourceOwnerId;

private String secondaryZoneId;

private String effectiveTime;

private String hiddenZoneId;

private String dBInstanceId;

private String resourceOwnerAccount;
Expand Down Expand Up @@ -60,6 +64,17 @@ public void setResourceOwnerId(Long resourceOwnerId) {
}
}

public String getSecondaryZoneId() {
return this.secondaryZoneId;
}

public void setSecondaryZoneId(String secondaryZoneId) {
this.secondaryZoneId = secondaryZoneId;
if(secondaryZoneId != null){
putQueryParameter("SecondaryZoneId", secondaryZoneId);
}
}

public String getEffectiveTime() {
return this.effectiveTime;
}
Expand All @@ -71,6 +86,17 @@ public void setEffectiveTime(String effectiveTime) {
}
}

public String getHiddenZoneId() {
return this.hiddenZoneId;
}

public void setHiddenZoneId(String hiddenZoneId) {
this.hiddenZoneId = hiddenZoneId;
if(hiddenZoneId != null){
putQueryParameter("HiddenZoneId", hiddenZoneId);
}
}

public String getDBInstanceId() {
return this.dBInstanceId;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,22 +22,24 @@
* @author auto create
* @version
*/
public class RestoreDBInstanceRequest extends RpcAcsRequest<RestoreDBInstanceResponse> {
public class RestartNodeRequest extends RpcAcsRequest<RestartNodeResponse> {


private Long resourceOwnerId;

private String roleId;

private String dBInstanceId;

private String nodeId;

private String resourceOwnerAccount;

private String ownerAccount;

private Integer backupId;

private Long ownerId;
public RestoreDBInstanceRequest() {
super("Dds", "2015-12-01", "RestoreDBInstance", "dds");
public RestartNodeRequest() {
super("Dds", "2015-12-01", "RestartNode", "dds");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
Expand All @@ -56,6 +58,17 @@ public void setResourceOwnerId(Long resourceOwnerId) {
}
}

public String getRoleId() {
return this.roleId;
}

public void setRoleId(String roleId) {
this.roleId = roleId;
if(roleId != null){
putQueryParameter("RoleId", roleId);
}
}

public String getDBInstanceId() {
return this.dBInstanceId;
}
Expand All @@ -67,6 +80,17 @@ public void setDBInstanceId(String dBInstanceId) {
}
}

public String getNodeId() {
return this.nodeId;
}

public void setNodeId(String nodeId) {
this.nodeId = nodeId;
if(nodeId != null){
putQueryParameter("NodeId", nodeId);
}
}

public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
Expand All @@ -89,17 +113,6 @@ public void setOwnerAccount(String ownerAccount) {
}
}

public Integer getBackupId() {
return this.backupId;
}

public void setBackupId(Integer backupId) {
this.backupId = backupId;
if(backupId != null){
putQueryParameter("BackupId", backupId.toString());
}
}

public Long getOwnerId() {
return this.ownerId;
}
Expand All @@ -112,8 +125,8 @@ public void setOwnerId(Long ownerId) {
}

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

}
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
package com.aliyuncs.dds.model.v20151201;

import com.aliyuncs.AcsResponse;
import com.aliyuncs.dds.transform.v20151201.RestoreDBInstanceResponseUnmarshaller;
import com.aliyuncs.dds.transform.v20151201.RestartNodeResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;

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

private String requestId;

Expand All @@ -35,7 +35,7 @@ public void setRequestId(String requestId) {
}

@Override
public RestoreDBInstanceResponse getInstance(UnmarshallerContext context) {
return RestoreDBInstanceResponseUnmarshaller.unmarshall(this, context);
public RestartNodeResponse getInstance(UnmarshallerContext context) {
return RestartNodeResponseUnmarshaller.unmarshall(this, context);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@

package com.aliyuncs.dds.transform.v20151201;

import com.aliyuncs.dds.model.v20151201.RestoreDBInstanceResponse;
import com.aliyuncs.dds.model.v20151201.RestartNodeResponse;
import com.aliyuncs.transform.UnmarshallerContext;


public class RestoreDBInstanceResponseUnmarshaller {
public class RestartNodeResponseUnmarshaller {

public static RestoreDBInstanceResponse unmarshall(RestoreDBInstanceResponse restoreDBInstanceResponse, UnmarshallerContext _ctx) {
public static RestartNodeResponse unmarshall(RestartNodeResponse restartNodeResponse, UnmarshallerContext _ctx) {

restoreDBInstanceResponse.setRequestId(_ctx.stringValue("RestoreDBInstanceResponse.RequestId"));
restartNodeResponse.setRequestId(_ctx.stringValue("RestartNodeResponse.RequestId"));

return restoreDBInstanceResponse;
return restartNodeResponse;
}
}

0 comments on commit c14d061

Please sign in to comment.