Account

@Serializable
data class Account(val now: Instant, val uid: Long? = null, val login: String? = null, val fullName: String? = null, val secondName: String? = null, val firstName: String? = null, val displayName: String? = null, val birthday: LocalDate? = null, val serviceAvailable: Boolean, val hostedUser: Boolean? = null, val passportPhones: List<PassportPhone> = listOf(), val registeredAt: Instant? = null, val child: Boolean? = null, val nonOwnerFamilyMember: Boolean? = null, val region: Int? = null)(source)

Аккаунт пользователя

Parameters

now

время получения

uid

уникальный идентификатор пользователя

login

логин пользователь

fullName

полное имя пользователя

secondName

фамилия пользователя

displayName

отображаемое имя пользователя

birthday

день рождения пользователя

serviceAvailable

доступен ли сервис для пользователя

hostedUser

TODO

registeredAt

время регистрации

child

является ли пользователь ребёнком

passportPhones

телефоны пользователя

nonOwnerFamilyMember

является ли пользователь главой семью

region

регион пользователя

See also

Constructors

Link copied to clipboard
constructor(now: Instant, uid: Long? = null, login: String? = null, fullName: String? = null, secondName: String? = null, firstName: String? = null, displayName: String? = null, birthday: LocalDate? = null, serviceAvailable: Boolean, hostedUser: Boolean? = null, passportPhones: List<PassportPhone> = listOf(), registeredAt: Instant? = null, child: Boolean? = null, nonOwnerFamilyMember: Boolean? = null, region: Int? = null)

Properties

Link copied to clipboard
val birthday: LocalDate? = null
Link copied to clipboard
val child: Boolean? = null
Link copied to clipboard
val displayName: String? = null
Link copied to clipboard
val firstName: String? = null
Link copied to clipboard
val fullName: String? = null
Link copied to clipboard
val hostedUser: Boolean? = null
Link copied to clipboard
val login: String? = null
Link copied to clipboard
Link copied to clipboard
val now: Instant
Link copied to clipboard
@SerialName(value = "passport-phones")
val passportPhones: List<PassportPhone>
Link copied to clipboard
val region: Int? = null
Link copied to clipboard
val registeredAt: Instant? = null
Link copied to clipboard
val secondName: String? = null
Link copied to clipboard
Link copied to clipboard
val uid: Long? = null