@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class WebhookResultDto extends Object
Modifier and Type | Class and Description |
---|---|
static class |
WebhookResultDto.CustomTypeAdapterFactory |
static class |
WebhookResultDto.HttpMethodEnum
Gets or Sets httpMethod
|
static class |
WebhookResultDto.ResultTypeEnum
Gets or Sets resultType
|
static class |
WebhookResultDto.WebhookEventEnum
Gets or Sets webhookEvent
|
Modifier and Type | Field and Description |
---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_CREATED_AT |
static String |
SERIALIZED_NAME_HTTP_METHOD |
static String |
SERIALIZED_NAME_ID |
static String |
SERIALIZED_NAME_INBOX_ID |
static String |
SERIALIZED_NAME_MESSAGE_ID |
static String |
SERIALIZED_NAME_REDRIVE_ID |
static String |
SERIALIZED_NAME_RESPONSE_BODY_EXTRACT |
static String |
SERIALIZED_NAME_RESPONSE_STATUS |
static String |
SERIALIZED_NAME_RESPONSE_TIME_MILLIS |
static String |
SERIALIZED_NAME_RESULT_TYPE |
static String |
SERIALIZED_NAME_SEEN |
static String |
SERIALIZED_NAME_UPDATED_AT |
static String |
SERIALIZED_NAME_USER_ID |
static String |
SERIALIZED_NAME_WEBHOOK_EVENT |
static String |
SERIALIZED_NAME_WEBHOOK_ID |
static String |
SERIALIZED_NAME_WEBHOOK_URL |
Constructor and Description |
---|
WebhookResultDto() |
public static final String SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_USER_ID
public static final String SERIALIZED_NAME_INBOX_ID
public static final String SERIALIZED_NAME_WEBHOOK_ID
public static final String SERIALIZED_NAME_WEBHOOK_URL
public static final String SERIALIZED_NAME_MESSAGE_ID
public static final String SERIALIZED_NAME_REDRIVE_ID
public static final String SERIALIZED_NAME_HTTP_METHOD
public static final String SERIALIZED_NAME_WEBHOOK_EVENT
public static final String SERIALIZED_NAME_RESPONSE_STATUS
public static final String SERIALIZED_NAME_RESPONSE_TIME_MILLIS
public static final String SERIALIZED_NAME_RESPONSE_BODY_EXTRACT
public static final String SERIALIZED_NAME_RESULT_TYPE
public static final String SERIALIZED_NAME_CREATED_AT
public static final String SERIALIZED_NAME_UPDATED_AT
public static final String SERIALIZED_NAME_SEEN
public WebhookResultDto id(UUID id)
public void setId(UUID id)
public WebhookResultDto userId(UUID userId)
public void setUserId(UUID userId)
public WebhookResultDto inboxId(UUID inboxId)
public void setInboxId(UUID inboxId)
public WebhookResultDto webhookId(UUID webhookId)
public void setWebhookId(UUID webhookId)
public WebhookResultDto webhookUrl(String webhookUrl)
public void setWebhookUrl(String webhookUrl)
public WebhookResultDto messageId(String messageId)
public void setMessageId(String messageId)
public WebhookResultDto redriveId(UUID redriveId)
public void setRedriveId(UUID redriveId)
public WebhookResultDto httpMethod(WebhookResultDto.HttpMethodEnum httpMethod)
@Nonnull public WebhookResultDto.HttpMethodEnum getHttpMethod()
public void setHttpMethod(WebhookResultDto.HttpMethodEnum httpMethod)
public WebhookResultDto webhookEvent(WebhookResultDto.WebhookEventEnum webhookEvent)
@Nonnull public WebhookResultDto.WebhookEventEnum getWebhookEvent()
public void setWebhookEvent(WebhookResultDto.WebhookEventEnum webhookEvent)
public WebhookResultDto responseStatus(Integer responseStatus)
@Nullable public Integer getResponseStatus()
public void setResponseStatus(Integer responseStatus)
public WebhookResultDto responseTimeMillis(Long responseTimeMillis)
@Nonnull public Long getResponseTimeMillis()
public void setResponseTimeMillis(Long responseTimeMillis)
public WebhookResultDto responseBodyExtract(String responseBodyExtract)
@Nullable public String getResponseBodyExtract()
public void setResponseBodyExtract(String responseBodyExtract)
public WebhookResultDto resultType(WebhookResultDto.ResultTypeEnum resultType)
@Nullable public WebhookResultDto.ResultTypeEnum getResultType()
public void setResultType(WebhookResultDto.ResultTypeEnum resultType)
public WebhookResultDto createdAt(OffsetDateTime createdAt)
@Nonnull public OffsetDateTime getCreatedAt()
public void setCreatedAt(OffsetDateTime createdAt)
public WebhookResultDto updatedAt(OffsetDateTime updatedAt)
@Nonnull public OffsetDateTime getUpdatedAt()
public void setUpdatedAt(OffsetDateTime updatedAt)
public WebhookResultDto seen(Boolean seen)
public void setSeen(Boolean seen)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
jsonObj
- JSON ObjectIOException
- if the JSON Object is invalid with respect to WebhookResultDtopublic static WebhookResultDto fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to WebhookResultDtopublic String toJson()
Copyright © 2023. All rights reserved.