Class ExecuteDefaultPolicyWithInputRequest
- java.lang.Object
-
- com.styra.opa.openapi.models.operations.ExecuteDefaultPolicyWithInputRequest
-
public class ExecuteDefaultPolicyWithInputRequest extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ExecuteDefaultPolicyWithInputRequest.Builder
-
Constructor Summary
Constructors Constructor Description ExecuteDefaultPolicyWithInputRequest(Input input)
ExecuteDefaultPolicyWithInputRequest(java.util.Optional<java.lang.Boolean> pretty, java.util.Optional<? extends GzipAcceptEncoding> acceptEncoding, Input input)
-
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 ExecuteDefaultPolicyWithInputRequest.Builder
builder()
boolean
equals(java.lang.Object o)
int
hashCode()
Input
input()
The input documentjava.util.Optional<java.lang.Boolean>
pretty()
If parameter is `true`, response will formatted for humans.java.lang.String
toString()
ExecuteDefaultPolicyWithInputRequest
withAcceptEncoding(GzipAcceptEncoding acceptEncoding)
Indicates the server should respond with a gzip encoded body.ExecuteDefaultPolicyWithInputRequest
withAcceptEncoding(java.util.Optional<? extends GzipAcceptEncoding> acceptEncoding)
Indicates the server should respond with a gzip encoded body.ExecuteDefaultPolicyWithInputRequest
withInput(Input input)
The input documentExecuteDefaultPolicyWithInputRequest
withPretty(boolean pretty)
If parameter is `true`, response will formatted for humans.ExecuteDefaultPolicyWithInputRequest
withPretty(java.util.Optional<java.lang.Boolean> pretty)
If parameter is `true`, response will formatted for humans.
-
-
-
Constructor Detail
-
ExecuteDefaultPolicyWithInputRequest
public ExecuteDefaultPolicyWithInputRequest(java.util.Optional<java.lang.Boolean> pretty, java.util.Optional<? extends GzipAcceptEncoding> acceptEncoding, Input input)
-
ExecuteDefaultPolicyWithInputRequest
public ExecuteDefaultPolicyWithInputRequest(Input input)
-
-
Method Detail
-
pretty
public java.util.Optional<java.lang.Boolean> pretty()
If parameter is `true`, response will formatted for humans.
-
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
-
input
public Input input()
The input document
-
builder
public static final ExecuteDefaultPolicyWithInputRequest.Builder builder()
-
withPretty
public ExecuteDefaultPolicyWithInputRequest withPretty(boolean pretty)
If parameter is `true`, response will formatted for humans.
-
withPretty
public ExecuteDefaultPolicyWithInputRequest withPretty(java.util.Optional<java.lang.Boolean> pretty)
If parameter is `true`, response will formatted for humans.
-
withAcceptEncoding
public ExecuteDefaultPolicyWithInputRequest 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 ExecuteDefaultPolicyWithInputRequest 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
-
withInput
public ExecuteDefaultPolicyWithInputRequest withInput(Input input)
The input document
-
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
-
-