
com.tencentcloudapi.tke.v20180525.models.Release 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.tke.v20180525.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class Release extends AbstractModel{
/**
* 应用名称
*/
@SerializedName("Name")
@Expose
private String Name;
/**
* 应用命名空间
*/
@SerializedName("Namespace")
@Expose
private String Namespace;
/**
* 应用当前版本
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Revision")
@Expose
private String Revision;
/**
* 应用状态
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Status")
@Expose
private String Status;
/**
* 制品名称
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("ChartName")
@Expose
private String ChartName;
/**
* 制品版本
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("ChartVersion")
@Expose
private String ChartVersion;
/**
* 制品应用版本
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("AppVersion")
@Expose
private String AppVersion;
/**
* 更新时间
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("UpdatedTime")
@Expose
private String UpdatedTime;
/**
* 应用描述
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Description")
@Expose
private String Description;
/**
* Get 应用名称
* @return Name 应用名称
*/
public String getName() {
return this.Name;
}
/**
* Set 应用名称
* @param Name 应用名称
*/
public void setName(String Name) {
this.Name = Name;
}
/**
* Get 应用命名空间
* @return Namespace 应用命名空间
*/
public String getNamespace() {
return this.Namespace;
}
/**
* Set 应用命名空间
* @param Namespace 应用命名空间
*/
public void setNamespace(String Namespace) {
this.Namespace = Namespace;
}
/**
* Get 应用当前版本
注意:此字段可能返回 null,表示取不到有效值。
* @return Revision 应用当前版本
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getRevision() {
return this.Revision;
}
/**
* Set 应用当前版本
注意:此字段可能返回 null,表示取不到有效值。
* @param Revision 应用当前版本
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setRevision(String Revision) {
this.Revision = Revision;
}
/**
* Get 应用状态
注意:此字段可能返回 null,表示取不到有效值。
* @return Status 应用状态
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getStatus() {
return this.Status;
}
/**
* Set 应用状态
注意:此字段可能返回 null,表示取不到有效值。
* @param Status 应用状态
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setStatus(String Status) {
this.Status = Status;
}
/**
* Get 制品名称
注意:此字段可能返回 null,表示取不到有效值。
* @return ChartName 制品名称
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getChartName() {
return this.ChartName;
}
/**
* Set 制品名称
注意:此字段可能返回 null,表示取不到有效值。
* @param ChartName 制品名称
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setChartName(String ChartName) {
this.ChartName = ChartName;
}
/**
* Get 制品版本
注意:此字段可能返回 null,表示取不到有效值。
* @return ChartVersion 制品版本
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getChartVersion() {
return this.ChartVersion;
}
/**
* Set 制品版本
注意:此字段可能返回 null,表示取不到有效值。
* @param ChartVersion 制品版本
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setChartVersion(String ChartVersion) {
this.ChartVersion = ChartVersion;
}
/**
* Get 制品应用版本
注意:此字段可能返回 null,表示取不到有效值。
* @return AppVersion 制品应用版本
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getAppVersion() {
return this.AppVersion;
}
/**
* Set 制品应用版本
注意:此字段可能返回 null,表示取不到有效值。
* @param AppVersion 制品应用版本
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setAppVersion(String AppVersion) {
this.AppVersion = AppVersion;
}
/**
* Get 更新时间
注意:此字段可能返回 null,表示取不到有效值。
* @return UpdatedTime 更新时间
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getUpdatedTime() {
return this.UpdatedTime;
}
/**
* Set 更新时间
注意:此字段可能返回 null,表示取不到有效值。
* @param UpdatedTime 更新时间
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setUpdatedTime(String UpdatedTime) {
this.UpdatedTime = UpdatedTime;
}
/**
* Get 应用描述
注意:此字段可能返回 null,表示取不到有效值。
* @return Description 应用描述
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getDescription() {
return this.Description;
}
/**
* Set 应用描述
注意:此字段可能返回 null,表示取不到有效值。
* @param Description 应用描述
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setDescription(String Description) {
this.Description = Description;
}
public Release() {
}
/**
* 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 Release(Release source) {
if (source.Name != null) {
this.Name = new String(source.Name);
}
if (source.Namespace != null) {
this.Namespace = new String(source.Namespace);
}
if (source.Revision != null) {
this.Revision = new String(source.Revision);
}
if (source.Status != null) {
this.Status = new String(source.Status);
}
if (source.ChartName != null) {
this.ChartName = new String(source.ChartName);
}
if (source.ChartVersion != null) {
this.ChartVersion = new String(source.ChartVersion);
}
if (source.AppVersion != null) {
this.AppVersion = new String(source.AppVersion);
}
if (source.UpdatedTime != null) {
this.UpdatedTime = new String(source.UpdatedTime);
}
if (source.Description != null) {
this.Description = new String(source.Description);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "Name", this.Name);
this.setParamSimple(map, prefix + "Namespace", this.Namespace);
this.setParamSimple(map, prefix + "Revision", this.Revision);
this.setParamSimple(map, prefix + "Status", this.Status);
this.setParamSimple(map, prefix + "ChartName", this.ChartName);
this.setParamSimple(map, prefix + "ChartVersion", this.ChartVersion);
this.setParamSimple(map, prefix + "AppVersion", this.AppVersion);
this.setParamSimple(map, prefix + "UpdatedTime", this.UpdatedTime);
this.setParamSimple(map, prefix + "Description", this.Description);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy