Package com.smartsheet.api.models
Class Error
- java.lang.Object
-
- com.smartsheet.api.models.Error
-
public class Error extends java.lang.Object
Represents Error object.
-
-
Constructor Summary
Constructors Constructor Description Error()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getDetail()
Gets the error detail.java.lang.Integer
getErrorCode()
Gets the error code.java.lang.String
getMessage()
Gets the message.java.lang.String
getRefId()
Get the reference IDError
setDetail(java.lang.Object detail)
Sets the error detail.Error
setErrorCode(java.lang.Integer errorCode)
Sets the error code.Error
setMessage(java.lang.String message)
Sets the message.Error
setRefId(java.lang.String refId)
Set the reference ID
-
-
-
Method Detail
-
getDetail
public java.lang.Object getDetail()
Gets the error detail.- Returns:
- the error detail
-
setDetail
public Error setDetail(java.lang.Object detail)
Sets the error detail.- Parameters:
detail
- the error detail
-
getMessage
public java.lang.String getMessage()
Gets the message.- Returns:
- the message
-
setMessage
public Error setMessage(java.lang.String message)
Sets the message.- Parameters:
message
- the new message
-
getErrorCode
public java.lang.Integer getErrorCode()
Gets the error code.- Returns:
- the error code
-
setErrorCode
public Error setErrorCode(java.lang.Integer errorCode)
Sets the error code.- Parameters:
errorCode
- the new error code
-
getRefId
public java.lang.String getRefId()
Get the reference ID- Returns:
- the refId
-
setRefId
public Error setRefId(java.lang.String refId)
Set the reference ID- Parameters:
refId
- the reference ID- Returns:
- the Error Object
-
-