Class BatchSuccessfulPolicyEvaluation


  • public class BatchSuccessfulPolicyEvaluation
    extends java.lang.Object
    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.
    • Constructor Detail

      • BatchSuccessfulPolicyEvaluation

        public BatchSuccessfulPolicyEvaluation​(java.util.Optional<java.lang.String> batchDecisionId,
                                               java.util.Optional<? extends java.util.Map<java.lang.String,​java.lang.Object>> metrics,
                                               java.util.Optional<? extends java.util.Map<java.lang.String,​SuccessfulPolicyResponse>> responses)
      • BatchSuccessfulPolicyEvaluation

        public BatchSuccessfulPolicyEvaluation()
    • Method Detail

      • batchDecisionId

        public java.util.Optional<java.lang.String> batchDecisionId()
      • metrics

        public java.util.Optional<java.util.Map<java.lang.String,​java.lang.Object>> metrics()
        If query metrics are enabled, this field contains query performance metrics collected during the parse, compile, and evaluation steps.
      • withMetrics

        public BatchSuccessfulPolicyEvaluation withMetrics​(java.util.Map<java.lang.String,​java.lang.Object> metrics)
        If query metrics are enabled, this field contains query performance metrics collected during the parse, compile, and evaluation steps.
      • withMetrics

        public BatchSuccessfulPolicyEvaluation withMetrics​(java.util.Optional<? extends java.util.Map<java.lang.String,​java.lang.Object>> metrics)
        If query metrics are enabled, this field contains query performance metrics collected during the parse, compile, and evaluation steps.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object