Package io.voucherify.client.model
Class ManagementProjectsBrandingGetResponseBodyContact
java.lang.Object
io.voucherify.client.model.ManagementProjectsBrandingGetResponseBodyContact
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ManagementProjectsBrandingGetResponseBodyContact
extends Object
Defines contact details.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCreate an instance of ManagementProjectsBrandingGetResponseBodyContact given an JSON stringgetEmail()Defines the brand's email address.getPhone()Defines the brand's phone number.inthashCode()voidvoidtoJson()Convert an instance of ManagementProjectsBrandingGetResponseBodyContact to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_EMAIL
- See Also:
-
SERIALIZED_NAME_PHONE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ManagementProjectsBrandingGetResponseBodyContact
public ManagementProjectsBrandingGetResponseBodyContact()
-
-
Method Details
-
email
-
getEmail
Defines the brand's email address. It must be a valid email format.- Returns:
-
setEmail
-
phone
-
getPhone
Defines the brand's phone number.- Returns:
- phone
-
setPhone
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
public static ManagementProjectsBrandingGetResponseBodyContact fromJson(String jsonString) throws IOException Create an instance of ManagementProjectsBrandingGetResponseBodyContact given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ManagementProjectsBrandingGetResponseBodyContact
- Throws:
IOException- if the JSON string is invalid with respect to ManagementProjectsBrandingGetResponseBodyContact
-
toJson
Convert an instance of ManagementProjectsBrandingGetResponseBodyContact to an JSON string- Returns:
- JSON string
-