
com.tencentcloudapi.monitor.v20180724.models.ModifyAlarmNoticeRequest 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.monitor.v20180724.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class ModifyAlarmNoticeRequest extends AbstractModel{
/**
* 模块名,这里填“monitor”
*/
@SerializedName("Module")
@Expose
private String Module;
/**
* 告警通知规则名称 60字符以内
*/
@SerializedName("Name")
@Expose
private String Name;
/**
* 通知类型 ALARM=未恢复通知 OK=已恢复通知 ALL=都通知
*/
@SerializedName("NoticeType")
@Expose
private String NoticeType;
/**
* 通知语言 zh-CN=中文 en-US=英文
*/
@SerializedName("NoticeLanguage")
@Expose
private String NoticeLanguage;
/**
* 告警通知模板 ID
*/
@SerializedName("NoticeId")
@Expose
private String NoticeId;
/**
* 用户通知 最多5个
*/
@SerializedName("UserNotices")
@Expose
private UserNotice [] UserNotices;
/**
* 回调通知 最多3个
*/
@SerializedName("URLNotices")
@Expose
private URLNotice [] URLNotices;
/**
* Get 模块名,这里填“monitor”
* @return Module 模块名,这里填“monitor”
*/
public String getModule() {
return this.Module;
}
/**
* Set 模块名,这里填“monitor”
* @param Module 模块名,这里填“monitor”
*/
public void setModule(String Module) {
this.Module = Module;
}
/**
* Get 告警通知规则名称 60字符以内
* @return Name 告警通知规则名称 60字符以内
*/
public String getName() {
return this.Name;
}
/**
* Set 告警通知规则名称 60字符以内
* @param Name 告警通知规则名称 60字符以内
*/
public void setName(String Name) {
this.Name = Name;
}
/**
* Get 通知类型 ALARM=未恢复通知 OK=已恢复通知 ALL=都通知
* @return NoticeType 通知类型 ALARM=未恢复通知 OK=已恢复通知 ALL=都通知
*/
public String getNoticeType() {
return this.NoticeType;
}
/**
* Set 通知类型 ALARM=未恢复通知 OK=已恢复通知 ALL=都通知
* @param NoticeType 通知类型 ALARM=未恢复通知 OK=已恢复通知 ALL=都通知
*/
public void setNoticeType(String NoticeType) {
this.NoticeType = NoticeType;
}
/**
* Get 通知语言 zh-CN=中文 en-US=英文
* @return NoticeLanguage 通知语言 zh-CN=中文 en-US=英文
*/
public String getNoticeLanguage() {
return this.NoticeLanguage;
}
/**
* Set 通知语言 zh-CN=中文 en-US=英文
* @param NoticeLanguage 通知语言 zh-CN=中文 en-US=英文
*/
public void setNoticeLanguage(String NoticeLanguage) {
this.NoticeLanguage = NoticeLanguage;
}
/**
* Get 告警通知模板 ID
* @return NoticeId 告警通知模板 ID
*/
public String getNoticeId() {
return this.NoticeId;
}
/**
* Set 告警通知模板 ID
* @param NoticeId 告警通知模板 ID
*/
public void setNoticeId(String NoticeId) {
this.NoticeId = NoticeId;
}
/**
* Get 用户通知 最多5个
* @return UserNotices 用户通知 最多5个
*/
public UserNotice [] getUserNotices() {
return this.UserNotices;
}
/**
* Set 用户通知 最多5个
* @param UserNotices 用户通知 最多5个
*/
public void setUserNotices(UserNotice [] UserNotices) {
this.UserNotices = UserNotices;
}
/**
* Get 回调通知 最多3个
* @return URLNotices 回调通知 最多3个
*/
public URLNotice [] getURLNotices() {
return this.URLNotices;
}
/**
* Set 回调通知 最多3个
* @param URLNotices 回调通知 最多3个
*/
public void setURLNotices(URLNotice [] URLNotices) {
this.URLNotices = URLNotices;
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "Module", this.Module);
this.setParamSimple(map, prefix + "Name", this.Name);
this.setParamSimple(map, prefix + "NoticeType", this.NoticeType);
this.setParamSimple(map, prefix + "NoticeLanguage", this.NoticeLanguage);
this.setParamSimple(map, prefix + "NoticeId", this.NoticeId);
this.setParamArrayObj(map, prefix + "UserNotices.", this.UserNotices);
this.setParamArrayObj(map, prefix + "URLNotices.", this.URLNotices);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy