com.tencentcloudapi.cwp.v20180228.models.SecurityButlerInfo 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.cwp.v20180228.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 SecurityButlerInfo extends AbstractModel {
/**
* Data ID
*/
@SerializedName("Id")
@Expose
private Long Id;
/**
* Order ID
*/
@SerializedName("OrderId")
@Expose
private Long OrderId;
/**
* cvm id
*/
@SerializedName("Quuid")
@Expose
private String Quuid;
/**
* Service status. 0: in service; 1: expired; 2: terminated.
*/
@SerializedName("Status")
@Expose
private Long Status;
/**
* Service start time
*/
@SerializedName("StartTime")
@Expose
private String StartTime;
/**
* Service end time
*/
@SerializedName("EndTime")
@Expose
private String EndTime;
/**
* Host name
*/
@SerializedName("HostName")
@Expose
private String HostName;
/**
* Host IP address
*/
@SerializedName("HostIp")
@Expose
private String HostIp;
/**
* Host UUID
*/
@SerializedName("Uuid")
@Expose
private String Uuid;
/**
* Number of host risks
*/
@SerializedName("RiskCount")
@Expose
private Long RiskCount;
/**
* Get Data ID
* @return Id Data ID
*/
public Long getId() {
return this.Id;
}
/**
* Set Data ID
* @param Id Data ID
*/
public void setId(Long Id) {
this.Id = Id;
}
/**
* Get Order ID
* @return OrderId Order ID
*/
public Long getOrderId() {
return this.OrderId;
}
/**
* Set Order ID
* @param OrderId Order ID
*/
public void setOrderId(Long OrderId) {
this.OrderId = OrderId;
}
/**
* Get cvm id
* @return Quuid cvm id
*/
public String getQuuid() {
return this.Quuid;
}
/**
* Set cvm id
* @param Quuid cvm id
*/
public void setQuuid(String Quuid) {
this.Quuid = Quuid;
}
/**
* Get Service status. 0: in service; 1: expired; 2: terminated.
* @return Status Service status. 0: in service; 1: expired; 2: terminated.
*/
public Long getStatus() {
return this.Status;
}
/**
* Set Service status. 0: in service; 1: expired; 2: terminated.
* @param Status Service status. 0: in service; 1: expired; 2: terminated.
*/
public void setStatus(Long Status) {
this.Status = Status;
}
/**
* Get Service start time
* @return StartTime Service start time
*/
public String getStartTime() {
return this.StartTime;
}
/**
* Set Service start time
* @param StartTime Service start time
*/
public void setStartTime(String StartTime) {
this.StartTime = StartTime;
}
/**
* Get Service end time
* @return EndTime Service end time
*/
public String getEndTime() {
return this.EndTime;
}
/**
* Set Service end time
* @param EndTime Service end time
*/
public void setEndTime(String EndTime) {
this.EndTime = EndTime;
}
/**
* Get Host name
* @return HostName Host name
*/
public String getHostName() {
return this.HostName;
}
/**
* Set Host name
* @param HostName Host name
*/
public void setHostName(String HostName) {
this.HostName = HostName;
}
/**
* Get Host IP address
* @return HostIp Host IP address
*/
public String getHostIp() {
return this.HostIp;
}
/**
* Set Host IP address
* @param HostIp Host IP address
*/
public void setHostIp(String HostIp) {
this.HostIp = HostIp;
}
/**
* Get Host UUID
* @return Uuid Host UUID
*/
public String getUuid() {
return this.Uuid;
}
/**
* Set Host UUID
* @param Uuid Host UUID
*/
public void setUuid(String Uuid) {
this.Uuid = Uuid;
}
/**
* Get Number of host risks
* @return RiskCount Number of host risks
*/
public Long getRiskCount() {
return this.RiskCount;
}
/**
* Set Number of host risks
* @param RiskCount Number of host risks
*/
public void setRiskCount(Long RiskCount) {
this.RiskCount = RiskCount;
}
public SecurityButlerInfo() {
}
/**
* 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 SecurityButlerInfo(SecurityButlerInfo source) {
if (source.Id != null) {
this.Id = new Long(source.Id);
}
if (source.OrderId != null) {
this.OrderId = new Long(source.OrderId);
}
if (source.Quuid != null) {
this.Quuid = new String(source.Quuid);
}
if (source.Status != null) {
this.Status = new Long(source.Status);
}
if (source.StartTime != null) {
this.StartTime = new String(source.StartTime);
}
if (source.EndTime != null) {
this.EndTime = new String(source.EndTime);
}
if (source.HostName != null) {
this.HostName = new String(source.HostName);
}
if (source.HostIp != null) {
this.HostIp = new String(source.HostIp);
}
if (source.Uuid != null) {
this.Uuid = new String(source.Uuid);
}
if (source.RiskCount != null) {
this.RiskCount = new Long(source.RiskCount);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "Id", this.Id);
this.setParamSimple(map, prefix + "OrderId", this.OrderId);
this.setParamSimple(map, prefix + "Quuid", this.Quuid);
this.setParamSimple(map, prefix + "Status", this.Status);
this.setParamSimple(map, prefix + "StartTime", this.StartTime);
this.setParamSimple(map, prefix + "EndTime", this.EndTime);
this.setParamSimple(map, prefix + "HostName", this.HostName);
this.setParamSimple(map, prefix + "HostIp", this.HostIp);
this.setParamSimple(map, prefix + "Uuid", this.Uuid);
this.setParamSimple(map, prefix + "RiskCount", this.RiskCount);
}
}