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 Custom passthrough field
|
WebHookEventKv[] |
getEvents()
Get Event type
|
String[] |
getExcludedQuuids()
Get
|
Long |
getFormat()
Get Format.
|
WebHookHostLabel[] |
getHostLabels()
Get Host range
|
Long |
getId()
Get id
|
Long |
getIsDisabled()
Get Enable/Disable [1-Disable, 0-Enable]
|
String |
getName()
Get Policy name
|
String[] |
getQuuids()
Get Host list
|
WebHookReceiver[] |
getReceivers()
Get Recipient
|
void |
setCustomFields(WebHookCustomField[] CustomFields)
Set Custom passthrough field
|
void |
setEvents(WebHookEventKv[] Events)
Set Event type
|
void |
setExcludedQuuids(String[] ExcludedQuuids)
Set
|
void |
setFormat(Long Format)
Set Format.
|
void |
setHostLabels(WebHookHostLabel[] HostLabels)
Set Host range
|
void |
setId(Long Id)
Set id
|
void |
setIsDisabled(Long IsDisabled)
Set Enable/Disable [1-Disable, 0-Enable]
|
void |
setName(String Name)
Set Policy name
|
void |
setQuuids(String[] Quuids)
Set Host list
|
void |
setReceivers(WebHookReceiver[] Receivers)
Set Recipient
|
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 ModifyWebHookPolicyRequest()
public ModifyWebHookPolicyRequest(ModifyWebHookPolicyRequest source)
public Long getId()
public void setId(Long Id)
Id
- idpublic String getName()
public void setName(String Name)
Name
- Policy namepublic WebHookEventKv[] getEvents()
public void setEvents(WebHookEventKv[] Events)
Events
- Event typepublic WebHookHostLabel[] getHostLabels()
public void setHostLabels(WebHookHostLabel[] HostLabels)
HostLabels
- Host rangepublic WebHookReceiver[] getReceivers()
public void setReceivers(WebHookReceiver[] Receivers)
Receivers
- Recipientpublic Long getFormat()
public void setFormat(Long Format)
Format
- Format. 0: text; 1: JSON.public WebHookCustomField[] getCustomFields()
public void setCustomFields(WebHookCustomField[] CustomFields)
CustomFields
- Custom passthrough fieldpublic Long getIsDisabled()
public void setIsDisabled(Long IsDisabled)
IsDisabled
- Enable/Disable [1-Disable, 0-Enable]public String[] getQuuids()
public void setQuuids(String[] Quuids)
Quuids
- Host listpublic String[] getExcludedQuuids()
public void setExcludedQuuids(String[] ExcludedQuuids)
ExcludedQuuids
- Copyright © 2025. All rights reserved.