@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class InboxDto extends Object
Modifier and Type | Class and Description |
---|---|
static class |
InboxDto.CustomTypeAdapterFactory |
static class |
InboxDto.InboxTypeEnum
Type of inbox.
|
Modifier and Type | Field and Description |
---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_CREATED_AT |
static String |
SERIALIZED_NAME_DESCRIPTION |
static String |
SERIALIZED_NAME_DOMAIN_ID |
static String |
SERIALIZED_NAME_EMAIL_ADDRESS |
static String |
SERIALIZED_NAME_EXPIRES_AT |
static String |
SERIALIZED_NAME_FAVOURITE |
static String |
SERIALIZED_NAME_ID |
static String |
SERIALIZED_NAME_INBOX_TYPE |
static String |
SERIALIZED_NAME_NAME |
static String |
SERIALIZED_NAME_READ_ONLY |
static String |
SERIALIZED_NAME_TAGS |
static String |
SERIALIZED_NAME_USER_ID |
static String |
SERIALIZED_NAME_VIRTUAL_INBOX |
Constructor and Description |
---|
InboxDto() |
Modifier and Type | Method and Description |
---|---|
InboxDto |
addTagsItem(String tagsItem) |
InboxDto |
createdAt(OffsetDateTime createdAt) |
InboxDto |
description(String description) |
InboxDto |
domainId(UUID domainId) |
InboxDto |
emailAddress(String emailAddress) |
boolean |
equals(Object o) |
InboxDto |
expiresAt(String expiresAt) |
InboxDto |
favourite(Boolean favourite) |
static InboxDto |
fromJson(String jsonString)
Create an instance of InboxDto given an JSON string
|
OffsetDateTime |
getCreatedAt()
When the inbox was created.
|
String |
getDescription()
Description of an inbox for labelling and searching purposes
|
UUID |
getDomainId()
ID of custom domain used by the inbox if any
|
String |
getEmailAddress()
The inbox's email address.
|
String |
getExpiresAt()
Inbox expiration time.
|
Boolean |
getFavourite()
Is the inbox a favorite inbox.
|
UUID |
getId()
ID of the inbox.
|
InboxDto.InboxTypeEnum |
getInboxType()
Type of inbox.
|
String |
getName()
Name of the inbox and used as the sender name when sending emails .Displayed in the dashboard for easier search
|
Boolean |
getReadOnly()
Is the inbox readOnly for the caller.
|
List<String> |
getTags()
Tags that inbox has been tagged with.
|
UUID |
getUserId()
ID of user that inbox belongs to
|
Boolean |
getVirtualInbox()
Virtual inbox can receive email but will not send emails to real recipients.
|
int |
hashCode() |
InboxDto |
id(UUID id) |
InboxDto |
inboxType(InboxDto.InboxTypeEnum inboxType) |
InboxDto |
name(String name) |
InboxDto |
readOnly(Boolean readOnly) |
void |
setCreatedAt(OffsetDateTime createdAt) |
void |
setDescription(String description) |
void |
setDomainId(UUID domainId) |
void |
setEmailAddress(String emailAddress) |
void |
setExpiresAt(String expiresAt) |
void |
setFavourite(Boolean favourite) |
void |
setId(UUID id) |
void |
setInboxType(InboxDto.InboxTypeEnum inboxType) |
void |
setName(String name) |
void |
setReadOnly(Boolean readOnly) |
void |
setTags(List<String> tags) |
void |
setUserId(UUID userId) |
void |
setVirtualInbox(Boolean virtualInbox) |
InboxDto |
tags(List<String> tags) |
String |
toJson()
Convert an instance of InboxDto to an JSON string
|
String |
toString() |
InboxDto |
userId(UUID userId) |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
InboxDto |
virtualInbox(Boolean virtualInbox) |
public static final String SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_USER_ID
public static final String SERIALIZED_NAME_CREATED_AT
public static final String SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_DOMAIN_ID
public static final String SERIALIZED_NAME_DESCRIPTION
public static final String SERIALIZED_NAME_EMAIL_ADDRESS
public static final String SERIALIZED_NAME_EXPIRES_AT
public static final String SERIALIZED_NAME_FAVOURITE
public static final String SERIALIZED_NAME_TAGS
public static final String SERIALIZED_NAME_INBOX_TYPE
public static final String SERIALIZED_NAME_READ_ONLY
public static final String SERIALIZED_NAME_VIRTUAL_INBOX
@Nonnull public UUID getId()
public void setId(UUID id)
public void setUserId(UUID userId)
public InboxDto createdAt(OffsetDateTime createdAt)
@Nonnull public OffsetDateTime getCreatedAt()
public void setCreatedAt(OffsetDateTime createdAt)
@Nullable public String getName()
public void setName(String name)
@Nullable public UUID getDomainId()
public void setDomainId(UUID domainId)
@Nullable public String getDescription()
public void setDescription(String description)
@Nonnull public String getEmailAddress()
public void setEmailAddress(String emailAddress)
@Nullable public String getExpiresAt()
public void setExpiresAt(String expiresAt)
@Nonnull public Boolean getFavourite()
public void setFavourite(Boolean favourite)
@Nullable public List<String> getTags()
public InboxDto inboxType(InboxDto.InboxTypeEnum inboxType)
@Nullable public InboxDto.InboxTypeEnum getInboxType()
public void setInboxType(InboxDto.InboxTypeEnum inboxType)
@Nonnull public Boolean getReadOnly()
public void setReadOnly(Boolean readOnly)
@Nonnull public Boolean getVirtualInbox()
public void setVirtualInbox(Boolean virtualInbox)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
jsonObj
- JSON ObjectIOException
- if the JSON Object is invalid with respect to InboxDtopublic static InboxDto fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to InboxDtopublic String toJson()
Copyright © 2023. All rights reserved.