Class ServerErrorErrors
java.lang.Object
com.styra.opa.openapi.models.errors.ServerErrorErrors
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionServerErrorErrors
(String code, String message) ServerErrorErrors
(String code, String message, Optional<? extends ServerErrorLocation> location) -
Method Summary
Modifier and TypeMethodDescriptionstatic final ServerErrorErrors.Builder
builder()
code()
boolean
int
hashCode()
location()
message()
toString()
withLocation
(ServerErrorLocation location) withLocation
(Optional<? extends ServerErrorLocation> location) withMessage
(String message)
-
Constructor Details
-
ServerErrorErrors
public ServerErrorErrors(String code, String message, Optional<? extends ServerErrorLocation> location) -
ServerErrorErrors
-
-
Method Details