OwnUser

data class OwnUser(@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?>, @Json(name = "devices") val devices: List<Device>, @Json(name = "id") val id: String, @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 = "total_unread_count") val totalUnreadCount: Int, @Json(name = "unread_channels") val unreadChannels: Int, @Json(name = "unread_count") val unreadCount: Int, @Json(name = "unread_threads") val unreadThreads: Int, @Json(name = "updated_at") val updatedAt: OffsetDateTime, @Json(name = "blocked_user_ids") val blockedUserIds: List<String>? = null, @Json(name = "deactivated_at") val deactivatedAt: OffsetDateTime? = null, @Json(name = "deleted_at") val deletedAt: OffsetDateTime? = null, @Json(name = "invisible") val invisible: Boolean? = null, @Json(name = "last_active") val lastActive: OffsetDateTime? = null, @Json(name = "latest_hidden_channels") val latestHiddenChannels: List<String>? = null, @Json(name = "privacy_settings") val privacySettings: PrivacySettings? = null, @Json(name = "push_notifications") val pushNotifications: PushNotificationSettings? = null, @Json(name = "teams") val teams: List<String>? = null)

Parameters

banned
channelMutes
createdAt
custom
devices
id
language
mutes
online
role
totalUnreadCount
unreadChannels
unreadCount
unreadThreads
updatedAt
blockedUserIds
deactivatedAt
deletedAt
invisible
lastActive
latestHiddenChannels
privacySettings
pushNotifications
teams

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?>, @Json(name = "devices") devices: List<Device>, @Json(name = "id") id: String, @Json(name = "language") language: String, @Json(name = "mutes") mutes: List<UserMute>, @Json(name = "online") online: Boolean, @Json(name = "role") role: String, @Json(name = "total_unread_count") totalUnreadCount: Int, @Json(name = "unread_channels") unreadChannels: Int, @Json(name = "unread_count") unreadCount: Int, @Json(name = "unread_threads") unreadThreads: Int, @Json(name = "updated_at") updatedAt: OffsetDateTime, @Json(name = "blocked_user_ids") blockedUserIds: List<String>? = null, @Json(name = "deactivated_at") deactivatedAt: OffsetDateTime? = null, @Json(name = "deleted_at") deletedAt: OffsetDateTime? = null, @Json(name = "invisible") invisible: Boolean? = null, @Json(name = "last_active") lastActive: OffsetDateTime? = null, @Json(name = "latest_hidden_channels") latestHiddenChannels: List<String>? = null, @Json(name = "privacy_settings") privacySettings: PrivacySettings? = null, @Json(name = "push_notifications") pushNotifications: PushNotificationSettings? = null, @Json(name = "teams") teams: List<String>? = null)

Properties

Link copied to clipboard
Link copied to clipboard
val blockedUserIds: List<String>? = null
Link copied to clipboard
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
Link copied to clipboard
val id: String
Link copied to clipboard
val invisible: Boolean? = null
Link copied to clipboard
Link copied to clipboard
val lastActive: OffsetDateTime? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val teams: List<String>? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val updatedAt: OffsetDateTime