Class Address
java.lang.Object
com.boldsign.model.Address
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.8.0")
public class Address
extends Object
Address
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic AddressCreate an instance of Address given an JSON stringgetCity()Get cityGet countrygetLine1()Get line1getLine2()Get line2Get postalCodegetState()Get stateinthashCode()postalCode(String postalCode) voidvoidsetCountry(String country) voidvoidvoidsetPostalCode(String postalCode) voidtoJson()Convert an instance of Address to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_CITY
- See Also:
-
SERIALIZED_NAME_COUNTRY
- See Also:
-
SERIALIZED_NAME_LINE1
- See Also:
-
SERIALIZED_NAME_LINE2
- See Also:
-
SERIALIZED_NAME_POSTAL_CODE
- See Also:
-
SERIALIZED_NAME_STATE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
Address
public Address()
-
-
Method Details
-
city
-
getCity
-
setCity
-
country
-
getCountry
-
setCountry
-
line1
-
getLine1
-
setLine1
-
line2
-
getLine2
-
setLine2
-
postalCode
-
getPostalCode
-
setPostalCode
-
state
-
getState
-
setState
-
equals
-
hashCode
-
toString
-
createFormData
- Throws:
ApiException
-
validateJsonElement
Validates 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 Address
-
fromJson
Create an instance of Address given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Address
- Throws:
IOException- if the JSON string is invalid with respect to Address
-
toJson
-