T - the generic typepublic class Result<T> extends Object
| Constructor and Description |
|---|
Result() |
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage()
Gets the message from the request.
|
T |
getResult()
Gets the result from the request.
|
Integer |
getResultCode()
Gets the result code from the request.
|
Integer |
getVersion()
Gets the new version of the sheet.
|
void |
setMessage(String message)
Sets the message.
|
void |
setResult(T result)
Sets the result.
|
void |
setResultCode(Integer resultCode)
Sets the result code.
|
void |
setVersion(Integer version)
Sets the version.
|
public Integer getResultCode()
public void setResultCode(Integer resultCode)
resultCode - the new result codepublic String getMessage()
public void setMessage(String message)
message - the new messagepublic T getResult()
public void setResult(T result)
result - the new resultpublic Integer getVersion()
public void setVersion(Integer version)
version - the new versionCopyright © 2014–2019 Smartsheet. All rights reserved.