Package model
Class CreateAssociatedIdentityRequestEntityPersonalAddress
- java.lang.Object
-
- model.CreateAssociatedIdentityRequestEntityPersonalAddress
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class CreateAssociatedIdentityRequestEntityPersonalAddress extends Object
The home address of the principal control owner. This field is used for identity verification purposes.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateAssociatedIdentityRequestEntityPersonalAddress.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_CITYstatic StringSERIALIZED_NAME_COUNTRYstatic StringSERIALIZED_NAME_LINE1static StringSERIALIZED_NAME_LINE2static StringSERIALIZED_NAME_POSTAL_CODEstatic StringSERIALIZED_NAME_REGION
-
Constructor Summary
Constructors Constructor Description CreateAssociatedIdentityRequestEntityPersonalAddress()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateAssociatedIdentityRequestEntityPersonalAddresscity(String city)CreateAssociatedIdentityRequestEntityPersonalAddresscountry(String country)booleanequals(Object o)static CreateAssociatedIdentityRequestEntityPersonalAddressfromJson(String jsonString)Create an instance of CreateAssociatedIdentityRequestEntityPersonalAddress given an JSON stringStringgetCity()City (max 20 characters).StringgetCountry()3-Letter country code (e.g.StringgetLine1()First line of the address (max 35 characters).StringgetLine2()Second line of the address (max 35 characters).StringgetPostalCode()Zip or Postal code (max 7 characters).StringgetRegion()2-letter State code.inthashCode()CreateAssociatedIdentityRequestEntityPersonalAddressline1(String line1)CreateAssociatedIdentityRequestEntityPersonalAddressline2(String line2)CreateAssociatedIdentityRequestEntityPersonalAddresspostalCode(String postalCode)CreateAssociatedIdentityRequestEntityPersonalAddressregion(String region)voidsetCity(String city)voidsetCountry(String country)voidsetLine1(String line1)voidsetLine2(String line2)voidsetPostalCode(String postalCode)voidsetRegion(String region)StringtoJson()Convert an instance of CreateAssociatedIdentityRequestEntityPersonalAddress to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_CITY
public static final String SERIALIZED_NAME_CITY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_COUNTRY
public static final String SERIALIZED_NAME_COUNTRY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_REGION
public static final String SERIALIZED_NAME_REGION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LINE2
public static final String SERIALIZED_NAME_LINE2
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LINE1
public static final String SERIALIZED_NAME_LINE1
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_POSTAL_CODE
public static final String SERIALIZED_NAME_POSTAL_CODE
- See Also:
- Constant Field Values
-
-
Method Detail
-
city
public CreateAssociatedIdentityRequestEntityPersonalAddress city(String city)
-
setCity
public void setCity(String city)
-
country
public CreateAssociatedIdentityRequestEntityPersonalAddress country(String country)
-
setCountry
public void setCountry(String country)
-
region
public CreateAssociatedIdentityRequestEntityPersonalAddress region(String region)
-
setRegion
public void setRegion(String region)
-
line2
public CreateAssociatedIdentityRequestEntityPersonalAddress line2(String line2)
-
getLine2
@Nullable public String getLine2()
Second line of the address (max 35 characters).- Returns:
- line2
-
setLine2
public void setLine2(String line2)
-
line1
public CreateAssociatedIdentityRequestEntityPersonalAddress line1(String line1)
-
getLine1
@Nullable public String getLine1()
First line of the address (max 35 characters).- Returns:
- line1
-
setLine1
public void setLine1(String line1)
-
postalCode
public CreateAssociatedIdentityRequestEntityPersonalAddress postalCode(String postalCode)
-
getPostalCode
@Nullable public String getPostalCode()
Zip or Postal code (max 7 characters).- Returns:
- postalCode
-
setPostalCode
public void setPostalCode(String postalCode)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to CreateAssociatedIdentityRequestEntityPersonalAddress
-
fromJson
public static CreateAssociatedIdentityRequestEntityPersonalAddress fromJson(String jsonString) throws IOException
Create an instance of CreateAssociatedIdentityRequestEntityPersonalAddress given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CreateAssociatedIdentityRequestEntityPersonalAddress
- Throws:
IOException- if the JSON string is invalid with respect to CreateAssociatedIdentityRequestEntityPersonalAddress
-
toJson
public String toJson()
Convert an instance of CreateAssociatedIdentityRequestEntityPersonalAddress to an JSON string- Returns:
- JSON string
-
-