@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class WebhookProjection extends Object
Modifier and Type | Class and Description |
---|---|
static class |
WebhookProjection.CustomTypeAdapterFactory |
static class |
WebhookProjection.EventNameEnum
Gets or Sets eventName
|
Modifier and Type | Field and Description |
---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_CREATED_AT |
static String |
SERIALIZED_NAME_EVENT_NAME |
static String |
SERIALIZED_NAME_ID |
static String |
SERIALIZED_NAME_INBOX_ID |
static String |
SERIALIZED_NAME_NAME |
static String |
SERIALIZED_NAME_PHONE_NUMBER_ID |
static String |
SERIALIZED_NAME_UPDATED_AT |
static String |
SERIALIZED_NAME_URL |
Constructor and Description |
---|
WebhookProjection() |
public static final String SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_URL
public static final String SERIALIZED_NAME_INBOX_ID
public static final String SERIALIZED_NAME_EVENT_NAME
public static final String SERIALIZED_NAME_CREATED_AT
public static final String SERIALIZED_NAME_UPDATED_AT
public static final String SERIALIZED_NAME_PHONE_NUMBER_ID
public WebhookProjection name(String name)
public void setName(String name)
public WebhookProjection id(UUID id)
public void setId(UUID id)
public WebhookProjection url(String url)
public void setUrl(String url)
public WebhookProjection inboxId(UUID inboxId)
public void setInboxId(UUID inboxId)
public WebhookProjection eventName(WebhookProjection.EventNameEnum eventName)
@Nullable public WebhookProjection.EventNameEnum getEventName()
public void setEventName(WebhookProjection.EventNameEnum eventName)
public WebhookProjection createdAt(OffsetDateTime createdAt)
@Nonnull public OffsetDateTime getCreatedAt()
public void setCreatedAt(OffsetDateTime createdAt)
public WebhookProjection updatedAt(OffsetDateTime updatedAt)
@Nonnull public OffsetDateTime getUpdatedAt()
public void setUpdatedAt(OffsetDateTime updatedAt)
public WebhookProjection phoneNumberId(UUID phoneNumberId)
public void setPhoneNumberId(UUID phoneNumberId)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
jsonObj
- JSON ObjectIOException
- if the JSON Object is invalid with respect to WebhookProjectionpublic static WebhookProjection fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to WebhookProjectionpublic String toJson()
Copyright © 2023. All rights reserved.