Class ServerErrorWithStatusCode
java.lang.Object
com.styra.opa.openapi.models.shared.ServerErrorWithStatusCode
- All Implemented Interfaces:
Responses
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final ServerErrorWithStatusCode.Builder
builder()
code()
boolean
errors()
int
hashCode()
message()
toString()
withDecisionId
(String decisionId) withDecisionId
(Optional<String> decisionId) withErrors
(List<Errors> errors) withErrors
(Optional<? extends List<Errors>> errors) withHttpStatusCode
(String httpStatusCode) withMessage
(String message)
-
Constructor Details
-
ServerErrorWithStatusCode
-
ServerErrorWithStatusCode
-
-
Method Details
-
httpStatusCode
- Specified by:
httpStatusCode
in interfaceResponses
-
code
-
message
-
errors
-
decisionId
-
builder
-
withHttpStatusCode
-
withCode
-
withMessage
-
withErrors
-
withErrors
-
withDecisionId
-
withDecisionId
-
equals
-
hashCode
public int hashCode() -
toString
-