@Entity public class WebhookEntity extends AuditableEntityWithResourceSupport
Modifier and Type | Field and Description |
---|---|
private boolean |
active |
private AppInstallationOAuth2Entity |
appInstallation |
private java.lang.String |
callbackUrl |
private EventType |
eventType |
private static long |
serialVersionUID |
private GUID |
webhookId |
Constructor and Description |
---|
WebhookEntity() |
Modifier and Type | Method and Description |
---|---|
AppInstallationOAuth2Entity |
getAppInstallation() |
java.lang.String |
getCallbackUrl() |
EventType |
getEventType() |
GUID |
getWebhookId() |
boolean |
isActive() |
boolean |
isOwnedBy(AppInstallationOAuth2Entity appInstallation) |
void |
setActive(boolean active) |
void |
setAppInstallation(AppInstallationOAuth2Entity appInstallation) |
void |
setCallbackUrl(java.lang.String callbackUrl) |
void |
setEventType(EventType eventType) |
void |
setWebhookId(GUID webhookId) |
java.lang.String |
toString() |
getCreatedOn, getUpdatedOn, setCreatedOn, setUpdatedOn
add, add, equals, getLink, getLinks, getSelfLinkUri, hashCode, hasLink, hasLinks, removeLinks
private static final long serialVersionUID
private GUID webhookId
@URL(protocol="https", message="Must be a valid URL, https only") private java.lang.String callbackUrl
private EventType eventType
private AppInstallationOAuth2Entity appInstallation
private boolean active
public GUID getWebhookId()
public void setWebhookId(GUID webhookId)
public boolean isActive()
public void setActive(boolean active)
public java.lang.String getCallbackUrl()
public void setCallbackUrl(java.lang.String callbackUrl)
public EventType getEventType()
public void setEventType(EventType eventType)
public AppInstallationOAuth2Entity getAppInstallation()
public void setAppInstallation(AppInstallationOAuth2Entity appInstallation)
public boolean isOwnedBy(AppInstallationOAuth2Entity appInstallation)
public java.lang.String toString()
toString
in class ResourceSupport