com.tencentcloudapi.tem.v20210701.models.TemNamespaceInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Tencent Cloud 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.tem.v20210701.models;
import com.tencentcloudapi.common.AbstractModel;
import com.tencentcloudapi.common.SSEResponseModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class TemNamespaceInfo extends AbstractModel {
/**
* Environment ID
*/
@SerializedName("EnvironmentId")
@Expose
private String EnvironmentId;
/**
* Channel
*/
@SerializedName("Channel")
@Expose
private String Channel;
/**
* Environment name
*/
@SerializedName("EnvironmentName")
@Expose
private String EnvironmentName;
/**
* Region name
*/
@SerializedName("Region")
@Expose
private String Region;
/**
* Environment description
Note: this field may return `null`, indicating that no valid values can be obtained.
*/
@SerializedName("Description")
@Expose
private String Description;
/**
* Status. `1`: terminated; `0`: normal
*/
@SerializedName("Status")
@Expose
private Long Status;
/**
* VPC network
*/
@SerializedName("Vpc")
@Expose
private String Vpc;
/**
* Creation time
*/
@SerializedName("CreateDate")
@Expose
private String CreateDate;
/**
* Modification time
*/
@SerializedName("ModifyDate")
@Expose
private String ModifyDate;
/**
* Modifier
*/
@SerializedName("Modifier")
@Expose
private String Modifier;
/**
* Creator
*/
@SerializedName("Creator")
@Expose
private String Creator;
/**
* Number of applications
*/
@SerializedName("ApplicationNum")
@Expose
private Long ApplicationNum;
/**
* Number of running instances
*/
@SerializedName("RunInstancesNum")
@Expose
private Long RunInstancesNum;
/**
* Subnet
*/
@SerializedName("SubnetId")
@Expose
private String SubnetId;
/**
* Environment cluster status
*/
@SerializedName("ClusterStatus")
@Expose
private String ClusterStatus;
/**
* Whether to enable TSW
*/
@SerializedName("EnableTswTraceService")
@Expose
private Boolean EnableTswTraceService;
/**
* Whether the environment is locked. `1`: locked; `0`: not locked
*/
@SerializedName("Locked")
@Expose
private Long Locked;
/**
* User AppId
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("AppId")
@Expose
private String AppId;
/**
* User UIN
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("Uin")
@Expose
private String Uin;
/**
* The UIN of sub-account
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("SubAccountUin")
@Expose
private String SubAccountUin;
/**
* Application ID
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("ClusterId")
@Expose
private String ClusterId;
/**
* Tag.
Note: this field may return `null`, indicating that no valid values can be obtained.
*/
@SerializedName("Tags")
@Expose
private Tag [] Tags;
/**
* Whether it’s authorized to access the resource
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("HasAuthority")
@Expose
private Boolean HasAuthority;
/**
* Environment type. Values: `test`, `pre`, `prod`
Note: This field may return `null`, indicating that no valid value was found.
*/
@SerializedName("EnvType")
@Expose
private String EnvType;
/**
* Region code
Note: This field may return `null`, indicating that no valid value was found.
*/
@SerializedName("RegionId")
@Expose
private String RegionId;
/**
* Get Environment ID
* @return EnvironmentId Environment ID
*/
public String getEnvironmentId() {
return this.EnvironmentId;
}
/**
* Set Environment ID
* @param EnvironmentId Environment ID
*/
public void setEnvironmentId(String EnvironmentId) {
this.EnvironmentId = EnvironmentId;
}
/**
* Get Channel
* @return Channel Channel
*/
public String getChannel() {
return this.Channel;
}
/**
* Set Channel
* @param Channel Channel
*/
public void setChannel(String Channel) {
this.Channel = Channel;
}
/**
* Get Environment name
* @return EnvironmentName Environment name
*/
public String getEnvironmentName() {
return this.EnvironmentName;
}
/**
* Set Environment name
* @param EnvironmentName Environment name
*/
public void setEnvironmentName(String EnvironmentName) {
this.EnvironmentName = EnvironmentName;
}
/**
* Get Region name
* @return Region Region name
*/
public String getRegion() {
return this.Region;
}
/**
* Set Region name
* @param Region Region name
*/
public void setRegion(String Region) {
this.Region = Region;
}
/**
* Get Environment description
Note: this field may return `null`, indicating that no valid values can be obtained.
* @return Description Environment description
Note: this field may return `null`, indicating that no valid values can be obtained.
*/
public String getDescription() {
return this.Description;
}
/**
* Set Environment description
Note: this field may return `null`, indicating that no valid values can be obtained.
* @param Description Environment description
Note: this field may return `null`, indicating that no valid values can be obtained.
*/
public void setDescription(String Description) {
this.Description = Description;
}
/**
* Get Status. `1`: terminated; `0`: normal
* @return Status Status. `1`: terminated; `0`: normal
*/
public Long getStatus() {
return this.Status;
}
/**
* Set Status. `1`: terminated; `0`: normal
* @param Status Status. `1`: terminated; `0`: normal
*/
public void setStatus(Long Status) {
this.Status = Status;
}
/**
* Get VPC network
* @return Vpc VPC network
*/
public String getVpc() {
return this.Vpc;
}
/**
* Set VPC network
* @param Vpc VPC network
*/
public void setVpc(String Vpc) {
this.Vpc = Vpc;
}
/**
* Get Creation time
* @return CreateDate Creation time
*/
public String getCreateDate() {
return this.CreateDate;
}
/**
* Set Creation time
* @param CreateDate Creation time
*/
public void setCreateDate(String CreateDate) {
this.CreateDate = CreateDate;
}
/**
* Get Modification time
* @return ModifyDate Modification time
*/
public String getModifyDate() {
return this.ModifyDate;
}
/**
* Set Modification time
* @param ModifyDate Modification time
*/
public void setModifyDate(String ModifyDate) {
this.ModifyDate = ModifyDate;
}
/**
* Get Modifier
* @return Modifier Modifier
*/
public String getModifier() {
return this.Modifier;
}
/**
* Set Modifier
* @param Modifier Modifier
*/
public void setModifier(String Modifier) {
this.Modifier = Modifier;
}
/**
* Get Creator
* @return Creator Creator
*/
public String getCreator() {
return this.Creator;
}
/**
* Set Creator
* @param Creator Creator
*/
public void setCreator(String Creator) {
this.Creator = Creator;
}
/**
* Get Number of applications
* @return ApplicationNum Number of applications
*/
public Long getApplicationNum() {
return this.ApplicationNum;
}
/**
* Set Number of applications
* @param ApplicationNum Number of applications
*/
public void setApplicationNum(Long ApplicationNum) {
this.ApplicationNum = ApplicationNum;
}
/**
* Get Number of running instances
* @return RunInstancesNum Number of running instances
*/
public Long getRunInstancesNum() {
return this.RunInstancesNum;
}
/**
* Set Number of running instances
* @param RunInstancesNum Number of running instances
*/
public void setRunInstancesNum(Long RunInstancesNum) {
this.RunInstancesNum = RunInstancesNum;
}
/**
* Get Subnet
* @return SubnetId Subnet
*/
public String getSubnetId() {
return this.SubnetId;
}
/**
* Set Subnet
* @param SubnetId Subnet
*/
public void setSubnetId(String SubnetId) {
this.SubnetId = SubnetId;
}
/**
* Get Environment cluster status
* @return ClusterStatus Environment cluster status
*/
public String getClusterStatus() {
return this.ClusterStatus;
}
/**
* Set Environment cluster status
* @param ClusterStatus Environment cluster status
*/
public void setClusterStatus(String ClusterStatus) {
this.ClusterStatus = ClusterStatus;
}
/**
* Get Whether to enable TSW
* @return EnableTswTraceService Whether to enable TSW
*/
public Boolean getEnableTswTraceService() {
return this.EnableTswTraceService;
}
/**
* Set Whether to enable TSW
* @param EnableTswTraceService Whether to enable TSW
*/
public void setEnableTswTraceService(Boolean EnableTswTraceService) {
this.EnableTswTraceService = EnableTswTraceService;
}
/**
* Get Whether the environment is locked. `1`: locked; `0`: not locked
* @return Locked Whether the environment is locked. `1`: locked; `0`: not locked
*/
public Long getLocked() {
return this.Locked;
}
/**
* Set Whether the environment is locked. `1`: locked; `0`: not locked
* @param Locked Whether the environment is locked. `1`: locked; `0`: not locked
*/
public void setLocked(Long Locked) {
this.Locked = Locked;
}
/**
* Get User AppId
Note: This field may return null, indicating that no valid values can be obtained.
* @return AppId User AppId
Note: This field may return null, indicating that no valid values can be obtained.
*/
public String getAppId() {
return this.AppId;
}
/**
* Set User AppId
Note: This field may return null, indicating that no valid values can be obtained.
* @param AppId User AppId
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setAppId(String AppId) {
this.AppId = AppId;
}
/**
* Get User UIN
Note: This field may return null, indicating that no valid values can be obtained.
* @return Uin User UIN
Note: This field may return null, indicating that no valid values can be obtained.
*/
public String getUin() {
return this.Uin;
}
/**
* Set User UIN
Note: This field may return null, indicating that no valid values can be obtained.
* @param Uin User UIN
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setUin(String Uin) {
this.Uin = Uin;
}
/**
* Get The UIN of sub-account
Note: This field may return null, indicating that no valid values can be obtained.
* @return SubAccountUin The UIN of sub-account
Note: This field may return null, indicating that no valid values can be obtained.
*/
public String getSubAccountUin() {
return this.SubAccountUin;
}
/**
* Set The UIN of sub-account
Note: This field may return null, indicating that no valid values can be obtained.
* @param SubAccountUin The UIN of sub-account
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setSubAccountUin(String SubAccountUin) {
this.SubAccountUin = SubAccountUin;
}
/**
* Get Application ID
Note: This field may return null, indicating that no valid values can be obtained.
* @return ClusterId Application ID
Note: This field may return null, indicating that no valid values can be obtained.
*/
public String getClusterId() {
return this.ClusterId;
}
/**
* Set Application ID
Note: This field may return null, indicating that no valid values can be obtained.
* @param ClusterId Application ID
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setClusterId(String ClusterId) {
this.ClusterId = ClusterId;
}
/**
* Get Tag.
Note: this field may return `null`, indicating that no valid values can be obtained.
* @return Tags Tag.
Note: this field may return `null`, indicating that no valid values can be obtained.
*/
public Tag [] getTags() {
return this.Tags;
}
/**
* Set Tag.
Note: this field may return `null`, indicating that no valid values can be obtained.
* @param Tags Tag.
Note: this field may return `null`, indicating that no valid values can be obtained.
*/
public void setTags(Tag [] Tags) {
this.Tags = Tags;
}
/**
* Get Whether it’s authorized to access the resource
Note: This field may return null, indicating that no valid values can be obtained.
* @return HasAuthority Whether it’s authorized to access the resource
Note: This field may return null, indicating that no valid values can be obtained.
*/
public Boolean getHasAuthority() {
return this.HasAuthority;
}
/**
* Set Whether it’s authorized to access the resource
Note: This field may return null, indicating that no valid values can be obtained.
* @param HasAuthority Whether it’s authorized to access the resource
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setHasAuthority(Boolean HasAuthority) {
this.HasAuthority = HasAuthority;
}
/**
* Get Environment type. Values: `test`, `pre`, `prod`
Note: This field may return `null`, indicating that no valid value was found.
* @return EnvType Environment type. Values: `test`, `pre`, `prod`
Note: This field may return `null`, indicating that no valid value was found.
*/
public String getEnvType() {
return this.EnvType;
}
/**
* Set Environment type. Values: `test`, `pre`, `prod`
Note: This field may return `null`, indicating that no valid value was found.
* @param EnvType Environment type. Values: `test`, `pre`, `prod`
Note: This field may return `null`, indicating that no valid value was found.
*/
public void setEnvType(String EnvType) {
this.EnvType = EnvType;
}
/**
* Get Region code
Note: This field may return `null`, indicating that no valid value was found.
* @return RegionId Region code
Note: This field may return `null`, indicating that no valid value was found.
*/
public String getRegionId() {
return this.RegionId;
}
/**
* Set Region code
Note: This field may return `null`, indicating that no valid value was found.
* @param RegionId Region code
Note: This field may return `null`, indicating that no valid value was found.
*/
public void setRegionId(String RegionId) {
this.RegionId = RegionId;
}
public TemNamespaceInfo() {
}
/**
* 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 TemNamespaceInfo(TemNamespaceInfo source) {
if (source.EnvironmentId != null) {
this.EnvironmentId = new String(source.EnvironmentId);
}
if (source.Channel != null) {
this.Channel = new String(source.Channel);
}
if (source.EnvironmentName != null) {
this.EnvironmentName = new String(source.EnvironmentName);
}
if (source.Region != null) {
this.Region = new String(source.Region);
}
if (source.Description != null) {
this.Description = new String(source.Description);
}
if (source.Status != null) {
this.Status = new Long(source.Status);
}
if (source.Vpc != null) {
this.Vpc = new String(source.Vpc);
}
if (source.CreateDate != null) {
this.CreateDate = new String(source.CreateDate);
}
if (source.ModifyDate != null) {
this.ModifyDate = new String(source.ModifyDate);
}
if (source.Modifier != null) {
this.Modifier = new String(source.Modifier);
}
if (source.Creator != null) {
this.Creator = new String(source.Creator);
}
if (source.ApplicationNum != null) {
this.ApplicationNum = new Long(source.ApplicationNum);
}
if (source.RunInstancesNum != null) {
this.RunInstancesNum = new Long(source.RunInstancesNum);
}
if (source.SubnetId != null) {
this.SubnetId = new String(source.SubnetId);
}
if (source.ClusterStatus != null) {
this.ClusterStatus = new String(source.ClusterStatus);
}
if (source.EnableTswTraceService != null) {
this.EnableTswTraceService = new Boolean(source.EnableTswTraceService);
}
if (source.Locked != null) {
this.Locked = new Long(source.Locked);
}
if (source.AppId != null) {
this.AppId = new String(source.AppId);
}
if (source.Uin != null) {
this.Uin = new String(source.Uin);
}
if (source.SubAccountUin != null) {
this.SubAccountUin = new String(source.SubAccountUin);
}
if (source.ClusterId != null) {
this.ClusterId = new String(source.ClusterId);
}
if (source.Tags != null) {
this.Tags = new Tag[source.Tags.length];
for (int i = 0; i < source.Tags.length; i++) {
this.Tags[i] = new Tag(source.Tags[i]);
}
}
if (source.HasAuthority != null) {
this.HasAuthority = new Boolean(source.HasAuthority);
}
if (source.EnvType != null) {
this.EnvType = new String(source.EnvType);
}
if (source.RegionId != null) {
this.RegionId = new String(source.RegionId);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "EnvironmentId", this.EnvironmentId);
this.setParamSimple(map, prefix + "Channel", this.Channel);
this.setParamSimple(map, prefix + "EnvironmentName", this.EnvironmentName);
this.setParamSimple(map, prefix + "Region", this.Region);
this.setParamSimple(map, prefix + "Description", this.Description);
this.setParamSimple(map, prefix + "Status", this.Status);
this.setParamSimple(map, prefix + "Vpc", this.Vpc);
this.setParamSimple(map, prefix + "CreateDate", this.CreateDate);
this.setParamSimple(map, prefix + "ModifyDate", this.ModifyDate);
this.setParamSimple(map, prefix + "Modifier", this.Modifier);
this.setParamSimple(map, prefix + "Creator", this.Creator);
this.setParamSimple(map, prefix + "ApplicationNum", this.ApplicationNum);
this.setParamSimple(map, prefix + "RunInstancesNum", this.RunInstancesNum);
this.setParamSimple(map, prefix + "SubnetId", this.SubnetId);
this.setParamSimple(map, prefix + "ClusterStatus", this.ClusterStatus);
this.setParamSimple(map, prefix + "EnableTswTraceService", this.EnableTswTraceService);
this.setParamSimple(map, prefix + "Locked", this.Locked);
this.setParamSimple(map, prefix + "AppId", this.AppId);
this.setParamSimple(map, prefix + "Uin", this.Uin);
this.setParamSimple(map, prefix + "SubAccountUin", this.SubAccountUin);
this.setParamSimple(map, prefix + "ClusterId", this.ClusterId);
this.setParamArrayObj(map, prefix + "Tags.", this.Tags);
this.setParamSimple(map, prefix + "HasAuthority", this.HasAuthority);
this.setParamSimple(map, prefix + "EnvType", this.EnvType);
this.setParamSimple(map, prefix + "RegionId", this.RegionId);
}
}