@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class BounceRecipientProjection extends Object
Modifier and Type | Class and Description |
---|---|
static class |
BounceRecipientProjection.CustomTypeAdapterFactory |
Modifier and Type | Field and Description |
---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_ACTION |
static String |
SERIALIZED_NAME_CREATED_AT |
static String |
SERIALIZED_NAME_ID |
static String |
SERIALIZED_NAME_RECIPIENT |
static String |
SERIALIZED_NAME_SENT_EMAIL_ID |
static String |
SERIALIZED_NAME_STATUS |
Constructor and Description |
---|
BounceRecipientProjection() |
Modifier and Type | Method and Description |
---|---|
BounceRecipientProjection |
action(String action) |
BounceRecipientProjection |
createdAt(OffsetDateTime createdAt) |
boolean |
equals(Object o) |
static BounceRecipientProjection |
fromJson(String jsonString)
Create an instance of BounceRecipientProjection given an JSON string
|
String |
getAction()
Get action
|
OffsetDateTime |
getCreatedAt()
Get createdAt
|
UUID |
getId()
Get id
|
String |
getRecipient()
Get recipient
|
UUID |
getSentEmailId()
Get sentEmailId
|
String |
getStatus()
Get status
|
int |
hashCode() |
BounceRecipientProjection |
id(UUID id) |
BounceRecipientProjection |
recipient(String recipient) |
BounceRecipientProjection |
sentEmailId(UUID sentEmailId) |
void |
setAction(String action) |
void |
setCreatedAt(OffsetDateTime createdAt) |
void |
setId(UUID id) |
void |
setRecipient(String recipient) |
void |
setSentEmailId(UUID sentEmailId) |
void |
setStatus(String status) |
BounceRecipientProjection |
status(String status) |
String |
toJson()
Convert an instance of BounceRecipientProjection 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_STATUS
public static final String SERIALIZED_NAME_SENT_EMAIL_ID
public static final String SERIALIZED_NAME_CREATED_AT
public static final String SERIALIZED_NAME_RECIPIENT
public static final String SERIALIZED_NAME_ACTION
public BounceRecipientProjection id(UUID id)
public void setId(UUID id)
public BounceRecipientProjection status(String status)
public void setStatus(String status)
public BounceRecipientProjection sentEmailId(UUID sentEmailId)
public void setSentEmailId(UUID sentEmailId)
public BounceRecipientProjection createdAt(OffsetDateTime createdAt)
@Nonnull public OffsetDateTime getCreatedAt()
public void setCreatedAt(OffsetDateTime createdAt)
public BounceRecipientProjection recipient(String recipient)
public void setRecipient(String recipient)
public BounceRecipientProjection action(String action)
public void setAction(String action)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
jsonObj
- JSON ObjectIOException
- if the JSON Object is invalid with respect to BounceRecipientProjectionpublic static BounceRecipientProjection fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to BounceRecipientProjectionpublic String toJson()
Copyright © 2023. All rights reserved.