Class BadRequestErrorResponse


  • public class BadRequestErrorResponse
    extends java.lang.Object
    This is used to map the error details in response
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Integer getCode()
      Getter for code Status code in the response
      java.lang.String getMessage()
      Getter for message Error message in the response
      void setCode​(java.lang.Integer value)
      Setter for code Status code in the response
      void setMessage​(java.lang.String value)
      Setter for message Error message in the response
      java.lang.String toString()
      Returns a JSON string representation of BadRequestErrorResponse
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • BadRequestErrorResponse

        public BadRequestErrorResponse()
    • Method Detail

      • getCode

        public java.lang.Integer getCode()
        Getter for code Status code in the response
      • setCode

        public void setCode​(java.lang.Integer value)
        Setter for code Status code in the response
      • getMessage

        public java.lang.String getMessage()
        Getter for message Error message in the response
      • setMessage

        public void setMessage​(java.lang.String value)
        Setter for message Error message in the response
      • toString

        public java.lang.String toString()
        Returns a JSON string representation of BadRequestErrorResponse
        Overrides:
        toString in class java.lang.Object