BulkRequest

class BulkRequest<ResultT>(val method: Method, val path: String, val parameters: Parameters = emptyMap(), val body: List<Serializer.ObjectCtx>, val serde: Serde.OneLineJson, val processResponse: (ApiResponse) -> ResultT) : Request<List<Serializer.ObjectCtx>, ApiResponse, ResultT>

Constructors

Link copied to clipboard
fun <ResultT> BulkRequest(method: Method, path: String, parameters: Parameters = emptyMap(), body: List<Serializer.ObjectCtx>, serde: Serde.OneLineJson, processResponse: (ApiResponse) -> ResultT)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun deserializeResponse(response: PlainResponse): ApiResponse
Link copied to clipboard
open override fun serializeRequest(encoder: ContentEncoder)

Properties

Link copied to clipboard
open override val acceptContentType: String
Link copied to clipboard
open override val body: List<Serializer.ObjectCtx>
Link copied to clipboard
open override val contentType: String
Link copied to clipboard
open override val errorSerde: Serde.OneLineJson
Link copied to clipboard
open override val method: Method
Link copied to clipboard
open override val parameters: Parameters
Link copied to clipboard
open override val path: String
Link copied to clipboard
open override val processResponse: (ApiResponse) -> ResultT
Link copied to clipboard