Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 91c8bbf

Browse files
committed
DBS SDK Auto Released By wanxin,Version:1.0.7
发布日志: 1, Add ModifyBackupObjects DBS interface.
1 parent 6b060a5 commit 91c8bbf

File tree

5 files changed

+226
-1
lines changed

5 files changed

+226
-1
lines changed

aliyun-java-sdk-dbs/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2019-05-18 Version: 1.0.7
2+
1, Add ModifyBackupObjects DBS interface.
3+
14
2019-05-13 Version: 1.0.6
25
1, Modify CreateRestoreTaskRequest DBS interface.
36

aliyun-java-sdk-dbs/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<groupId>com.aliyun</groupId>
44
<artifactId>aliyun-java-sdk-dbs</artifactId>
55
<packaging>jar</packaging>
6-
<version>1.0.6</version>
6+
<version>1.0.7</version>
77
<name>aliyun-java-sdk-dbs</name>
88
<url>http://www.aliyun.com</url>
99
<description>Aliyun Open API SDK for Java
Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
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.dbs.model.v20190306;
16+
17+
import com.aliyuncs.RpcAcsRequest;
18+
19+
/**
20+
* @author auto create
21+
* @version
22+
*/
23+
public class ModifyBackupObjectsRequest extends RpcAcsRequest<ModifyBackupObjectsResponse> {
24+
25+
public ModifyBackupObjectsRequest() {
26+
super("Dbs", "2019-03-06", "ModifyBackupObjects", "cbs");
27+
}
28+
29+
private String clientToken;
30+
31+
private String backupPlanId;
32+
33+
private String backupObjects;
34+
35+
private String ownerId;
36+
37+
public String getClientToken() {
38+
return this.clientToken;
39+
}
40+
41+
public void setClientToken(String clientToken) {
42+
this.clientToken = clientToken;
43+
if(clientToken != null){
44+
putQueryParameter("ClientToken", clientToken);
45+
}
46+
}
47+
48+
public String getBackupPlanId() {
49+
return this.backupPlanId;
50+
}
51+
52+
public void setBackupPlanId(String backupPlanId) {
53+
this.backupPlanId = backupPlanId;
54+
if(backupPlanId != null){
55+
putQueryParameter("BackupPlanId", backupPlanId);
56+
}
57+
}
58+
59+
public String getBackupObjects() {
60+
return this.backupObjects;
61+
}
62+
63+
public void setBackupObjects(String backupObjects) {
64+
this.backupObjects = backupObjects;
65+
if(backupObjects != null){
66+
putQueryParameter("BackupObjects", backupObjects);
67+
}
68+
}
69+
70+
public String getOwnerId() {
71+
return this.ownerId;
72+
}
73+
74+
public void setOwnerId(String ownerId) {
75+
this.ownerId = ownerId;
76+
if(ownerId != null){
77+
putQueryParameter("OwnerId", ownerId);
78+
}
79+
}
80+
81+
@Override
82+
public Class<ModifyBackupObjectsResponse> getResponseClass() {
83+
return ModifyBackupObjectsResponse.class;
84+
}
85+
86+
}
Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
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.dbs.model.v20190306;
16+
17+
import com.aliyuncs.AcsResponse;
18+
import com.aliyuncs.dbs.transform.v20190306.ModifyBackupObjectsResponseUnmarshaller;
19+
import com.aliyuncs.transform.UnmarshallerContext;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class ModifyBackupObjectsResponse extends AcsResponse {
26+
27+
private Boolean success;
28+
29+
private String errCode;
30+
31+
private String errMessage;
32+
33+
private Integer httpStatusCode;
34+
35+
private String requestId;
36+
37+
private String backupPlanId;
38+
39+
private Boolean needPrecheck;
40+
41+
public Boolean getSuccess() {
42+
return this.success;
43+
}
44+
45+
public void setSuccess(Boolean success) {
46+
this.success = success;
47+
}
48+
49+
public String getErrCode() {
50+
return this.errCode;
51+
}
52+
53+
public void setErrCode(String errCode) {
54+
this.errCode = errCode;
55+
}
56+
57+
public String getErrMessage() {
58+
return this.errMessage;
59+
}
60+
61+
public void setErrMessage(String errMessage) {
62+
this.errMessage = errMessage;
63+
}
64+
65+
public Integer getHttpStatusCode() {
66+
return this.httpStatusCode;
67+
}
68+
69+
public void setHttpStatusCode(Integer httpStatusCode) {
70+
this.httpStatusCode = httpStatusCode;
71+
}
72+
73+
public String getRequestId() {
74+
return this.requestId;
75+
}
76+
77+
public void setRequestId(String requestId) {
78+
this.requestId = requestId;
79+
}
80+
81+
public String getBackupPlanId() {
82+
return this.backupPlanId;
83+
}
84+
85+
public void setBackupPlanId(String backupPlanId) {
86+
this.backupPlanId = backupPlanId;
87+
}
88+
89+
public Boolean getNeedPrecheck() {
90+
return this.needPrecheck;
91+
}
92+
93+
public void setNeedPrecheck(Boolean needPrecheck) {
94+
this.needPrecheck = needPrecheck;
95+
}
96+
97+
@Override
98+
public ModifyBackupObjectsResponse getInstance(UnmarshallerContext context) {
99+
return ModifyBackupObjectsResponseUnmarshaller.unmarshall(this, context);
100+
}
101+
}
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
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.dbs.transform.v20190306;
16+
17+
import com.aliyuncs.dbs.model.v20190306.ModifyBackupObjectsResponse;
18+
import com.aliyuncs.transform.UnmarshallerContext;
19+
20+
21+
public class ModifyBackupObjectsResponseUnmarshaller {
22+
23+
public static ModifyBackupObjectsResponse unmarshall(ModifyBackupObjectsResponse modifyBackupObjectsResponse, UnmarshallerContext context) {
24+
25+
modifyBackupObjectsResponse.setRequestId(context.stringValue("ModifyBackupObjectsResponse.RequestId"));
26+
modifyBackupObjectsResponse.setSuccess(context.booleanValue("ModifyBackupObjectsResponse.Success"));
27+
modifyBackupObjectsResponse.setErrCode(context.stringValue("ModifyBackupObjectsResponse.ErrCode"));
28+
modifyBackupObjectsResponse.setErrMessage(context.stringValue("ModifyBackupObjectsResponse.ErrMessage"));
29+
modifyBackupObjectsResponse.setHttpStatusCode(context.integerValue("ModifyBackupObjectsResponse.HttpStatusCode"));
30+
modifyBackupObjectsResponse.setBackupPlanId(context.stringValue("ModifyBackupObjectsResponse.BackupPlanId"));
31+
modifyBackupObjectsResponse.setNeedPrecheck(context.booleanValue("ModifyBackupObjectsResponse.NeedPrecheck"));
32+
33+
return modifyBackupObjectsResponse;
34+
}
35+
}

0 commit comments

Comments
 (0)