@Generated(value="Generated by https://konfigthis.com") public class AddressData extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
AddressData.CustomTypeAdapterFactory |
| Modifier and Type | Field and Description |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_ADDRESS_LINE |
static String |
SERIALIZED_NAME_ADDRESS_LINE2 |
static String |
SERIALIZED_NAME_CITY |
static String |
SERIALIZED_NAME_COUNTRY |
static String |
SERIALIZED_NAME_STATE |
static String |
SERIALIZED_NAME_ZIP |
| Constructor and Description |
|---|
AddressData() |
| Modifier and Type | Method and Description |
|---|---|
AddressData |
addressLine(String addressLine) |
AddressData |
addressLine2(String addressLine2) |
AddressData |
city(String city) |
AddressData |
country(String country) |
boolean |
equals(Object o) |
static AddressData |
fromJson(String jsonString)
Create an instance of AddressData given an JSON string
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
String |
getAddressLine()
Get addressLine
|
String |
getAddressLine2()
Get addressLine2
|
String |
getCity()
Get city
|
String |
getCountry()
Get country
|
String |
getState()
Get state
|
String |
getZip()
Get zip
|
int |
hashCode() |
AddressData |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setAddressLine(String addressLine) |
void |
setAddressLine2(String addressLine2) |
void |
setCity(String city) |
void |
setCountry(String country) |
void |
setState(String state) |
void |
setZip(String zip) |
AddressData |
state(String state) |
String |
toJson()
Convert an instance of AddressData 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
|
AddressData |
zip(String zip) |
public static final String SERIALIZED_NAME_ADDRESS_LINE
public static final String SERIALIZED_NAME_ADDRESS_LINE2
public static final String SERIALIZED_NAME_CITY
public static final String SERIALIZED_NAME_COUNTRY
public static final String SERIALIZED_NAME_STATE
public static final String SERIALIZED_NAME_ZIP
public AddressData addressLine(String addressLine)
public void setAddressLine(String addressLine)
public AddressData addressLine2(String addressLine2)
public void setAddressLine2(String addressLine2)
public AddressData city(String city)
public void setCity(String city)
public AddressData country(String country)
public void setCountry(String country)
public AddressData state(String state)
public void setState(String state)
public AddressData zip(String zip)
public void setZip(String zip)
public AddressData putAdditionalProperty(String key, Object value)
key - name of the propertyvalue - value of the propertypublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - name of the propertypublic static void validateJsonObject(com.google.gson.JsonObject jsonObj)
throws IOException
jsonObj - JSON ObjectIOException - if the JSON Object is invalid with respect to AddressDatapublic static AddressData fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to AddressDatapublic String toJson()
Copyright © 2023. All rights reserved.