Class Error


  • @Validated
    @Generated(value="de.hybris.platform.b2ctelcotmfwebservices.swagger.TelcoCodegen",
               date="2020-06-25T12:53:59.275Z")
    public class Error
    extends java.lang.Object
    Error
    • Constructor Summary

      Constructors 
      Constructor Description
      Error()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Error code​(java.lang.Integer code)  
      Error description​(java.lang.String description)  
      boolean equals​(java.lang.Object o)  
      @NotNull java.lang.Integer getCode()
      An integer coding the error type.
      java.lang.String getDescription()
      (optional) A long localized error description if needed.
      java.lang.String getInfoURL()
      (optional) A URL to online documentation that provides more information about the error.
      @NotNull java.lang.String getMessage()
      A short localized string that describes the error.
      int hashCode()  
      Error infoURL​(java.lang.String infoURL)  
      Error message​(java.lang.String message)  
      void setCode​(java.lang.Integer code)  
      void setDescription​(java.lang.String description)  
      void setInfoURL​(java.lang.String infoURL)  
      void setMessage​(java.lang.String message)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • Error

        public Error()
    • Method Detail

      • code

        public Error code​(java.lang.Integer code)
      • getCode

        @NotNull
        public @NotNull java.lang.Integer getCode()
        An integer coding the error type. This is given to caller so he can translate them if required.
        Returns:
        code
      • setCode

        public void setCode​(java.lang.Integer code)
      • message

        public Error message​(java.lang.String message)
      • getMessage

        @NotNull
        public @NotNull java.lang.String getMessage()
        A short localized string that describes the error.
        Returns:
        message
      • setMessage

        public void setMessage​(java.lang.String message)
      • description

        public Error description​(java.lang.String description)
      • getDescription

        public java.lang.String getDescription()
        (optional) A long localized error description if needed. It can contain precise information about which parameter is missing, or what are the identifier acceptable values.
        Returns:
        description
      • setDescription

        public void setDescription​(java.lang.String description)
      • infoURL

        public Error infoURL​(java.lang.String infoURL)
      • getInfoURL

        public java.lang.String getInfoURL()
        (optional) A URL to online documentation that provides more information about the error.
        Returns:
        infoURL
      • setInfoURL

        public void setInfoURL​(java.lang.String infoURL)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object