@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class EmergencyAddress extends Object
Modifier and Type | Class and Description |
---|---|
static class |
EmergencyAddress.CustomTypeAdapterFactory |
static class |
EmergencyAddress.PhoneCountryEnum
Gets or Sets phoneCountry
|
Modifier and Type | Field and Description |
---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_ACCOUNT_SID |
static String |
SERIALIZED_NAME_ADDRESS1 |
static String |
SERIALIZED_NAME_CITY |
static String |
SERIALIZED_NAME_CREATED_AT |
static String |
SERIALIZED_NAME_CUSTOMER_NAME |
static String |
SERIALIZED_NAME_DISPLAY_NAME |
static String |
SERIALIZED_NAME_ID |
static String |
SERIALIZED_NAME_PHONE_COUNTRY |
static String |
SERIALIZED_NAME_POSTAL_CODE |
static String |
SERIALIZED_NAME_REGION |
static String |
SERIALIZED_NAME_SID |
static String |
SERIALIZED_NAME_UPDATED_AT |
static String |
SERIALIZED_NAME_USER_ID |
Constructor and Description |
---|
EmergencyAddress() |
public static final String SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_SID
public static final String SERIALIZED_NAME_USER_ID
public static final String SERIALIZED_NAME_DISPLAY_NAME
public static final String SERIALIZED_NAME_CUSTOMER_NAME
public static final String SERIALIZED_NAME_ADDRESS1
public static final String SERIALIZED_NAME_CITY
public static final String SERIALIZED_NAME_REGION
public static final String SERIALIZED_NAME_POSTAL_CODE
public static final String SERIALIZED_NAME_PHONE_COUNTRY
public static final String SERIALIZED_NAME_ACCOUNT_SID
public static final String SERIALIZED_NAME_CREATED_AT
public static final String SERIALIZED_NAME_UPDATED_AT
public EmergencyAddress id(UUID id)
public void setId(UUID id)
public EmergencyAddress sid(String sid)
public void setSid(String sid)
public EmergencyAddress userId(UUID userId)
public void setUserId(UUID userId)
public EmergencyAddress displayName(String displayName)
public void setDisplayName(String displayName)
public EmergencyAddress customerName(String customerName)
public void setCustomerName(String customerName)
public EmergencyAddress address1(String address1)
public void setAddress1(String address1)
public EmergencyAddress city(String city)
public void setCity(String city)
public EmergencyAddress region(String region)
public void setRegion(String region)
public EmergencyAddress postalCode(String postalCode)
public void setPostalCode(String postalCode)
public EmergencyAddress phoneCountry(EmergencyAddress.PhoneCountryEnum phoneCountry)
@Nonnull public EmergencyAddress.PhoneCountryEnum getPhoneCountry()
public void setPhoneCountry(EmergencyAddress.PhoneCountryEnum phoneCountry)
public EmergencyAddress accountSid(String accountSid)
public void setAccountSid(String accountSid)
public EmergencyAddress createdAt(OffsetDateTime createdAt)
@Nonnull public OffsetDateTime getCreatedAt()
public void setCreatedAt(OffsetDateTime createdAt)
public EmergencyAddress 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 EmergencyAddresspublic static EmergencyAddress fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to EmergencyAddresspublic String toJson()
Copyright © 2023. All rights reserved.