public class BoxTaskAssignment.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 |
---|---|
Date |
getAssignedAt()
Gets the date the assignment was assigned at.
|
BoxUser.Info |
getAssignedBy()
Gets the user that assigned the assignment.
|
BoxUser.Info |
getAssignedTo()
Gets the user the assignment is assigned to.
|
Date |
getCompletedAt()
Gets the date the assignment is to be completed at.
|
BoxItem.Info |
getItem()
Gets the item associated with this task.
|
String |
getMessage()
Gets the message that will be included with this task assignment.
|
Date |
getRemindedAt()
Gets the date the assignee is to be reminded at.
|
BoxTaskAssignment.ResolutionState |
getResolutionState()
Gets the current resolution state of the assignment.
|
BoxResource |
getResource()
Gets the resource associated with this Info.
|
String |
getStatus()
Gets the current status of the assignment.
|
void |
setMessage(String message)
Sets the message for the assignment.
|
void |
setResolutionState(BoxTaskAssignment.ResolutionState resolutionState)
Sets the resolution state for the assignment.
|
void |
setStatus(String status)
Sets the status for the assignment.
|
getID
clearPendingChanges, getJson, getPendingChanges, getPendingChangesAsJsonObject, getPendingJSONObject
public Info()
public BoxResource getResource()
BoxResource.Info
getResource
in class BoxResource.Info
public BoxItem.Info getItem()
public BoxUser.Info getAssignedTo()
public String getMessage()
public void setMessage(String message)
message
- the message to be set on the assignment.public Date getCompletedAt()
public Date getAssignedAt()
public Date getRemindedAt()
public BoxTaskAssignment.ResolutionState getResolutionState()
public void setResolutionState(BoxTaskAssignment.ResolutionState resolutionState)
resolutionState
- the resolution state to be set on the assignment.public String getStatus()
public void setStatus(String status)
status
- the status to be set on the assignment.public BoxUser.Info getAssignedBy()