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

Skip to content

Commit 702eb4a

Browse files
committed
RETAILCLOUD SDK Auto Released By wb-mmw258555,Version:1.0.2
发布日志: 1, This is an example of release-log. 2, Please strictly follow this format to edit in English. 3, Format:Number + , + Space + Description
1 parent c6dca9b commit 702eb4a

20 files changed

+1964
-1
lines changed

aliyun-java-sdk-retailcloud/ChangeLog.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2019-05-22 Version: 1.0.2
2+
1, This is an example of release-log.
3+
2, Please strictly follow this format to edit in English.
4+
3, Format:Number + , + Space + Description
5+
16
2019-05-14 Version: 1.0.0
27
1, Add StartWithNoSecret interface,Support without secret to start.
38
2, Support for multiple instances of batch creation and deletion.

aliyun-java-sdk-retailcloud/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-retailcloud</artifactId>
55
<packaging>jar</packaging>
6-
<version>1.0.0</version>
6+
<version>1.0.2</version>
77
<name>aliyun-java-sdk-retailcloud</name>
88
<url>http://www.aliyun.com</url>
99
<description>Aliyun Open API SDK for Java
Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
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.retailcloud.model.v20180313;
16+
17+
import com.aliyuncs.RpcAcsRequest;
18+
19+
/**
20+
* @author auto create
21+
* @version
22+
*/
23+
public class CreateDbRequest extends RpcAcsRequest<CreateDbResponse> {
24+
25+
public CreateDbRequest() {
26+
super("retailcloud", "2018-03-13", "CreateDb");
27+
}
28+
29+
private String dbName;
30+
31+
private Integer mainUserId;
32+
33+
private String dbInstanceId;
34+
35+
private String dbDescription;
36+
37+
private String characterSetName;
38+
39+
public String getDbName() {
40+
return this.dbName;
41+
}
42+
43+
public void setDbName(String dbName) {
44+
this.dbName = dbName;
45+
if(dbName != null){
46+
putQueryParameter("DbName", dbName);
47+
}
48+
}
49+
50+
public Integer getMainUserId() {
51+
return this.mainUserId;
52+
}
53+
54+
public void setMainUserId(Integer mainUserId) {
55+
this.mainUserId = mainUserId;
56+
if(mainUserId != null){
57+
putQueryParameter("MainUserId", mainUserId.toString());
58+
}
59+
}
60+
61+
public String getDbInstanceId() {
62+
return this.dbInstanceId;
63+
}
64+
65+
public void setDbInstanceId(String dbInstanceId) {
66+
this.dbInstanceId = dbInstanceId;
67+
if(dbInstanceId != null){
68+
putQueryParameter("DbInstanceId", dbInstanceId);
69+
}
70+
}
71+
72+
public String getDbDescription() {
73+
return this.dbDescription;
74+
}
75+
76+
public void setDbDescription(String dbDescription) {
77+
this.dbDescription = dbDescription;
78+
if(dbDescription != null){
79+
putQueryParameter("DbDescription", dbDescription);
80+
}
81+
}
82+
83+
public String getCharacterSetName() {
84+
return this.characterSetName;
85+
}
86+
87+
public void setCharacterSetName(String characterSetName) {
88+
this.characterSetName = characterSetName;
89+
if(characterSetName != null){
90+
putQueryParameter("CharacterSetName", characterSetName);
91+
}
92+
}
93+
94+
@Override
95+
public Class<CreateDbResponse> getResponseClass() {
96+
return CreateDbResponse.class;
97+
}
98+
99+
}
Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
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.retailcloud.model.v20180313;
16+
17+
import com.aliyuncs.AcsResponse;
18+
import com.aliyuncs.retailcloud.transform.v20180313.CreateDbResponseUnmarshaller;
19+
import com.aliyuncs.transform.UnmarshallerContext;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class CreateDbResponse extends AcsResponse {
26+
27+
private Integer code;
28+
29+
private Boolean success;
30+
31+
private String requestId;
32+
33+
private String errMsg;
34+
35+
private String _class;
36+
37+
private Boolean transmitAliyun;
38+
39+
private Result result;
40+
41+
public Integer getCode() {
42+
return this.code;
43+
}
44+
45+
public void setCode(Integer code) {
46+
this.code = code;
47+
}
48+
49+
public Boolean getSuccess() {
50+
return this.success;
51+
}
52+
53+
public void setSuccess(Boolean success) {
54+
this.success = success;
55+
}
56+
57+
public String getRequestId() {
58+
return this.requestId;
59+
}
60+
61+
public void setRequestId(String requestId) {
62+
this.requestId = requestId;
63+
}
64+
65+
public String getErrMsg() {
66+
return this.errMsg;
67+
}
68+
69+
public void setErrMsg(String errMsg) {
70+
this.errMsg = errMsg;
71+
}
72+
73+
public String get_Class() {
74+
return this._class;
75+
}
76+
77+
public void set_Class(String _class) {
78+
this._class = _class;
79+
}
80+
81+
public Boolean getTransmitAliyun() {
82+
return this.transmitAliyun;
83+
}
84+
85+
public void setTransmitAliyun(Boolean transmitAliyun) {
86+
this.transmitAliyun = transmitAliyun;
87+
}
88+
89+
public Result getResult() {
90+
return this.result;
91+
}
92+
93+
public void setResult(Result result) {
94+
this.result = result;
95+
}
96+
97+
public static class Result {
98+
99+
private String _class;
100+
101+
public String get_Class() {
102+
return this._class;
103+
}
104+
105+
public void set_Class(String _class) {
106+
this._class = _class;
107+
}
108+
}
109+
110+
@Override
111+
public CreateDbResponse getInstance(UnmarshallerContext context) {
112+
return CreateDbResponseUnmarshaller.unmarshall(this, context);
113+
}
114+
115+
@Override
116+
public boolean checkShowJsonItemName() {
117+
return false;
118+
}
119+
}
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.retailcloud.model.v20180313;
16+
17+
import com.aliyuncs.RpcAcsRequest;
18+
19+
/**
20+
* @author auto create
21+
* @version
22+
*/
23+
public class DeleteResAccountsRequest extends RpcAcsRequest<DeleteResAccountsResponse> {
24+
25+
public DeleteResAccountsRequest() {
26+
super("retailcloud", "2018-03-13", "DeleteResAccounts");
27+
}
28+
29+
private String accountName;
30+
31+
private Integer mainUserId;
32+
33+
private String dbInstanceId;
34+
35+
public String getAccountName() {
36+
return this.accountName;
37+
}
38+
39+
public void setAccountName(String accountName) {
40+
this.accountName = accountName;
41+
if(accountName != null){
42+
putQueryParameter("AccountName", accountName);
43+
}
44+
}
45+
46+
public Integer getMainUserId() {
47+
return this.mainUserId;
48+
}
49+
50+
public void setMainUserId(Integer mainUserId) {
51+
this.mainUserId = mainUserId;
52+
if(mainUserId != null){
53+
putQueryParameter("MainUserId", mainUserId.toString());
54+
}
55+
}
56+
57+
public String getDbInstanceId() {
58+
return this.dbInstanceId;
59+
}
60+
61+
public void setDbInstanceId(String dbInstanceId) {
62+
this.dbInstanceId = dbInstanceId;
63+
if(dbInstanceId != null){
64+
putQueryParameter("DbInstanceId", dbInstanceId);
65+
}
66+
}
67+
68+
@Override
69+
public Class<DeleteResAccountsResponse> getResponseClass() {
70+
return DeleteResAccountsResponse.class;
71+
}
72+
73+
}

0 commit comments

Comments
 (0)