public class Webhook extends WebhookMini
| Modifier and Type | Class and Description |
|---|---|
static class |
Webhook.Builder |
static class |
Webhook.TriggersDeserializer |
static class |
Webhook.TriggersSerializer |
| Modifier and Type | Field and Description |
|---|---|
protected String |
address
The URL that is notified by this webhook.
|
protected OffsetDateTime |
createdAt
A timestamp identifying the time that the webhook was created.
|
protected UserMini |
createdBy |
protected List<EnumWrapper<WebhookTriggersField>> |
triggers
An array of event names that this webhook is to be triggered for.
|
id, target, typeexplicitlySetNullableFields| Modifier | Constructor and Description |
|---|---|
|
Webhook() |
protected |
Webhook(Webhook.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getAddress() |
OffsetDateTime |
getCreatedAt() |
UserMini |
getCreatedBy() |
List<EnumWrapper<WebhookTriggersField>> |
getTriggers() |
int |
hashCode() |
String |
toString() |
getId, getTarget, getTypegetRawData, setRawDatagetExplicitlySetNullableFields, isFieldExplicitlySet, markNullableFieldAsSet, markNullableFieldsAsSetprotected OffsetDateTime createdAt
protected List<EnumWrapper<WebhookTriggersField>> triggers
public Webhook()
protected Webhook(Webhook.Builder builder)
public UserMini getCreatedBy()
public OffsetDateTime getCreatedAt()
public String getAddress()
public List<EnumWrapper<WebhookTriggersField>> getTriggers()
public boolean equals(Object o)
equals in class WebhookMinipublic int hashCode()
hashCode in class WebhookMinipublic String toString()
toString in class WebhookMini