public class BoxTypedObject extends BoxObject
Modifier and Type | Field and Description |
---|---|
static String |
FIELD_CREATED_AT |
static String |
FIELD_ID |
static String |
FIELD_MODIFIED_AT |
static String |
FIELD_TYPE |
Constructor and Description |
---|
BoxTypedObject() |
BoxTypedObject(BoxTypedObject obj)
Copy constructor, this does deep copy for all the fields.
|
BoxTypedObject(Map<String,Object> map)
Instantiate the object from a map.
|
Modifier and Type | Method and Description |
---|---|
Date |
dateCreatedAt()
Get the time created at.
|
Date |
dateModifiedAt()
Get the date this object is modified at.
|
String |
getCreatedAt()
Get the time this user was created at.
|
String |
getId()
Get id.
|
String |
getModifiedAt()
Get the time this user was modified the last time.
|
String |
getType()
Get the type.
|
BoxResourceType |
resourceType()
Deprecated.
|
void |
setType(String type)
Setter.
|
contains, equals, getExtraData, getKeySet, getValue, handleUnknown, hashCode, properties, put, putAll
toJSONString
public static final String FIELD_TYPE
public static final String FIELD_ID
public static final String FIELD_CREATED_AT
public static final String FIELD_MODIFIED_AT
public BoxTypedObject()
public BoxTypedObject(BoxTypedObject obj)
obj
- public BoxTypedObject(Map<String,Object> map)
map
- @Deprecated public BoxResourceType resourceType()
public void setType(String type)
type
- typepublic String getCreatedAt()
Date
bypublic Date dateCreatedAt()
ParseException
public String getModifiedAt()
Date
bypublic Date dateModifiedAt()
ParseException
Copyright © 2015 Nuxeo SA. All rights reserved.