Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
data class AptosRequestOptions(val aptosConfig: AptosConfig, var type: AptosApiType, val originMethod: String, val path: String, val contentType: MimeType = MimeType.JSON, val acceptType: MimeType = MimeType.JSON, val params: Map<String, Any?>? = null, val overrides: ClientConfig? = null) : RequestOptions
Link copied to clipboard
data class GetAptosRequestOptions(val aptosConfig: AptosConfig, val originMethod: String, val path: String, val contentType: MimeType = MimeType.JSON, val acceptType: MimeType = MimeType.JSON, val params: Map<String, Any?>? = null, val overrides: ClientConfig? = null) : RequestOptions
Link copied to clipboard
data class PostAptosRequestOptions<T>(val aptosConfig: AptosConfig, val originMethod: String, val path: String, val contentType: MimeType = MimeType.JSON, val acceptType: MimeType = MimeType.JSON, val params: Map<String, Any?>? = null, var body: T? = null, val overrides: ClientConfig? = null) : RequestOptions
Link copied to clipboard
data class PostRequestOptions<T>(val aptosConfig: AptosConfig, var type: AptosApiType, val originMethod: String, val path: String, val contentType: MimeType = MimeType.JSON, val acceptType: MimeType = MimeType.JSON, val params: Map<String, Any?>? = null, var body: T? = null, val overrides: ClientConfig? = null) : RequestOptions

Properties

Link copied to clipboard
abstract val acceptType: MimeType

The accepted content type of the response of the API

Link copied to clipboard
abstract val aptosConfig: AptosConfig

The config for the API client

Link copied to clipboard
abstract val contentType: MimeType

The content type of the request body

Link copied to clipboard
abstract val originMethod: String

The name of the API method

Link copied to clipboard
abstract val overrides: ClientConfig?

Specific client overrides for this request to override aptosConfig

Link copied to clipboard
abstract val params: Map<String, Any?>?

The query parameters for the request

Link copied to clipboard
abstract val path: String

The URL path to the API method