Skip to content

Commit

Permalink
由晟坤发起的VPC SDK自动发布, 版本号:3.0.2
Browse files Browse the repository at this point in the history
发布日志:
1, Upgrade vpc sdk from 3.0.1 to 3.0.2
2, Support for prepaid router interface create
3, Synchronize to the latest api list
  • Loading branch information
Qingtang-SDK committed Apr 25, 2018
1 parent 1db2860 commit ba3fb24
Show file tree
Hide file tree
Showing 13 changed files with 370 additions and 49 deletions.
5 changes: 5 additions & 0 deletions aliyun-java-sdk-vpc/ChangeLog.txt
@@ -1,3 +1,8 @@
2018-04-25 Version: 3.0.2
1, Upgrade vpc sdk from 3.0.1 to 3.0.2
2, Support for prepaid router interface create
3, Synchronize to the latest api list

2018-03-15 Version: 3.0.2
1, Synchronize to the latest api list

Expand Down
5 changes: 3 additions & 2 deletions aliyun-java-sdk-vpc/pom.xml
Expand Up @@ -42,8 +42,9 @@ http://www.aliyun.com</description>
</license>
</licenses>
<scm>
<url></url>
<connection></connection>
<connection>scm:git:git://github.com/aliyun/aliyun-openapi-java-sdk.git</connection>
<developerConnection>scm:git:git@github.com:aliyun/aliyun-openapi-java-sdk.git</developerConnection>
<url>https://github.com/aliyun/aliyun-openapi-java-sdk</url>
</scm>
<developers>
<developer>
Expand Down
Expand Up @@ -38,20 +38,28 @@ public CreateRouterInterfaceRequest() {

private String clientToken;

private String healthCheckTargetIp;

private String description;

private String spec;

private String oppositeInterfaceId;

private String instanceChargeType;

private Integer period;

private Boolean autoPay;

private String resourceOwnerAccount;

private String oppositeRegionId;

private String ownerAccount;

private String healthCheckTargetIp;

private String description;

private Long ownerId;

private String spec;

private String oppositeInterfaceOwnerId;

private String routerType;
Expand All @@ -64,7 +72,7 @@ public CreateRouterInterfaceRequest() {

private String name;

private String oppositeInterfaceId;
private String pricingCycle;

public String getAccessPointId() {
return this.accessPointId;
Expand Down Expand Up @@ -132,6 +140,83 @@ public void setClientToken(String clientToken) {
}
}

public String getHealthCheckTargetIp() {
return this.healthCheckTargetIp;
}

public void setHealthCheckTargetIp(String healthCheckTargetIp) {
this.healthCheckTargetIp = healthCheckTargetIp;
if(healthCheckTargetIp != null){
putQueryParameter("HealthCheckTargetIp", healthCheckTargetIp);
}
}

public String getDescription() {
return this.description;
}

public void setDescription(String description) {
this.description = description;
if(description != null){
putQueryParameter("Description", description);
}
}

public String getSpec() {
return this.spec;
}

public void setSpec(String spec) {
this.spec = spec;
if(spec != null){
putQueryParameter("Spec", spec);
}
}

public String getOppositeInterfaceId() {
return this.oppositeInterfaceId;
}

public void setOppositeInterfaceId(String oppositeInterfaceId) {
this.oppositeInterfaceId = oppositeInterfaceId;
if(oppositeInterfaceId != null){
putQueryParameter("OppositeInterfaceId", oppositeInterfaceId);
}
}

public String getInstanceChargeType() {
return this.instanceChargeType;
}

public void setInstanceChargeType(String instanceChargeType) {
this.instanceChargeType = instanceChargeType;
if(instanceChargeType != null){
putQueryParameter("InstanceChargeType", instanceChargeType);
}
}

public Integer getPeriod() {
return this.period;
}

public void setPeriod(Integer period) {
this.period = period;
if(period != null){
putQueryParameter("Period", period.toString());
}
}

public Boolean getAutoPay() {
return this.autoPay;
}

public void setAutoPay(Boolean autoPay) {
this.autoPay = autoPay;
if(autoPay != null){
putQueryParameter("AutoPay", autoPay.toString());
}
}

public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
Expand Down Expand Up @@ -165,28 +250,6 @@ public void setOwnerAccount(String ownerAccount) {
}
}

public String getHealthCheckTargetIp() {
return this.healthCheckTargetIp;
}

public void setHealthCheckTargetIp(String healthCheckTargetIp) {
this.healthCheckTargetIp = healthCheckTargetIp;
if(healthCheckTargetIp != null){
putQueryParameter("HealthCheckTargetIp", healthCheckTargetIp);
}
}

public String getDescription() {
return this.description;
}

public void setDescription(String description) {
this.description = description;
if(description != null){
putQueryParameter("Description", description);
}
}

public Long getOwnerId() {
return this.ownerId;
}
Expand All @@ -198,17 +261,6 @@ public void setOwnerId(Long ownerId) {
}
}

