@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class ContactProjection extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ContactProjection.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_ADDRESS |
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_OPT_OUT |
Constructor and Description |
---|
ContactProjection() |
public static final String SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_GROUP_ID
public static final String SERIALIZED_NAME_EMAIL_ADDRESS
public static final String SERIALIZED_NAME_CREATED_AT
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_OPT_OUT
public ContactProjection id(UUID id)
public void setId(UUID id)
public ContactProjection groupId(UUID groupId)
public void setGroupId(UUID groupId)
public ContactProjection emailAddress(String emailAddress)
public void setEmailAddress(String emailAddress)
public ContactProjection createdAt(OffsetDateTime createdAt)
@Nonnull public OffsetDateTime getCreatedAt()
public void setCreatedAt(OffsetDateTime createdAt)
public ContactProjection firstName(String firstName)
public void setFirstName(String firstName)
public ContactProjection lastName(String lastName)
public void setLastName(String lastName)
public ContactProjection company(String company)
public void setCompany(String company)
public ContactProjection emailAddresses(List<String> emailAddresses)
public ContactProjection addEmailAddressesItem(String emailAddressesItem)
@Nullable public List<String> getEmailAddresses()
public ContactProjection optOut(Boolean optOut)
public void setOptOut(Boolean optOut)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
jsonObj
- JSON ObjectIOException
- if the JSON Object is invalid with respect to ContactProjectionpublic static ContactProjection fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to ContactProjectionpublic String toJson()
Copyright © 2023. All rights reserved.