
com.tencentcloudapi.tke.v20180525.models.ReleaseHistory 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 ReleaseHistory extends AbstractModel{
/**
* 应用名称
*/
@SerializedName("Name")
@Expose
private String Name;
/**
* 应用命名空间
*/
@SerializedName("Namespace")
@Expose
private String Namespace;
/**
* 应用版本
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Revision")
@Expose
private Long Revision;
/**
* 应用状态
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Status")
@Expose
private String Status;
/**
* 应用制品名称
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Chart")
@Expose
private String Chart;
/**
* 应用制品版本
注意:此字段可能返回 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 Long getRevision() {
return this.Revision;
}
/**
* Set 应用版本
注意:此字段可能返回 null,表示取不到有效值。
* @param Revision 应用版本
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setRevision(Long 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 Chart 应用制品名称
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getChart() {
return this.Chart;
}
/**
* Set 应用制品名称
注意:此字段可能返回 null,表示取不到有效值。
* @param Chart 应用制品名称
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setChart(String Chart) {
this.Chart = Chart;
}
/**
* 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 ReleaseHistory() {
}
/**
* 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 ReleaseHistory(ReleaseHistory 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 Long(source.Revision);
}
if (source.Status != null) {
this.Status = new String(source.Status);
}
if (source.Chart != null) {
this.Chart = new String(source.Chart);
}
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 + "Chart", this.Chart);
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