public abstract class BoxCollaborator.Info extends BoxResource.Info
Constructor and Description |
---|
BoxCollaborator.Info()
Constructs an empty Info object.
|
BoxCollaborator.Info(String json)
Constructs an Info object by parsing information from a JSON string.
|
Modifier and Type | Method and Description |
---|---|
Date |
getCreatedAt()
Gets the date that the collaborator was created.
|
Date |
getModifiedAt()
Gets the date that the collaborator was modified.
|
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.
|
void |
setName(String name)
Sets the name of the collaborator.
|
getID, getResource
clearPendingChanges, getPendingChanges
public BoxCollaborator.Info()
public BoxCollaborator.Info(String json)
json
- the JSON string to parse.public String getName()
public void setName(String name)
name
- the new name of the collaborator.public Date getCreatedAt()
public Date getModifiedAt()
protected void parseJSONMember(JsonObject.Member member)
BoxJSONObject
Subclasses should override this method in order to parse any JSON members it knows about. This method is a no-op by default.
member
- the JSON member to be parsed.