UserResponse

data class UserResponse(@Json(name = "banned") val banned: Boolean = false, @Json(name = "created_at") val createdAt: OffsetDateTime, @Json(name = "custom") val custom: Map<String, Any?> = emptyMap(), @Json(name = "id") val id: String, @Json(name = "language") val language: String, @Json(name = "online") val online: Boolean, @Json(name = "role") val role: String, @Json(name = "teams") val teams: List<String>, @Json(name = "updated_at") val updatedAt: OffsetDateTime, @Json(name = "deactivated_at") val deactivatedAt: OffsetDateTime? = null, @Json(name = "deleted_at") val deletedAt: OffsetDateTime? = null, @Json(name = "image") val image: String? = null, @Json(name = "last_active") val lastActive: OffsetDateTime? = null, @Json(name = "name") val name: String? = null, @Json(name = "revoke_tokens_issued_before") val revokeTokensIssuedBefore: OffsetDateTime? = null)

Parameters

banned
createdAt

Date/time of creation

custom
id
language
online
role
teams
updatedAt

Date/time of the last update

deactivatedAt
deletedAt

Date/time of deletion

image
lastActive
name
revokeTokensIssuedBefore

Constructors

Link copied to clipboard
constructor(@Json(name = "banned") banned: Boolean = false, @Json(name = "created_at") createdAt: OffsetDateTime, @Json(name = "custom") custom: Map<String, Any?> = emptyMap(), @Json(name = "id") id: String, @Json(name = "language") language: String, @Json(name = "online") online: Boolean, @Json(name = "role") role: String, @Json(name = "teams") teams: List<String>, @Json(name = "updated_at") updatedAt: OffsetDateTime, @Json(name = "deactivated_at") deactivatedAt: OffsetDateTime? = null, @Json(name = "deleted_at") deletedAt: OffsetDateTime? = null, @Json(name = "image") image: String? = null, @Json(name = "last_active") lastActive: OffsetDateTime? = null, @Json(name = "name") name: String? = null, @Json(name = "revoke_tokens_issued_before") revokeTokensIssuedBefore: OffsetDateTime? = null)

Properties

Link copied to clipboard
val banned: Boolean = false
Link copied to clipboard
val createdAt: OffsetDateTime
Link copied to clipboard
Link copied to clipboard
val deactivatedAt: OffsetDateTime? = null
Link copied to clipboard
val deletedAt: OffsetDateTime? = null
Link copied to clipboard
val id: String
Link copied to clipboard
val image: String? = null
Link copied to clipboard
Link copied to clipboard
val lastActive: OffsetDateTime? = null
Link copied to clipboard
val name: String? = null
Link copied to clipboard
Link copied to clipboard
val revokeTokensIssuedBefore: OffsetDateTime? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val updatedAt: OffsetDateTime