BlockUnblockUser

data class BlockUnblockUser(val id: String, val actionTaker: ActionTaker, val blocked: Boolean, val customName: String, val deviceId: String) : Parcelable

Represents blocking or unblocking of a user.

Constructors

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

Properties

Link copied to clipboard
@SerializedName(value = "action_taker")
val actionTaker: ActionTaker

User who took the action.

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

Indicates if the user is blocked or unblocked.

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 action.

Functions

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