Class BatchServerError
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.styra.opa.openapi.models.errors.BatchServerError
-
- All Implemented Interfaces:
java.io.Serializable
public class BatchServerError extends java.lang.RuntimeException
BatchServerError - Server Error. All requests returned a 500 error.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BatchServerError.Builder
-
Constructor Summary
Constructors Constructor Description BatchServerError()
BatchServerError(java.util.Optional<java.lang.String> batchDecisionId, java.util.Optional<? extends java.util.Map<java.lang.String,ServerError>> responses)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<java.lang.String>
batchDecisionId()
static BatchServerError.Builder
builder()
boolean
equals(java.lang.Object o)
int
hashCode()
java.util.Optional<java.util.Map<java.lang.String,ServerError>>
responses()
java.lang.String
toString()
BatchServerError
withBatchDecisionId(java.lang.String batchDecisionId)
BatchServerError
withBatchDecisionId(java.util.Optional<java.lang.String> batchDecisionId)
BatchServerError
withResponses(java.util.Map<java.lang.String,ServerError> responses)
BatchServerError
withResponses(java.util.Optional<? extends java.util.Map<java.lang.String,ServerError>> responses)
-
-
-
Constructor Detail
-
BatchServerError
public BatchServerError(java.util.Optional<java.lang.String> batchDecisionId, java.util.Optional<? extends java.util.Map<java.lang.String,ServerError>> responses)
-
BatchServerError
public BatchServerError()
-
-
Method Detail
-
batchDecisionId
public java.util.Optional<java.lang.String> batchDecisionId()
-
responses
public java.util.Optional<java.util.Map<java.lang.String,ServerError>> responses()
-
builder
public static final BatchServerError.Builder builder()
-
withBatchDecisionId
public BatchServerError withBatchDecisionId(java.lang.String batchDecisionId)
-
withBatchDecisionId
public BatchServerError withBatchDecisionId(java.util.Optional<java.lang.String> batchDecisionId)
-
withResponses
public BatchServerError withResponses(java.util.Map<java.lang.String,ServerError> responses)
-
withResponses
public BatchServerError withResponses(java.util.Optional<? extends java.util.Map<java.lang.String,ServerError>> 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.Throwable
-
-