public String getSpec() {
return this.spec;
}

public void setSpec(String spec) {
this.spec = spec;
if(spec != null){
putQueryParameter("Spec", spec);
}
}

public String getOppositeInterfaceOwnerId() {
return this.oppositeInterfaceOwnerId;
}
Expand Down Expand Up @@ -275,14 +327,14 @@ public void setName(String name) {
}
}

public String getOppositeInterfaceId() {
return this.oppositeInterfaceId;
public String getPricingCycle() {
return this.pricingCycle;
}

public void setOppositeInterfaceId(String oppositeInterfaceId) {
this.oppositeInterfaceId = oppositeInterfaceId;
if(oppositeInterfaceId != null){
putQueryParameter("OppositeInterfaceId", oppositeInterfaceId);
public void setPricingCycle(String pricingCycle) {
this.pricingCycle = pricingCycle;
if(pricingCycle != null){
putQueryParameter("PricingCycle", pricingCycle);
}
}

Expand Down
Expand Up @@ -28,6 +28,8 @@ public class CreateRouterInterfaceResponse extends AcsResponse {

private String routerInterfaceId;

private Long orderId;

public String getRequestId() {
return this.requestId;
}
Expand All @@ -44,6 +46,14 @@ public void setRouterInterfaceId(String routerInterfaceId) {
this.routerInterfaceId = routerInterfaceId;
}

public Long getOrderId() {
return this.orderId;
}

public void setOrderId(Long orderId) {
this.orderId = orderId;
}

@Override
public CreateRouterInterfaceResponse getInstance(UnmarshallerContext context) {
return CreateRouterInterfaceResponseUnmarshaller.unmarshall(this, context);
Expand Down
Expand Up @@ -105,6 +105,8 @@ public static class EipAddress {

private String name;

private String iSP;

private String descritpion;

private String bandwidthPackageId;
Expand Down Expand Up @@ -229,6 +231,14 @@ public void setName(String name) {
this.name = name;
}

public String getISP() {
return this.iSP;
}

public void setISP(String iSP) {
this.iSP = iSP;
}

public String getDescritpion() {
return this.descritpion;
}
Expand Down
@@ -0,0 +1,99 @@
/*
* 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.vpc.model.v20160428;

import com.aliyuncs.RpcAcsRequest;

/**
* @author auto create
* @version
*/
public class DescribeNetworkQuotasRequest extends RpcAcsRequest<DescribeNetworkQuotasResponse> {

public DescribeNetworkQuotasRequest() {
super("Vpc", "2016-04-28", "DescribeNetworkQuotas", "vpc");
}

private Long resourceOwnerId;

private String clientToken;

private String product;

private String resourceOwnerAccount;

private Long ownerId;

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

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

public String getClientToken() {
return this.clientToken;
}

public void setClientToken(String clientToken) {
this.clientToken = clientToken;
if(clientToken != null){
putQueryParameter("ClientToken", clientToken);
}
}

public String getProduct() {
return this.product;
}

public void setProduct(String product) {
this.product = product;
if(product != null){
putQueryParameter("Product", product);
}
}

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

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

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

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

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

}

0 comments on commit ba3fb24

Please sign in to comment.