com.tencentcloudapi.cwp.v20180228.models.AssetJarBaseInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tencentcloud-sdk-java-cwp Show documentation
Show all versions of tencentcloud-sdk-java-cwp Show documentation
Tencent Cloud Open 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.cwp.v20180228.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class AssetJarBaseInfo extends AbstractModel{
/**
* 名称
*/
@SerializedName("Name")
@Expose
private String Name;
/**
* 类型:1应用程序,2系统类库,3Web服务自带库,8:其他,
*/
@SerializedName("Type")
@Expose
private Long Type;
/**
* 是否可执行:0未知,1是,2否
*/
@SerializedName("Status")
@Expose
private Long Status;
/**
* 版本
*/
@SerializedName("Version")
@Expose
private String Version;
/**
* 路径
*/
@SerializedName("Path")
@Expose
private String Path;
/**
* 服务器IP
*/
@SerializedName("MachineIp")
@Expose
private String MachineIp;
/**
* 服务器名称
*/
@SerializedName("MachineName")
@Expose
private String MachineName;
/**
* 操作系统
*/
@SerializedName("OsInfo")
@Expose
private String OsInfo;
/**
* Jar包ID
*/
@SerializedName("Id")
@Expose
private String Id;
/**
* Jar包Md5
*/
@SerializedName("Md5")
@Expose
private String Md5;
/**
* 主机Quuid
*/
@SerializedName("Quuid")
@Expose
private String Quuid;
/**
* 主机uuid
*/
@SerializedName("Uuid")
@Expose
private String Uuid;
/**
* 数据更新时间
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("UpdateTime")
@Expose
private String UpdateTime;
/**
* 首次采集时间
*/
@SerializedName("FirstTime")
@Expose
private String FirstTime;
/**
* 是否新增[0:否|1:是]
*/
@SerializedName("IsNew")
@Expose
private Long IsNew;
/**
* 服务器外网IP
*/
@SerializedName("MachineWanIp")
@Expose
private String MachineWanIp;
/**
* 附加信息
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("MachineExtraInfo")
@Expose
private MachineExtraInfo MachineExtraInfo;
/**
* Get 名称
* @return Name 名称
*/
public String getName() {
return this.Name;
}
/**
* Set 名称
* @param Name 名称
*/
public void setName(String Name) {
this.Name = Name;
}
/**
* Get 类型:1应用程序,2系统类库,3Web服务自带库,8:其他,
* @return Type 类型:1应用程序,2系统类库,3Web服务自带库,8:其他,
*/
public Long getType() {
return this.Type;
}
/**
* Set 类型:1应用程序,2系统类库,3Web服务自带库,8:其他,
* @param Type 类型:1应用程序,2系统类库,3Web服务自带库,8:其他,
*/
public void setType(Long Type) {
this.Type = Type;
}
/**
* Get 是否可执行:0未知,1是,2否
* @return Status 是否可执行:0未知,1是,2否
*/
public Long getStatus() {
return this.Status;
}
/**
* Set 是否可执行:0未知,1是,2否
* @param Status 是否可执行:0未知,1是,2否
*/
public void setStatus(Long Status) {
this.Status = Status;
}
/**
* Get 版本
* @return Version 版本
*/
public String getVersion() {
return this.Version;
}
/**
* Set 版本
* @param Version 版本
*/
public void setVersion(String Version) {
this.Version = Version;
}
/**
* Get 路径
* @return Path 路径
*/
public String getPath() {
return this.Path;
}
/**
* Set 路径
* @param Path 路径
*/
public void setPath(String Path) {
this.Path = Path;
}
/**
* Get 服务器IP
* @return MachineIp 服务器IP
*/
public String getMachineIp() {
return this.MachineIp;
}
/**
* Set 服务器IP
* @param MachineIp 服务器IP
*/
public void setMachineIp(String MachineIp) {
this.MachineIp = MachineIp;
}
/**
* Get 服务器名称
* @return MachineName 服务器名称
*/
public String getMachineName() {
return this.MachineName;
}
/**
* Set 服务器名称
* @param MachineName 服务器名称
*/
public void setMachineName(String MachineName) {
this.MachineName = MachineName;
}
/**
* Get 操作系统
* @return OsInfo 操作系统
*/
public String getOsInfo() {
return this.OsInfo;
}
/**
* Set 操作系统
* @param OsInfo 操作系统
*/
public void setOsInfo(String OsInfo) {
this.OsInfo = OsInfo;
}
/**
* Get Jar包ID
* @return Id Jar包ID
*/
public String getId() {
return this.Id;
}
/**
* Set Jar包ID
* @param Id Jar包ID
*/
public void setId(String Id) {
this.Id = Id;
}
/**
* Get Jar包Md5
* @return Md5 Jar包Md5
*/
public String getMd5() {
return this.Md5;
}
/**
* Set Jar包Md5
* @param Md5 Jar包Md5
*/
public void setMd5(String Md5) {
this.Md5 = Md5;
}
/**
* Get 主机Quuid
* @return Quuid 主机Quuid
*/
public String getQuuid() {
return this.Quuid;
}
/**
* Set 主机Quuid
* @param Quuid 主机Quuid
*/
public void setQuuid(String Quuid) {
this.Quuid = Quuid;
}
/**
* Get 主机uuid
* @return Uuid 主机uuid
*/
public String getUuid() {
return this.Uuid;
}
/**
* Set 主机uuid
* @param Uuid 主机uuid
*/
public void setUuid(String Uuid) {
this.Uuid = Uuid;
}
/**
* Get 数据更新时间
注意:此字段可能返回 null,表示取不到有效值。
* @return UpdateTime 数据更新时间
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getUpdateTime() {
return this.UpdateTime;
}
/**
* Set 数据更新时间
注意:此字段可能返回 null,表示取不到有效值。
* @param UpdateTime 数据更新时间
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setUpdateTime(String UpdateTime) {
this.UpdateTime = UpdateTime;
}
/**
* Get 首次采集时间
* @return FirstTime 首次采集时间
*/
public String getFirstTime() {
return this.FirstTime;
}
/**
* Set 首次采集时间
* @param FirstTime 首次采集时间
*/
public void setFirstTime(String FirstTime) {
this.FirstTime = FirstTime;
}
/**
* Get 是否新增[0:否|1:是]
* @return IsNew 是否新增[0:否|1:是]
*/
public Long getIsNew() {
return this.IsNew;
}
/**
* Set 是否新增[0:否|1:是]
* @param IsNew 是否新增[0:否|1:是]
*/
public void setIsNew(Long IsNew) {
this.IsNew = IsNew;
}
/**
* Get 服务器外网IP
* @return MachineWanIp 服务器外网IP
*/
public String getMachineWanIp() {
return this.MachineWanIp;
}
/**
* Set 服务器外网IP
* @param MachineWanIp 服务器外网IP
*/
public void setMachineWanIp(String MachineWanIp) {
this.MachineWanIp = MachineWanIp;
}
/**
* Get 附加信息
注意:此字段可能返回 null,表示取不到有效值。
* @return MachineExtraInfo 附加信息
注意:此字段可能返回 null,表示取不到有效值。
*/
public MachineExtraInfo getMachineExtraInfo() {
return this.MachineExtraInfo;
}
/**
* Set 附加信息
注意:此字段可能返回 null,表示取不到有效值。
* @param MachineExtraInfo 附加信息
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setMachineExtraInfo(MachineExtraInfo MachineExtraInfo) {
this.MachineExtraInfo = MachineExtraInfo;
}
public AssetJarBaseInfo() {
}
/**
* 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 AssetJarBaseInfo(AssetJarBaseInfo source) {
if (source.Name != null) {
this.Name = new String(source.Name);
}
if (source.Type != null) {
this.Type = new Long(source.Type);
}
if (source.Status != null) {
this.Status = new Long(source.Status);
}
if (source.Version != null) {
this.Version = new String(source.Version);
}
if (source.Path != null) {
this.Path = new String(source.Path);
}
if (source.MachineIp != null) {
this.MachineIp = new String(source.MachineIp);
}
if (source.MachineName != null) {
this.MachineName = new String(source.MachineName);
}
if (source.OsInfo != null) {
this.OsInfo = new String(source.OsInfo);
}
if (source.Id != null) {
this.Id = new String(source.Id);
}
if (source.Md5 != null) {
this.Md5 = new String(source.Md5);
}
if (source.Quuid != null) {
this.Quuid = new String(source.Quuid);
}
if (source.Uuid != null) {
this.Uuid = new String(source.Uuid);
}
if (source.UpdateTime != null) {
this.UpdateTime = new String(source.UpdateTime);
}
if (source.FirstTime != null) {
this.FirstTime = new String(source.FirstTime);
}
if (source.IsNew != null) {
this.IsNew = new Long(source.IsNew);
}
if (source.MachineWanIp != null) {
this.MachineWanIp = new String(source.MachineWanIp);
}
if (source.MachineExtraInfo != null) {
this.MachineExtraInfo = new MachineExtraInfo(source.MachineExtraInfo);
}
}
/**
* 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 + "Type", this.Type);
this.setParamSimple(map, prefix + "Status", this.Status);
this.setParamSimple(map, prefix + "Version", this.Version);
this.setParamSimple(map, prefix + "Path", this.Path);
this.setParamSimple(map, prefix + "MachineIp", this.MachineIp);
this.setParamSimple(map, prefix + "MachineName", this.MachineName);
this.setParamSimple(map, prefix + "OsInfo", this.OsInfo);
this.setParamSimple(map, prefix + "Id", this.Id);
this.setParamSimple(map, prefix + "Md5", this.Md5);
this.setParamSimple(map, prefix + "Quuid", this.Quuid);
this.setParamSimple(map, prefix + "Uuid", this.Uuid);
this.setParamSimple(map, prefix + "UpdateTime", this.UpdateTime);
this.setParamSimple(map, prefix + "FirstTime", this.FirstTime);
this.setParamSimple(map, prefix + "IsNew", this.IsNew);
this.setParamSimple(map, prefix + "MachineWanIp", this.MachineWanIp);
this.setParamObj(map, prefix + "MachineExtraInfo.", this.MachineExtraInfo);
}
}