public class WebHookPolicy extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
WebHookPolicy()  | 
WebHookPolicy(WebHookPolicy 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 Custom passthrough field
Note: This field may return null, indicating that no valid values can be obtained. 
 | 
WebHookEventKv[] | 
getEvents()
Get Event type
Note: This field may return null, indicating that no valid values can be obtained. 
 | 
Long | 
getFormat()
Get Format. 
 | 
Long | 
getHostCount()
Get Number of hosts
Note: This field may return null, indicating that no valid values can be obtained. 
 | 
WebHookHostLabel[] | 
getHostLabels()
Get Host range
Note: This field may return null, indicating that no valid values can be obtained. 
 | 
Long | 
getId()
Get id
Note: This field may return null, indicating that no valid values can be obtained. 
 | 
Long | 
getIsDisabled()
Get Enable/Disable [1-Disable, 0-Enable]
Note: This field may return null, indicating that no valid values can be obtained. 
 | 
String | 
getName()
Get Policy name
Note: This field may return null, indicating that no valid values can be obtained. 
 | 
String[] | 
getQuuids()
Get Host list
Note: This field may return null, indicating that no valid values can be obtained. 
 | 
WebHookReceiver[] | 
getReceivers()
Get Recipient
Note: This field may return null, indicating that no valid values can be obtained. 
 | 
void | 
setCustomFields(WebHookCustomField[] CustomFields)
Set Custom passthrough field
Note: This field may return null, indicating that no valid values can be obtained. 
 | 
void | 
setEvents(WebHookEventKv[] Events)
Set Event type
Note: This field may return null, indicating that no valid values can be obtained. 
 | 
void | 
setFormat(Long Format)
Set Format. 
 | 
void | 
setHostCount(Long HostCount)
Set Number of hosts
Note: This field may return null, indicating that no valid values can be obtained. 
 | 
void | 
setHostLabels(WebHookHostLabel[] HostLabels)
Set Host range
Note: This field may return null, indicating that no valid values can be obtained. 
 | 
void | 
setId(Long Id)
Set id
Note: This field may return null, indicating that no valid values can be obtained. 
 | 
void | 
setIsDisabled(Long IsDisabled)
Set Enable/Disable [1-Disable, 0-Enable]
Note: This field may return null, indicating that no valid values can be obtained. 
 | 
void | 
setName(String Name)
Set Policy name
Note: This field may return null, indicating that no valid values can be obtained. 
 | 
void | 
setQuuids(String[] Quuids)
Set Host list
Note: This field may return null, indicating that no valid values can be obtained. 
 | 
void | 
setReceivers(WebHookReceiver[] Receivers)
Set Recipient
Note: This field may return null, indicating that no valid values can be obtained. 
 | 
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 WebHookPolicy()
public WebHookPolicy(WebHookPolicy source)
public Long getId()
public void setId(Long Id)
Id - id
Note: This field may return null, indicating that no valid values can be obtained.public String getName()
public void setName(String Name)
Name - Policy name
Note: This field may return null, indicating that no valid values can be obtained.public WebHookEventKv[] getEvents()
public void setEvents(WebHookEventKv[] Events)
Events - Event type
Note: This field may return null, indicating that no valid values can be obtained.public WebHookHostLabel[] getHostLabels()
public void setHostLabels(WebHookHostLabel[] HostLabels)
HostLabels - Host range
Note: This field may return null, indicating that no valid values can be obtained.public WebHookReceiver[] getReceivers()
public void setReceivers(WebHookReceiver[] Receivers)
Receivers - Recipient
Note: This field may return null, indicating that no valid values can be obtained.public Long getFormat()
public void setFormat(Long Format)
Format - Format. 0: text; 1: JSON.
Note: This field may return null, indicating that no valid values can be obtained.public WebHookCustomField[] getCustomFields()
public void setCustomFields(WebHookCustomField[] CustomFields)
CustomFields - Custom passthrough field
Note: This field may return null, indicating that no valid values can be obtained.public Long getIsDisabled()
public void setIsDisabled(Long IsDisabled)
IsDisabled - Enable/Disable [1-Disable, 0-Enable]
Note: This field may return null, indicating that no valid values can be obtained.public String[] getQuuids()
public void setQuuids(String[] Quuids)
Quuids - Host list
Note: This field may return null, indicating that no valid values can be obtained.public Long getHostCount()
public void setHostCount(Long HostCount)
HostCount - Number of hosts
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2025. All rights reserved.