@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class UserInfoDto extends Object
Modifier and Type | Class and Description |
---|---|
static class |
UserInfoDto.AccountStateEnum
Gets or Sets accountState
|
static class |
UserInfoDto.AccountTypeEnum
Gets or Sets accountType
|
static class |
UserInfoDto.CustomTypeAdapterFactory |
static class |
UserInfoDto.SubscriptionTypeEnum
Gets or Sets subscriptionType
|
Modifier and Type | Field and Description |
---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_ACCOUNT_STATE |
static String |
SERIALIZED_NAME_ACCOUNT_TYPE |
static String |
SERIALIZED_NAME_CREATED_AT |
static String |
SERIALIZED_NAME_EMAIL_ADDRESS |
static String |
SERIALIZED_NAME_ID |
static String |
SERIALIZED_NAME_SUBSCRIPTION_TYPE |
Constructor and Description |
---|
UserInfoDto() |
public static final String SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_EMAIL_ADDRESS
public static final String SERIALIZED_NAME_ACCOUNT_STATE
public static final String SERIALIZED_NAME_SUBSCRIPTION_TYPE
public static final String SERIALIZED_NAME_ACCOUNT_TYPE
public static final String SERIALIZED_NAME_CREATED_AT
public UserInfoDto id(UUID id)
public void setId(UUID id)
public UserInfoDto emailAddress(String emailAddress)
public void setEmailAddress(String emailAddress)
public UserInfoDto accountState(UserInfoDto.AccountStateEnum accountState)
@Nonnull public UserInfoDto.AccountStateEnum getAccountState()
public void setAccountState(UserInfoDto.AccountStateEnum accountState)
public UserInfoDto subscriptionType(UserInfoDto.SubscriptionTypeEnum subscriptionType)
@Nullable public UserInfoDto.SubscriptionTypeEnum getSubscriptionType()
public void setSubscriptionType(UserInfoDto.SubscriptionTypeEnum subscriptionType)
public UserInfoDto accountType(UserInfoDto.AccountTypeEnum accountType)
@Nonnull public UserInfoDto.AccountTypeEnum getAccountType()
public void setAccountType(UserInfoDto.AccountTypeEnum accountType)
public UserInfoDto 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 UserInfoDtopublic static UserInfoDto fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to UserInfoDtopublic String toJson()
Copyright © 2023. All rights reserved.