Class ExecutePolicyRequest
java.lang.Object
com.styra.opa.openapi.models.operations.ExecutePolicyRequest
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionExecutePolicyRequest
(String path) ExecutePolicyRequest
(String path, Optional<? extends GzipAcceptEncoding> acceptEncoding, Optional<Boolean> pretty, Optional<Boolean> provenance, Optional<? extends Explain> explain, Optional<Boolean> metrics, Optional<Boolean> instrument, Optional<Boolean> strictBuiltinErrors) -
Method Summary
Modifier and TypeMethodDescriptionIndicates the server should respond with a gzip encoded body.static final ExecutePolicyRequest.Builder
builder()
boolean
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.Treat 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.withExplain
(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.withStrictBuiltinErrors
(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
-
ExecutePolicyRequest
-
ExecutePolicyRequest
-
-
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. -
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. -
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. -
withAcceptEncoding
public ExecutePolicyRequest 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. -
equals
-
hashCode
public int hashCode() -
toString
-