@Entity public class WebhookTemplateEntity extends HibernateEntityObject implements WebhookTemplate
| Modifier and Type | Class and Description |
|---|---|
static class |
WebhookTemplateEntity.Builder |
| Constructor and Description |
|---|
WebhookTemplateEntity() |
WebhookTemplateEntity(org.springframework.http.HttpMethod httpMethod,
String headers,
String jsonPayload,
String name) |
| Modifier and Type | Method and Description |
|---|---|
static WebhookTemplateEntity.Builder |
builder() |
String |
getHeaders()
Returns unparsed headers.
|
org.springframework.http.HttpMethod |
getHttpMethod()
Return Http Method.
|
String |
getName() |
String |
getPayload()
Returns http request body.
|
UUID |
getUuid() |
void |
setHeaders(String headers) |
void |
setHttpMethod(org.springframework.http.HttpMethod httpMethod) |
void |
setName(String name) |
void |
setPayload(String payload) |
void |
setUuid(UUID uuid) |
getId, setIdclone, equals, getCreationDate, getCurrentDate, getLastModificationDate, hashCode, setClock, setCreationDate, setLastModificationDatefinalize, getClass, notify, notifyAll, toString, wait, wait, waitsetIdgetIdpublic org.springframework.http.HttpMethod getHttpMethod()
WebhookTemplateHttpMethod.POSTHttpMethod.GETHttpMethod.PUTHttpMethod.DELETEgetHttpMethod in interface WebhookTemplatepublic String getHeaders()
WebhookTemplategetHeaders in interface WebhookTemplatepublic String getPayload()
WebhookTemplategetPayload in interface WebhookTemplatepublic String getName()
getName in interface NameProviderpublic void setHttpMethod(org.springframework.http.HttpMethod httpMethod)
setHttpMethod in interface WebhookTemplatepublic void setHeaders(String headers)
setHeaders in interface WebhookTemplatepublic void setPayload(String payload)
setPayload in interface WebhookTemplatepublic void setName(String name)
setName in interface WebhookTemplatepublic UUID getUuid()
public void setUuid(UUID uuid)
public static WebhookTemplateEntity.Builder builder()
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.