public static class Webhook.Builder extends WebhookMini.Builder
| Modifier and Type | Field and Description |
|---|---|
protected String |
address |
protected OffsetDateTime |
createdAt |
protected UserMini |
createdBy |
protected List<EnumWrapper<WebhookTriggersField>> |
triggers |
id, target, typeexplicitlySetNullableFields| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
Webhook.Builder |
address(String address) |
Webhook |
build() |
Webhook.Builder |
createdAt(OffsetDateTime createdAt) |
Webhook.Builder |
createdBy(UserMini createdBy) |
Webhook.Builder |
id(String id) |
Webhook.Builder |
target(WebhookMiniTargetField target) |
Webhook.Builder |
triggers(List<? extends Valuable> triggers) |
Webhook.Builder |
type(EnumWrapper<WebhookMiniTypeField> type) |
Webhook.Builder |
type(WebhookMiniTypeField type) |
getExplicitlySetNullableFields, isFieldExplicitlySet, markNullableFieldAsSet, markNullableFieldsAsSetprotected OffsetDateTime createdAt
protected List<EnumWrapper<WebhookTriggersField>> triggers
public Builder()
public Webhook.Builder createdBy(UserMini createdBy)
public Webhook.Builder createdAt(OffsetDateTime createdAt)
public Webhook.Builder address(String address)
public Webhook.Builder triggers(List<? extends Valuable> triggers)
public Webhook.Builder id(String id)
id in class WebhookMini.Builderpublic Webhook.Builder type(WebhookMiniTypeField type)
type in class WebhookMini.Builderpublic Webhook.Builder type(EnumWrapper<WebhookMiniTypeField> type)
type in class WebhookMini.Builderpublic Webhook.Builder target(WebhookMiniTargetField target)
target in class WebhookMini.Builderpublic Webhook build()
build in class WebhookMini.Builder