Class ServerError
java.lang.Object
com.styra.opa.openapi.models.shared.ServerError
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionServerError
(String code, String message) ServerError
(String code, String message, Optional<? extends List<ServerErrorErrors>> errors, Optional<String> decisionId) -
Method Summary
Modifier and TypeMethodDescriptionstatic final ServerError.Builder
builder()
code()
boolean
errors()
int
hashCode()
message()
toString()
withDecisionId
(String decisionId) withDecisionId
(Optional<String> decisionId) withErrors
(List<ServerErrorErrors> errors) withErrors
(Optional<? extends List<ServerErrorErrors>> errors) withMessage
(String message)
-
Constructor Details
-
ServerError
-
ServerError
-
-
Method Details