Class ExecuteBatchPolicyWithInputResponse.Builder
java.lang.Object
com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputResponse.Builder
- Enclosing class:
- ExecuteBatchPolicyWithInputResponse
-
Method Summary
Modifier and TypeMethodDescriptionbatchMixedResults
(BatchMixedResults batchMixedResults) Mixed success and failures.batchMixedResults
(Optional<? extends BatchMixedResults> batchMixedResults) Mixed success and failures.batchSuccessfulPolicyEvaluation
(BatchSuccessfulPolicyEvaluation batchSuccessfulPolicyEvaluation) All batched policy executions succeeded.batchSuccessfulPolicyEvaluation
(Optional<? extends BatchSuccessfulPolicyEvaluation> batchSuccessfulPolicyEvaluation) All batched policy executions succeeded.build()
contentType
(String contentType) HTTP response content type for this operationrawResponse
(HttpResponse<InputStream> rawResponse) Raw HTTP response; suitable for custom response parsingstatusCode
(int statusCode) HTTP response status code for this operation
-
Method Details
-
contentType
HTTP response content type for this operation -
statusCode
HTTP response status code for this operation -
rawResponse
public ExecuteBatchPolicyWithInputResponse.Builder rawResponse(HttpResponse<InputStream> rawResponse) Raw HTTP response; suitable for custom response parsing -
batchSuccessfulPolicyEvaluation
public ExecuteBatchPolicyWithInputResponse.Builder batchSuccessfulPolicyEvaluation(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. -
batchMixedResults
public ExecuteBatchPolicyWithInputResponse.Builder batchMixedResults(Optional<? extends BatchMixedResults> batchMixedResults) Mixed success and failures. -
headers
-
build
-