Class ExecuteBatchPolicyWithInputResponse
java.lang.Object
com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputResponse
- All Implemented Interfaces:
Response
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionExecuteBatchPolicyWithInputResponse(String contentType, int statusCode, HttpResponse<InputStream> rawResponse, Map<String, List<String>> headers) ExecuteBatchPolicyWithInputResponse(String contentType, int statusCode, HttpResponse<InputStream> rawResponse, Optional<? extends BatchSuccessfulPolicyEvaluation> batchSuccessfulPolicyEvaluation, Optional<? extends BatchMixedResults> batchMixedResults, Map<String, List<String>> headers) -
Method Summary
Modifier and TypeMethodDescriptionMixed success and failures.All batched policy executions succeeded.static final ExecuteBatchPolicyWithInputResponse.Builderbuilder()HTTP response content type for this operationbooleaninthashCode()headers()Raw HTTP response; suitable for custom response parsingintHTTP response status code for this operationtoString()withBatchMixedResults(BatchMixedResults batchMixedResults) Mixed success and failures.withBatchMixedResults(Optional<? extends BatchMixedResults> batchMixedResults) Mixed success and failures.withBatchSuccessfulPolicyEvaluation(BatchSuccessfulPolicyEvaluation batchSuccessfulPolicyEvaluation) All batched policy executions succeeded.withBatchSuccessfulPolicyEvaluation(Optional<? extends BatchSuccessfulPolicyEvaluation> batchSuccessfulPolicyEvaluation) All batched policy executions succeeded.withContentType(String contentType) HTTP response content type for this operationwithHeaders(Map<String, List<String>> headers) withRawResponse(HttpResponse<InputStream> rawResponse) Raw HTTP response; suitable for custom response parsingwithStatusCode(int statusCode) HTTP response status code for this operation
-
Constructor Details
-
ExecuteBatchPolicyWithInputResponse
public ExecuteBatchPolicyWithInputResponse(String contentType, int statusCode, HttpResponse<InputStream> rawResponse, Optional<? extends BatchSuccessfulPolicyEvaluation> batchSuccessfulPolicyEvaluation, Optional<? extends BatchMixedResults> batchMixedResults, Map<String, List<String>> headers) -
ExecuteBatchPolicyWithInputResponse
public ExecuteBatchPolicyWithInputResponse(String contentType, int statusCode, HttpResponse<InputStream> rawResponse, Map<String, List<String>> headers)
-
-
Method Details
-
contentType
HTTP response content type for this operation- Specified by:
contentTypein interfaceResponse
-
statusCode
public int statusCode()HTTP response status code for this operation- Specified by:
statusCodein interfaceResponse
-
rawResponse
Raw HTTP response; suitable for custom response parsing- Specified by:
rawResponsein interfaceResponse
-
batchSuccessfulPolicyEvaluation
All batched policy executions succeeded. The server also returns 200 if the path refers to an undefined document. In this case, responses will be empty. -
batchMixedResults
Mixed success and failures. -
headers
-
builder
-
withContentType
HTTP response content type for this operation -
withStatusCode
HTTP response status code for this operation -
withRawResponse
Raw HTTP response; suitable for custom response parsing -
withBatchSuccessfulPolicyEvaluation
public ExecuteBatchPolicyWithInputResponse withBatchSuccessfulPolicyEvaluation(Optional<? extends BatchSuccessfulPolicyEvaluation> batchSuccessfulPolicyEvaluation) All batched policy executions succeeded. The server also returns 200 if the path refers to an undefined document. In this case, responses will be empty. -
withBatchMixedResults
public ExecuteBatchPolicyWithInputResponse withBatchMixedResults(Optional<? extends BatchMixedResults> batchMixedResults) Mixed success and failures. -
withHeaders
-
equals
-
hashCode
public int hashCode() -
toString
-