public class WebhookListener extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
enablePayloadSignatureAndState |
protected Long |
entity |
protected List<String> |
entityStates |
protected Long |
id |
protected WebhookIdentity |
identity |
protected Long |
linkedSpaceId |
protected String |
name |
protected Boolean |
notifyEveryChange |
protected OffsetDateTime |
plannedPurgeDate |
protected CreationEntityState |
state |
protected WebhookUrl |
url |
protected Integer |
version |
| Constructor and Description |
|---|
WebhookListener() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Long |
getEntity()
The entity that is to be monitored.
|
List<String> |
getEntityStates()
The entity's target states that are to be monitored.
|
Long |
getId()
A unique identifier for the object.
|
WebhookIdentity |
getIdentity()
The identity used to sign messages.
|
Long |
getLinkedSpaceId()
The ID of the space this object belongs to.
|
String |
getName()
The name used to identify the webhook listener.
|
OffsetDateTime |
getPlannedPurgeDate()
The date and time when the object is planned to be permanently removed.
|
CreationEntityState |
getState()
The object's current state.
|
WebhookUrl |
getUrl()
The URL where notifications about entity changes are sent to.
|
Integer |
getVersion()
The version is used for optimistic locking and incremented whenever the object is updated.
|
int |
hashCode() |
Boolean |
isEnablePayloadSignatureAndState()
Whether signature header and 'state' property are enabled in webhook payload.
|
Boolean |
isNotifyEveryChange()
Whether every update of the entity or only state changes are to be monitored.
|
String |
toString() |
protected Boolean enablePayloadSignatureAndState
protected Long entity
protected Long id
protected WebhookIdentity identity
protected Long linkedSpaceId
protected String name
protected Boolean notifyEveryChange
protected OffsetDateTime plannedPurgeDate
protected CreationEntityState state
protected WebhookUrl url
protected Integer version
public Boolean isEnablePayloadSignatureAndState()
public Long getEntity()
public List<String> getEntityStates()
public Long getId()
public WebhookIdentity getIdentity()
public Long getLinkedSpaceId()
public String getName()
public Boolean isNotifyEveryChange()
public OffsetDateTime getPlannedPurgeDate()
public CreationEntityState getState()
public WebhookUrl getUrl()
public Integer getVersion()
Copyright © 2024. All rights reserved.