
com.tencentcloudapi.eb.v20210416.models.Connection 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.eb.v20210416.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class Connection extends AbstractModel{
/**
* 状态
*/
@SerializedName("Status")
@Expose
private String Status;
/**
* 更新时间
*/
@SerializedName("ModTime")
@Expose
private String ModTime;
/**
* 使能开关
*/
@SerializedName("Enable")
@Expose
private Boolean Enable;
/**
* 描述
*/
@SerializedName("Description")
@Expose
private String Description;
/**
* 创建时间
*/
@SerializedName("AddTime")
@Expose
private String AddTime;
/**
* 连接器ID
*/
@SerializedName("ConnectionId")
@Expose
private String ConnectionId;
/**
* 事件集ID
*/
@SerializedName("EventBusId")
@Expose
private String EventBusId;
/**
* 连接器描述
*/
@SerializedName("ConnectionDescription")
@Expose
private ConnectionDescription ConnectionDescription;
/**
* 连接器名称
*/
@SerializedName("ConnectionName")
@Expose
private String ConnectionName;
/**
* 类型
*/
@SerializedName("Type")
@Expose
private String Type;
/**
* Get 状态
* @return Status 状态
*/
public String getStatus() {
return this.Status;
}
/**
* Set 状态
* @param Status 状态
*/
public void setStatus(String Status) {
this.Status = Status;
}
/**
* Get 更新时间
* @return ModTime 更新时间
*/
public String getModTime() {
return this.ModTime;
}
/**
* Set 更新时间
* @param ModTime 更新时间
*/
public void setModTime(String ModTime) {
this.ModTime = ModTime;
}
/**
* Get 使能开关
* @return Enable 使能开关
*/
public Boolean getEnable() {
return this.Enable;
}
/**
* Set 使能开关
* @param Enable 使能开关
*/
public void setEnable(Boolean Enable) {
this.Enable = Enable;
}
/**
* Get 描述
* @return Description 描述
*/
public String getDescription() {
return this.Description;
}
/**
* Set 描述
* @param Description 描述
*/
public void setDescription(String Description) {
this.Description = Description;
}
/**
* Get 创建时间
* @return AddTime 创建时间
*/
public String getAddTime() {
return this.AddTime;
}
/**
* Set 创建时间
* @param AddTime 创建时间
*/
public void setAddTime(String AddTime) {
this.AddTime = AddTime;
}
/**
* Get 连接器ID
* @return ConnectionId 连接器ID
*/
public String getConnectionId() {
return this.ConnectionId;
}
/**
* Set 连接器ID
* @param ConnectionId 连接器ID
*/
public void setConnectionId(String ConnectionId) {
this.ConnectionId = ConnectionId;
}
/**
* Get 事件集ID
* @return EventBusId 事件集ID
*/
public String getEventBusId() {
return this.EventBusId;
}
/**
* Set 事件集ID
* @param EventBusId 事件集ID
*/
public void setEventBusId(String EventBusId) {
this.EventBusId = EventBusId;
}
/**
* Get 连接器描述
* @return ConnectionDescription 连接器描述
*/
public ConnectionDescription getConnectionDescription() {
return this.ConnectionDescription;
}
/**
* Set 连接器描述
* @param ConnectionDescription 连接器描述
*/
public void setConnectionDescription(ConnectionDescription ConnectionDescription) {
this.ConnectionDescription = ConnectionDescription;
}
/**
* Get 连接器名称
* @return ConnectionName 连接器名称
*/
public String getConnectionName() {
return this.ConnectionName;
}
/**
* Set 连接器名称
* @param ConnectionName 连接器名称
*/
public void setConnectionName(String ConnectionName) {
this.ConnectionName = ConnectionName;
}
/**
* Get 类型
* @return Type 类型
*/
public String getType() {
return this.Type;
}
/**
* Set 类型
* @param Type 类型
*/
public void setType(String Type) {
this.Type = Type;
}
public Connection() {
}
/**
* 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 Connection(Connection source) {
if (source.Status != null) {
this.Status = new String(source.Status);
}
if (source.ModTime != null) {
this.ModTime = new String(source.ModTime);
}
if (source.Enable != null) {
this.Enable = new Boolean(source.Enable);
}
if (source.Description != null) {
this.Description = new String(source.Description);
}
if (source.AddTime != null) {
this.AddTime = new String(source.AddTime);
}
if (source.ConnectionId != null) {
this.ConnectionId = new String(source.ConnectionId);
}
if (source.EventBusId != null) {
this.EventBusId = new String(source.EventBusId);
}
if (source.ConnectionDescription != null) {
this.ConnectionDescription = new ConnectionDescription(source.ConnectionDescription);
}
if (source.ConnectionName != null) {
this.ConnectionName = new String(source.ConnectionName);
}
if (source.Type != null) {
this.Type = new String(source.Type);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "Status", this.Status);
this.setParamSimple(map, prefix + "ModTime", this.ModTime);
this.setParamSimple(map, prefix + "Enable", this.Enable);
this.setParamSimple(map, prefix + "Description", this.Description);
this.setParamSimple(map, prefix + "AddTime", this.AddTime);
this.setParamSimple(map, prefix + "ConnectionId", this.ConnectionId);
this.setParamSimple(map, prefix + "EventBusId", this.EventBusId);
this.setParamObj(map, prefix + "ConnectionDescription.", this.ConnectionDescription);
this.setParamSimple(map, prefix + "ConnectionName", this.ConnectionName);
this.setParamSimple(map, prefix + "Type", this.Type);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy