public class ModifyAlarmShieldRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
ModifyAlarmShieldRequest() |
ModifyAlarmShieldRequest(ModifyAlarmShieldRequest source)
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.
|
Modifier and Type | Method and Description |
---|---|
String |
getAlarmNoticeId()
Get Notification channel group ID.
|
Long |
getEndTime()
Get Block end time (second-level timestamp).
|
String |
getReason()
Get Blocking Reason
|
String |
getRule()
Get Blocking rules, required when Type is 2.
|
Long |
getStartTime()
Get Block start time (second-level timestamp).
|
Long |
getStatus()
Get Rule status.
|
String |
getTaskId()
Get Blocking rule ID.
|
Long |
getType()
Get Block type.
|
void |
setAlarmNoticeId(String AlarmNoticeId)
Set Notification channel group ID.
|
void |
setEndTime(Long EndTime)
Set Block end time (second-level timestamp).
|
void |
setReason(String Reason)
Set Blocking Reason
|
void |
setRule(String Rule)
Set Blocking rules, required when Type is 2.
|
void |
setStartTime(Long StartTime)
Set Block start time (second-level timestamp).
|
void |
setStatus(Long Status)
Set Rule status.
|
void |
setTaskId(String TaskId)
Set Blocking rule ID.
|
void |
setType(Long Type)
Set Block type.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ModifyAlarmShieldRequest()
public ModifyAlarmShieldRequest(ModifyAlarmShieldRequest source)
public String getTaskId()
public void setTaskId(String TaskId)
TaskId
- Blocking rule ID.public String getAlarmNoticeId()
public void setAlarmNoticeId(String AlarmNoticeId)
AlarmNoticeId
- Notification channel group ID.public Long getStartTime()
public void setStartTime(Long StartTime)
StartTime
- Block start time (second-level timestamp).public Long getEndTime()
public void setEndTime(Long EndTime)
EndTime
- Block end time (second-level timestamp).public Long getType()
public void setType(Long Type)
Type
- Block type. 1: Block all notifications, 2: Block matching rules notifications according to the Rule parameter.public String getRule()
public void setRule(String Rule)
Rule
- Blocking rules, required when Type is 2. For detailed information on filling in rules, see [Product Documentation](https://intl.cloud.tencent.com/document/product/614/103178?from_cn_redirect=1#rule).public String getReason()
public void setReason(String Reason)
Reason
- Blocking Reasonpublic Long getStatus()
public void setStatus(Long Status)
Status
- Rule status. Only when the rule status is in effect (status:1) can it be modified to expired (status:2).Copyright © 2024. All rights reserved.