Skip to content

Commit

Permalink
SMARTAG SDK Auto Released By jijun.jj,Version:1.3.0
Browse files Browse the repository at this point in the history
发布日志:
1, Add unicom interface.
2, Add switchSAGHaState, CreateSAGLinkLevelHa and DeleteSAGLinkLevelHa.
3, Add CEN cross account bind interface.
  • Loading branch information
jxyowen committed Nov 18, 2018
1 parent 25679f4 commit b23c001
Show file tree
Hide file tree
Showing 56 changed files with 2,427 additions and 24 deletions.
5 changes: 5 additions & 0 deletions aliyun-java-sdk-smartag/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2018-11-18 Version: 1.3.0
1, Add unicom interface.
2, Add switchSAGHaState, CreateSAGLinkLevelHa and DeleteSAGLinkLevelHa.
3, Add CEN cross account bind interface.

2018-08-13 Version: 1.2.0
1, Add cross domain support.
2, Add parameter SerialNumber to interface RebootSmartAccessGateway.
Expand Down
4 changes: 2 additions & 2 deletions aliyun-java-sdk-smartag/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<groupId>com.aliyun</groupId>
<artifactId>aliyun-java-sdk-smartag</artifactId>
<packaging>jar</packaging>
<version>1.2.0</version>
<version>1.3.0</version>
<name>aliyun-java-sdk-smartag</name>
<url>http://www.aliyun.com</url>
<description>Aliyun Open API SDK for Java
Expand Down Expand Up @@ -31,7 +31,7 @@ http://www.aliyun.com</description>
<groupId>com.aliyun</groupId>
<artifactId>aliyun-java-sdk-core</artifactId>
<optional>true</optional>
<version>3.7.1</version>
<version>4.1.1</version>
</dependency>
</dependencies>
<licenses>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
*/

package com.aliyuncs.smartag.model.v20180313;


import java.util.Map;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.smartag.transform.v20180313.ActivateSmartAccessGatewayResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
*/

package com.aliyuncs.smartag.model.v20180313;


import java.util.Map;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.smartag.transform.v20180313.BindSmartAccessGatewayResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
*/

package com.aliyuncs.smartag.model.v20180313;


import java.util.Map;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.smartag.transform.v20180313.CreateCloudConnectNetworkResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
*/

package com.aliyuncs.smartag.model.v20180313;


import java.util.Map;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.smartag.transform.v20180313.CreateDedicatedLineBackupResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,164 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package com.aliyuncs.smartag.model.v20180313;

import com.aliyuncs.RpcAcsRequest;

/**
* @author auto create
* @version
*/
public class CreateSAGLinkLevelHaRequest extends RpcAcsRequest<CreateSAGLinkLevelHaResponse> {

public CreateSAGLinkLevelHaRequest() {
super("Smartag", "2018-03-13", "CreateSAGLinkLevelHa", "smartag");
}

private Long resourceOwnerId;

private String backupLinkId;

private String resourceOwnerAccount;

private String haType;

private String ownerAccount;

private String mainLinkRegionId;

private String smartAGId;

private Long ownerId;

private String mainLinkId;

private String backupLinkRegionId;

public Long getResourceOwnerId() {
return this.resourceOwnerId;
}

public void setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
if(resourceOwnerId != null){
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
}
}

public String getBackupLinkId() {
return this.backupLinkId;
}

public void setBackupLinkId(String backupLinkId) {
this.backupLinkId = backupLinkId;
if(backupLinkId != null){
putQueryParameter("BackupLinkId", backupLinkId);
}
}

public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}

public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}

public String getHaType() {
return this.haType;
}

public void setHaType(String haType) {
this.haType = haType;
if(haType != null){
putQueryParameter("HaType", haType);
}
}

public String getOwnerAccount() {
return this.ownerAccount;
}

public void setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
if(ownerAccount != null){
putQueryParameter("OwnerAccount", ownerAccount);
}
}

public String getMainLinkRegionId() {
return this.mainLinkRegionId;
}

public void setMainLinkRegionId(String mainLinkRegionId) {
this.mainLinkRegionId = mainLinkRegionId;
if(mainLinkRegionId != null){
putQueryParameter("MainLinkRegionId", mainLinkRegionId);
}
}

public String getSmartAGId() {
return this.smartAGId;
}

public void setSmartAGId(String smartAGId) {
this.smartAGId = smartAGId;
if(smartAGId != null){
putQueryParameter("SmartAGId", smartAGId);
}
}

public Long getOwnerId() {
return this.ownerId;
}

public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}

public String getMainLinkId() {
return this.mainLinkId;
}

public void setMainLinkId(String mainLinkId) {
this.mainLinkId = mainLinkId;
if(mainLinkId != null){
putQueryParameter("MainLinkId", mainLinkId);
}
}

public String getBackupLinkRegionId() {
return this.backupLinkRegionId;
}

public void setBackupLinkRegionId(String backupLinkRegionId) {
this.backupLinkRegionId = backupLinkRegionId;
if(backupLinkRegionId != null){
putQueryParameter("BackupLinkRegionId", backupLinkRegionId);
}
}

@Override
public Class<CreateSAGLinkLevelHaResponse> getResponseClass() {
return CreateSAGLinkLevelHaResponse.class;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package com.aliyuncs.smartag.model.v20180313;

import java.util.Map;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.smartag.transform.v20180313.CreateSAGLinkLevelHaResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;

/**
* @author auto create
* @version
*/
public class CreateSAGLinkLevelHaResponse extends AcsResponse {

private String requestId;

public String getRequestId() {
return this.requestId;
}

public void setRequestId(String requestId) {
this.requestId = requestId;
}

@Override
public CreateSAGLinkLevelHaResponse getInstance(UnmarshallerContext context) {
return CreateSAGLinkLevelHaResponseUnmarshaller.unmarshall(this, context);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
*/

package com.aliyuncs.smartag.model.v20180313;


import java.util.Map;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.smartag.transform.v20180313.CreateSmartAccessGatewayResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
*/

package com.aliyuncs.smartag.model.v20180313;


import java.util.Map;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.smartag.transform.v20180313.DeleteCloudConnectNetworkResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
*/

package com.aliyuncs.smartag.model.v20180313;


import java.util.Map;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.smartag.transform.v20180313.DeleteDedicatedLineBackupResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
Expand Down
Loading

0 comments on commit b23c001

Please sign in to comment.