CallResponse

data class CallResponse(body: String, resultCode: Int)

Provides a data class to hold the JSON response.

Constructors

CallResponse
Link copied to clipboard
fun CallResponse(body: String = Constants.EMPTY_JSON, resultCode: Int = -1)

Properties

body
Link copied to clipboard
var body: String
isSuccessful
Link copied to clipboard
val isSuccessful: Boolean
resultCode
Link copied to clipboard
var resultCode: Int