Class ExecutePolicyWithInputResponse
- java.lang.Object
-
- com.styra.opa.openapi.models.operations.ExecutePolicyWithInputResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ExecutePolicyWithInputResponse.Builder
-
Constructor Summary
Constructors Constructor Description ExecutePolicyWithInputResponse(java.lang.String contentType, int statusCode, java.net.http.HttpResponse<java.io.InputStream> rawResponse, java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
ExecutePolicyWithInputResponse(java.lang.String contentType, int statusCode, java.net.http.HttpResponse<java.io.InputStream> rawResponse, java.util.Optional<? extends SuccessfulPolicyResponse> successfulPolicyResponse, java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExecutePolicyWithInputResponse.Builder
builder()
java.lang.String
contentType()
HTTP response content type for this operationboolean
equals(java.lang.Object o)
int
hashCode()
java.util.Map<java.lang.String,java.util.List<java.lang.String>>
headers()
java.net.http.HttpResponse<java.io.InputStream>
rawResponse()
Raw HTTP response; suitable for custom response parsingint
statusCode()
HTTP response status code for this operationjava.util.Optional<SuccessfulPolicyResponse>
successfulPolicyResponse()
Success.java.lang.String
toString()
ExecutePolicyWithInputResponse
withContentType(java.lang.String contentType)
HTTP response content type for this operationExecutePolicyWithInputResponse
withHeaders(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
ExecutePolicyWithInputResponse
withRawResponse(java.net.http.HttpResponse<java.io.InputStream> rawResponse)
Raw HTTP response; suitable for custom response parsingExecutePolicyWithInputResponse
withStatusCode(int statusCode)
HTTP response status code for this operationExecutePolicyWithInputResponse
withSuccessfulPolicyResponse(SuccessfulPolicyResponse successfulPolicyResponse)
Success.ExecutePolicyWithInputResponse
withSuccessfulPolicyResponse(java.util.Optional<? extends SuccessfulPolicyResponse> successfulPolicyResponse)
Success.
-
-
-
Constructor Detail
-
ExecutePolicyWithInputResponse
public ExecutePolicyWithInputResponse(java.lang.String contentType, int statusCode, java.net.http.HttpResponse<java.io.InputStream> rawResponse, java.util.Optional<? extends SuccessfulPolicyResponse> successfulPolicyResponse, java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
-
ExecutePolicyWithInputResponse
public ExecutePolicyWithInputResponse(java.lang.String contentType, int statusCode, java.net.http.HttpResponse<java.io.InputStream> rawResponse, java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
-
-
Method Detail
-
contentType
public java.lang.String contentType()
HTTP response content type for this operation- Specified by:
contentType
in interfaceResponse
-
statusCode
public int statusCode()
HTTP response status code for this operation- Specified by:
statusCode
in interfaceResponse
-
rawResponse
public java.net.http.HttpResponse<java.io.InputStream> rawResponse()
Raw HTTP response; suitable for custom response parsing- Specified by:
rawResponse
in interfaceResponse
-
successfulPolicyResponse
public java.util.Optional<SuccessfulPolicyResponse> successfulPolicyResponse()
Success. The server also returns 200 if the path refers to an undefined document. In this case, the response will not contain a result property.
-
headers
public java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers()
-
builder
public static final ExecutePolicyWithInputResponse.Builder builder()
-
withContentType
public ExecutePolicyWithInputResponse withContentType(java.lang.String contentType)
HTTP response content type for this operation
-
withStatusCode
public ExecutePolicyWithInputResponse withStatusCode(int statusCode)
HTTP response status code for this operation
-
withRawResponse
public ExecutePolicyWithInputResponse withRawResponse(java.net.http.HttpResponse<java.io.InputStream> rawResponse)
Raw HTTP response; suitable for custom response parsing
-
withSuccessfulPolicyResponse
public ExecutePolicyWithInputResponse withSuccessfulPolicyResponse(SuccessfulPolicyResponse successfulPolicyResponse)
Success. The server also returns 200 if the path refers to an undefined document. In this case, the response will not contain a result property.
-
withSuccessfulPolicyResponse
public ExecutePolicyWithInputResponse withSuccessfulPolicyResponse(java.util.Optional<? extends SuccessfulPolicyResponse> successfulPolicyResponse)
Success. The server also returns 200 if the path refers to an undefined document. In this case, the response will not contain a result property.
-
withHeaders
public ExecutePolicyWithInputResponse withHeaders(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
-
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
-
-