public class BoxInvite.Info extends BoxResource.Info
Constructor and Description |
---|
Info()
Constructs an empty Info object.
|
Info(String json)
Constructs an Info object by parsing information from a JSON string.
|
Modifier and Type | Method and Description |
---|---|
BoxUser.Info |
getActionableBy()
Gets the user that was invited to the enterprise.
|
Date |
getCreatedAt()
Gets the time the invite was created.
|
BoxUser.Info |
getInvitedBy()
Gets the user that made the invitation.
|
BoxEnterprise |
getInvitedTo()
Gets the enterprise the user was invited to.
|
Date |
getModifiedAt()
Gets the time the invite was last modified.
|
BoxInvite |
getResource()
Gets the resource associated with this Info.
|
String |
getStatus()
Gets the status of the invitation.
|
protected void |
parseJSONMember(JsonObject.Member member)
Invoked with a JSON member whenever this object is updated or created from a JSON object.
|
getID
clearPendingChanges, getJson, getPendingChanges, getPendingChangesAsJsonObject, getPendingJSONObject
public Info()
public BoxEnterprise getInvitedTo()
public BoxUser.Info getActionableBy()
Note: the BoxUser.Info returned by this method will only have the ID, name, and login fields populated.
public BoxUser.Info getInvitedBy()
Note: the BoxUser.Info returned by this method will only have the ID, name, and login fields populated.
public Date getCreatedAt()
public Date getModifiedAt()
public BoxInvite getResource()
getResource
in class BoxResource.Info
protected void parseJSONMember(JsonObject.Member member)
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.