com.tencentcloudapi.yunjing.v20180228.models.OpenPort 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.yunjing.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 OpenPort extends AbstractModel{
/**
* Unique ID.
*/
@SerializedName("Id")
@Expose
private Long Id;
/**
* CWP agent `UUID`.
*/
@SerializedName("Uuid")
@Expose
private String Uuid;
/**
* Open port number.
*/
@SerializedName("Port")
@Expose
private Long Port;
/**
* Server IP.
*/
@SerializedName("MachineIp")
@Expose
private String MachineIp;
/**
* Server name.
*/
@SerializedName("MachineName")
@Expose
private String MachineName;
/**
* Process name corresponding to port.
*/
@SerializedName("ProcessName")
@Expose
private String ProcessName;
/**
* Process `Pid` corresponding to port.
*/
@SerializedName("Pid")
@Expose
private Long Pid;
/**
* Record creation time.
*/
@SerializedName("CreateTime")
@Expose
private String CreateTime;
/**
* Record update time.
*/
@SerializedName("ModifyTime")
@Expose
private String ModifyTime;
/**
* Get Unique ID.
* @return Id Unique ID.
*/
public Long getId() {
return this.Id;
}
/**
* Set Unique ID.
* @param Id Unique ID.
*/
public void setId(Long Id) {
this.Id = Id;
}
/**
* Get CWP agent `UUID`.
* @return Uuid CWP agent `UUID`.
*/
public String getUuid() {
return this.Uuid;
}
/**
* Set CWP agent `UUID`.
* @param Uuid CWP agent `UUID`.
*/
public void setUuid(String Uuid) {
this.Uuid = Uuid;
}
/**
* Get Open port number.
* @return Port Open port number.
*/
public Long getPort() {
return this.Port;
}
/**
* Set Open port number.
* @param Port Open port number.
*/
public void setPort(Long Port) {
this.Port = Port;
}
/**
* Get Server IP.
* @return MachineIp Server IP.
*/
public String getMachineIp() {
return this.MachineIp;
}
/**
* Set Server IP.
* @param MachineIp Server IP.
*/
public void setMachineIp(String MachineIp) {
this.MachineIp = MachineIp;
}
/**
* Get Server name.
* @return MachineName Server name.
*/
public String getMachineName() {
return this.MachineName;
}
/**
* Set Server name.
* @param MachineName Server name.
*/
public void setMachineName(String MachineName) {
this.MachineName = MachineName;
}
/**
* Get Process name corresponding to port.
* @return ProcessName Process name corresponding to port.
*/
public String getProcessName() {
return this.ProcessName;
}
/**
* Set Process name corresponding to port.
* @param ProcessName Process name corresponding to port.
*/
public void setProcessName(String ProcessName) {
this.ProcessName = ProcessName;
}
/**
* Get Process `Pid` corresponding to port.
* @return Pid Process `Pid` corresponding to port.
*/
public Long getPid() {
return this.Pid;
}
/**
* Set Process `Pid` corresponding to port.
* @param Pid Process `Pid` corresponding to port.
*/
public void setPid(Long Pid) {
this.Pid = Pid;
}
/**
* Get Record creation time.
* @return CreateTime Record creation time.
*/
public String getCreateTime() {
return this.CreateTime;
}
/**
* Set Record creation time.
* @param CreateTime Record creation time.
*/
public void setCreateTime(String CreateTime) {
this.CreateTime = CreateTime;
}
/**
* Get Record update time.
* @return ModifyTime Record update time.
*/
public String getModifyTime() {
return this.ModifyTime;
}
/**
* Set Record update time.
* @param ModifyTime Record update time.
*/
public void setModifyTime(String ModifyTime) {
this.ModifyTime = ModifyTime;
}
public OpenPort() {
}
/**
* 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 OpenPort(OpenPort source) {
if (source.Id != null) {
this.Id = new Long(source.Id);
}
if (source.Uuid != null) {
this.Uuid = new String(source.Uuid);
}
if (source.Port != null) {
this.Port = new Long(source.Port);
}
if (source.MachineIp != null) {
this.MachineIp = new String(source.MachineIp);
}
if (source.MachineName != null) {
this.MachineName = new String(source.MachineName);
}
if (source.ProcessName != null) {
this.ProcessName = new String(source.ProcessName);
}
if (source.Pid != null) {
this.Pid = new Long(source.Pid);
}
if (source.CreateTime != null) {
this.CreateTime = new String(source.CreateTime);
}
if (source.ModifyTime != null) {
this.ModifyTime = new String(source.ModifyTime);
}
}
/**
* 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 + "Uuid", this.Uuid);
this.setParamSimple(map, prefix + "Port", this.Port);
this.setParamSimple(map, prefix + "MachineIp", this.MachineIp);
this.setParamSimple(map, prefix + "MachineName", this.MachineName);
this.setParamSimple(map, prefix + "ProcessName", this.ProcessName);
this.setParamSimple(map, prefix + "Pid", this.Pid);
this.setParamSimple(map, prefix + "CreateTime", this.CreateTime);
this.setParamSimple(map, prefix + "ModifyTime", this.ModifyTime);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy