@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class PhoneNumberDto extends Object
Modifier and Type | Class and Description |
---|---|
static class |
PhoneNumberDto.CustomTypeAdapterFactory |
static class |
PhoneNumberDto.PhoneCountryEnum
Gets or Sets phoneCountry
|
Modifier and Type | Field and Description |
---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_COMPLIANCE_ADDRESS |
static String |
SERIALIZED_NAME_CREATED_AT |
static String |
SERIALIZED_NAME_EMERGENCY_ADDRESS |
static String |
SERIALIZED_NAME_ID |
static String |
SERIALIZED_NAME_PHONE_COUNTRY |
static String |
SERIALIZED_NAME_PHONE_NUMBER |
static String |
SERIALIZED_NAME_PHONE_PLAN |
static String |
SERIALIZED_NAME_UPDATED_AT |
static String |
SERIALIZED_NAME_USER_ID |
Constructor and Description |
---|
PhoneNumberDto() |
public static final String SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_USER_ID
public static final String SERIALIZED_NAME_COMPLIANCE_ADDRESS
public static final String SERIALIZED_NAME_EMERGENCY_ADDRESS
public static final String SERIALIZED_NAME_PHONE_NUMBER
public static final String SERIALIZED_NAME_PHONE_COUNTRY
public static final String SERIALIZED_NAME_PHONE_PLAN
public static final String SERIALIZED_NAME_CREATED_AT
public static final String SERIALIZED_NAME_UPDATED_AT
public PhoneNumberDto id(UUID id)
public void setId(UUID id)
public PhoneNumberDto userId(UUID userId)
public void setUserId(UUID userId)
public PhoneNumberDto complianceAddress(UUID complianceAddress)
@Nullable public UUID getComplianceAddress()
public void setComplianceAddress(UUID complianceAddress)
public PhoneNumberDto emergencyAddress(UUID emergencyAddress)
@Nullable public UUID getEmergencyAddress()
public void setEmergencyAddress(UUID emergencyAddress)
public PhoneNumberDto phoneNumber(String phoneNumber)
public void setPhoneNumber(String phoneNumber)
public PhoneNumberDto phoneCountry(PhoneNumberDto.PhoneCountryEnum phoneCountry)
@Nonnull public PhoneNumberDto.PhoneCountryEnum getPhoneCountry()
public void setPhoneCountry(PhoneNumberDto.PhoneCountryEnum phoneCountry)
public PhoneNumberDto phonePlan(UUID phonePlan)
public void setPhonePlan(UUID phonePlan)
public PhoneNumberDto createdAt(OffsetDateTime createdAt)
@Nonnull public OffsetDateTime getCreatedAt()
public void setCreatedAt(OffsetDateTime createdAt)
public PhoneNumberDto updatedAt(OffsetDateTime updatedAt)
@Nonnull public OffsetDateTime getUpdatedAt()
public void setUpdatedAt(OffsetDateTime updatedAt)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
jsonObj
- JSON ObjectIOException
- if the JSON Object is invalid with respect to PhoneNumberDtopublic static PhoneNumberDto fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to PhoneNumberDtopublic String toJson()
Copyright © 2023. All rights reserved.