Skip to content

Commit 350d121

Browse files
committed
DBS SDK Auto Released By wanxin,Version:1.0.5
发布日志: 1, Add DescribeRestoreTaskList DBS interface. 2, Add DescribeNodeCidrList DBS interface.
1 parent 3b0725b commit 350d121

File tree

8 files changed

+755
-1
lines changed

8 files changed

+755
-1
lines changed

aliyun-java-sdk-dbs/ChangeLog.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2019-04-17 Version: 1.0.5
2+
1, Add DescribeRestoreTaskList DBS interface.
3+
2, Add DescribeNodeCidrList DBS interface.
4+
15
2019-04-15 Version: 1.0.4
26
1, Add CreateRestoreTask DBS interface.
37
2, Add StartRestoreTask DBS interface.

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.4</version>
6+
<version>1.0.5</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: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
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 DescribeNodeCidrListRequest extends RpcAcsRequest<DescribeNodeCidrListResponse> {
24+
25+
public DescribeNodeCidrListRequest() {
26+
super("Dbs", "2019-03-06", "DescribeNodeCidrList", "cbs");
27+
}
28+
29+
private String clientToken;
30+
31+
private String region;
32+
33+
private String ownerId;
34+
35+
public String getClientToken() {
36+
return this.clientToken;
37+
}
38+
39+
public void setClientToken(String clientToken) {
40+
this.clientToken = clientToken;
41+
if(clientToken != null){
42+
putQueryParameter("ClientToken", clientToken);
43+
}
44+
}
45+
46+
public String getRegion() {
47+
return this.region;
48+
}
49+
50+
public void setRegion(String region) {
51+
this.region = region;
52+
if(region != null){
53+
putQueryParameter("Region", region);
54+
}
55+
}
56+
57+
public String getOwnerId() {
58+
return this.ownerId;
59+
}
60+
61+
public void setOwnerId(String ownerId) {
62+
this.ownerId = ownerId;
63+
if(ownerId != null){
64+
putQueryParameter("OwnerId", ownerId);
65+
}
66+
}
67+
68+
@Override
69+
public Class<DescribeNodeCidrListResponse> getResponseClass() {
70+
return DescribeNodeCidrListResponse.class;
71+
}
72+
73+
}
Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
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 java.util.List;
18+
import com.aliyuncs.AcsResponse;
19+
import com.aliyuncs.dbs.transform.v20190306.DescribeNodeCidrListResponseUnmarshaller;
20+
import com.aliyuncs.transform.UnmarshallerContext;
21+
22+
/**
23+
* @author auto create
24+
* @version
25+
*/
26+
public class DescribeNodeCidrListResponse extends AcsResponse {
27+
28+
private Boolean success;
29+
30+
private String errCode;
31+
32+
private String errMessage;
33+
34+
private Integer httpStatusCode;
35+
36+
private String requestId;
37+
38+
private List<String> internetIPs;
39+
40+
private List<String> intranetIPs;
41+
42+
public Boolean getSuccess() {
43+
return this.success;
44+
}
45+
46+
public void setSuccess(Boolean success) {
47+
this.success = success;
48+
}
49+
50+
public String getErrCode() {
51+
return this.errCode;
52+
}
53+
54+
public void setErrCode(String errCode) {
55+
this.errCode = errCode;
56+
}
57+
58+
public String getErrMessage() {
59+
return this.errMessage;
60+
}
61+
62+
public void setErrMessage(String errMessage) {
63+
this.errMessage = errMessage;
64+
}
65+
66+
public Integer getHttpStatusCode() {
67+
return this.httpStatusCode;
68+
}
69+
70+
public void setHttpStatusCode(Integer httpStatusCode) {
71+
this.httpStatusCode = httpStatusCode;
72+
}
73+
74+
public String getRequestId() {
75+
return this.requestId;
76+
}
77+
78+
public void setRequestId(String requestId) {
79+
this.requestId = requestId;
80+
}
81+
82+
public List<String> getInternetIPs() {
83+
return this.internetIPs;
84+
}
85+
86+
public void setInternetIPs(List<String> internetIPs) {
87+
this.internetIPs = internetIPs;
88+
}
89+
90+
public List<String> getIntranetIPs() {
91+
return this.intranetIPs;
92+
}
93+
94+
public void setIntranetIPs(List<String> intranetIPs) {
95+
this.intranetIPs = intranetIPs;
96+
}
97+
98+
@Override
99+
public DescribeNodeCidrListResponse getInstance(UnmarshallerContext context) {
100+
return DescribeNodeCidrListResponseUnmarshaller.unmarshall(this, context);
101+
}
102+
}
Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
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 DescribeRestoreTaskListRequest extends RpcAcsRequest<DescribeRestoreTaskListResponse> {
24+
25+
public DescribeRestoreTaskListRequest() {
26+
super("Dbs", "2019-03-06", "DescribeRestoreTaskList", "cbs");
27+
}
28+
29+
private String clientToken;
30+
31+
private String restoreTaskId;
32+
33+
private Integer pageSize;
34+
35+
private String backupPlanId;
36+
37+
private Integer pageNum;
38+
39+
private String ownerId;
40+
41+
public String getClientToken() {
42+
return this.clientToken;
43+
}
44+
45+
public void setClientToken(String clientToken) {
46+
this.clientToken = clientToken;
47+
if(clientToken != null){
48+
putQueryParameter("ClientToken", clientToken);
49+
}
50+
}
51+
52+
public String getRestoreTaskId() {
53+
return this.restoreTaskId;
54+
}
55+
56+
public void setRestoreTaskId(String restoreTaskId) {
57+
this.restoreTaskId = restoreTaskId;
58+
if(restoreTaskId != null){
59+
putQueryParameter("RestoreTaskId", restoreTaskId);
60+
}
61+
}
62+
63+
public Integer getPageSize() {
64+
return this.pageSize;
65+
}
66+
67+
public void setPageSize(Integer pageSize) {
68+
this.pageSize = pageSize;
69+
if(pageSize != null){
70+
putQueryParameter("PageSize", pageSize.toString());
71+
}
72+
}
73+
74+
public String getBackupPlanId() {
75+
return this.backupPlanId;
76+
}
77+
78+
public void setBackupPlanId(String backupPlanId) {
79+
this.backupPlanId = backupPlanId;
80+
if(backupPlanId != null){
81+
putQueryParameter("BackupPlanId", backupPlanId);
82+
}
83+
}
84+
85+
public Integer getPageNum() {
86+
return this.pageNum;
87+
}
88+
89+
public void setPageNum(Integer pageNum) {
90+
this.pageNum = pageNum;
91+
if(pageNum != null){
92+
putQueryParameter("PageNum", pageNum.toString());
93+
}
94+
}
95+
96+
public String getOwnerId() {
97+
return this.ownerId;
98+
}
99+
100+
public void setOwnerId(String ownerId) {
101+
this.ownerId = ownerId;
102+
if(ownerId != null){
103+
putQueryParameter("OwnerId", ownerId);
104+
}
105+
}
106+
107+
@Override
108+
public Class<DescribeRestoreTaskListResponse> getResponseClass() {
109+
return DescribeRestoreTaskListResponse.class;
110+
}
111+
112+
}

0 commit comments

Comments
 (0)