com.tencentcloudapi.tcb.v20180608.models.CloudBaseRunVpcSubnet Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tencentcloud-sdk-java-tcb Show documentation
Show all versions of tencentcloud-sdk-java-tcb Show documentation
Tencent Cloud Open API SDK for Java
/*
* 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.tcb.v20180608.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class CloudBaseRunVpcSubnet extends AbstractModel{
/**
* 子网id
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Id")
@Expose
private String Id;
/**
* 子网的ipv4
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Cidr")
@Expose
private String Cidr;
/**
* 可用区
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Zone")
@Expose
private String Zone;
/**
* 类型
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Type")
@Expose
private String Type;
/**
* subnet类型
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Target")
@Expose
private String Target;
/**
* 地域
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Region")
@Expose
private String Region;
/**
* 名字
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Name")
@Expose
private String Name;
/**
* Get 子网id
注意:此字段可能返回 null,表示取不到有效值。
* @return Id 子网id
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getId() {
return this.Id;
}
/**
* Set 子网id
注意:此字段可能返回 null,表示取不到有效值。
* @param Id 子网id
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setId(String Id) {
this.Id = Id;
}
/**
* Get 子网的ipv4
注意:此字段可能返回 null,表示取不到有效值。
* @return Cidr 子网的ipv4
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getCidr() {
return this.Cidr;
}
/**
* Set 子网的ipv4
注意:此字段可能返回 null,表示取不到有效值。
* @param Cidr 子网的ipv4
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setCidr(String Cidr) {
this.Cidr = Cidr;
}
/**
* Get 可用区
注意:此字段可能返回 null,表示取不到有效值。
* @return Zone 可用区
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getZone() {
return this.Zone;
}
/**
* Set 可用区
注意:此字段可能返回 null,表示取不到有效值。
* @param Zone 可用区
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setZone(String Zone) {
this.Zone = Zone;
}
/**
* Get 类型
注意:此字段可能返回 null,表示取不到有效值。
* @return Type 类型
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getType() {
return this.Type;
}
/**
* Set 类型
注意:此字段可能返回 null,表示取不到有效值。
* @param Type 类型
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setType(String Type) {
this.Type = Type;
}
/**
* Get subnet类型
注意:此字段可能返回 null,表示取不到有效值。
* @return Target subnet类型
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getTarget() {
return this.Target;
}
/**
* Set subnet类型
注意:此字段可能返回 null,表示取不到有效值。
* @param Target subnet类型
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setTarget(String Target) {
this.Target = Target;
}
/**
* Get 地域
注意:此字段可能返回 null,表示取不到有效值。
* @return Region 地域
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getRegion() {
return this.Region;
}
/**
* Set 地域
注意:此字段可能返回 null,表示取不到有效值。
* @param Region 地域
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setRegion(String Region) {
this.Region = Region;
}
/**
* Get 名字
注意:此字段可能返回 null,表示取不到有效值。
* @return Name 名字
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getName() {
return this.Name;
}
/**
* Set 名字
注意:此字段可能返回 null,表示取不到有效值。
* @param Name 名字
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setName(String Name) {
this.Name = Name;
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "Id", this.Id);
this.setParamSimple(map, prefix + "Cidr", this.Cidr);
this.setParamSimple(map, prefix + "Zone", this.Zone);
this.setParamSimple(map, prefix + "Type", this.Type);
this.setParamSimple(map, prefix + "Target", this.Target);
this.setParamSimple(map, prefix + "Region", this.Region);
this.setParamSimple(map, prefix + "Name", this.Name);
}
}