SuccessResponse

data class SuccessResponse(val response: Map<String, Any>? = null, val successCode: Int = -1, val rawResponse: String? = null) : VGSResponse

A successful response from the VGS server.

Parameters

response

The response body as a map. @suppress

rawResponse

The raw response body as a string. @suppress

successCode

The HTTP response code.

Constructors

Link copied to clipboard
constructor(response: Map<String, Any>? = null, successCode: Int = -1, rawResponse: String? = null)

Properties

Link copied to clipboard
val body: String?
Link copied to clipboard
val code: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun toString(): String