@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2021-04-02T22:56:45.878Z[GMT]") public class WebhookDto extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
WebhookDto.MethodEnum
HTTP method that your server endpoint must listen for
|
| Modifier and Type | Field and Description |
|---|---|
static String |
SERIALIZED_NAME_BASIC_AUTH |
static String |
SERIALIZED_NAME_CREATED_AT |
static String |
SERIALIZED_NAME_ID |
static String |
SERIALIZED_NAME_INBOX_ID |
static String |
SERIALIZED_NAME_METHOD |
static String |
SERIALIZED_NAME_NAME |
static String |
SERIALIZED_NAME_PAYLOAD_JSON_SCHEMA |
static String |
SERIALIZED_NAME_UPDATED_AT |
static String |
SERIALIZED_NAME_URL |
| Constructor and Description |
|---|
WebhookDto() |
| Modifier and Type | Method and Description |
|---|---|
WebhookDto |
basicAuth(Boolean basicAuth) |
WebhookDto |
createdAt(OffsetDateTime createdAt) |
boolean |
equals(Object o) |
Boolean |
getBasicAuth()
Does webhook expect basic authentication? If true it means you created this webhook with a username and password.
|
OffsetDateTime |
getCreatedAt()
When the webhook was created
|
UUID |
getId()
ID of the Webhook
|
UUID |
getInboxId()
The inbox that the Webhook will be triggered by
|
WebhookDto.MethodEnum |
getMethod()
HTTP method that your server endpoint must listen for
|
String |
getName()
Name of the webhook
|
String |
getPayloadJsonSchema()
JSON Schema for the payload that will be sent to your URL via the HTTP method described.
|
OffsetDateTime |
getUpdatedAt()
Get updatedAt
|
String |
getUrl()
URL of your server that the webhook will be sent to.
|
int |
hashCode() |
WebhookDto |
id(UUID id) |
WebhookDto |
inboxId(UUID inboxId) |
WebhookDto |
method(WebhookDto.MethodEnum method) |
WebhookDto |
name(String name) |
WebhookDto |
payloadJsonSchema(String payloadJsonSchema) |
void |
setBasicAuth(Boolean basicAuth) |
void |
setCreatedAt(OffsetDateTime createdAt) |
void |
setId(UUID id) |
void |
setInboxId(UUID inboxId) |
void |
setMethod(WebhookDto.MethodEnum method) |
void |
setName(String name) |
void |
setPayloadJsonSchema(String payloadJsonSchema) |
void |
setUpdatedAt(OffsetDateTime updatedAt) |
void |
setUrl(String url) |
String |
toString() |
WebhookDto |
updatedAt(OffsetDateTime updatedAt) |
WebhookDto |
url(String url) |
public static final String SERIALIZED_NAME_BASIC_AUTH
public static final String SERIALIZED_NAME_CREATED_AT
public static final String SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_INBOX_ID
public static final String SERIALIZED_NAME_METHOD
public static final String SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_PAYLOAD_JSON_SCHEMA
public static final String SERIALIZED_NAME_UPDATED_AT
public static final String SERIALIZED_NAME_URL
public WebhookDto basicAuth(Boolean basicAuth)
@Nullable public Boolean getBasicAuth()
public void setBasicAuth(Boolean basicAuth)
public WebhookDto createdAt(OffsetDateTime createdAt)
@Nullable public OffsetDateTime getCreatedAt()
public void setCreatedAt(OffsetDateTime createdAt)
public WebhookDto id(UUID id)
public void setId(UUID id)
public WebhookDto inboxId(UUID inboxId)
@Nullable public UUID getInboxId()
public void setInboxId(UUID inboxId)
public WebhookDto method(WebhookDto.MethodEnum method)
@Nullable public WebhookDto.MethodEnum getMethod()
public void setMethod(WebhookDto.MethodEnum method)
public WebhookDto name(String name)
public void setName(String name)
public WebhookDto payloadJsonSchema(String payloadJsonSchema)
@Nullable public String getPayloadJsonSchema()
public void setPayloadJsonSchema(String payloadJsonSchema)
public WebhookDto updatedAt(OffsetDateTime updatedAt)
public OffsetDateTime getUpdatedAt()
public void setUpdatedAt(OffsetDateTime updatedAt)
public WebhookDto url(String url)
@Nullable public String getUrl()
public void setUrl(String url)
Copyright © 2021. All rights reserved.