@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class EmailValidationRequestDto extends Object
Modifier and Type | Class and Description |
---|---|
static class |
EmailValidationRequestDto.CustomTypeAdapterFactory |
Modifier and Type | Field and Description |
---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_CREATED_AT |
static String |
SERIALIZED_NAME_EMAIL_ADDRESS |
static String |
SERIALIZED_NAME_ID |
static String |
SERIALIZED_NAME_IS_VALID |
static String |
SERIALIZED_NAME_UPDATED_AT |
static String |
SERIALIZED_NAME_USER_ID |
Constructor and Description |
---|
EmailValidationRequestDto() |
Modifier and Type | Method and Description |
---|---|
EmailValidationRequestDto |
createdAt(OffsetDateTime createdAt) |
EmailValidationRequestDto |
emailAddress(String emailAddress) |
boolean |
equals(Object o) |
static EmailValidationRequestDto |
fromJson(String jsonString)
Create an instance of EmailValidationRequestDto given an JSON string
|
OffsetDateTime |
getCreatedAt()
Get createdAt
|
String |
getEmailAddress()
Get emailAddress
|
UUID |
getId()
Get id
|
Boolean |
getIsValid()
Get isValid
|
OffsetDateTime |
getUpdatedAt()
Get updatedAt
|
UUID |
getUserId()
Get userId
|
int |
hashCode() |
EmailValidationRequestDto |
id(UUID id) |
EmailValidationRequestDto |
isValid(Boolean isValid) |
void |
setCreatedAt(OffsetDateTime createdAt) |
void |
setEmailAddress(String emailAddress) |
void |
setId(UUID id) |
void |
setIsValid(Boolean isValid) |
void |
setUpdatedAt(OffsetDateTime updatedAt) |
void |
setUserId(UUID userId) |
String |
toJson()
Convert an instance of EmailValidationRequestDto to an JSON string
|
String |
toString() |
EmailValidationRequestDto |
updatedAt(OffsetDateTime updatedAt) |
EmailValidationRequestDto |
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_EMAIL_ADDRESS
public static final String SERIALIZED_NAME_IS_VALID
public static final String SERIALIZED_NAME_CREATED_AT
public static final String SERIALIZED_NAME_UPDATED_AT
public EmailValidationRequestDto id(UUID id)
public void setId(UUID id)
public EmailValidationRequestDto userId(UUID userId)
public void setUserId(UUID userId)
public EmailValidationRequestDto emailAddress(String emailAddress)
public void setEmailAddress(String emailAddress)
public EmailValidationRequestDto isValid(Boolean isValid)
public void setIsValid(Boolean isValid)
public EmailValidationRequestDto createdAt(OffsetDateTime createdAt)
@Nonnull public OffsetDateTime getCreatedAt()
public void setCreatedAt(OffsetDateTime createdAt)
public EmailValidationRequestDto 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 EmailValidationRequestDtopublic static EmailValidationRequestDto fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to EmailValidationRequestDtopublic String toJson()
Copyright © 2023. All rights reserved.