Class ExecuteBatchPolicyWithInputRequest.Builder
java.lang.Object
com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequest.Builder
- Enclosing class:
- ExecuteBatchPolicyWithInputRequest
-
Method Summary
Modifier and TypeMethodDescriptionacceptEncoding
(GzipAcceptEncoding acceptEncoding) Indicates the server should respond with a gzip encoded body.acceptEncoding
(Optional<? extends GzipAcceptEncoding> acceptEncoding) Indicates the server should respond with a gzip encoded body.build()
contentEncoding
(GzipContentEncoding contentEncoding) Indicates that the request body is gzip encodedcontentEncoding
(Optional<? extends GzipContentEncoding> contentEncoding) Indicates that the request body is gzip encodedReturn query explanation in addition to result.Return query explanation in addition to result.instrument
(boolean instrument) Instrument query evaluation and return a superset of performance metrics in addition to result.instrument
(Optional<Boolean> instrument) Instrument query evaluation and return a superset of performance metrics in addition to result.metrics
(boolean metrics) Return query performance metrics in addition to result.Return query performance metrics in addition to result.The path separator is used to access values inside object and array documents.pretty
(boolean pretty) If parameter is `true`, response will formatted for humans.If parameter is `true`, response will formatted for humans.provenance
(boolean provenance) If parameter is true, response will include build/version info in addition to the result.provenance
(Optional<Boolean> provenance) If parameter is true, response will include build/version info in addition to the result.requestBody
(ExecuteBatchPolicyWithInputRequestBody requestBody) The batch of inputsstrictBuiltinErrors
(boolean strictBuiltinErrors) Treat built-in function call errors as fatal and return an error immediately.strictBuiltinErrors
(Optional<Boolean> strictBuiltinErrors) Treat built-in function call errors as fatal and return an error immediately.
-
Method Details
-
path
The path separator is used to access values inside object and array documents. If the path indexes into an array, the server will attempt to convert the array index to an integer. If the path element cannot be converted to an integer, the server will respond with 404. -
contentEncoding
public ExecuteBatchPolicyWithInputRequest.Builder contentEncoding(Optional<? extends GzipContentEncoding> contentEncoding) Indicates that the request body is gzip encoded -
acceptEncoding
public ExecuteBatchPolicyWithInputRequest.Builder acceptEncoding(Optional<? extends GzipAcceptEncoding> acceptEncoding) Indicates the server should respond with a gzip encoded body. The server will send the compressed response only if its length is above `server.encoding.gzip.min_length` value. See the configuration section -
pretty
If parameter is `true`, response will formatted for humans. -
pretty
If parameter is `true`, response will formatted for humans. -
provenance
If parameter is true, response will include build/version info in addition to the result. -
provenance
If parameter is true, response will include build/version info in addition to the result. -
explain
Return query explanation in addition to result. -
metrics
Return query performance metrics in addition to result. -
metrics
Return query performance metrics in addition to result. -
instrument
Instrument query evaluation and return a superset of performance metrics in addition to result. -
instrument
Instrument query evaluation and return a superset of performance metrics in addition to result. -
strictBuiltinErrors
Treat built-in function call errors as fatal and return an error immediately. -
strictBuiltinErrors
public ExecuteBatchPolicyWithInputRequest.Builder strictBuiltinErrors(Optional<Boolean> strictBuiltinErrors) Treat built-in function call errors as fatal and return an error immediately. -
requestBody
public ExecuteBatchPolicyWithInputRequest.Builder requestBody(ExecuteBatchPolicyWithInputRequestBody requestBody) The batch of inputs -
build
-