QueryOptions

class QueryOptions(val extras: Map<String, String> = emptyMap(), val customEndpoint: Uri? = null, val trackingId: String? = null)

Options related to the API request.

Parameters

extras

A collection of key-value pairs that should be included in the request.

customEndpoint

The server to send the request to.

trackingId

An ID for tracking this request. The value should be unique for each session. The value must match the regular expression '^a-zA-Z0-9-_\.{1,100}$'.

Constructors

Link copied to clipboard
constructor(extras: Map<String, String> = emptyMap(), customEndpoint: Uri? = null, trackingId: String? = null)

Properties

Link copied to clipboard
val customEndpoint: Uri? = null
Link copied to clipboard
Link copied to clipboard
val trackingId: String? = null

Functions

Link copied to clipboard
operator fun component1(): Map<String, String>
Link copied to clipboard
operator fun component2(): Uri?
Link copied to clipboard
operator fun component3(): String?
Link copied to clipboard
fun copy(extras: Map<String, String>, customEndpoint: Uri?, trackingId: String?): QueryOptions
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String