Class Error
-
- All Implemented Interfaces:
-
java.io.Serializable
@Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen") public class Error implements Serializable
Error message from the server
-
-
Field Summary
Fields Modifier and Type Field Description public final static StringJSON_PROPERTY_STATUSpublic Integerstatuspublic final static StringJSON_PROPERTY_ERRORpublic Stringerror
-
Constructor Summary
Constructors Constructor Description Error()
-
Method Summary
Modifier and Type Method Description IntegergetStatus()Error code voidsetStatus(Integer status)StringgetError()Error message voidsetError(String error)Errorstatus(Integer status)Errorerror(String error)booleanequals(Object o)inthashCode()StringtoString()StringtoUrlQueryString()Convert the instance into URL query string. StringtoUrlQueryString(String prefix)Convert the instance into URL query string. -
-
Method Detail
-
hashCode
int hashCode()
-
toUrlQueryString
String toUrlQueryString()
Convert the instance into URL query string.
- Returns:
URL query string
-
toUrlQueryString
String toUrlQueryString(String prefix)
Convert the instance into URL query string.
- Parameters:
prefix- prefix of the query string- Returns:
URL query string
-
-
-
-