Package io.voucherify.client.model
Class ManagementProjectsBrandingCreateRequestBodyAddress
java.lang.Object
io.voucherify.client.model.ManagementProjectsBrandingCreateRequestBodyAddress
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ManagementProjectsBrandingCreateRequestBodyAddress
extends Object
Defines the address details.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCreate an instance of ManagementProjectsBrandingCreateRequestBodyAddress given an JSON stringgetCity()Defines the brand's city.Defines the brand's country.Defines the brand's postal code.getState()Defines the brand's state or similar administrative area.Defines the brand's street.inthashCode()voidvoidsetCountry(String country) voidvoidvoidtoJson()Convert an instance of ManagementProjectsBrandingCreateRequestBodyAddress to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_STREET
- See Also:
-
SERIALIZED_NAME_CITY
- See Also:
-
SERIALIZED_NAME_POSTAL
- See Also:
-
SERIALIZED_NAME_STATE
- See Also:
-
SERIALIZED_NAME_COUNTRY
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ManagementProjectsBrandingCreateRequestBodyAddress
public ManagementProjectsBrandingCreateRequestBodyAddress()
-
-
Method Details
-
street
-
getStreet
Defines the brand's street.- Returns:
- street
-
setStreet
-
city
-
getCity
Defines the brand's city.- Returns:
- city
-
setCity
-
postal
-
getPostal
Defines the brand's postal code.- Returns:
- postal
-
setPostal
-
state
-
getState
Defines the brand's state or similar administrative area.- Returns:
- state
-
setState
-
country
-
getCountry
Defines the brand's country.- Returns:
- country
-
setCountry
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
public static ManagementProjectsBrandingCreateRequestBodyAddress fromJson(String jsonString) throws IOException Create an instance of ManagementProjectsBrandingCreateRequestBodyAddress given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ManagementProjectsBrandingCreateRequestBodyAddress
- Throws:
IOException- if the JSON string is invalid with respect to ManagementProjectsBrandingCreateRequestBodyAddress
-
toJson
Convert an instance of ManagementProjectsBrandingCreateRequestBodyAddress to an JSON string- Returns:
- JSON string
-