public class CreateWebhookParams extends PostParams
parameters
Constructor and Description |
---|
CreateWebhookParams(java.lang.Object projectIdOrKey,
java.lang.String name,
java.lang.String hookUrl) |
Modifier and Type | Method and Description |
---|---|
CreateWebhookParams |
activityTypeIds(java.util.List<Activity.Type> activityTypeIds)
Sets the activityTypeIds parameter.
|
CreateWebhookParams |
allEvent(boolean allEvent)
Sets the allEvent parameter.
|
CreateWebhookParams |
description(java.lang.String description)
Sets the description parameter.
|
java.lang.String |
getProjectIdOrKeyString() |
getParamList
public CreateWebhookParams(java.lang.Object projectIdOrKey, java.lang.String name, java.lang.String hookUrl)
public java.lang.String getProjectIdOrKeyString()
public CreateWebhookParams description(java.lang.String description)
description
- the description identifierpublic CreateWebhookParams allEvent(boolean allEvent)
allEvent
- the allEvent identifierpublic CreateWebhookParams activityTypeIds(java.util.List<Activity.Type> activityTypeIds)
activityTypeIds
- the activityTypeIds identifier