Package com.smartsheet.api.models
Class Error
- java.lang.Object
-
- com.smartsheet.api.models.Error
-
public class Error extends java.lang.ObjectRepresents Error object.
-
-
Constructor Summary
Constructors Constructor Description Error()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetDetail()Gets the error detail.java.lang.IntegergetErrorCode()Gets the error code.java.lang.StringgetMessage()Gets the message.java.lang.StringgetRefId()Get the reference IDErrorsetDetail(java.lang.Object detail)Sets the error detail.ErrorsetErrorCode(java.lang.Integer errorCode)Sets the error code.ErrorsetMessage(java.lang.String message)Sets the message.ErrorsetRefId(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
-
-