@Generated(value="Generated by https://konfigthis.com") public class AddressDataModel extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
AddressDataModel.CustomTypeAdapterFactory |
| Modifier and Type | Field and Description |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_ADDRESS_LINE1 |
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 |
|---|
AddressDataModel() |
| Modifier and Type | Method and Description |
|---|---|
AddressDataModel |
addressLine1(String addressLine1) |
AddressDataModel |
addressLine2(String addressLine2) |
AddressDataModel |
city(String city) |
AddressDataModel |
country(String country) |
boolean |
equals(Object o) |
static AddressDataModel |
fromJson(String jsonString)
Create an instance of AddressDataModel 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 |
getAddressLine1()
Get addressLine1
|
String |
getAddressLine2()
Get addressLine2
|
String |
getCity()
Get city
|
String |
getCountry()
Get country
|
String |
getState()
Get state
|
String |
getZip()
Get zip
|
int |
hashCode() |
AddressDataModel |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setAddressLine1(String addressLine1) |
void |
setAddressLine2(String addressLine2) |
void |
setCity(String city) |
void |
setCountry(String country) |
void |
setState(String state) |
void |
setZip(String zip) |
AddressDataModel |
state(String state) |
String |
toJson()
Convert an instance of AddressDataModel 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
|
AddressDataModel |
zip(String zip) |
public static final String SERIALIZED_NAME_ADDRESS_LINE1
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 AddressDataModel addressLine1(String addressLine1)
public void setAddressLine1(String addressLine1)
public AddressDataModel addressLine2(String addressLine2)
public void setAddressLine2(String addressLine2)
public AddressDataModel city(String city)
public void setCity(String city)
public AddressDataModel country(String country)
public void setCountry(String country)
public AddressDataModel state(String state)
public void setState(String state)
public AddressDataModel zip(String zip)
public void setZip(String zip)
public AddressDataModel 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 AddressDataModelpublic static AddressDataModel fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to AddressDataModelpublic String toJson()
Copyright © 2023. All rights reserved.