@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class EmergencyAddressDto extends Object
Modifier and Type | Class and Description |
---|---|
static class |
EmergencyAddressDto.CustomTypeAdapterFactory |
static class |
EmergencyAddressDto.PhoneCountryEnum
Gets or Sets phoneCountry
|
Modifier and Type | Field and Description |
---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_ADDRESS1 |
static String |
SERIALIZED_NAME_ID |
static String |
SERIALIZED_NAME_PHONE_COUNTRY |
Constructor and Description |
---|
EmergencyAddressDto() |
Modifier and Type | Method and Description |
---|---|
EmergencyAddressDto |
address1(String address1) |
boolean |
equals(Object o) |
static EmergencyAddressDto |
fromJson(String jsonString)
Create an instance of EmergencyAddressDto given an JSON string
|
String |
getAddress1()
Get address1
|
UUID |
getId()
Get id
|
EmergencyAddressDto.PhoneCountryEnum |
getPhoneCountry()
Get phoneCountry
|
int |
hashCode() |
EmergencyAddressDto |
id(UUID id) |
EmergencyAddressDto |
phoneCountry(EmergencyAddressDto.PhoneCountryEnum phoneCountry) |
void |
setAddress1(String address1) |
void |
setId(UUID id) |
void |
setPhoneCountry(EmergencyAddressDto.PhoneCountryEnum phoneCountry) |
String |
toJson()
Convert an instance of EmergencyAddressDto 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_ADDRESS1
public static final String SERIALIZED_NAME_PHONE_COUNTRY
public EmergencyAddressDto id(UUID id)
public void setId(UUID id)
public EmergencyAddressDto address1(String address1)
public void setAddress1(String address1)
public EmergencyAddressDto phoneCountry(EmergencyAddressDto.PhoneCountryEnum phoneCountry)
@Nonnull public EmergencyAddressDto.PhoneCountryEnum getPhoneCountry()
public void setPhoneCountry(EmergencyAddressDto.PhoneCountryEnum phoneCountry)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
jsonObj
- JSON ObjectIOException
- if the JSON Object is invalid with respect to EmergencyAddressDtopublic static EmergencyAddressDto fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to EmergencyAddressDtopublic String toJson()
Copyright © 2023. All rights reserved.