@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class BouncedRecipientDto extends Object
Modifier and Type | Class and Description |
---|---|
static class |
BouncedRecipientDto.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_DIAGNOSTIC_CODE |
static String |
SERIALIZED_NAME_ID |
static String |
SERIALIZED_NAME_RECIPIENT |
static String |
SERIALIZED_NAME_SENT_EMAIL_ID |
static String |
SERIALIZED_NAME_STATUS |
static String |
SERIALIZED_NAME_USER_ID |
Constructor and Description |
---|
BouncedRecipientDto() |
Modifier and Type | Method and Description |
---|---|
BouncedRecipientDto |
action(String action) |
BouncedRecipientDto |
createdAt(OffsetDateTime createdAt) |
BouncedRecipientDto |
diagnosticCode(String diagnosticCode) |
boolean |
equals(Object o) |
static BouncedRecipientDto |
fromJson(String jsonString)
Create an instance of BouncedRecipientDto given an JSON string
|
String |
getAction()
Get action
|
OffsetDateTime |
getCreatedAt()
Get createdAt
|
String |
getDiagnosticCode()
Get diagnosticCode
|
UUID |
getId()
Get id
|
String |
getRecipient()
Get recipient
|
UUID |
getSentEmailId()
Get sentEmailId
|
String |
getStatus()
Get status
|
UUID |
getUserId()
Get userId
|
int |
hashCode() |
BouncedRecipientDto |
id(UUID id) |
BouncedRecipientDto |
recipient(String recipient) |
BouncedRecipientDto |
sentEmailId(UUID sentEmailId) |
void |
setAction(String action) |
void |
setCreatedAt(OffsetDateTime createdAt) |
void |
setDiagnosticCode(String diagnosticCode) |
void |
setId(UUID id) |
void |
setRecipient(String recipient) |
void |
setSentEmailId(UUID sentEmailId) |
void |
setStatus(String status) |
void |
setUserId(UUID userId) |
BouncedRecipientDto |
status(String status) |
String |
toJson()
Convert an instance of BouncedRecipientDto to an JSON string
|
String |
toString() |
BouncedRecipientDto |
userId(UUID userId) |
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_USER_ID
public static final String SERIALIZED_NAME_SENT_EMAIL_ID
public static final String SERIALIZED_NAME_RECIPIENT
public static final String SERIALIZED_NAME_DIAGNOSTIC_CODE
public static final String SERIALIZED_NAME_ACTION
public static final String SERIALIZED_NAME_STATUS
public static final String SERIALIZED_NAME_CREATED_AT
public BouncedRecipientDto id(UUID id)
public void setId(UUID id)
public BouncedRecipientDto userId(UUID userId)
public void setUserId(UUID userId)
public BouncedRecipientDto sentEmailId(UUID sentEmailId)
public void setSentEmailId(UUID sentEmailId)
public BouncedRecipientDto recipient(String recipient)
public void setRecipient(String recipient)
public BouncedRecipientDto diagnosticCode(String diagnosticCode)
@Nullable public String getDiagnosticCode()
public void setDiagnosticCode(String diagnosticCode)
public BouncedRecipientDto action(String action)
public void setAction(String action)
public BouncedRecipientDto status(String status)
public void setStatus(String status)
public BouncedRecipientDto 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 BouncedRecipientDtopublic static BouncedRecipientDto fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to BouncedRecipientDtopublic String toJson()
Copyright © 2023. All rights reserved.