public abstract class BoxCollaborator extends BoxEntity
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FIELD_CREATED_AT |
static java.lang.String |
FIELD_MODIFIED_AT |
static java.lang.String |
FIELD_NAME |
FIELD_ID, FIELD_ITEM_ID, FIELD_ITEM_TYPE, FIELD_TYPEmProperties| Constructor and Description |
|---|
BoxCollaborator()
Constructs an empty BoxCollaborator object.
|
BoxCollaborator(java.util.Map<java.lang.String,java.lang.Object> map)
Constructs a BoxCollaborator with the provided map values.
|
| Modifier and Type | Method and Description |
|---|---|
static BoxCollaborator |
createCollaboratorFromJson(JsonObject json)
Creates a BoxCollaborator object from a JsonObject.
|
static BoxCollaborator |
createCollaboratorFromJson(java.lang.String json)
Creates a BoxCollaborator object from a JSON string.
|
java.util.Date |
getCreatedAt()
Gets the date that the collaborator was created.
|
java.util.Date |
getModifiedAt()
Gets the date that the collaborator was modified.
|
java.lang.String |
getName()
Gets the name of the collaborator.
|
protected void |
parseJSONMember(JsonObject.Member member)
Invoked with a JSON member whenever this object is updated or created from a JSON object.
|
createEntityFromJson, createEntityFromJson, getId, getTypecreateFromJson, createFromJson, getPropertiesAsHashMap, parseJsonObject, parseNullJsonMember, toJson, toJsonObjectpublic static final java.lang.String FIELD_NAME
public static final java.lang.String FIELD_CREATED_AT
public static final java.lang.String FIELD_MODIFIED_AT
public BoxCollaborator()
public BoxCollaborator(java.util.Map<java.lang.String,java.lang.Object> map)
map - map of keys and values of the objectpublic java.lang.String getName()
public java.util.Date getCreatedAt()
public java.util.Date getModifiedAt()
protected void parseJSONMember(JsonObject.Member member)
BoxJsonObjectSubclasses should override this method in order to parse any JSON members it knows about. This method is a no-op by default.
parseJSONMember in class BoxEntitymember - the JSON member to be parsed.public static BoxCollaborator createCollaboratorFromJson(java.lang.String json)
public static BoxCollaborator createCollaboratorFromJson(JsonObject json)