public class ModifyWebHookPolicyRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| ModifyWebHookPolicyRequest() | 
| ModifyWebHookPolicyRequest(ModifyWebHookPolicyRequest 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 | 
|---|---|
| WebHookCustomField[] | getCustomFields()Get 自定义透传字段 | 
| WebHookEventKv[] | getEvents()Get 事件类型 | 
| String[] | getExcludedQuuids()Get 需排除的机器列表 | 
| Long | getFormat()Get 格式 0text 1json | 
| WebHookHostLabel[] | getHostLabels()Get 主机范围 | 
| Long | getId()Get id | 
| Long | getIsDisabled()Get 是否启用[1:禁用|0:启用] | 
| String | getName()Get 策略名称 | 
| String[] | getQuuids()Get 主机列表 | 
| WebHookReceiver[] | getReceivers()Get 接收人 | 
| void | setCustomFields(WebHookCustomField[] CustomFields)Set 自定义透传字段 | 
| void | setEvents(WebHookEventKv[] Events)Set 事件类型 | 
| void | setExcludedQuuids(String[] ExcludedQuuids)Set 需排除的机器列表 | 
| void | setFormat(Long Format)Set 格式 0text 1json | 
| void | setHostLabels(WebHookHostLabel[] HostLabels)Set 主机范围 | 
| void | setId(Long Id)Set id | 
| void | setIsDisabled(Long IsDisabled)Set 是否启用[1:禁用|0:启用] | 
| void | setName(String Name)Set 策略名称 | 
| void | setQuuids(String[] Quuids)Set 主机列表 | 
| void | setReceivers(WebHookReceiver[] Receivers)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, toJsonStringpublic ModifyWebHookPolicyRequest()
public ModifyWebHookPolicyRequest(ModifyWebHookPolicyRequest source)
public Long getId()
public void setId(Long Id)
Id - idpublic String getName()
public void setName(String Name)
Name - 策略名称public WebHookEventKv[] getEvents()
public void setEvents(WebHookEventKv[] Events)
Events - 事件类型public WebHookHostLabel[] getHostLabels()
public void setHostLabels(WebHookHostLabel[] HostLabels)
HostLabels - 主机范围public WebHookReceiver[] getReceivers()
public void setReceivers(WebHookReceiver[] Receivers)
Receivers - 接收人public Long getFormat()
public void setFormat(Long Format)
Format - 格式 0text 1jsonpublic WebHookCustomField[] getCustomFields()
public void setCustomFields(WebHookCustomField[] CustomFields)
CustomFields - 自定义透传字段public Long getIsDisabled()
public void setIsDisabled(Long IsDisabled)
IsDisabled - 是否启用[1:禁用|0:启用]public String[] getQuuids()
public void setQuuids(String[] Quuids)
Quuids - 主机列表public String[] getExcludedQuuids()
public void setExcludedQuuids(String[] ExcludedQuuids)
ExcludedQuuids - 需排除的机器列表Copyright © 2025. All rights reserved.