@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class PhonePlanDto extends Object
Modifier and Type | Class and Description |
---|---|
static class |
PhonePlanDto.CustomTypeAdapterFactory |
static class |
PhonePlanDto.PhoneCountryEnum
Gets or Sets phoneCountry
|
Modifier and Type | Field and Description |
---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_CREATED_AT |
static String |
SERIALIZED_NAME_ID |
static String |
SERIALIZED_NAME_PHONE_COUNTRY |
static String |
SERIALIZED_NAME_USER_ID |
Constructor and Description |
---|
PhonePlanDto() |
Modifier and Type | Method and Description |
---|---|
PhonePlanDto |
createdAt(OffsetDateTime createdAt) |
boolean |
equals(Object o) |
static PhonePlanDto |
fromJson(String jsonString)
Create an instance of PhonePlanDto given an JSON string
|
OffsetDateTime |
getCreatedAt()
Get createdAt
|
UUID |
getId()
Get id
|
PhonePlanDto.PhoneCountryEnum |
getPhoneCountry()
Get phoneCountry
|
UUID |
getUserId()
Get userId
|
int |
hashCode() |
PhonePlanDto |
id(UUID id) |
PhonePlanDto |
phoneCountry(PhonePlanDto.PhoneCountryEnum phoneCountry) |
void |
setCreatedAt(OffsetDateTime createdAt) |
void |
setId(UUID id) |
void |
setPhoneCountry(PhonePlanDto.PhoneCountryEnum phoneCountry) |
void |
setUserId(UUID userId) |
String |
toJson()
Convert an instance of PhonePlanDto to an JSON string
|
String |
toString() |
PhonePlanDto |
userId(UUID userId) |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
public static final String SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_USER_ID
public static final String SERIALIZED_NAME_PHONE_COUNTRY
public static final String SERIALIZED_NAME_CREATED_AT
public PhonePlanDto id(UUID id)
public void setId(UUID id)
public PhonePlanDto userId(UUID userId)
public void setUserId(UUID userId)
public PhonePlanDto phoneCountry(PhonePlanDto.PhoneCountryEnum phoneCountry)
@Nonnull public PhonePlanDto.PhoneCountryEnum getPhoneCountry()
public void setPhoneCountry(PhonePlanDto.PhoneCountryEnum phoneCountry)
public PhonePlanDto createdAt(OffsetDateTime createdAt)
@Nonnull public OffsetDateTime getCreatedAt()
public void setCreatedAt(OffsetDateTime createdAt)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
jsonObj
- JSON ObjectIOException
- if the JSON Object is invalid with respect to PhonePlanDtopublic static PhonePlanDto fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to PhonePlanDtopublic String toJson()
Copyright © 2023. All rights reserved.