Class BatchSuccessfulPolicyEvaluation
java.lang.Object
com.styra.opa.openapi.models.shared.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.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final BatchSuccessfulPolicyEvaluation.Builder
builder()
boolean
int
hashCode()
metrics()
If query metrics are enabled, this field contains query performance metrics collected during the parse, compile, and evaluation steps.toString()
withBatchDecisionId
(String batchDecisionId) withBatchDecisionId
(Optional<String> batchDecisionId) withMetrics
(Map<String, Object> metrics) If query metrics are enabled, this field contains query performance metrics collected during the parse, compile, and evaluation steps.withMetrics
(Optional<? extends Map<String, Object>> metrics) If query metrics are enabled, this field contains query performance metrics collected during the parse, compile, and evaluation steps.withResponses
(Map<String, SuccessfulPolicyResponse> responses) withResponses
(Optional<? extends Map<String, SuccessfulPolicyResponse>> responses)
-
Constructor Details
-
BatchSuccessfulPolicyEvaluation
-
BatchSuccessfulPolicyEvaluation
public BatchSuccessfulPolicyEvaluation()
-
-
Method Details
-
batchDecisionId
-
metrics
If query metrics are enabled, this field contains query performance metrics collected during the parse, compile, and evaluation steps. -
responses
-
builder
-
withBatchDecisionId
-
withBatchDecisionId
-
withMetrics
If query metrics are enabled, this field contains query performance metrics collected during the parse, compile, and evaluation steps. -
withMetrics
If query metrics are enabled, this field contains query performance metrics collected during the parse, compile, and evaluation steps. -
withResponses
public BatchSuccessfulPolicyEvaluation withResponses(Map<String, SuccessfulPolicyResponse> responses) -
withResponses
public BatchSuccessfulPolicyEvaluation withResponses(Optional<? extends Map<String, SuccessfulPolicyResponse>> responses) -
equals
-
hashCode
public int hashCode() -
toString
-