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

Skip to content

Commit b23c001

Browse files
committed
SMARTAG SDK Auto Released By jijun.jj,Version:1.3.0
发布日志: 1, Add unicom interface. 2, Add switchSAGHaState, CreateSAGLinkLevelHa and DeleteSAGLinkLevelHa. 3, Add CEN cross account bind interface.
1 parent 25679f4 commit b23c001

File tree

56 files changed

+2427
-24
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+2427
-24
lines changed

aliyun-java-sdk-smartag/ChangeLog.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2018-11-18 Version: 1.3.0
2+
1, Add unicom interface.
3+
2, Add switchSAGHaState, CreateSAGLinkLevelHa and DeleteSAGLinkLevelHa.
4+
3, Add CEN cross account bind interface.
5+
16
2018-08-13 Version: 1.2.0
27
1, Add cross domain support.
38
2, Add parameter SerialNumber to interface RebootSmartAccessGateway.

aliyun-java-sdk-smartag/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<groupId>com.aliyun</groupId>
44
<artifactId>aliyun-java-sdk-smartag</artifactId>
55
<packaging>jar</packaging>
6-
<version>1.2.0</version>
6+
<version>1.3.0</version>
77
<name>aliyun-java-sdk-smartag</name>
88
<url>http://www.aliyun.com</url>
99
<description>Aliyun Open API SDK for Java
@@ -31,7 +31,7 @@ http://www.aliyun.com</description>
3131
<groupId>com.aliyun</groupId>
3232
<artifactId>aliyun-java-sdk-core</artifactId>
3333
<optional>true</optional>
34-
<version>3.7.1</version>
34+
<version>4.1.1</version>
3535
</dependency>
3636
</dependencies>
3737
<licenses>

aliyun-java-sdk-smartag/src/main/java/com/aliyuncs/smartag/model/v20180313/ActivateSmartAccessGatewayResponse.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
*/
1414

1515
package com.aliyuncs.smartag.model.v20180313;
16-
16+
17+
import java.util.Map;
1718
import com.aliyuncs.AcsResponse;
1819
import com.aliyuncs.smartag.transform.v20180313.ActivateSmartAccessGatewayResponseUnmarshaller;
1920
import com.aliyuncs.transform.UnmarshallerContext;

aliyun-java-sdk-smartag/src/main/java/com/aliyuncs/smartag/model/v20180313/BindSmartAccessGatewayResponse.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
*/
1414

1515
package com.aliyuncs.smartag.model.v20180313;
16-
16+
17+
import java.util.Map;
1718
import com.aliyuncs.AcsResponse;
1819
import com.aliyuncs.smartag.transform.v20180313.BindSmartAccessGatewayResponseUnmarshaller;
1920
import com.aliyuncs.transform.UnmarshallerContext;

aliyun-java-sdk-smartag/src/main/java/com/aliyuncs/smartag/model/v20180313/CreateCloudConnectNetworkResponse.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
*/
1414

1515
package com.aliyuncs.smartag.model.v20180313;
16-
16+
17+
import java.util.Map;
1718
import com.aliyuncs.AcsResponse;
1819
import com.aliyuncs.smartag.transform.v20180313.CreateCloudConnectNetworkResponseUnmarshaller;
1920
import com.aliyuncs.transform.UnmarshallerContext;

aliyun-java-sdk-smartag/src/main/java/com/aliyuncs/smartag/model/v20180313/CreateDedicatedLineBackupResponse.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
*/
1414

