public class WebhookTrigger extends AbstractModel
Constructor and Description |
---|
WebhookTrigger() |
WebhookTrigger(WebhookTrigger 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 |
getCondition()
Get 触发规则
|
String |
getDescription()
Get 触发器描述
|
Boolean |
getEnabled()
Get 启用触发器
|
String[] |
getEventTypes()
Get 触发动作
|
Long |
getId()
Get 触发器Id
|
String |
getName()
Get 触发器名称
|
Long |
getNamespaceId()
Get 触发器所属命名空间 Id
|
WebhookTarget[] |
getTargets()
Get 触发器目标
|
void |
setCondition(String Condition)
Set 触发规则
|
void |
setDescription(String Description)
Set 触发器描述
|
void |
setEnabled(Boolean Enabled)
Set 启用触发器
|
void |
setEventTypes(String[] EventTypes)
Set 触发动作
|
void |
setId(Long Id)
Set 触发器Id
|
void |
setName(String Name)
Set 触发器名称
|
void |
setNamespaceId(Long NamespaceId)
Set 触发器所属命名空间 Id
|
void |
setTargets(WebhookTarget[] Targets)
Set 触发器目标
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public WebhookTrigger()
public WebhookTrigger(WebhookTrigger source)
public String getName()
public void setName(String Name)
Name
- 触发器名称public WebhookTarget[] getTargets()
public void setTargets(WebhookTarget[] Targets)
Targets
- 触发器目标public String[] getEventTypes()
public void setEventTypes(String[] EventTypes)
EventTypes
- 触发动作public String getCondition()
public void setCondition(String Condition)
Condition
- 触发规则public Boolean getEnabled()
public void setEnabled(Boolean Enabled)
Enabled
- 启用触发器public Long getId()
public void setId(Long Id)
Id
- 触发器Idpublic String getDescription()
public void setDescription(String Description)
Description
- 触发器描述public Long getNamespaceId()
public void setNamespaceId(Long NamespaceId)
NamespaceId
- 触发器所属命名空间 IdCopyright © 2022. All rights reserved.