CallResponse

data class CallResponse(val body: String = Constants.EMPTY_JSON, val message: String = "", val description: String = "", val statusCode: Int = -1)(source)

Provides a data class to hold the JSON response.

Parameters

body

The response body.

message

Bitly error message, if any.

description

Bitly error description, if any.

statusCode

HTTP status code,

Constructors

Link copied to clipboard
constructor(body: String = Constants.EMPTY_JSON, message: String = "", description: String = "", statusCode: Int = -1)

Properties

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
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
Link copied to clipboard