public abstract class Response extends Object
| Constructor and Description |
|---|
Response(String response)
Create a new response from the specified JSON encoded string.
|
| Modifier and Type | Method and Description |
|---|---|
String[] |
getErrors()
Get any errors returned in the response.
|
String[] |
getWarnings()
Get any warnings returned in the response.
|
boolean |
wasSuccessful()
Returns whether the response was successful (no errors)
|
public Response(String response)
response - the JSON encoded stringpublic boolean wasSuccessful()
public String[] getErrors()
public String[] getWarnings()