Class BatchMixedResults
- java.lang.Object
-
- com.styra.opa.openapi.models.shared.BatchMixedResults
-
public class BatchMixedResults extends java.lang.Object
BatchMixedResults - Mixed success and failures.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BatchMixedResults.Builder
-
Constructor Summary
Constructors Constructor Description BatchMixedResults()
BatchMixedResults(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,Responses>> responses)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<java.lang.String>
batchDecisionId()
static BatchMixedResults.Builder
builder()
boolean
equals(java.lang.Object o)
int
hashCode()
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.java.util.Optional<java.util.Map<java.lang.String,Responses>>
responses()
java.lang.String
toString()
BatchMixedResults
withBatchDecisionId(java.lang.String batchDecisionId)
BatchMixedResults
withBatchDecisionId(java.util.Optional<java.lang.String> batchDecisionId)
BatchMixedResults
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.BatchMixedResults
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.BatchMixedResults
withResponses(java.util.Map<java.lang.String,Responses> responses)
BatchMixedResults
withResponses(java.util.Optional<? extends java.util.Map<java.lang.String,Responses>> responses)
-
-
-
Constructor Detail
-
BatchMixedResults
public BatchMixedResults(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,Responses>> responses)
-
BatchMixedResults
public BatchMixedResults()
-
-
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.
-
responses
public java.util.Optional<java.util.Map<java.lang.String,Responses>> responses()
-
builder
public static final BatchMixedResults.Builder builder()
-
withBatchDecisionId
public BatchMixedResults withBatchDecisionId(java.lang.String batchDecisionId)
-
withBatchDecisionId
public BatchMixedResults withBatchDecisionId(java.util.Optional<java.lang.String> batchDecisionId)
-
withMetrics
public BatchMixedResults 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 BatchMixedResults 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.
-
withResponses
public BatchMixedResults withResponses(java.util.Map<java.lang.String,Responses> responses)
-
withResponses
public BatchMixedResults withResponses(java.util.Optional<? extends java.util.Map<java.lang.String,Responses>> responses)
-
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
-
-