Class Error
- java.lang.Object
-
- de.hybris.platform.b2ctelcotmfwebservices.v2.dto.Error
-
@Validated @Generated(value="de.hybris.platform.b2ctelcotmfwebservices.swagger.TelcoCodegen", date="2020-06-25T12:53:59.275Z") public class Error extends java.lang.ObjectError
-
-
Constructor Summary
Constructors Constructor Description Error()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Errorcode(java.lang.Integer code)Errordescription(java.lang.String description)booleanequals(java.lang.Object o)@NotNull java.lang.IntegergetCode()An integer coding the error type.java.lang.StringgetDescription()(optional) A long localized error description if needed.java.lang.StringgetInfoURL()(optional) A URL to online documentation that provides more information about the error.@NotNull java.lang.StringgetMessage()A short localized string that describes the error.inthashCode()ErrorinfoURL(java.lang.String infoURL)Errormessage(java.lang.String message)voidsetCode(java.lang.Integer code)voidsetDescription(java.lang.String description)voidsetInfoURL(java.lang.String infoURL)voidsetMessage(java.lang.String message)java.lang.StringtoString()
-
-
-
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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-