Class WebhookTrigger
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tcr.v20190924.models.WebhookTrigger
-
public class WebhookTrigger extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCondition()Get 触发规则StringgetDescription()Get 触发器描述BooleangetEnabled()Get 启用触发器String[]getEventTypes()Get 触发动作LonggetId()Get 触发器IdStringgetName()Get 触发器名称LonggetNamespaceId()Get 触发器所属命名空间 IdWebhookTarget[]getTargets()Get 触发器目标voidsetCondition(String Condition)Set 触发规则voidsetDescription(String Description)Set 触发器描述voidsetEnabled(Boolean Enabled)Set 启用触发器voidsetEventTypes(String[] EventTypes)Set 触发动作voidsetId(Long Id)Set 触发器IdvoidsetName(String Name)Set 触发器名称voidsetNamespaceId(Long NamespaceId)Set 触发器所属命名空间 IdvoidsetTargets(WebhookTarget[] Targets)Set 触发器目标voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
WebhookTrigger
public WebhookTrigger()
-
WebhookTrigger
public 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.
-
-
Method Detail
-
getName
public String getName()
Get 触发器名称- Returns:
- Name 触发器名称
-
setName
public void setName(String Name)
Set 触发器名称- Parameters:
Name- 触发器名称
-
getTargets
public WebhookTarget[] getTargets()
Get 触发器目标- Returns:
- Targets 触发器目标
-
setTargets
public void setTargets(WebhookTarget[] Targets)
Set 触发器目标- Parameters:
Targets- 触发器目标
-
getEventTypes
public String[] getEventTypes()
Get 触发动作- Returns:
- EventTypes 触发动作
-
setEventTypes
public void setEventTypes(String[] EventTypes)
Set 触发动作- Parameters:
EventTypes- 触发动作
-
getCondition
public String getCondition()
Get 触发规则- Returns:
- Condition 触发规则
-
setCondition
public void setCondition(String Condition)
Set 触发规则- Parameters:
Condition- 触发规则
-
getEnabled
public Boolean getEnabled()
Get 启用触发器- Returns:
- Enabled 启用触发器
-
setEnabled
public void setEnabled(Boolean Enabled)
Set 启用触发器- Parameters:
Enabled- 启用触发器
-
getId
public Long getId()
Get 触发器Id- Returns:
- Id 触发器Id
-
setId
public void setId(Long Id)
Set 触发器Id- Parameters:
Id- 触发器Id
-
getDescription
public String getDescription()
Get 触发器描述- Returns:
- Description 触发器描述
-
setDescription
public void setDescription(String Description)
Set 触发器描述- Parameters:
Description- 触发器描述
-
getNamespaceId
public Long getNamespaceId()
Get 触发器所属命名空间 Id- Returns:
- NamespaceId 触发器所属命名空间 Id
-
setNamespaceId
public void setNamespaceId(Long NamespaceId)
Set 触发器所属命名空间 Id- Parameters:
NamespaceId- 触发器所属命名空间 Id
-
-