Json Object Api Action
class JsonObjectApiAction<M : PenicillinModel>( val client: ApiClient, val request: ApiRequest, val converter: (JsonObject) -> M) : JsonRequest<M> , ApiAction<JsonObjectResponse<M>>
Content copied to clipboard
The ApiAction that provides parsed json object with json model.
Constructors
Link copied to clipboard
fun <M : PenicillinModel> JsonObjectApiAction( client: ApiClient, request: ApiRequest, converter: (JsonObject) -> M)
Content copied to clipboard
Functions
Link copied to clipboard
Executes ApiAction and returns its result. This function is suspendable.