-
public final class ErrorResponse
-
-
Constructor Summary
Constructors Constructor Description ErrorResponse(Integer code, String message, Integer statusCode)
-
Method Summary
Modifier and Type Method Description final Integercomponent1()final Stringcomponent2()final Integercomponent3()final ErrorResponsecopy(Integer code, String message, Integer statusCode)final StringgetDuration()final IntegergetCode()final StringgetMessage()final IntegergetStatusCode()final UnitsetDuration(String duration)final UnitsetMessage(String message)final UnitsetStatusCode(@SerializedName(value = "StatusCode") Integer statusCode)-
-
Method Detail
-
component1
final Integer component1()
-
component2
final String component2()
-
component3
final Integer component3()
-
copy
final ErrorResponse copy(Integer code, String message, Integer statusCode)
-
getDuration
final String getDuration()
-
getMessage
final String getMessage()
-
getStatusCode
final Integer getStatusCode()
-
setDuration
final Unit setDuration(String duration)
-
setMessage
final Unit setMessage(String message)
-
setStatusCode
final Unit setStatusCode(@SerializedName(value = "StatusCode") Integer statusCode)
-
-
-
-