Class ExecuteBatchPolicyWithInputRequest
- java.lang.Object
-
- com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequest
-
public class ExecuteBatchPolicyWithInputRequest extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ExecuteBatchPolicyWithInputRequest.Builder
-
Constructor Summary
Constructors Constructor Description ExecuteBatchPolicyWithInputRequest(java.lang.String path, ExecuteBatchPolicyWithInputRequestBody requestBody)
ExecuteBatchPolicyWithInputRequest(java.lang.String path, java.util.Optional<? extends GzipContentEncoding> contentEncoding, java.util.Optional<? extends GzipAcceptEncoding> acceptEncoding, java.util.Optional<java.lang.Boolean> pretty, java.util.Optional<java.lang.Boolean> provenance, java.util.Optional<? extends Explain> explain, java.util.Optional<java.lang.Boolean> metrics, java.util.Optional<java.lang.Boolean> instrument, java.util.Optional<java.lang.Boolean> strictBuiltinErrors, ExecuteBatchPolicyWithInputRequestBody requestBody)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<GzipAcceptEncoding>
acceptEncoding()
Indicates the server should respond with a gzip encoded body.static ExecuteBatchPolicyWithInputRequest.Builder
builder()
java.util.Optional<GzipContentEncoding>
contentEncoding()
Indicates that the request body is gzip encodedboolean
equals(java.lang.Object o)
java.util.Optional<Explain>
explain()
Return query explanation in addition to result.int
hashCode()
java.util.Optional<java.lang.Boolean>
instrument()
Instrument query evaluation and return a superset of performance metrics in addition to result.java.util.Optional<java.lang.Boolean>
metrics()
Return query performance metrics in addition to result.java.lang.String
path()
The path separator is used to access values inside object and array documents.java.util.Optional<java.lang.Boolean>
pretty()
If parameter is `true`, response will formatted for humans.java.util.Optional<java.lang.Boolean>
provenance()
If parameter is true, response will include build/version info in addition to the result.ExecuteBatchPolicyWithInputRequestBody
requestBody()
The batch of inputsjava.util.Optional<java.lang.Boolean>
strictBuiltinErrors()
Treat built-in function call errors as fatal and return an error immediately.java.lang.String
toString()
ExecuteBatchPolicyWithInputRequest
withAcceptEncoding(GzipAcceptEncoding acceptEncoding)
Indicates the server should respond with a gzip encoded body.ExecuteBatchPolicyWithInputRequest
withAcceptEncoding(java.util.Optional<? extends GzipAcceptEncoding> acceptEncoding)
Indicates the server should respond with a gzip encoded body.ExecuteBatchPolicyWithInputRequest
withContentEncoding(GzipContentEncoding contentEncoding)
Indicates that the request body is gzip encodedExecuteBatchPolicyWithInputRequest
withContentEncoding(java.util.Optional<? extends GzipContentEncoding> contentEncoding)
Indicates that the request body is gzip encodedExecuteBatchPolicyWithInputRequest
withExplain(Explain explain)
Return query explanation in addition to result.ExecuteBatchPolicyWithInputRequest
withExplain(java.util.Optional<? extends Explain> explain)
Return query explanation in addition to result.ExecuteBatchPolicyWithInputRequest
withInstrument(boolean instrument)
Instrument query evaluation and return a superset of performance metrics in addition to result.ExecuteBatchPolicyWithInputRequest
withInstrument(java.util.Optional<java.lang.Boolean> instrument)
Instrument query evaluation and return a superset of performance metrics in addition to result.ExecuteBatchPolicyWithInputRequest
withMetrics(boolean metrics)
Return query performance metrics in addition to result.ExecuteBatchPolicyWithInputRequest
withMetrics(java.util.Optional<java.lang.Boolean> metrics)
Return query performance metrics in addition to result.ExecuteBatchPolicyWithInputRequest
withPath(java.lang.String path)
The path separator is used to access values inside object and array documents.ExecuteBatchPolicyWithInputRequest
withPretty(boolean pretty)
If parameter is `true`, response will formatted for humans.ExecuteBatchPolicyWithInputRequest
withPretty(java.util.Optional<java.lang.Boolean> pretty)
If parameter is `true`, response will formatted for humans.ExecuteBatchPolicyWithInputRequest
withProvenance(boolean provenance)
If parameter is true, response will include build/version info in addition to the result.ExecuteBatchPolicyWithInputRequest
withProvenance(java.util.Optional<java.lang.Boolean> provenance)
If parameter is true, response will include build/version info in addition to the result.ExecuteBatchPolicyWithInputRequest
withRequestBody(ExecuteBatchPolicyWithInputRequestBody requestBody)
The batch of inputsExecuteBatchPolicyWithInputRequest
withStrictBuiltinErrors(boolean strictBuiltinErrors)
Treat built-in function call errors as fatal and return an error immediately.ExecuteBatchPolicyWithInputRequest
withStrictBuiltinErrors(java.util.Optional<java.lang.Boolean> strictBuiltinErrors)
Treat built-in function call errors as fatal and return an error immediately.
-
-
-
Constructor Detail
-
ExecuteBatchPolicyWithInputRequest
public ExecuteBatchPolicyWithInputRequest(java.lang.String path, java.util.Optional<? extends GzipContentEncoding> contentEncoding, java.util.Optional<? extends GzipAcceptEncoding> acceptEncoding, java.util.Optional<java.lang.Boolean> pretty, java.util.Optional<java.lang.Boolean> provenance, java.util.Optional<? extends Explain> explain, java.util.Optional<java.lang.Boolean> metrics, java.util.Optional<java.lang.Boolean> instrument, java.util.Optional<java.lang.Boolean> strictBuiltinErrors, ExecuteBatchPolicyWithInputRequestBody requestBody)
-
ExecuteBatchPolicyWithInputRequest
public ExecuteBatchPolicyWithInputRequest(java.lang.String path, ExecuteBatchPolicyWithInputRequestBody requestBody)
-
-
Method Detail
-
path
public java.lang.String 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 java.util.Optional<GzipContentEncoding> contentEncoding()
Indicates that the request body is gzip encoded
-
acceptEncoding
public java.util.Optional<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
public java.util.Optional<java.lang.Boolean> pretty()
If parameter is `true`, response will formatted for humans.
-
provenance
public java.util.Optional<java.lang.Boolean> provenance()
If parameter is true, response will include build/version info in addition to the result.
-
explain
public java.util.Optional<Explain> explain()
Return query explanation in addition to result.
-
metrics
public java.util.Optional<java.lang.Boolean> metrics()
Return query performance metrics in addition to result.
-
instrument
public java.util.Optional<java.lang.Boolean> instrument()
Instrument query evaluation and return a superset of performance metrics in addition to result.
-
strictBuiltinErrors
public java.util.Optional<java.lang.Boolean> strictBuiltinErrors()
Treat built-in function call errors as fatal and return an error immediately.
-
requestBody
public ExecuteBatchPolicyWithInputRequestBody requestBody()
The batch of inputs
-
builder
public static final ExecuteBatchPolicyWithInputRequest.Builder builder()
-
withPath
public ExecuteBatchPolicyWithInputRequest withPath(java.lang.String 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.
-
withContentEncoding
public ExecuteBatchPolicyWithInputRequest withContentEncoding(GzipContentEncoding contentEncoding)
Indicates that the request body is gzip encoded
-
withContentEncoding
public ExecuteBatchPolicyWithInputRequest withContentEncoding(java.util.Optional<? extends GzipContentEncoding> contentEncoding)
Indicates that the request body is gzip encoded
-
withAcceptEncoding
public ExecuteBatchPolicyWithInputRequest withAcceptEncoding(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
-
withAcceptEncoding
public ExecuteBatchPolicyWithInputRequest withAcceptEncoding(java.util.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
public ExecuteBatchPolicyWithInputRequest withPretty(boolean pretty)
If parameter is `true`, response will formatted for humans.
-
withPretty
public ExecuteBatchPolicyWithInputRequest withPretty(java.util.Optional<java.lang.Boolean> pretty)
If parameter is `true`, response will formatted for humans.
-
withProvenance
public ExecuteBatchPolicyWithInputRequest withProvenance(boolean provenance)
If parameter is true, response will include build/version info in addition to the result.
-
withProvenance
public ExecuteBatchPolicyWithInputRequest withProvenance(java.util.Optional<java.lang.Boolean> provenance)
If parameter is true, response will include build/version info in addition to the result.
-
withExplain
public ExecuteBatchPolicyWithInputRequest withExplain(Explain explain)
Return query explanation in addition to result.
-
withExplain
public ExecuteBatchPolicyWithInputRequest withExplain(java.util.Optional<? extends Explain> explain)
Return query explanation in addition to result.
-
withMetrics
public ExecuteBatchPolicyWithInputRequest withMetrics(boolean metrics)
Return query performance metrics in addition to result.
-
withMetrics
public ExecuteBatchPolicyWithInputRequest withMetrics(java.util.Optional<java.lang.Boolean> metrics)
Return query performance metrics in addition to result.
-
withInstrument
public ExecuteBatchPolicyWithInputRequest withInstrument(boolean instrument)
Instrument query evaluation and return a superset of performance metrics in addition to result.
-
withInstrument
public ExecuteBatchPolicyWithInputRequest withInstrument(java.util.Optional<java.lang.Boolean> instrument)
Instrument query evaluation and return a superset of performance metrics in addition to result.
-
withStrictBuiltinErrors
public ExecuteBatchPolicyWithInputRequest withStrictBuiltinErrors(boolean strictBuiltinErrors)
Treat built-in function call errors as fatal and return an error immediately.
-
withStrictBuiltinErrors
public ExecuteBatchPolicyWithInputRequest withStrictBuiltinErrors(java.util.Optional<java.lang.Boolean> strictBuiltinErrors)
Treat built-in function call errors as fatal and return an error immediately.
-
withRequestBody
public ExecuteBatchPolicyWithInputRequest withRequestBody(ExecuteBatchPolicyWithInputRequestBody requestBody)
The batch of inputs
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-