public class BoxTypedObject extends BoxObject
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
FIELD_CREATED_AT |
static java.lang.String |
FIELD_ID |
static java.lang.String |
FIELD_MODIFIED_AT |
static java.lang.String |
FIELD_TYPE |
Constructor and Description |
---|
BoxTypedObject() |
BoxTypedObject(BoxTypedObject obj)
Copy constructor, this does deep copy for all the fields.
|
BoxTypedObject(IBoxParcelWrapper in) |
BoxTypedObject(java.util.Map<java.lang.String,java.lang.Object> map)
Instantiate the object from a map.
|
Modifier and Type | Method and Description |
---|---|
java.util.Date |
dateCreatedAt()
Get the time created at.
|
java.util.Date |
dateModifiedAt()
Get the date this object is modified at.
|
java.lang.String |
getCreatedAt()
Get the time this user was created at.
|
java.lang.String |
getId()
Get id.
|
java.lang.String |
getModifiedAt()
Get the time this user was modified the last time.
|
java.lang.String |
getType()
Get the type.
|
BoxResourceType |
resourceType()
Deprecated.
|
void |
setType(java.lang.String type)
Setter.
|
contains, equals, extraProperties, getExtraData, getValue, handleUnknown, hashCode, put, writeToParcel
public static final java.lang.String FIELD_TYPE
public static final java.lang.String FIELD_ID
public static final java.lang.String FIELD_CREATED_AT
public static final java.lang.String FIELD_MODIFIED_AT
public BoxTypedObject()
public BoxTypedObject(BoxTypedObject obj)
obj
- public BoxTypedObject(java.util.Map<java.lang.String,java.lang.Object> map)
map
- public BoxTypedObject(IBoxParcelWrapper in)
@Deprecated public BoxResourceType resourceType()
public java.lang.String getType()
public void setType(java.lang.String type)
type
- typepublic java.lang.String getId()
public java.lang.String getCreatedAt()
Date
by
ISO8601DateParser
)public java.util.Date dateCreatedAt()
java.text.ParseException
public java.lang.String getModifiedAt()
Date
by
ISO8601DateParser
)public java.util.Date dateModifiedAt()
java.text.ParseException