GetRestApiResult

data class GetRestApiResult(val body: Map<String, Any>, val code: Int, val endpoint: String, val headers: Map<String, Any>, val id: String, val status: String)

A collection of values returned by getRestApi.

Constructors

Link copied to clipboard
constructor(body: Map<String, Any>, code: Int, endpoint: String, headers: Map<String, Any>, id: String, status: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

A map of response body.

Link copied to clipboard
val code: Int

A response status code.

Link copied to clipboard
Link copied to clipboard

A map of response headers.

Link copied to clipboard
val id: String

The provider-assigned unique ID for this managed resource.

Link copied to clipboard

A response status string.