Skip to content

Commit e6683b5

Browse files
committed
Generated 2020-04-20 for OnsMqtt.
1 parent e1d957e commit e6683b5

20 files changed

+1382
-1
lines changed

aliyun-java-sdk-onsmqtt/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-02-25 Version: 1.0.15
2+
- Generated 2020-04-20 for `OnsMqtt`.
3+
14
2024-08-27 Version: 1.0.14
25
- Generated 2020-04-20 for `OnsMqtt`.
36

aliyun-java-sdk-onsmqtt/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>com.aliyun</groupId>
55
<artifactId>aliyun-java-sdk-onsmqtt</artifactId>
66
<packaging>jar</packaging>
7-
<version>1.0.14</version>
7+
<version>1.0.15</version>
88
<name>aliyun-java-sdk-onsmqtt</name>
99
<url>http://www.aliyun.com</url>
1010
<description>Aliyun Open API SDK for Java
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
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.onsmqtt.model.v20200420;
16+
17+
import com.aliyuncs.RpcAcsRequest;
18+
import com.aliyuncs.http.ProtocolType;
19+
import com.aliyuncs.http.MethodType;
20+
import com.aliyuncs.onsmqtt.Endpoint;
21+
22+
/**
23+
* @author auto create
24+
* @version
25+
*/
26+
public class DisasterDowngradeRequest extends RpcAcsRequest<DisasterDowngradeResponse> {
27+
28+
29+
private String downgradeInstanceId;
30+
31+
private String instanceId;
32+
public DisasterDowngradeRequest() {
33+
super("OnsMqtt", "2020-04-20", "DisasterDowngrade", "onsmqtt");
34+
setProtocol(ProtocolType.HTTPS);
35+
setMethod(MethodType.POST);
36+
try {
37+
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
38+
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
39+
} catch (Exception e) {}
40+
}
41+
42+
public String getDowngradeInstanceId() {
43+
return this.downgradeInstanceId;
44+
}
45+
46+
public void setDowngradeInstanceId(String downgradeInstanceId) {
47+
this.downgradeInstanceId = downgradeInstanceId;
48+
if(downgradeInstanceId != null){
49+
putBodyParameter("DowngradeInstanceId", downgradeInstanceId);
50+
}
51+
}
52+
53+
public String getInstanceId() {
54+
return this.instanceId;
55+
}
56+
57+
public void setInstanceId(String instanceId) {
58+
this.instanceId = instanceId;
59+
if(instanceId != null){
60+
putBodyParameter("InstanceId", instanceId);
61+
}
62+
}
63+
64+
@Override
65+
public Class<DisasterDowngradeResponse> getResponseClass() {
66+
return DisasterDowngradeResponse.class;
67+
}
68+
69+
}
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.onsmqtt.model.v20200420;
16+
17+
import com.aliyuncs.AcsResponse;
18+
import com.aliyuncs.onsmqtt.transform.v20200420.DisasterDowngradeResponseUnmarshaller;
19+
import com.aliyuncs.transform.UnmarshallerContext;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class DisasterDowngradeResponse extends AcsResponse {
26+
27+
private String requestId;
28+
29+
private Integer code;
30+
31+
private Boolean success;
32+
33+
private String message;
34+
35+
private String accessDeniedDetail;
36+
37+
public String getRequestId() {
38+
return this.requestId;
39+
}
40+
41+
public void setRequestId(String requestId) {
42+
this.requestId = requestId;
43+
}
44+
45+
public Integer getCode() {
46+
return this.code;
47+
}
48+
49+
public void setCode(Integer code) {
50+
this.code = code;
51+
}
52+
53+
public Boolean getSuccess() {
54+
return this.success;
55+
}
56+
57+
public void setSuccess(Boolean success) {
58+
this.success = success;
59+
}
60+
61+
public String getMessage() {
62+
return this.message;
63+
}
64+
65+
public void setMessage(String message) {
66+
this.message = message;
67+
}
68+
69+
public String getAccessDeniedDetail() {
70+
return this.accessDeniedDetail;
71+
}
72+
73+
public void setAccessDeniedDetail(String accessDeniedDetail) {
74+
this.accessDeniedDetail = accessDeniedDetail;
75+
}
76+
77+
@Override
78+
public DisasterDowngradeResponse getInstance(UnmarshallerContext context) {
79+
return DisasterDowngradeResponseUnmarshaller.unmarshall(this, context);
80+
}
81+
82+
@Override
83+
public boolean checkShowJsonItemName() {
84+
return false;
85+
}
86+
}
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
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.onsmqtt.model.v20200420;
16+
17+
import com.aliyuncs.RpcAcsRequest;
18+
import com.aliyuncs.http.ProtocolType;
19+
import com.aliyuncs.http.MethodType;
20+
import com.aliyuncs.onsmqtt.Endpoint;
21+
22+
/**
23+
* @author auto create
24+
* @version
25+
*/
26+
public class DisasterRecoveryRequest extends RpcAcsRequest<DisasterRecoveryResponse> {
27+
28+
29+
private String recoveryInstanceId;
30+
31+
private String instanceId;
32+
public DisasterRecoveryRequest() {
33+
super("OnsMqtt", "2020-04-20", "DisasterRecovery", "onsmqtt");
34+
setProtocol(ProtocolType.HTTPS);
35+
setMethod(MethodType.POST);
36+
try {
37+
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
38+
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
39+
} catch (Exception e) {}
40+
}
41+
42+
public String getRecoveryInstanceId() {
43+
return this.recoveryInstanceId;
44+
}
45+
46+
public void setRecoveryInstanceId(String recoveryInstanceId) {
47+
this.recoveryInstanceId = recoveryInstanceId;
48+
if(recoveryInstanceId != null){
49+
putBodyParameter("RecoveryInstanceId", recoveryInstanceId);
50+
}
51+
}
52+
53+
public String getInstanceId() {
54+
return this.instanceId;
55+
}
56+
57+
public void setInstanceId(String instanceId) {
58+
this.instanceId = instanceId;
59+
if(instanceId != null){
60+
putBodyParameter("InstanceId", instanceId);
61+
}
62+
}
63+
64+
@Override
65+
public Class<DisasterRecoveryResponse> getResponseClass() {
66+
return DisasterRecoveryResponse.class;
67+
}
68+
69+
}
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.onsmqtt.model.v20200420;
16+
17+
import com.aliyuncs.AcsResponse;
18+
import com.aliyuncs.onsmqtt.transform.v20200420.DisasterRecoveryResponseUnmarshaller;
19+
import com.aliyuncs.transform.UnmarshallerContext;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class DisasterRecoveryResponse extends AcsResponse {
26+
27+
private String requestId;
28+
29+
private Integer code;
30+
31+
private Boolean success;
32+
33+
private String message;
34+
35+
private String accessDeniedDetail;
36+
37+
public String getRequestId() {
38+
return this.requestId;
39+
}
40+
41+
public void setRequestId(String requestId) {
42+
this.requestId = requestId;
43+
}
44+
45+
public Integer getCode() {
46+
return this.code;
47+
}
48+
49+
public void setCode(Integer code) {
50+
this.code = code;
51+
}
52+
53+
public Boolean getSuccess() {
54+
return this.success;
55+
}
56+
57+
public void setSuccess(Boolean success) {
58+
this.success = success;
59+
}
60+
61+
public String getMessage() {
62+
return this.message;
63+
}
64+
65+
public void setMessage(String message) {
66+
this.message = message;
67+
}
68+
69+
public String getAccessDeniedDetail() {
70+
return this.accessDeniedDetail;
71+
}
72+
73+
public void setAccessDeniedDetail(String accessDeniedDetail) {
74+
this.accessDeniedDetail = accessDeniedDetail;
75+
}
76+
77+
@Override
78+
public DisasterRecoveryResponse getInstance(UnmarshallerContext context) {
79+
return DisasterRecoveryResponseUnmarshaller.unmarshall(this, context);
80+
}
81+
82+
@Override
83+
public boolean checkShowJsonItemName() {
84+
return false;
85+
}
86+
}

0 commit comments

Comments
 (0)