@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class ContactDto extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ContactDto.CustomTypeAdapterFactory |
Modifier and Type | Field and Description |
---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_COMPANY |
static String |
SERIALIZED_NAME_CREATED_AT |
static String |
SERIALIZED_NAME_EMAIL_ADDRESSES |
static String |
SERIALIZED_NAME_FIRST_NAME |
static String |
SERIALIZED_NAME_GROUP_ID |
static String |
SERIALIZED_NAME_ID |
static String |
SERIALIZED_NAME_LAST_NAME |
static String |
SERIALIZED_NAME_META_DATA |
static String |
SERIALIZED_NAME_OPT_OUT |
static String |
SERIALIZED_NAME_PRIMARY_EMAIL_ADDRESS |
static String |
SERIALIZED_NAME_TAGS |
Constructor and Description |
---|
ContactDto() |
Modifier and Type | Method and Description |
---|---|
ContactDto |
addEmailAddressesItem(String emailAddressesItem) |
ContactDto |
addTagsItem(String tagsItem) |
ContactDto |
company(String company) |
ContactDto |
createdAt(OffsetDateTime createdAt) |
ContactDto |
emailAddresses(List<String> emailAddresses) |
boolean |
equals(Object o) |
ContactDto |
firstName(String firstName) |
static ContactDto |
fromJson(String jsonString)
Create an instance of ContactDto given an JSON string
|
String |
getCompany()
Get company
|
OffsetDateTime |
getCreatedAt()
Get createdAt
|
List<String> |
getEmailAddresses()
Get emailAddresses
|
String |
getFirstName()
Get firstName
|
UUID |
getGroupId()
Get groupId
|
UUID |
getId()
Get id
|
String |
getLastName()
Get lastName
|
Object |
getMetaData()
Get metaData
|
Boolean |
getOptOut()
Get optOut
|
String |
getPrimaryEmailAddress()
Get primaryEmailAddress
|
List<String> |
getTags()
Get tags
|
ContactDto |
groupId(UUID groupId) |
int |
hashCode() |
ContactDto |
id(UUID id) |
ContactDto |
lastName(String lastName) |
ContactDto |
metaData(Object metaData) |
ContactDto |
optOut(Boolean optOut) |
ContactDto |
primaryEmailAddress(String primaryEmailAddress) |
void |
setCompany(String company) |
void |
setCreatedAt(OffsetDateTime createdAt) |
void |
setEmailAddresses(List<String> emailAddresses) |
void |
setFirstName(String firstName) |
void |
setGroupId(UUID groupId) |
void |
setId(UUID id) |
void |
setLastName(String lastName) |
void |
setMetaData(Object metaData) |
void |
setOptOut(Boolean optOut) |
void |
setPrimaryEmailAddress(String primaryEmailAddress) |
void |
setTags(List<String> tags) |
ContactDto |
tags(List<String> tags) |
String |
toJson()
Convert an instance of ContactDto 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_GROUP_ID
public static final String SERIALIZED_NAME_FIRST_NAME
public static final String SERIALIZED_NAME_LAST_NAME
public static final String SERIALIZED_NAME_COMPANY
public static final String SERIALIZED_NAME_EMAIL_ADDRESSES
public static final String SERIALIZED_NAME_PRIMARY_EMAIL_ADDRESS
public static final String SERIALIZED_NAME_TAGS
public static final String SERIALIZED_NAME_META_DATA
public static final String SERIALIZED_NAME_OPT_OUT
public static final String SERIALIZED_NAME_CREATED_AT
public ContactDto id(UUID id)
public void setId(UUID id)
public ContactDto groupId(UUID groupId)
public void setGroupId(UUID groupId)
public ContactDto firstName(String firstName)
public void setFirstName(String firstName)
public ContactDto lastName(String lastName)
public void setLastName(String lastName)
public ContactDto company(String company)
public void setCompany(String company)
public ContactDto emailAddresses(List<String> emailAddresses)
public ContactDto addEmailAddressesItem(String emailAddressesItem)
@Nonnull public List<String> getEmailAddresses()
public ContactDto primaryEmailAddress(String primaryEmailAddress)
@Nullable public String getPrimaryEmailAddress()
public void setPrimaryEmailAddress(String primaryEmailAddress)
public ContactDto tags(List<String> tags)
public ContactDto addTagsItem(String tagsItem)
public ContactDto metaData(Object metaData)
public void setMetaData(Object metaData)
public ContactDto optOut(Boolean optOut)
public void setOptOut(Boolean optOut)
public ContactDto 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 ContactDtopublic static ContactDto fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to ContactDtopublic String toJson()
Copyright © 2023. All rights reserved.