public class ModifyWebCallbackRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
ModifyWebCallbackRequest() |
ModifyWebCallbackRequest(ModifyWebCallbackRequest 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 |
getKey()
Get 秘钥信息。
|
String |
getMethod()
Get 请求方式。
支持POST、PUT。
注意:当Type为Http时,必填。
|
String |
getName()
Get 告警渠道回调配置名称。
|
String |
getType()
Get 渠道类型
WeCom:企业微信;DingTalk:钉钉;Lark:飞书;Http:自定义回调;
|
String |
getWebCallbackId()
Get 告警渠道回调配置ID。
|
String |
getWebhook()
Get 回调地址。
|
void |
setKey(String Key)
Set 秘钥信息。
|
void |
setMethod(String Method)
Set 请求方式。
支持POST、PUT。
注意:当Type为Http时,必填。
|
void |
setName(String Name)
Set 告警渠道回调配置名称。
|
void |
setType(String Type)
Set 渠道类型
WeCom:企业微信;DingTalk:钉钉;Lark:飞书;Http:自定义回调;
|
void |
setWebCallbackId(String WebCallbackId)
Set 告警渠道回调配置ID。
|
void |
setWebhook(String Webhook)
Set 回调地址。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ModifyWebCallbackRequest()
public ModifyWebCallbackRequest(ModifyWebCallbackRequest source)
public String getWebCallbackId()
public void setWebCallbackId(String WebCallbackId)
WebCallbackId
- 告警渠道回调配置ID。public String getName()
public void setName(String Name)
Name
- 告警渠道回调配置名称。public String getType()
public void setType(String Type)
Type
- 渠道类型
WeCom:企业微信;DingTalk:钉钉;Lark:飞书;Http:自定义回调;public String getWebhook()
public void setWebhook(String Webhook)
Webhook
- 回调地址。public String getMethod()
public void setMethod(String Method)
Method
- 请求方式。
支持POST、PUT。
注意:当Type为Http时,必填。public String getKey()
public void setKey(String Key)
Key
- 秘钥信息。Copyright © 2025. All rights reserved.