OwnUserResponse
data class OwnUserResponse(@Json(name = "banned") val banned: Boolean, @Json(name = "channel_mutes") val channelMutes: List<ChannelMute>, @Json(name = "created_at") val createdAt: OffsetDateTime, @Json(name = "custom") val custom: Map<String, Any?> = emptyMap(), @Json(name = "devices") val devices: List<Device>, @Json(name = "id") val id: String, @Json(name = "invisible") val invisible: Boolean, @Json(name = "language") val language: String, @Json(name = "mutes") val mutes: List<UserMute>, @Json(name = "online") val online: Boolean, @Json(name = "role") val role: String, @Json(name = "teams") val teams: List<String>, @Json(name = "total_unread_count") val totalUnreadCount: Int, @Json(name = "unread_channels") val unreadChannels: Int, @Json(name = "unread_threads") val unreadThreads: Int, @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 = "latest_hidden_channels") val latestHiddenChannels: List<String>? = null, @Json(name = "name") val name: String? = null, @Json(name = "privacy_settings") val privacySettings: PrivacySettings? = null, @Json(name = "push_notifications") val pushNotifications: PushNotificationSettings? = null, @Json(name = "revoke_tokens_issued_before") val revokeTokensIssuedBefore: OffsetDateTime? = null)
Parameters
banned
channelMutes
createdAt
custom
devices
id
invisible
language
mutes
online
role
teams
totalUnreadCount
unreadChannels
unreadThreads
updatedAt
deactivatedAt
deletedAt
image
lastActive
latestHiddenChannels
name
privacySettings
pushNotifications
revokeTokensIssuedBefore
Constructors
Link copied to clipboard
constructor(@Json(name = "banned") banned: Boolean, @Json(name = "channel_mutes") channelMutes: List<ChannelMute>, @Json(name = "created_at") createdAt: OffsetDateTime, @Json(name = "custom") custom: Map<String, Any?> = emptyMap(), @Json(name = "devices") devices: List<Device>, @Json(name = "id") id: String, @Json(name = "invisible") invisible: Boolean, @Json(name = "language") language: String, @Json(name = "mutes") mutes: List<UserMute>, @Json(name = "online") online: Boolean, @Json(name = "role") role: String, @Json(name = "teams") teams: List<String>, @Json(name = "total_unread_count") totalUnreadCount: Int, @Json(name = "unread_channels") unreadChannels: Int, @Json(name = "unread_threads") unreadThreads: Int, @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 = "latest_hidden_channels") latestHiddenChannels: List<String>? = null, @Json(name = "name") name: String? = null, @Json(name = "privacy_settings") privacySettings: PrivacySettings? = null, @Json(name = "push_notifications") pushNotifications: PushNotificationSettings? = null, @Json(name = "revoke_tokens_issued_before") revokeTokensIssuedBefore: OffsetDateTime? = null)