Status

@Serializable
data class Status(val account: Account, val permissions: Permissions, val subscription: Subscription? = null, val barBellow: BarBellow? = null, val isSubEditor: Boolean? = null, val subeditorLevel: Int? = null, val pretrialActive: Boolean? = null, val plus: Plus? = null, val defaultEmail: String? = null, val userHash: String? = null)(source)

Статус пользователя, то есть имеет ли он подписки, права и т.п.

Parameters

account

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

permissions

права пользователя

subscription

подписка пользователя

See also

Constructors

Link copied to clipboard
constructor(account: Account, permissions: Permissions, subscription: Subscription? = null, barBellow: BarBellow? = null, isSubEditor: Boolean? = null, subeditorLevel: Int? = null, pretrialActive: Boolean? = null, plus: Plus? = null, defaultEmail: String? = null, userHash: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard
@SerialName(value = "bar-below")
val barBellow: BarBellow? = null
Link copied to clipboard
val defaultEmail: String? = null
Link copied to clipboard
@SerialName(value = "subeditor")
val isSubEditor: Boolean? = null
Link copied to clipboard
Link copied to clipboard
val plus: Plus? = null
Link copied to clipboard
val pretrialActive: Boolean? = null
Link copied to clipboard
val subeditorLevel: Int? = null
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "userhash")
val userHash: String? = null