Class ExecutePolicyWithInputRequest
java.lang.Object
com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequest
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionExecutePolicyWithInputRequest
(String path, ExecutePolicyWithInputRequestBody requestBody) ExecutePolicyWithInputRequest
(String path, Optional<? extends GzipContentEncoding> contentEncoding, Optional<? extends GzipAcceptEncoding> acceptEncoding, Optional<Boolean> pretty, Optional<Boolean> provenance, Optional<? extends Explain> explain, Optional<Boolean> metrics, Optional<Boolean> instrument, Optional<Boolean> strictBuiltinErrors, ExecutePolicyWithInputRequestBody requestBody) -
Method Summary
Modifier and TypeMethodDescriptionIndicates the server should respond with a gzip encoded body.static final ExecutePolicyWithInputRequest.Builder
builder()
Indicates that the request body is gzip encodedboolean
explain()
Return query explanation in addition to result.int
hashCode()
Instrument query evaluation and return a superset of performance metrics in addition to result.metrics()
Return query performance metrics in addition to result.path()
The path separator is used to access values inside object and array documents.pretty()
If parameter is `true`, response will formatted for humans.If parameter is true, response will include build/version info in addition to the result.The input documentTreat built-in function call errors as fatal and return an error immediately.toString()
withAcceptEncoding
(GzipAcceptEncoding acceptEncoding) Indicates the server should respond with a gzip encoded body.withAcceptEncoding
(Optional<? extends GzipAcceptEncoding> acceptEncoding) Indicates the server should respond with a gzip encoded body.withContentEncoding
(GzipContentEncoding contentEncoding) Indicates that the request body is gzip encodedwithContentEncoding
(Optional<? extends GzipContentEncoding> contentEncoding) Indicates that the request body is gzip encodedwithExplain
(Explain explain) Return query explanation in addition to result.withExplain
(Optional<? extends Explain> explain) Return query explanation in addition to result.withInstrument
(boolean instrument) Instrument query evaluation and return a superset of performance metrics in addition to result.withInstrument
(Optional<Boolean> instrument) Instrument query evaluation and return a superset of performance metrics in addition to result.withMetrics
(boolean metrics) Return query performance metrics in addition to result.withMetrics
(Optional<Boolean> metrics) Return query performance metrics in addition to result.The path separator is used to access values inside object and array documents.withPretty
(boolean pretty) If parameter is `true`, response will formatted for humans.withPretty
(Optional<Boolean> pretty) If parameter is `true`, response will formatted for humans.withProvenance
(boolean provenance) If parameter is true, response will include build/version info in addition to the result.withProvenance
(Optional<Boolean> provenance) If parameter is true, response will include build/version info in addition to the result.withRequestBody
(ExecutePolicyWithInputRequestBody requestBody) The input documentwithStrictBuiltinErrors
(boolean strictBuiltinErrors) Treat built-in function call errors as fatal and return an error immediately.withStrictBuiltinErrors
(Optional<Boolean> strictBuiltinErrors) Treat built-in function call errors as fatal and return an error immediately.
-
Constructor Details
-
ExecutePolicyWithInputRequest
public ExecutePolicyWithInputRequest(String path, Optional<? extends GzipContentEncoding> contentEncoding, Optional<? extends GzipAcceptEncoding> acceptEncoding, Optional<Boolean> pretty, Optional<Boolean> provenance, Optional<? extends Explain> explain, Optional<Boolean> metrics, Optional<Boolean> instrument, Optional<Boolean> strictBuiltinErrors, ExecutePolicyWithInputRequestBody requestBody) -
ExecutePolicyWithInputRequest
-
-
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
Indicates that the request body is gzip encoded -
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. -
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. -
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. -
requestBody
The input document -
builder
-
withPath
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. -
withContentEncoding
public ExecutePolicyWithInputRequest withContentEncoding(Optional<? extends GzipContentEncoding> contentEncoding) Indicates that the request body is gzip encoded -
withAcceptEncoding
public ExecutePolicyWithInputRequest withAcceptEncoding(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 -
withPretty
If parameter is `true`, response will formatted for humans. -
withPretty
If parameter is `true`, response will formatted for humans. -
withProvenance
If parameter is true, response will include build/version info in addition to the result. -
withProvenance
If parameter is true, response will include build/version info in addition to the result. -
withExplain
Return query explanation in addition to result. -
withMetrics
Return query performance metrics in addition to result. -
withMetrics
Return query performance metrics in addition to result. -
withInstrument
Instrument query evaluation and return a superset of performance metrics in addition to result. -
withInstrument
Instrument query evaluation and return a superset of performance metrics in addition to result. -
withStrictBuiltinErrors
Treat built-in function call errors as fatal and return an error immediately. -
withStrictBuiltinErrors
Treat built-in function call errors as fatal and return an error immediately. -
withRequestBody
The input document -
equals
-
hashCode
public int hashCode() -
toString
-