@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class CreateEmergencyAddressOptions extends Object
Modifier and Type | Class and Description |
---|---|
static class |
CreateEmergencyAddressOptions.CustomTypeAdapterFactory |
static class |
CreateEmergencyAddressOptions.IsoCountryCodeEnum
Gets or Sets isoCountryCode
|
Modifier and Type | Field and Description |
---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_ADDRESS1 |
static String |
SERIALIZED_NAME_CITY |
static String |
SERIALIZED_NAME_CUSTOMER_NAME |
static String |
SERIALIZED_NAME_DISPLAY_NAME |
static String |
SERIALIZED_NAME_ISO_COUNTRY_CODE |
static String |
SERIALIZED_NAME_POSTAL_CODE |
static String |
SERIALIZED_NAME_REGION |
Constructor and Description |
---|
CreateEmergencyAddressOptions() |
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_ISO_COUNTRY_CODE
public static final String SERIALIZED_NAME_DISPLAY_NAME
public CreateEmergencyAddressOptions customerName(String customerName)
public void setCustomerName(String customerName)
public CreateEmergencyAddressOptions address1(String address1)
public void setAddress1(String address1)
public CreateEmergencyAddressOptions city(String city)
public void setCity(String city)
public CreateEmergencyAddressOptions region(String region)
public void setRegion(String region)
public CreateEmergencyAddressOptions postalCode(String postalCode)
public void setPostalCode(String postalCode)
public CreateEmergencyAddressOptions isoCountryCode(CreateEmergencyAddressOptions.IsoCountryCodeEnum isoCountryCode)
@Nonnull public CreateEmergencyAddressOptions.IsoCountryCodeEnum getIsoCountryCode()
public void setIsoCountryCode(CreateEmergencyAddressOptions.IsoCountryCodeEnum isoCountryCode)
public CreateEmergencyAddressOptions displayName(String displayName)
public void setDisplayName(String displayName)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
jsonObj
- JSON ObjectIOException
- if the JSON Object is invalid with respect to CreateEmergencyAddressOptionspublic static CreateEmergencyAddressOptions fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to CreateEmergencyAddressOptionspublic String toJson()
Copyright © 2023. All rights reserved.