
com.tencentcloudapi.gaap.v20180529.models.ProxyGroupDetail 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.gaap.v20180529.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class ProxyGroupDetail extends AbstractModel{
/**
* 创建时间
*/
@SerializedName("CreateTime")
@Expose
private Long CreateTime;
/**
* 项目ID
*/
@SerializedName("ProjectId")
@Expose
private Long ProjectId;
/**
* 通道组中通道数量
*/
@SerializedName("ProxyNum")
@Expose
private Long ProxyNum;
/**
* 通道组状态:
0表示正常运行;
1表示创建中;
4表示销毁中;
11表示迁移中;
*/
@SerializedName("Status")
@Expose
private Long Status;
/**
* 归属Uin
*/
@SerializedName("OwnerUin")
@Expose
private String OwnerUin;
/**
* 创建Uin
*/
@SerializedName("CreateUin")
@Expose
private String CreateUin;
/**
* 通道名称
*/
@SerializedName("GroupName")
@Expose
private String GroupName;
/**
* 通道组域名解析默认IP
*/
@SerializedName("DnsDefaultIp")
@Expose
private String DnsDefaultIp;
/**
* 通道组域名
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Domain")
@Expose
private String Domain;
/**
* 目标地域
*/
@SerializedName("RealServerRegionInfo")
@Expose
private RegionDetail RealServerRegionInfo;
/**
* 是否老通道组,2018-08-03之前创建的通道组为老通道组
*/
@SerializedName("IsOldGroup")
@Expose
private Boolean IsOldGroup;
/**
* 通道组ID
*/
@SerializedName("GroupId")
@Expose
private String GroupId;
/**
* 标签列表
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("TagSet")
@Expose
private TagPair [] TagSet;
/**
* 安全策略ID,当设置了安全策略时,存在该字段。
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("PolicyId")
@Expose
private String PolicyId;
/**
* 通道组版本
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Version")
@Expose
private String Version;
/**
* 通道获取客户端IP的方式,0表示TOA,1表示Proxy Protocol
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("ClientIPMethod")
@Expose
private Long [] ClientIPMethod;
/**
* Get 创建时间
* @return CreateTime 创建时间
*/
public Long getCreateTime() {
return this.CreateTime;
}
/**
* Set 创建时间
* @param CreateTime 创建时间
*/
public void setCreateTime(Long CreateTime) {
this.CreateTime = CreateTime;
}
/**
* Get 项目ID
* @return ProjectId 项目ID
*/
public Long getProjectId() {
return this.ProjectId;
}
/**
* Set 项目ID
* @param ProjectId 项目ID
*/
public void setProjectId(Long ProjectId) {
this.ProjectId = ProjectId;
}
/**
* Get 通道组中通道数量
* @return ProxyNum 通道组中通道数量
*/
public Long getProxyNum() {
return this.ProxyNum;
}
/**
* Set 通道组中通道数量
* @param ProxyNum 通道组中通道数量
*/
public void setProxyNum(Long ProxyNum) {
this.ProxyNum = ProxyNum;
}
/**
* Get 通道组状态:
0表示正常运行;
1表示创建中;
4表示销毁中;
11表示迁移中;
* @return Status 通道组状态:
0表示正常运行;
1表示创建中;
4表示销毁中;
11表示迁移中;
*/
public Long getStatus() {
return this.Status;
}
/**
* Set 通道组状态:
0表示正常运行;
1表示创建中;
4表示销毁中;
11表示迁移中;
* @param Status 通道组状态:
0表示正常运行;
1表示创建中;
4表示销毁中;
11表示迁移中;
*/
public void setStatus(Long Status) {
this.Status = Status;
}
/**
* Get 归属Uin
* @return OwnerUin 归属Uin
*/
public String getOwnerUin() {
return this.OwnerUin;
}
/**
* Set 归属Uin
* @param OwnerUin 归属Uin
*/
public void setOwnerUin(String OwnerUin) {
this.OwnerUin = OwnerUin;
}
/**
* Get 创建Uin
* @return CreateUin 创建Uin
*/
public String getCreateUin() {
return this.CreateUin;
}
/**
* Set 创建Uin
* @param CreateUin 创建Uin
*/
public void setCreateUin(String CreateUin) {
this.CreateUin = CreateUin;
}
/**
* Get 通道名称
* @return GroupName 通道名称
*/
public String getGroupName() {
return this.GroupName;
}
/**
* Set 通道名称
* @param GroupName 通道名称
*/
public void setGroupName(String GroupName) {
this.GroupName = GroupName;
}
/**
* Get 通道组域名解析默认IP
* @return DnsDefaultIp 通道组域名解析默认IP
*/
public String getDnsDefaultIp() {
return this.DnsDefaultIp;
}
/**
* Set 通道组域名解析默认IP
* @param DnsDefaultIp 通道组域名解析默认IP
*/
public void setDnsDefaultIp(String DnsDefaultIp) {
this.DnsDefaultIp = DnsDefaultIp;
}
/**
* Get 通道组域名
注意:此字段可能返回 null,表示取不到有效值。
* @return Domain 通道组域名
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getDomain() {
return this.Domain;
}
/**
* Set 通道组域名
注意:此字段可能返回 null,表示取不到有效值。
* @param Domain 通道组域名
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setDomain(String Domain) {
this.Domain = Domain;
}
/**
* Get 目标地域
* @return RealServerRegionInfo 目标地域
*/
public RegionDetail getRealServerRegionInfo() {
return this.RealServerRegionInfo;
}
/**
* Set 目标地域
* @param RealServerRegionInfo 目标地域
*/
public void setRealServerRegionInfo(RegionDetail RealServerRegionInfo) {
this.RealServerRegionInfo = RealServerRegionInfo;
}
/**
* Get 是否老通道组,2018-08-03之前创建的通道组为老通道组
* @return IsOldGroup 是否老通道组,2018-08-03之前创建的通道组为老通道组
*/
public Boolean getIsOldGroup() {
return this.IsOldGroup;
}
/**
* Set 是否老通道组,2018-08-03之前创建的通道组为老通道组
* @param IsOldGroup 是否老通道组,2018-08-03之前创建的通道组为老通道组
*/
public void setIsOldGroup(Boolean IsOldGroup) {
this.IsOldGroup = IsOldGroup;
}
/**
* Get 通道组ID
* @return GroupId 通道组ID
*/
public String getGroupId() {
return this.GroupId;
}
/**
* Set 通道组ID
* @param GroupId 通道组ID
*/
public void setGroupId(String GroupId) {
this.GroupId = GroupId;
}
/**
* Get 标签列表
注意:此字段可能返回 null,表示取不到有效值。
* @return TagSet 标签列表
注意:此字段可能返回 null,表示取不到有效值。
*/
public TagPair [] getTagSet() {
return this.TagSet;
}
/**
* Set 标签列表
注意:此字段可能返回 null,表示取不到有效值。
* @param TagSet 标签列表
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setTagSet(TagPair [] TagSet) {
this.TagSet = TagSet;
}
/**
* Get 安全策略ID,当设置了安全策略时,存在该字段。
注意:此字段可能返回 null,表示取不到有效值。
* @return PolicyId 安全策略ID,当设置了安全策略时,存在该字段。
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getPolicyId() {
return this.PolicyId;
}
/**
* Set 安全策略ID,当设置了安全策略时,存在该字段。
注意:此字段可能返回 null,表示取不到有效值。
* @param PolicyId 安全策略ID,当设置了安全策略时,存在该字段。
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setPolicyId(String PolicyId) {
this.PolicyId = PolicyId;
}
/**
* Get 通道组版本
注意:此字段可能返回 null,表示取不到有效值。
* @return Version 通道组版本
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getVersion() {
return this.Version;
}
/**
* Set 通道组版本
注意:此字段可能返回 null,表示取不到有效值。
* @param Version 通道组版本
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setVersion(String Version) {
this.Version = Version;
}
/**
* Get 通道获取客户端IP的方式,0表示TOA,1表示Proxy Protocol
注意:此字段可能返回 null,表示取不到有效值。
* @return ClientIPMethod 通道获取客户端IP的方式,0表示TOA,1表示Proxy Protocol
注意:此字段可能返回 null,表示取不到有效值。
*/
public Long [] getClientIPMethod() {
return this.ClientIPMethod;
}
/**
* Set 通道获取客户端IP的方式,0表示TOA,1表示Proxy Protocol
注意:此字段可能返回 null,表示取不到有效值。
* @param ClientIPMethod 通道获取客户端IP的方式,0表示TOA,1表示Proxy Protocol
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setClientIPMethod(Long [] ClientIPMethod) {
this.ClientIPMethod = ClientIPMethod;
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "CreateTime", this.CreateTime);
this.setParamSimple(map, prefix + "ProjectId", this.ProjectId);
this.setParamSimple(map, prefix + "ProxyNum", this.ProxyNum);
this.setParamSimple(map, prefix + "Status", this.Status);
this.setParamSimple(map, prefix + "OwnerUin", this.OwnerUin);
this.setParamSimple(map, prefix + "CreateUin", this.CreateUin);
this.setParamSimple(map, prefix + "GroupName", this.GroupName);
this.setParamSimple(map, prefix + "DnsDefaultIp", this.DnsDefaultIp);
this.setParamSimple(map, prefix + "Domain", this.Domain);
this.setParamObj(map, prefix + "RealServerRegionInfo.", this.RealServerRegionInfo);
this.setParamSimple(map, prefix + "IsOldGroup", this.IsOldGroup);
this.setParamSimple(map, prefix + "GroupId", this.GroupId);
this.setParamArrayObj(map, prefix + "TagSet.", this.TagSet);
this.setParamSimple(map, prefix + "PolicyId", this.PolicyId);
this.setParamSimple(map, prefix + "Version", this.Version);
this.setParamArraySimple(map, prefix + "ClientIPMethod.", this.ClientIPMethod);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy