@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class InboxForwarderDto extends Object
Modifier and Type | Class and Description |
---|---|
static class |
InboxForwarderDto.CustomTypeAdapterFactory |
static class |
InboxForwarderDto.FieldEnum
Which field to match against
|
Modifier and Type | Field and Description |
---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_CREATED_AT |
static String |
SERIALIZED_NAME_FIELD |
static String |
SERIALIZED_NAME_FORWARD_TO_RECIPIENTS |
static String |
SERIALIZED_NAME_ID |
static String |
SERIALIZED_NAME_INBOX_ID |
static String |
SERIALIZED_NAME_MATCH |
static String |
SERIALIZED_NAME_NAME |
Constructor and Description |
---|
InboxForwarderDto() |
Modifier and Type | Method and Description |
---|---|
InboxForwarderDto |
addForwardToRecipientsItem(String forwardToRecipientsItem) |
InboxForwarderDto |
createdAt(OffsetDateTime createdAt) |
boolean |
equals(Object o) |
InboxForwarderDto |
field(InboxForwarderDto.FieldEnum field) |
InboxForwarderDto |
forwardToRecipients(List<String> forwardToRecipients) |
static InboxForwarderDto |
fromJson(String jsonString)
Create an instance of InboxForwarderDto given an JSON string
|
OffsetDateTime |
getCreatedAt()
Get createdAt
|
InboxForwarderDto.FieldEnum |
getField()
Which field to match against
|
List<String> |
getForwardToRecipients()
Who to send forwarded email to
|
UUID |
getId()
Get id
|
UUID |
getInboxId()
Get inboxId
|
String |
getMatch()
Wild-card type pattern to apply to field
|
String |
getName()
Name of inbox forwarder
|
int |
hashCode() |
InboxForwarderDto |
id(UUID id) |
InboxForwarderDto |
inboxId(UUID inboxId) |
InboxForwarderDto |
match(String match) |
InboxForwarderDto |
name(String name) |
void |
setCreatedAt(OffsetDateTime createdAt) |
void |
setField(InboxForwarderDto.FieldEnum field) |
void |
setForwardToRecipients(List<String> forwardToRecipients) |
void |
setId(UUID id) |
void |
setInboxId(UUID inboxId) |
void |
setMatch(String match) |
void |
setName(String name) |
String |
toJson()
Convert an instance of InboxForwarderDto to an JSON string
|
String |
toString() |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
public static final String SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_INBOX_ID
public static final String SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_FIELD
public static final String SERIALIZED_NAME_MATCH
public static final String SERIALIZED_NAME_FORWARD_TO_RECIPIENTS
public static final String SERIALIZED_NAME_CREATED_AT
public InboxForwarderDto id(UUID id)
public void setId(UUID id)
public InboxForwarderDto inboxId(UUID inboxId)
public void setInboxId(UUID inboxId)
public InboxForwarderDto name(String name)
public void setName(String name)
public InboxForwarderDto field(InboxForwarderDto.FieldEnum field)
@Nonnull public InboxForwarderDto.FieldEnum getField()
public void setField(InboxForwarderDto.FieldEnum field)
public InboxForwarderDto match(String match)
public void setMatch(String match)
public InboxForwarderDto forwardToRecipients(List<String> forwardToRecipients)
public InboxForwarderDto addForwardToRecipientsItem(String forwardToRecipientsItem)
@Nonnull public List<String> getForwardToRecipients()
public InboxForwarderDto createdAt(OffsetDateTime createdAt)
@Nonnull public OffsetDateTime getCreatedAt()
public void setCreatedAt(OffsetDateTime createdAt)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
jsonObj
- JSON ObjectIOException
- if the JSON Object is invalid with respect to InboxForwarderDtopublic static InboxForwarderDto fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to InboxForwarderDtopublic String toJson()
Copyright © 2023. All rights reserved.