bitly-shorten/docs/net.thauvin.erik.bitly/-call-response/index.md

1.2 KiB

docs / net.thauvin.erik.bitly / CallResponse

CallResponse

data class CallResponse (source)

Provides a data class to hold the JSON response.

Constructors

Name Summary
<init> Provides a data class to hold the JSON response.CallResponse(body: String= Constants.EMPTY_JSON, resultCode:Int = -1)

Properties

Name Summary
body var body: String
isSuccessful val isSuccessful: Boolean
resultCode var resultCode: Int

Functions

Name Summary
toJson fun toJson(): JSONObject