User

data class User(val id: String, val deviceId: String, val customName: String, val isAdmin: Boolean, val blocked: Boolean) : Parcelable

Represents a user.

Constructors

Link copied to clipboard
constructor(id: String, deviceId: String, customName: String, isAdmin: Boolean, blocked: Boolean)

Properties

Link copied to clipboard
@SerializedName(value = "blocked")
val blocked: Boolean

Indicates if the user is blocked.

Link copied to clipboard
@SerializedName(value = "custom_name")
val customName: String

Custom name of the user.

Link copied to clipboard
@SerializedName(value = "device_id")
val deviceId: String

Device ID of the user.

Link copied to clipboard
@SerializedName(value = "id")
val id: String

Unique identifier for the user.

Link copied to clipboard
@SerializedName(value = "is_admin")
val isAdmin: Boolean

Indicates if the user is an admin.

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)