meson-wrap / ai.meson.sdk / BidResponse

BidResponse

class BidResponse

Bid response - As a result of fetching the bid from Meson server, the response is encapsulated in the below class with appropriate input

Constructors

<init>

BidResponse(bidInfo: JSONObject?, errorMessage: String?)

Create Bid response with the above two properties

Properties

bidInfo

val bidInfo: JSONObject?
  • Actual response received from Meson Server in case of server returning 200.

errorMessage

val errorMessage: String?
  • Reason of failure as Meson Server responded with 204 or any other eror codes