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.
|
dateCreatedAt, dateModifiedAt, getCreatedAt, getId, getModifiedAt, getType, resourceType, setType
contains, equals, getExtraData, getKeySet, getValue, handleUnknown, hashCode, properties, put, putAll
toJSONString
public 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 BoxServerError(Map<String,Object> map)
map
- public void setStatus(Integer status)
status
- the status to setprotected 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()
Copyright © 2015 Nuxeo SA. All rights reserved.