@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class AliasProjection extends Object
Modifier and Type | Class and Description |
---|---|
static class |
AliasProjection.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_INBOX_ID |
static String |
SERIALIZED_NAME_NAME |
static String |
SERIALIZED_NAME_UPDATED_AT |
static String |
SERIALIZED_NAME_USE_THREADS |
static String |
SERIALIZED_NAME_USER_ID |
Constructor and Description |
---|
AliasProjection() |
Modifier and Type | Method and Description |
---|---|
AliasProjection |
createdAt(OffsetDateTime createdAt) |
AliasProjection |
emailAddress(String emailAddress) |
boolean |
equals(Object o) |
static AliasProjection |
fromJson(String jsonString)
Create an instance of AliasProjection given an JSON string
|
OffsetDateTime |
getCreatedAt()
Get createdAt
|
String |
getEmailAddress()
Get emailAddress
|
UUID |
getId()
Get id
|
UUID |
getInboxId()
Get inboxId
|
String |
getName()
Get name
|
OffsetDateTime |
getUpdatedAt()
Get updatedAt
|
UUID |
getUserId()
Get userId
|
Boolean |
getUseThreads()
Get useThreads
|
int |
hashCode() |
AliasProjection |
id(UUID id) |
AliasProjection |
inboxId(UUID inboxId) |
AliasProjection |
name(String name) |
void |
setCreatedAt(OffsetDateTime createdAt) |
void |
setEmailAddress(String emailAddress) |
void |
setId(UUID id) |
void |
setInboxId(UUID inboxId) |
void |
setName(String name) |
void |
setUpdatedAt(OffsetDateTime updatedAt) |
void |
setUserId(UUID userId) |
void |
setUseThreads(Boolean useThreads) |
String |
toJson()
Convert an instance of AliasProjection to an JSON string
|
String |
toString() |
AliasProjection |
updatedAt(OffsetDateTime updatedAt) |
AliasProjection |
userId(UUID userId) |
AliasProjection |
useThreads(Boolean useThreads) |
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_NAME
public static final String SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_INBOX_ID
public static final String SERIALIZED_NAME_USER_ID
public static final String SERIALIZED_NAME_EMAIL_ADDRESS
public static final String SERIALIZED_NAME_CREATED_AT
public static final String SERIALIZED_NAME_UPDATED_AT
public static final String SERIALIZED_NAME_USE_THREADS
public AliasProjection name(String name)
public void setName(String name)
public AliasProjection id(UUID id)
public void setId(UUID id)
public AliasProjection inboxId(UUID inboxId)
public void setInboxId(UUID inboxId)
public AliasProjection userId(UUID userId)
public void setUserId(UUID userId)
public AliasProjection emailAddress(String emailAddress)
public void setEmailAddress(String emailAddress)
public AliasProjection createdAt(OffsetDateTime createdAt)
@Nonnull public OffsetDateTime getCreatedAt()
public void setCreatedAt(OffsetDateTime createdAt)
public AliasProjection updatedAt(OffsetDateTime updatedAt)
@Nonnull public OffsetDateTime getUpdatedAt()
public void setUpdatedAt(OffsetDateTime updatedAt)
public AliasProjection useThreads(Boolean useThreads)
public void setUseThreads(Boolean useThreads)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
jsonObj
- JSON ObjectIOException
- if the JSON Object is invalid with respect to AliasProjectionpublic static AliasProjection fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to AliasProjectionpublic String toJson()
Copyright © 2023. All rights reserved.