public class BoxServerError extends BoxTypedObject
| Modifier and Type | Field and Description |
|---|---|
static String |
FIELD_CODE |
static String |
FIELD_HELP_URL |
static String |
FIELD_MESSAGE |
static String |
FIELD_REQUEST_ID |
static String |
FIELD_STATUS |
FIELD_CREATED_AT, FIELD_ID, FIELD_MODIFIED_AT, FIELD_TYPE| Constructor and Description |
|---|
BoxServerError() |
BoxServerError(BoxServerError obj)
Copy constructor, this does deep copy for all the fields.
|
BoxServerError(Map<String,Object> map)
Instantiate the object from a map.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCode() |
String |
getHelpUrl() |
Integer |
getHttpStatusCode()
Deprecated.
|
String |
getMessage() |
String |
getRequestId() |
Integer |
getStatus() |
protected void |
setCode(String code)
Setter.
|
protected void |
setHelpUrl(String helpUrl)
Setter.
|
protected void |
setMessage(String message)
Setter.
|
protected void |
setRequestId(String requestId)
Setter.
|
void |
setStatus(Integer status)
Setter.
|
void |
writeToParcel(IBoxParcelWrapper parcelWrapper,
int flags) |
dateCreatedAt, dateModifiedAt, getCreatedAt, getId, getModifiedAt, getType, resourceType, setTypecontains, equals, extraProperties, getExtraData, getValue, handleUnknown, hashCode, puttoJSONStringpublic static final String FIELD_STATUS
public static final String FIELD_CODE
public static final String FIELD_HELP_URL
public static final String FIELD_MESSAGE
public static final String FIELD_REQUEST_ID
public BoxServerError()
public BoxServerError(BoxServerError obj)
obj - public Integer getStatus()
public void setStatus(Integer status)
status - the status to setpublic String getCode()
protected void setCode(String code)
code - the code to setpublic String getHelpUrl()
protected void setHelpUrl(String helpUrl)
helpUrl - the help_url to setpublic String getMessage()
protected void setMessage(String message)
message - the message to setpublic String getRequestId()
protected void setRequestId(String requestId)
requestId - the request_id to set@Deprecated public Integer getHttpStatusCode()
public void writeToParcel(IBoxParcelWrapper parcelWrapper, int flags)
writeToParcel in interface IBoxParcelablewriteToParcel in class BoxObjectCopyright © 2014. All Rights Reserved.