public class CreateWebCallbackRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
CreateWebCallbackRequest() |
CreateWebCallbackRequest(CreateWebCallbackRequest 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 |
getWebhook()
Get Webhook地址。
|
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 |
setWebhook(String Webhook)
Set Webhook地址。
|
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 CreateWebCallbackRequest()
public CreateWebCallbackRequest(CreateWebCallbackRequest source)
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
- 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.