java.lang.Object
de.hybris.platform.b2ctelcotmfwebservices.v3.dto.Error

@Validated @Generated(value="de.hybris.platform.b2ctelcotmfwebservices.swagger.TelcoCodegen", date="2022-10-21T20:34:51.201Z") public class Error extends Object
Error
  • Constructor Details

    • Error

      public Error()
  • Method Details

    • code

      public Error code(Integer code)
    • getCode

      @NotNull public @NotNull 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(Integer code)
    • message

      public Error message(String message)
    • getMessage

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

      public void setMessage(String message)
    • description

      public Error description(String description)
    • getDescription

      public 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(String description)
    • infoURL

      public Error infoURL(String infoURL)
    • getInfoURL

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

      public void setInfoURL(String infoURL)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object