-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
Showing
56 changed files
with
2,427 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
164 changes: 164 additions & 0 deletions
164
...artag/src/main/java/com/aliyuncs/smartag/model/v20180313/CreateSAGLinkLevelHaRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
|
||
} |
42 changes: 42 additions & 0 deletions
42
...rtag/src/main/java/com/aliyuncs/smartag/model/v20180313/CreateSAGLinkLevelHaResponse.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.