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

Skip to content

Commit 2e9a796

Browse files
committed
DRDS SDK Auto Released By mingyue.gmy,Version:4.0.0
发布日志: 1, A new 2019-01-23 version on which DRDS new Console based.
1 parent ef6f333 commit 2e9a796

File tree

5 files changed

+160
-0
lines changed

5 files changed

+160
-0
lines changed

aliyun-java-sdk-drds/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2019-04-11 Version: 4.0.0
2+
1, A new 2019-01-23 version on which DRDS new Console based.
3+
14
2019-04-03 Version: 4.0.0
25
1, A new 2019-01-23 version on which DRDS new Console based.
36

aliyun-java-sdk-drds/pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ http://www.aliyun.com</description>
3333
<optional>true</optional>
3434
<version>[4.3.2,5.0.0)</version>
3535
</dependency>
36+
<dependency>
37+
<groupId>com.google.code.gson</groupId>
38+
<artifactId>gson</artifactId>
39+
<version>2.8.5</version>
40+
</dependency>
3641
</dependencies>
3742
<licenses>
3843
<license>
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
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.drds.model.v20190123;
16+
17+
import com.aliyuncs.RpcAcsRequest;
18+
19+
/**
20+
* @author auto create
21+
* @version
22+
*/
23+
public class ResetDrdsToRdsConnectionsRequest extends RpcAcsRequest<ResetDrdsToRdsConnectionsResponse> {
24+
25+
public ResetDrdsToRdsConnectionsRequest() {
26+
super("Drds", "2019-01-23", "ResetDrdsToRdsConnections");
27+
}
28+
29+
private String dbName;
30+
31+
private String drdsInstanceId;
32+
33+
public String getDbName() {
34+
return this.dbName;
35+
}
36+
37+
public void setDbName(String dbName) {
38+
this.dbName = dbName;
39+
if(dbName != null){
40+
putQueryParameter("DbName", dbName);
41+
}
42+
}
43+
44+
public String getDrdsInstanceId() {
45+
return this.drdsInstanceId;
46+
}
47+
48+
public void setDrdsInstanceId(String drdsInstanceId) {
49+
this.drdsInstanceId = drdsInstanceId;
50+
if(drdsInstanceId != null){
51+
putQueryParameter("DrdsInstanceId", drdsInstanceId);
52+
}
53+
}
54+
55+
@Override
56+
public Class<ResetDrdsToRdsConnectionsResponse> getResponseClass() {
57+
return ResetDrdsToRdsConnectionsResponse.class;
58+
}
59+
60+
}
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
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.drds.model.v20190123;
16+
17+
import com.aliyuncs.AcsResponse;
18+
import com.aliyuncs.drds.transform.v20190123.ResetDrdsToRdsConnectionsResponseUnmarshaller;
19+
import com.aliyuncs.transform.UnmarshallerContext;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class ResetDrdsToRdsConnectionsResponse extends AcsResponse {
26+
27+
private String requestId;
28+
29+
private Boolean success;
30+
31+
private String result;
32+
33+
public String getRequestId() {
34+
return this.requestId;
35+
}
36+
37+
public void setRequestId(String requestId) {
38+
this.requestId = requestId;
39+
}
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 getResult() {
50+
return this.result;
51+
}
52+
53+
public void setResult(String result) {
54+
this.result = result;
55+
}
56+
57+
@Override
58+
public ResetDrdsToRdsConnectionsResponse getInstance(UnmarshallerContext context) {
59+
return ResetDrdsToRdsConnectionsResponseUnmarshaller.unmarshall(this, context);
60+
}
61+
}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
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.drds.transform.v20190123;
16+
17+
import com.aliyuncs.drds.model.v20190123.ResetDrdsToRdsConnectionsResponse;
18+
import com.aliyuncs.transform.UnmarshallerContext;
19+
20+
21+
public class ResetDrdsToRdsConnectionsResponseUnmarshaller {
22+
23+
public static ResetDrdsToRdsConnectionsResponse unmarshall(ResetDrdsToRdsConnectionsResponse resetDrdsToRdsConnectionsResponse, UnmarshallerContext context) {
24+
25+
resetDrdsToRdsConnectionsResponse.setRequestId(context.stringValue("ResetDrdsToRdsConnectionsResponse.RequestId"));
26+
resetDrdsToRdsConnectionsResponse.setSuccess(context.booleanValue("ResetDrdsToRdsConnectionsResponse.Success"));
27+
resetDrdsToRdsConnectionsResponse.setResult(context.stringValue("ResetDrdsToRdsConnectionsResponse.Result"));
28+
29+
return resetDrdsToRdsConnectionsResponse;
30+
}
31+
}

0 commit comments

Comments
 (0)