Package com.onfido.model
Class WatchlistEnhancedPropertiesRecordsInnerAddressInner
- java.lang.Object
-
- com.onfido.model.WatchlistEnhancedPropertiesRecordsInnerAddressInner
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.9.0") public class WatchlistEnhancedPropertiesRecordsInnerAddressInner extends Object
WatchlistEnhancedPropertiesRecordsInnerAddressInner
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWatchlistEnhancedPropertiesRecordsInnerAddressInner.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_ADDRESS_LINE1static StringSERIALIZED_NAME_COUNTRYstatic StringSERIALIZED_NAME_LOCATOR_TYPEstatic StringSERIALIZED_NAME_POSTAL_CODEstatic StringSERIALIZED_NAME_STATE_PROVINCEstatic StringSERIALIZED_NAME_TOWN
-
Constructor Summary
Constructors Constructor Description WatchlistEnhancedPropertiesRecordsInnerAddressInner()
-
Method Summary
-
-
-
Field Detail
-
SERIALIZED_NAME_ADDRESS_LINE1
public static final String SERIALIZED_NAME_ADDRESS_LINE1
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_COUNTRY
public static final String SERIALIZED_NAME_COUNTRY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_POSTAL_CODE
public static final String SERIALIZED_NAME_POSTAL_CODE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_STATE_PROVINCE
public static final String SERIALIZED_NAME_STATE_PROVINCE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TOWN
public static final String SERIALIZED_NAME_TOWN
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LOCATOR_TYPE
public static final String SERIALIZED_NAME_LOCATOR_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
addressLine1
public WatchlistEnhancedPropertiesRecordsInnerAddressInner addressLine1(String addressLine1)
-
setAddressLine1
public void setAddressLine1(String addressLine1)
-
country
public WatchlistEnhancedPropertiesRecordsInnerAddressInner country(CountryCodes country)
-
getCountry
@Nullable public CountryCodes getCountry()
Get country- Returns:
- country
-
setCountry
public void setCountry(CountryCodes country)
-
postalCode
public WatchlistEnhancedPropertiesRecordsInnerAddressInner postalCode(String postalCode)
-
setPostalCode
public void setPostalCode(String postalCode)
-
stateProvince
public WatchlistEnhancedPropertiesRecordsInnerAddressInner stateProvince(String stateProvince)
-
getStateProvince
@Nullable public String getStateProvince()
Get stateProvince- Returns:
- stateProvince
-
setStateProvince
public void setStateProvince(String stateProvince)
-
town
public WatchlistEnhancedPropertiesRecordsInnerAddressInner town(String town)
-
setTown
public void setTown(String town)
-
locatorType
public WatchlistEnhancedPropertiesRecordsInnerAddressInner locatorType(String locatorType)
-
setLocatorType
public void setLocatorType(String locatorType)
-
putAdditionalProperty
public WatchlistEnhancedPropertiesRecordsInnerAddressInner putAdditionalProperty(String key, Object value)
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- name of the propertyvalue- value of the property- Returns:
- the WatchlistEnhancedPropertiesRecordsInnerAddressInner instance itself
-
getAdditionalProperties
public Map<String,Object> getAdditionalProperties()
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
public Object getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOExceptionValidates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to WatchlistEnhancedPropertiesRecordsInnerAddressInner
-
fromJson
public static WatchlistEnhancedPropertiesRecordsInnerAddressInner fromJson(String jsonString) throws IOException
Create an instance of WatchlistEnhancedPropertiesRecordsInnerAddressInner given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of WatchlistEnhancedPropertiesRecordsInnerAddressInner
- Throws:
IOException- if the JSON string is invalid with respect to WatchlistEnhancedPropertiesRecordsInnerAddressInner
-
toJson
public String toJson()
Convert an instance of WatchlistEnhancedPropertiesRecordsInnerAddressInner to an JSON string- Returns:
- JSON string
-
-