
com.tencentcloudapi.vpc.v20170312.models.DescribeVpcIpv6AddressesRequest Maven / Gradle / Ivy
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* 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.tencentcloudapi.vpc.v20170312.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class DescribeVpcIpv6AddressesRequest extends AbstractModel{
/**
* The `ID` of the `VPC`, such as `vpc-f49l6u0z`.
*/
@SerializedName("VpcId")
@Expose
private String VpcId;
/**
* The `IP` address list. Each request supports a maximum of `10` batch querying.
*/
@SerializedName("Ipv6Addresses")
@Expose
private String [] Ipv6Addresses;
/**
* Offset.
*/
@SerializedName("Offset")
@Expose
private Long Offset;
/**
* The returned quantity.
*/
@SerializedName("Limit")
@Expose
private Long Limit;
/**
* Get The `ID` of the `VPC`, such as `vpc-f49l6u0z`.
* @return VpcId The `ID` of the `VPC`, such as `vpc-f49l6u0z`.
*/
public String getVpcId() {
return this.VpcId;
}
/**
* Set The `ID` of the `VPC`, such as `vpc-f49l6u0z`.
* @param VpcId The `ID` of the `VPC`, such as `vpc-f49l6u0z`.
*/
public void setVpcId(String VpcId) {
this.VpcId = VpcId;
}
/**
* Get The `IP` address list. Each request supports a maximum of `10` batch querying.
* @return Ipv6Addresses The `IP` address list. Each request supports a maximum of `10` batch querying.
*/
public String [] getIpv6Addresses() {
return this.Ipv6Addresses;
}
/**
* Set The `IP` address list. Each request supports a maximum of `10` batch querying.
* @param Ipv6Addresses The `IP` address list. Each request supports a maximum of `10` batch querying.
*/
public void setIpv6Addresses(String [] Ipv6Addresses) {
this.Ipv6Addresses = Ipv6Addresses;
}
/**
* Get Offset.
* @return Offset Offset.
*/
public Long getOffset() {
return this.Offset;
}
/**
* Set Offset.
* @param Offset Offset.
*/
public void setOffset(Long Offset) {
this.Offset = Offset;
}
/**
* Get The returned quantity.
* @return Limit The returned quantity.
*/
public Long getLimit() {
return this.Limit;
}
/**
* Set The returned quantity.
* @param Limit The returned quantity.
*/
public void setLimit(Long Limit) {
this.Limit = Limit;
}
public DescribeVpcIpv6AddressesRequest() {
}
/**
* NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
* and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
*/
public DescribeVpcIpv6AddressesRequest(DescribeVpcIpv6AddressesRequest source) {
if (source.VpcId != null) {
this.VpcId = new String(source.VpcId);
}
if (source.Ipv6Addresses != null) {
this.Ipv6Addresses = new String[source.Ipv6Addresses.length];
for (int i = 0; i < source.Ipv6Addresses.length; i++) {
this.Ipv6Addresses[i] = new String(source.Ipv6Addresses[i]);
}
}
if (source.Offset != null) {
this.Offset = new Long(source.Offset);
}
if (source.Limit != null) {
this.Limit = new Long(source.Limit);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "VpcId", this.VpcId);
this.setParamArraySimple(map, prefix + "Ipv6Addresses.", this.Ipv6Addresses);
this.setParamSimple(map, prefix + "Offset", this.Offset);
this.setParamSimple(map, prefix + "Limit", this.Limit);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy