//core/com.petersamokhin.vksdk.core.model
Package com.petersamokhin.vksdk.core.model¶
Types¶
Name | Summary |
---|---|
VkAccessTokenResponse | [common] data class VkAccessTokenResponse(accessToken: String?, expiresIn: Int?, userId: Int?, error: String?, errorDescription: String?) VK access token response e.g. |
VkLongPollServerResponse | [common] data class VkLongPollServerResponse(key: String, server: String, ts: String) VK Long Poll server info for the first call, or after an error. |
VkResponse | [common] data class VkResponse Base VK response |
VkResponseError | [common] data class VkResponseError(errorCode: Int?, errorMsg: String?) Default error when calling VK API |
VkResponseTypedSerializer | [common] class VkResponseTypedSerializer<T : Any>(responseSerializer: KSerializer<T>) : KSerializer<VkResponse<T>> Class with generics requires this awful manual serializer. |
VkSettings | [common] data class VkSettings@JvmOverloads()constructor(httpClient: HttpClient, apiVersion: String, defaultParams: Parameters, maxExecuteRequestsPerSecond: Int, backgroundDispatcher: CoroutineDispatcher, json: Json) Settings |