Class GenericError


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2021-01-12T16:13:57.119092Z[GMT]")
    public class GenericError
    extends Object
    Error responses are sent when an error (e.g. unauthorized, bad request, ...) occurred.
    • Constructor Detail

      • GenericError

        public GenericError()
    • Method Detail

      • getDebug

        @Nullable
        public String getDebug()
        Debug contains debug information. This is usually not available and has to be enabled.
        Returns:
        debug
      • setDebug

        public void setDebug​(String debug)
      • getError

        public String getError()
        Name is the error name.
        Returns:
        error
      • setError

        public void setError​(String error)
      • getErrorDescription

        @Nullable
        public String getErrorDescription()
        Description contains further information on the nature of the error.
        Returns:
        errorDescription
      • setErrorDescription

        public void setErrorDescription​(String errorDescription)
      • getStatusCode

        @Nullable
        public Long getStatusCode()
        Code represents the error status code (404, 403, 401, ...).
        Returns:
        statusCode
      • setStatusCode

        public void setStatusCode​(Long statusCode)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object