ApiBatchRequestElement

Properties

Name Type Description Notes
method HTTPMethod The type of request (e.g. POST, GET, etc.). [optional]
url String The URL of the request. Must not have a scheme, host, or port. The path should be prefixed with "/api/", and should include path and query parameters. [optional]
body Object Optional body of the request. Must be serialized in accordance with #getContentType(). For application/json, use com.cloudera.api.ApiObjectMapper. [optional]
contentType String Content-Type header of the request element. If unset, the element will be treated as if the wildcard type had been specified unless it has a body, in which case it will fall back to application/json. [optional]
acceptType String Accept header of the request element. The response body (if it exists) will be in this representation. If unset, the element will be treated as if the wildcard type had been requested. [optional]