@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class Complaint extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Complaint.CustomTypeAdapterFactory |
Modifier and Type | Field and Description |
---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_COMPLAINT_RECIPIENT |
static String |
SERIALIZED_NAME_CREATED_AT |
static String |
SERIALIZED_NAME_EVENT_TYPE |
static String |
SERIALIZED_NAME_ID |
static String |
SERIALIZED_NAME_MAIL_MESSAGE_ID |
static String |
SERIALIZED_NAME_MAIL_SOURCE |
static String |
SERIALIZED_NAME_UPDATED_AT |
static String |
SERIALIZED_NAME_USER_ID |
Constructor and Description |
---|
Complaint() |
Modifier and Type | Method and Description |
---|---|
Complaint |
complaintRecipient(String complaintRecipient) |
Complaint |
createdAt(OffsetDateTime createdAt) |
boolean |
equals(Object o) |
Complaint |
eventType(String eventType) |
static Complaint |
fromJson(String jsonString)
Create an instance of Complaint given an JSON string
|
String |
getComplaintRecipient()
Get complaintRecipient
|
OffsetDateTime |
getCreatedAt()
Get createdAt
|
String |
getEventType()
Get eventType
|
UUID |
getId()
Get id
|
String |
getMailMessageId()
Get mailMessageId
|
String |
getMailSource()
Get mailSource
|
OffsetDateTime |
getUpdatedAt()
Get updatedAt
|
UUID |
getUserId()
Get userId
|
int |
hashCode() |
Complaint |
id(UUID id) |
Complaint |
mailMessageId(String mailMessageId) |
Complaint |
mailSource(String mailSource) |
void |
setComplaintRecipient(String complaintRecipient) |
void |
setCreatedAt(OffsetDateTime createdAt) |
void |
setEventType(String eventType) |
void |
setId(UUID id) |
void |
setMailMessageId(String mailMessageId) |
void |
setMailSource(String mailSource) |
void |
setUpdatedAt(OffsetDateTime updatedAt) |
void |
setUserId(UUID userId) |
String |
toJson()
Convert an instance of Complaint to an JSON string
|
String |
toString() |
Complaint |
updatedAt(OffsetDateTime updatedAt) |
Complaint |
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_EVENT_TYPE
public static final String SERIALIZED_NAME_MAIL_SOURCE
public static final String SERIALIZED_NAME_MAIL_MESSAGE_ID
public static final String SERIALIZED_NAME_COMPLAINT_RECIPIENT
public static final String SERIALIZED_NAME_CREATED_AT
public static final String SERIALIZED_NAME_UPDATED_AT
public void setId(UUID id)
public void setUserId(UUID userId)
public void setEventType(String eventType)
public void setMailSource(String mailSource)
@Nullable public String getMailMessageId()
public void setMailMessageId(String mailMessageId)
@Nonnull public String getComplaintRecipient()
public void setComplaintRecipient(String complaintRecipient)
public Complaint createdAt(OffsetDateTime createdAt)
@Nonnull public OffsetDateTime getCreatedAt()
public void setCreatedAt(OffsetDateTime createdAt)
public Complaint updatedAt(OffsetDateTime updatedAt)
@Nonnull public OffsetDateTime getUpdatedAt()
public void setUpdatedAt(OffsetDateTime updatedAt)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
jsonObj
- JSON ObjectIOException
- if the JSON Object is invalid with respect to Complaintpublic static Complaint fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to Complaintpublic String toJson()
Copyright © 2023. All rights reserved.