Package-level declarations

Types

Link copied to clipboard
@Serializable
data class BasicResponse<T>(val invocationInfo: InvocationInfo, _result: T? = null, _error: Error? = null)
Link copied to clipboard
@Serializable
data class Error(val type: ErrorType, val message: String)
Link copied to clipboard
@Serializable
enum ErrorType : Enum<ErrorType>
Link copied to clipboard
@Serializable
data class Icon(val backgroundColor: String, val imageUrl: String)
Link copied to clipboard
@Serializable
data class InvocationInfo(val hostName: String, val reqId: String, val execMillis: Int = 0)
Link copied to clipboard
Link copied to clipboard
@Serializable
data class PermissionAlerts(val alerts: List<String>)
Link copied to clipboard
@Serializable
data class Revision(val revision: Int)
Link copied to clipboard
@Serializable
data class UserInfo(val id: String, val clientId: String, val login: String, val displayName: String, val realName: String, val firstName: String, val lastName: String, val sex: String? = null, val defaultEmail: String, val emails: List<String>, val birthday: String, val defaultAvatarId: String, val isAvatarEmpty: Boolean, val psuid: String)
Link copied to clipboard
@Serializable
data class Video(val title: String, val cover: String? = null, val embedUrl: String? = null, val provider: VideoProvider, val providerVideoId: String? = null, val youtubeUrl: String? = null, val thumbnailUrl: String? = null, val duration: Int? = null, val text: String? = null, val htmlAutoPlayVideoPlayer: String? = null, val regions: List<String>? = null)

Properties

Link copied to clipboard
val errorTypeToException: <Error class: unknown class><ErrorType?, (String) -> Unit>