![JAR search and dependency download from the Maven repository](/logo.png)
com.tencentcloudapi.tem.v20210701.models.RunVersionPod 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 RunVersionPod extends AbstractModel {
/**
* Shell address
*/
@SerializedName("Webshell")
@Expose
private String Webshell;
/**
* Pod ID
*/
@SerializedName("PodId")
@Expose
private String PodId;
/**
* Status
*/
@SerializedName("Status")
@Expose
private String Status;
/**
* Creation time
*/
@SerializedName("CreateTime")
@Expose
private String CreateTime;
/**
* Pod IP
*/
@SerializedName("PodIp")
@Expose
private String PodIp;
/**
* Availability zone
Note: this field may return `null`, indicating that no valid values can be obtained.
*/
@SerializedName("Zone")
@Expose
private String Zone;
/**
* Deployed version
Note: this field may return `null`, indicating that no valid values can be obtained.
*/
@SerializedName("DeployVersion")
@Expose
private String DeployVersion;
/**
* Number of restarts
Note: this field may return `null`, indicating that no valid values can be obtained.
*/
@SerializedName("RestartCount")
@Expose
private Long RestartCount;
/**
* Whether the pod is ready
Note: this field may return `null`, indicating that no valid values can be obtained.
*/
@SerializedName("Ready")
@Expose
private Boolean Ready;
/**
* Container status
Note: this field may return `null`, indicating that no valid values can be obtained.
*/
@SerializedName("ContainerState")
@Expose
private String ContainerState;
/**
* Information of the node whether the instance locates
Note: This field may return `null`, indicating that no valid value was found.
*/
@SerializedName("NodeInfo")
@Expose
private NodeInfo NodeInfo;
/**
* Start time
Note: this field may return `null`, indicating that no valid value can be obtained.
*/
@SerializedName("StartTime")
@Expose
private String StartTime;
/**
* Whether the status is unhealthy or healthy
Note: this field may return `null`, indicating that no valid value can be obtained.
*/
@SerializedName("Unhealthy")
@Expose
private Boolean Unhealthy;
/**
* Warning message when the result is unhealthy
Note: This field may return `null`, indicating that no valid value was found.
*/
@SerializedName("UnhealthyWarningMsg")
@Expose
private String UnhealthyWarningMsg;
/**
* Version ID
Note: This field may return `null`, indicating that no valid value was found.
*/
@SerializedName("VersionId")
@Expose
private String VersionId;
/**
* Application name
Note: this field may return `null`, indicating that no valid values can be obtained.
*/
@SerializedName("ApplicationName")
@Expose
private String ApplicationName;
/**
* Get Shell address
* @return Webshell Shell address
*/
public String getWebshell() {
return this.Webshell;
}
/**
* Set Shell address
* @param Webshell Shell address
*/
public void setWebshell(String Webshell) {
this.Webshell = Webshell;
}
/**
* Get Pod ID
* @return PodId Pod ID
*/
public String getPodId() {
return this.PodId;
}
/**
* Set Pod ID
* @param PodId Pod ID
*/
public void setPodId(String PodId) {
this.PodId = PodId;
}
/**
* Get Status
* @return Status Status
*/
public String getStatus() {
return this.Status;
}
/**
* Set Status
* @param Status Status
*/
public void setStatus(String Status) {
this.Status = Status;
}
/**
* Get Creation time
* @return CreateTime Creation time
*/
public String getCreateTime() {
return this.CreateTime;
}
/**
* Set Creation time
* @param CreateTime Creation time
*/
public void setCreateTime(String CreateTime) {
this.CreateTime = CreateTime;
}
/**
* Get Pod IP
* @return PodIp Pod IP
*/
public String getPodIp() {
return this.PodIp;
}
/**
* Set Pod IP
* @param PodIp Pod IP
*/
public void setPodIp(String PodIp) {
this.PodIp = PodIp;
}
/**
* Get Availability zone
Note: this field may return `null`, indicating that no valid values can be obtained.
* @return Zone Availability zone
Note: this field may return `null`, indicating that no valid values can be obtained.
*/
public String getZone() {
return this.Zone;
}
/**
* Set Availability zone
Note: this field may return `null`, indicating that no valid values can be obtained.
* @param Zone Availability zone
Note: this field may return `null`, indicating that no valid values can be obtained.
*/
public void setZone(String Zone) {
this.Zone = Zone;
}
/**
* Get Deployed version
Note: this field may return `null`, indicating that no valid values can be obtained.
* @return DeployVersion Deployed version
Note: this field may return `null`, indicating that no valid values can be obtained.
*/
public String getDeployVersion() {
return this.DeployVersion;
}
/**
* Set Deployed version
Note: this field may return `null`, indicating that no valid values can be obtained.
* @param DeployVersion Deployed version
Note: this field may return `null`, indicating that no valid values can be obtained.
*/
public void setDeployVersion(String DeployVersion) {
this.DeployVersion = DeployVersion;
}
/**
* Get Number of restarts
Note: this field may return `null`, indicating that no valid values can be obtained.
* @return RestartCount Number of restarts
Note: this field may return `null`, indicating that no valid values can be obtained.
*/
public Long getRestartCount() {
return this.RestartCount;
}
/**
* Set Number of restarts
Note: this field may return `null`, indicating that no valid values can be obtained.
* @param RestartCount Number of restarts
Note: this field may return `null`, indicating that no valid values can be obtained.
*/
public void setRestartCount(Long RestartCount) {
this.RestartCount = RestartCount;
}
/**
* Get Whether the pod is ready
Note: this field may return `null`, indicating that no valid values can be obtained.
* @return Ready Whether the pod is ready
Note: this field may return `null`, indicating that no valid values can be obtained.
*/
public Boolean getReady() {
return this.Ready;
}
/**
* Set Whether the pod is ready
Note: this field may return `null`, indicating that no valid values can be obtained.
* @param Ready Whether the pod is ready
Note: this field may return `null`, indicating that no valid values can be obtained.
*/
public void setReady(Boolean Ready) {
this.Ready = Ready;
}
/**
* Get Container status
Note: this field may return `null`, indicating that no valid values can be obtained.
* @return ContainerState Container status
Note: this field may return `null`, indicating that no valid values can be obtained.
*/
public String getContainerState() {
return this.ContainerState;
}
/**
* Set Container status
Note: this field may return `null`, indicating that no valid values can be obtained.
* @param ContainerState Container status
Note: this field may return `null`, indicating that no valid values can be obtained.
*/
public void setContainerState(String ContainerState) {
this.ContainerState = ContainerState;
}
/**
* Get Information of the node whether the instance locates
Note: This field may return `null`, indicating that no valid value was found.
* @return NodeInfo Information of the node whether the instance locates
Note: This field may return `null`, indicating that no valid value was found.
*/
public NodeInfo getNodeInfo() {
return this.NodeInfo;
}
/**
* Set Information of the node whether the instance locates
Note: This field may return `null`, indicating that no valid value was found.
* @param NodeInfo Information of the node whether the instance locates
Note: This field may return `null`, indicating that no valid value was found.
*/
public void setNodeInfo(NodeInfo NodeInfo) {
this.NodeInfo = NodeInfo;
}
/**
* Get Start time
Note: this field may return `null`, indicating that no valid value can be obtained.
* @return StartTime Start time
Note: this field may return `null`, indicating that no valid value can be obtained.
*/
public String getStartTime() {
return this.StartTime;
}
/**
* Set Start time
Note: this field may return `null`, indicating that no valid value can be obtained.
* @param StartTime Start time
Note: this field may return `null`, indicating that no valid value can be obtained.
*/
public void setStartTime(String StartTime) {
this.StartTime = StartTime;
}
/**
* Get Whether the status is unhealthy or healthy
Note: this field may return `null`, indicating that no valid value can be obtained.
* @return Unhealthy Whether the status is unhealthy or healthy
Note: this field may return `null`, indicating that no valid value can be obtained.
*/
public Boolean getUnhealthy() {
return this.Unhealthy;
}
/**
* Set Whether the status is unhealthy or healthy
Note: this field may return `null`, indicating that no valid value can be obtained.
* @param Unhealthy Whether the status is unhealthy or healthy
Note: this field may return `null`, indicating that no valid value can be obtained.
*/
public void setUnhealthy(Boolean Unhealthy) {
this.Unhealthy = Unhealthy;
}
/**
* Get Warning message when the result is unhealthy
Note: This field may return `null`, indicating that no valid value was found.
* @return UnhealthyWarningMsg Warning message when the result is unhealthy
Note: This field may return `null`, indicating that no valid value was found.
*/
public String getUnhealthyWarningMsg() {
return this.UnhealthyWarningMsg;
}
/**
* Set Warning message when the result is unhealthy
Note: This field may return `null`, indicating that no valid value was found.
* @param UnhealthyWarningMsg Warning message when the result is unhealthy
Note: This field may return `null`, indicating that no valid value was found.
*/
public void setUnhealthyWarningMsg(String UnhealthyWarningMsg) {
this.UnhealthyWarningMsg = UnhealthyWarningMsg;
}
/**
* Get Version ID
Note: This field may return `null`, indicating that no valid value was found.
* @return VersionId Version ID
Note: This field may return `null`, indicating that no valid value was found.
*/
public String getVersionId() {
return this.VersionId;
}
/**
* Set Version ID
Note: This field may return `null`, indicating that no valid value was found.
* @param VersionId Version ID
Note: This field may return `null`, indicating that no valid value was found.
*/
public void setVersionId(String VersionId) {
this.VersionId = VersionId;
}
/**
* Get Application name
Note: this field may return `null`, indicating that no valid values can be obtained.
* @return ApplicationName Application name
Note: this field may return `null`, indicating that no valid values can be obtained.
*/
public String getApplicationName() {
return this.ApplicationName;
}
/**
* Set Application name
Note: this field may return `null`, indicating that no valid values can be obtained.
* @param ApplicationName Application name
Note: this field may return `null`, indicating that no valid values can be obtained.
*/
public void setApplicationName(String ApplicationName) {
this.ApplicationName = ApplicationName;
}
public RunVersionPod() {
}
/**
* 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 RunVersionPod(RunVersionPod source) {
if (source.Webshell != null) {
this.Webshell = new String(source.Webshell);
}
if (source.PodId != null) {
this.PodId = new String(source.PodId);
}
if (source.Status != null) {
this.Status = new String(source.Status);
}
if (source.CreateTime != null) {
this.CreateTime = new String(source.CreateTime);
}
if (source.PodIp != null) {
this.PodIp = new String(source.PodIp);
}
if (source.Zone != null) {
this.Zone = new String(source.Zone);
}
if (source.DeployVersion != null) {
this.DeployVersion = new String(source.DeployVersion);
}
if (source.RestartCount != null) {
this.RestartCount = new Long(source.RestartCount);
}
if (source.Ready != null) {
this.Ready = new Boolean(source.Ready);
}
if (source.ContainerState != null) {
this.ContainerState = new String(source.ContainerState);
}
if (source.NodeInfo != null) {
this.NodeInfo = new NodeInfo(source.NodeInfo);
}
if (source.StartTime != null) {
this.StartTime = new String(source.StartTime);
}
if (source.Unhealthy != null) {
this.Unhealthy = new Boolean(source.Unhealthy);
}
if (source.UnhealthyWarningMsg != null) {
this.UnhealthyWarningMsg = new String(source.UnhealthyWarningMsg);
}
if (source.VersionId != null) {
this.VersionId = new String(source.VersionId);
}
if (source.ApplicationName != null) {
this.ApplicationName = new String(source.ApplicationName);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "Webshell", this.Webshell);
this.setParamSimple(map, prefix + "PodId", this.PodId);
this.setParamSimple(map, prefix + "Status", this.Status);
this.setParamSimple(map, prefix + "CreateTime", this.CreateTime);
this.setParamSimple(map, prefix + "PodIp", this.PodIp);
this.setParamSimple(map, prefix + "Zone", this.Zone);
this.setParamSimple(map, prefix + "DeployVersion", this.DeployVersion);
this.setParamSimple(map, prefix + "RestartCount", this.RestartCount);
this.setParamSimple(map, prefix + "Ready", this.Ready);
this.setParamSimple(map, prefix + "ContainerState", this.ContainerState);
this.setParamObj(map, prefix + "NodeInfo.", this.NodeInfo);
this.setParamSimple(map, prefix + "StartTime", this.StartTime);
this.setParamSimple(map, prefix + "Unhealthy", this.Unhealthy);
this.setParamSimple(map, prefix + "UnhealthyWarningMsg", this.UnhealthyWarningMsg);
this.setParamSimple(map, prefix + "VersionId", this.VersionId);
this.setParamSimple(map, prefix + "ApplicationName", this.ApplicationName);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy