PremiumSearchJsonObjectApiAction

class PremiumSearchJsonObjectApiAction<M : PremiumSearchModel>(    val client: ApiClient,     val request: ApiRequest,     val converter: (JsonObject) -> M,     val environment: PremiumSearchEnvironment) : JsonRequest<M> , ApiAction<PremiumSearchJsonObjectResponse<M>>

The ApiAction that provides parsed json array with json model. This class supports premium search api operations.

Constructors

Link copied to clipboard
fun <M : PremiumSearchModel> PremiumSearchJsonObjectApiAction(    client: ApiClient,     request: ApiRequest,     converter: (JsonObject) -> M,     environment: PremiumSearchEnvironment)

Functions

Link copied to clipboard
open suspend override fun execute(): PremiumSearchJsonObjectResponse<M>

Executes ApiAction and returns its result. This function is suspendable.

Properties

Link copied to clipboard
open override val client: ApiClient

Current ApiClient instance.

Link copied to clipboard
open override val converter: (JsonObject) -> M

Json model converter.

Link copied to clipboard
val environment: PremiumSearchEnvironment

PremiumSearchEnvironment which will be used to acquire this response.

Link copied to clipboard
open override val request: ApiRequest

Current lazy ApiRequest instance.