1515
package com.aliyuncs.smartag.model.v20180313;
16-
16+
17+
import java.util.Map;
1718
import com.aliyuncs.AcsResponse;
1819
import com.aliyuncs.smartag.transform.v20180313.CreateDedicatedLineBackupResponseUnmarshaller;
1920
import com.aliyuncs.transform.UnmarshallerContext;
Lines changed: 164 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,164 @@
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.smartag.model.v20180313;
16+
17+
import com.aliyuncs.RpcAcsRequest;
18+
19+
/**
20+
* @author auto create
21+
* @version
22+
*/
23+
public class CreateSAGLinkLevelHaRequest extends RpcAcsRequest<CreateSAGLinkLevelHaResponse> {
24+
25+
public CreateSAGLinkLevelHaRequest() {
26+
super("Smartag", "2018-03-13", "CreateSAGLinkLevelHa", "smartag");
27+
}
28+
29+
private Long resourceOwnerId;
30+
31+
private String backupLinkId;
32+
33+
private String resourceOwnerAccount;
34+
35+
private String haType;
36+
37+
private String ownerAccount;
38+
39+
private String mainLinkRegionId;
40+
41+
private String smartAGId;
42+
43+
private Long ownerId;
44+
45+
private String mainLinkId;
46+
47+
private String backupLinkRegionId;
48+
49+
public Long getResourceOwnerId() {
50+
return this.resourceOwnerId;
51+
}
52+
53+
public void setResourceOwnerId(Long resourceOwnerId) {
54+
this.resourceOwnerId = resourceOwnerId;
55+
if(resourceOwnerId != null){
56+
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
57+
}
58+
}
59+
60+
public String getBackupLinkId() {
61+
return this.backupLinkId;
62+
}
63+
64+
public void setBackupLinkId(String backupLinkId) {
65+
this.backupLinkId = backupLinkId;
66+
if(backupLinkId != null){
67+
putQueryParameter("BackupLinkId", backupLinkId);
68+
}
69+
}
70+
71+
public String getResourceOwnerAccount() {
72+
return this.resourceOwnerAccount;
73+
}
74+
75+
public void setResourceOwnerAccount(String resourceOwnerAccount) {
76+
this.resourceOwnerAccount = resourceOwnerAccount;
77+
if(resourceOwnerAccount != null){
78+
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
79+
}
80+
}
81+
82+
public String getHaType() {
83+
return this.haType;
84+
}
85+
86+
public void setHaType(String haType) {
87+
this.haType = haType;
88+
if(haType != null){
89+
putQueryParameter("HaType", haType);
90+
}
91+
}
92+
93+
public String getOwnerAccount() {
94+
return this.ownerAccount;
95+
}
96+
97+
public void setOwnerAccount(String ownerAccount) {
98+
this.ownerAccount = ownerAccount;
99+
if(ownerAccount != null){
100+
putQueryParameter("OwnerAccount", ownerAccount);
101+
}
102+
}
103+
104+
public String getMainLinkRegionId() {
105+
return this.mainLinkRegionId;
106+
}
107+
108+
public void setMainLinkRegionId(String mainLinkRegionId) {
109+
this.mainLinkRegionId = mainLinkRegionId;
110+
if(mainLinkRegionId != null){
111+
putQueryParameter("MainLinkRegionId", mainLinkRegionId);
112+
}
113+
}
114+
115+
public String getSmartAGId() {
116+
return this.smartAGId;
117+
}
118+
119+
public void setSmartAGId(String smartAGId) {
120+
this.smartAGId = smartAGId;
121+
if(smartAGId != null){
122+
putQueryParameter("SmartAGId", smartAGId);
123+
}
124+
}
125+
126+
public Long getOwnerId() {
127+
return this.ownerId;
128+
}
129+
130+
public void setOwnerId(Long ownerId) {
131+
this.ownerId = ownerId;
132+
if(ownerId != null){
133+
putQueryParameter("OwnerId", ownerId.toString());
134+
}
135+
}
136+
137+
public String getMainLinkId() {
138+
return this.mainLinkId;
139+
}
140+
141+
public void setMainLinkId(String mainLinkId) {
142+
this.mainLinkId = mainLinkId;
143+
if(mainLinkId != null){
144+
putQueryParameter("MainLinkId", mainLinkId);
145+
}
146+
}
147+
148+
public String getBackupLinkRegionId() {
149+
return this.backupLinkRegionId;
150+
}
151+
152+
public void setBackupLinkRegionId(String backupLinkRegionId) {
153+
this.backupLinkRegionId = backupLinkRegionId;
154+
if(backupLinkRegionId != null){
155+
putQueryParameter("BackupLinkRegionId", backupLinkRegionId);
156+
}
157+
}
158+
159+
@Override
160+
public Class<CreateSAGLinkLevelHaResponse> getResponseClass() {
161+
return CreateSAGLinkLevelHaResponse.class;
162+
}
163+
164+
}
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
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.smartag.model.v20180313;
16+
17+
import java.util.Map;
18+
import com.aliyuncs.AcsResponse;
19+
import com.aliyuncs.smartag.transform.v20180313.CreateSAGLinkLevelHaResponseUnmarshaller;
20+
import com.aliyuncs.transform.UnmarshallerContext;
21+
22+
/**
23+
* @author auto create
24+
* @version
25+
*/
26+
public class CreateSAGLinkLevelHaResponse extends AcsResponse {
27+
28+
private String requestId;
29+
30+
public String getRequestId() {
31+
return this.requestId;
32+
}
33+
34+
public void setRequestId(String requestId) {
35+
this.requestId = requestId;
36+
}
37+
38+
@Override
39+
public CreateSAGLinkLevelHaResponse getInstance(UnmarshallerContext context) {
40+
return CreateSAGLinkLevelHaResponseUnmarshaller.unmarshall(this, context);
41+
}
42+
}

aliyun-java-sdk-smartag/src/main/java/com/aliyuncs/smartag/model/v20180313/CreateSmartAccessGatewayResponse.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
*/
1414

1515
package com.aliyuncs.smartag.model.v20180313;
16-
16+
17+
import java.util.Map;
1718
import com.aliyuncs.AcsResponse;
1819
import com.aliyuncs.smartag.transform.v20180313.CreateSmartAccessGatewayResponseUnmarshaller;
1920
import com.aliyuncs.transform.UnmarshallerContext;

aliyun-java-sdk-smartag/src/main/java/com/aliyuncs/smartag/model/v20180313/DeleteCloudConnectNetworkResponse.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
*/
1414

1515
package com.aliyuncs.smartag.model.v20180313;
16-
16+
17+
import java.util.Map;
1718
import com.aliyuncs.AcsResponse;
1819
import com.aliyuncs.smartag.transform.v20180313.DeleteCloudConnectNetworkResponseUnmarshaller;
1920
import com.aliyuncs.transform.UnmarshallerContext;

0 commit comments

Comments
 (0)