Skip to content

Commit

Permalink
Update backupsetDownloadset fun.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Feb 25, 2020
1 parent ba1f40d commit 70c919e
Show file tree
Hide file tree
Showing 38 changed files with 1,488 additions and 24 deletions.
3 changes: 3 additions & 0 deletions aliyun-java-sdk-dbs/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2020-02-25 Version: 1.0.21
- Update backupsetDownloadset fun.

2020-02-12 Version: 1.0.20
- Update Full showStorageTyp.

Expand Down
7 changes: 4 additions & 3 deletions aliyun-java-sdk-dbs/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-dbs</artifactId>
<packaging>jar</packaging>
<version>1.0.20</version>
<version>1.0.21</version>
<name>aliyun-java-sdk-dbs</name>
<url>http://www.aliyun.com</url>
<description>Aliyun Open API SDK for Java
Expand All @@ -27,7 +27,7 @@ http://www.aliyun.com</description>
<groupId>com.aliyun</groupId>
<artifactId>aliyun-java-sdk-core</artifactId>
<optional>true</optional>
<version>[4.3.2,5.0.0)</version>
<version>[4.4.9,5.0.0)</version>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
Expand Down Expand Up @@ -84,9 +84,10 @@ http://www.aliyun.com</description>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.8</version>
<version>3.1.0</version>
<configuration>
<encoding>UTF-8</encoding>
<doclint>none</doclint>
</configuration>
</plugin>
<plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public class ConfigureBackupPlanRequest extends RpcAcsRequest<ConfigureBackupPla

private String oSSBucketName;
public ConfigureBackupPlanRequest() {
super("Dbs", "2019-03-06", "ConfigureBackupPlan", "cbs");
super("Dbs", "2019-03-06", "ConfigureBackupPlan");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public class CreateBackupPlanRequest extends RpcAcsRequest<CreateBackupPlanRespo

private String payType;
public CreateBackupPlanRequest() {
super("Dbs", "2019-03-06", "CreateBackupPlan", "cbs");
super("Dbs", "2019-03-06", "CreateBackupPlan");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
/*
* 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.dbs.model.v20190306;

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

/**
* @author auto create
* @version
*/
public class CreateFullBackupSetDownloadRequest extends RpcAcsRequest<CreateFullBackupSetDownloadResponse> {


private String clientToken;

private String backupSetId;

private String ownerId;

private String backupSetDataFormat;
public CreateFullBackupSetDownloadRequest() {
super("Dbs", "2019-03-06", "CreateFullBackupSetDownload");
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 String getClientToken() {
return this.clientToken;
}

public void setClientToken(String clientToken) {
this.clientToken = clientToken;
if(clientToken != null){
putQueryParameter("ClientToken", clientToken);
}
}

public String getBackupSetId() {
return this.backupSetId;
}

public void setBackupSetId(String backupSetId) {
this.backupSetId = backupSetId;
if(backupSetId != null){
putQueryParameter("BackupSetId", backupSetId);
}
}

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

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

public String getBackupSetDataFormat() {
return this.backupSetDataFormat;
}

public void setBackupSetDataFormat(String backupSetDataFormat) {
this.backupSetDataFormat = backupSetDataFormat;
if(backupSetDataFormat != null){
putQueryParameter("BackupSetDataFormat", backupSetDataFormat);
}
}

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

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

import com.aliyuncs.AcsResponse;
import com.aliyuncs.dbs.transform.v20190306.CreateFullBackupSetDownloadResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;

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

private Boolean success;

private String errCode;

private String errMessage;

private Integer httpStatusCode;

private String requestId;

private String backupSetDownloadTaskId;

public Boolean getSuccess() {
return this.success;
}

public void setSuccess(Boolean success) {
this.success = success;
}

public String getErrCode() {
return this.errCode;
}

public void setErrCode(String errCode) {
this.errCode = errCode;
}

public String getErrMessage() {
return this.errMessage;
}

public void setErrMessage(String errMessage) {
this.errMessage = errMessage;
}

public Integer getHttpStatusCode() {
return this.httpStatusCode;
}

public void setHttpStatusCode(Integer httpStatusCode) {
this.httpStatusCode = httpStatusCode;
}

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

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

public String getBackupSetDownloadTaskId() {
return this.backupSetDownloadTaskId;
}

public void setBackupSetDownloadTaskId(String backupSetDownloadTaskId) {
this.backupSetDownloadTaskId = backupSetDownloadTaskId;
}

@Override
public CreateFullBackupSetDownloadResponse getInstance(UnmarshallerContext context) {
return CreateFullBackupSetDownloadResponseUnmarshaller.unmarshall(this, context);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
/*
* 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.dbs.model.v20190306;

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

/**
* @author auto create
* @version
*/
public class CreateIncrementBackupSetDownloadRequest extends RpcAcsRequest<CreateIncrementBackupSetDownloadResponse> {


private String clientToken;

private String backupSetName;

private String backupSetId;

private String ownerId;

private String backupSetDataFormat;
public CreateIncrementBackupSetDownloadRequest() {
super("Dbs", "2019-03-06", "CreateIncrementBackupSetDownload");
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 String getClientToken() {
return this.clientToken;
}

public void setClientToken(String clientToken) {
this.clientToken = clientToken;
if(clientToken != null){
putQueryParameter("ClientToken", clientToken);
}
}

public String getBackupSetName() {
return this.backupSetName;
}

public void setBackupSetName(String backupSetName) {
this.backupSetName = backupSetName;
if(backupSetName != null){
putQueryParameter("BackupSetName", backupSetName);
}
}

public String getBackupSetId() {
return this.backupSetId;
}

public void setBackupSetId(String backupSetId) {
this.backupSetId = backupSetId;
if(backupSetId != null){
putQueryParameter("BackupSetId", backupSetId);
}
}

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

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

public String getBackupSetDataFormat() {
return this.backupSetDataFormat;
}

public void setBackupSetDataFormat(String backupSetDataFormat) {
this.backupSetDataFormat = backupSetDataFormat;
if(backupSetDataFormat != null){
putQueryParameter("BackupSetDataFormat", backupSetDataFormat);
}
}

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

}
Loading

0 comments on commit 70c919e

Please sign in to comment.