
com.tencentcloudapi.pts.v20210728.models.AlertChannelRecord 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.pts.v20210728.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class AlertChannelRecord extends AbstractModel{
/**
* Notice ID
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("NoticeId")
@Expose
private String NoticeId;
/**
* Consumer ID
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("AMPConsumerId")
@Expose
private String AMPConsumerId;
/**
* 项目 ID
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("ProjectId")
@Expose
private String ProjectId;
/**
* 状态
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Status")
@Expose
private Long Status;
/**
* 创建时间
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("CreatedAt")
@Expose
private String CreatedAt;
/**
* 更新时间
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("UpdatedAt")
@Expose
private String UpdatedAt;
/**
* App ID
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("AppId")
@Expose
private Long AppId;
/**
* 主账号
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Uin")
@Expose
private String Uin;
/**
* 子账号
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("SubAccountUin")
@Expose
private String SubAccountUin;
/**
* Get Notice ID
注意:此字段可能返回 null,表示取不到有效值。
* @return NoticeId Notice ID
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getNoticeId() {
return this.NoticeId;
}
/**
* Set Notice ID
注意:此字段可能返回 null,表示取不到有效值。
* @param NoticeId Notice ID
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setNoticeId(String NoticeId) {
this.NoticeId = NoticeId;
}
/**
* Get Consumer ID
注意:此字段可能返回 null,表示取不到有效值。
* @return AMPConsumerId Consumer ID
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getAMPConsumerId() {
return this.AMPConsumerId;
}
/**
* Set Consumer ID
注意:此字段可能返回 null,表示取不到有效值。
* @param AMPConsumerId Consumer ID
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setAMPConsumerId(String AMPConsumerId) {
this.AMPConsumerId = AMPConsumerId;
}
/**
* Get 项目 ID
注意:此字段可能返回 null,表示取不到有效值。
* @return ProjectId 项目 ID
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getProjectId() {
return this.ProjectId;
}
/**
* Set 项目 ID
注意:此字段可能返回 null,表示取不到有效值。
* @param ProjectId 项目 ID
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setProjectId(String ProjectId) {
this.ProjectId = ProjectId;
}
/**
* Get 状态
注意:此字段可能返回 null,表示取不到有效值。
* @return Status 状态
注意:此字段可能返回 null,表示取不到有效值。
*/
public Long getStatus() {
return this.Status;
}
/**
* Set 状态
注意:此字段可能返回 null,表示取不到有效值。
* @param Status 状态
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setStatus(Long Status) {
this.Status = Status;
}
/**
* Get 创建时间
注意:此字段可能返回 null,表示取不到有效值。
* @return CreatedAt 创建时间
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getCreatedAt() {
return this.CreatedAt;
}
/**
* Set 创建时间
注意:此字段可能返回 null,表示取不到有效值。
* @param CreatedAt 创建时间
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setCreatedAt(String CreatedAt) {
this.CreatedAt = CreatedAt;
}
/**
* Get 更新时间
注意:此字段可能返回 null,表示取不到有效值。
* @return UpdatedAt 更新时间
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getUpdatedAt() {
return this.UpdatedAt;
}
/**
* Set 更新时间
注意:此字段可能返回 null,表示取不到有效值。
* @param UpdatedAt 更新时间
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setUpdatedAt(String UpdatedAt) {
this.UpdatedAt = UpdatedAt;
}
/**
* Get App ID
注意:此字段可能返回 null,表示取不到有效值。
* @return AppId App ID
注意:此字段可能返回 null,表示取不到有效值。
*/
public Long getAppId() {
return this.AppId;
}
/**
* Set App ID
注意:此字段可能返回 null,表示取不到有效值。
* @param AppId App ID
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setAppId(Long AppId) {
this.AppId = AppId;
}
/**
* Get 主账号
注意:此字段可能返回 null,表示取不到有效值。
* @return Uin 主账号
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getUin() {
return this.Uin;
}
/**
* Set 主账号
注意:此字段可能返回 null,表示取不到有效值。
* @param Uin 主账号
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setUin(String Uin) {
this.Uin = Uin;
}
/**
* Get 子账号
注意:此字段可能返回 null,表示取不到有效值。
* @return SubAccountUin 子账号
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getSubAccountUin() {
return this.SubAccountUin;
}
/**
* Set 子账号
注意:此字段可能返回 null,表示取不到有效值。
* @param SubAccountUin 子账号
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setSubAccountUin(String SubAccountUin) {
this.SubAccountUin = SubAccountUin;
}
public AlertChannelRecord() {
}
/**
* 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 AlertChannelRecord(AlertChannelRecord source) {
if (source.NoticeId != null) {
this.NoticeId = new String(source.NoticeId);
}
if (source.AMPConsumerId != null) {
this.AMPConsumerId = new String(source.AMPConsumerId);
}
if (source.ProjectId != null) {
this.ProjectId = new String(source.ProjectId);
}
if (source.Status != null) {
this.Status = new Long(source.Status);
}
if (source.CreatedAt != null) {
this.CreatedAt = new String(source.CreatedAt);
}
if (source.UpdatedAt != null) {
this.UpdatedAt = new String(source.UpdatedAt);
}
if (source.AppId != null) {
this.AppId = new Long(source.AppId);
}
if (source.Uin != null) {
this.Uin = new String(source.Uin);
}
if (source.SubAccountUin != null) {
this.SubAccountUin = new String(source.SubAccountUin);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "NoticeId", this.NoticeId);
this.setParamSimple(map, prefix + "AMPConsumerId", this.AMPConsumerId);
this.setParamSimple(map, prefix + "ProjectId", this.ProjectId);
this.setParamSimple(map, prefix + "Status", this.Status);
this.setParamSimple(map, prefix + "CreatedAt", this.CreatedAt);
this.setParamSimple(map, prefix + "UpdatedAt", this.UpdatedAt);
this.setParamSimple(map, prefix + "AppId", this.AppId);
this.setParamSimple(map, prefix + "Uin", this.Uin);
this.setParamSimple(map, prefix + "SubAccountUin", this.SubAccountUin);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy