-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
38 changed files
with
1,488 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
93 changes: 93 additions & 0 deletions
93
...bs/src/main/java/com/aliyuncs/dbs/model/v20190306/CreateFullBackupSetDownloadRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
|
||
} |
91 changes: 91 additions & 0 deletions
91
...s/src/main/java/com/aliyuncs/dbs/model/v20190306/CreateFullBackupSetDownloadResponse.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | ||
} | ||
} |
106 changes: 106 additions & 0 deletions
106
...c/main/java/com/aliyuncs/dbs/model/v20190306/CreateIncrementBackupSetDownloadRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
|
||
} |
Oops, something went wrong.