public class BoxTask.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 |
---|---|
BoxTask.Action |
getAction()
Gets the action the task assignee will be prompted to do.
|
Date |
getCreatedAt()
Gets when this task was created.
|
BoxUser.Info |
getCreatedBy()
Gets the user who created this task.
|
Date |
getDueAt()
Gets the date at which this task is due.
|
BoxFile.Info |
getItem()
Gets the file associated with this task.
|
String |
getMessage()
Gets the message that will be included with this task.
|
BoxTask |
getResource()
Gets the resource associated with this Info.
|
List<BoxTaskAssignment.Info> |
getTaskAssignments()
Gets the collection of task assignments associated with this task.
|
boolean |
isCompleted()
Gets whether or not this task has been completed.
|
void |
setDueAt(Date dueAt)
Sets the task's due date.
|
void |
setMessage(String message)
Sets the task's message.
|
getID
clearPendingChanges, getPendingChanges, getPendingChangesAsJsonObject
public Info()
public BoxTask getResource()
BoxResource.Info
getResource
in class BoxResource.Info
public BoxFile.Info getItem()
public Date getDueAt()
public void setDueAt(Date dueAt)
dueAt
- the task's due date.public BoxTask.Action getAction()
public String getMessage()
public void setMessage(String message)
message
- the task's new message.public List<BoxTaskAssignment.Info> getTaskAssignments()
public boolean isCompleted()
public BoxUser.Info getCreatedBy()
public Date getCreatedAt()