public class Task extends SerializableObject
| Modifier and Type | Class and Description |
|---|---|
static class |
Task.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected EnumWrapper<TaskActionField> |
action
The type of task the task assignee will be prompted to perform.
|
protected EnumWrapper<TaskCompletionRuleField> |
completionRule
Defines which assignees need to complete this task before the task is considered completed.
|
protected OffsetDateTime |
createdAt
When the task object was created.
|
protected UserMini |
createdBy |
protected OffsetDateTime |
dueAt
When the task is due.
|
protected String |
id
The unique identifier for this task.
|
protected Boolean |
isCompleted
Whether the task has been completed.
|
protected FileMini |
item |
protected String |
message
A message that will be included with the task.
|
protected TaskAssignments |
taskAssignmentCollection |
protected EnumWrapper<TaskTypeField> |
type
The value will always be `task`.
|
explicitlySetNullableFields| Modifier | Constructor and Description |
|---|---|
|
Task() |
protected |
Task(Task.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
EnumWrapper<TaskActionField> |
getAction() |
EnumWrapper<TaskCompletionRuleField> |
getCompletionRule() |
OffsetDateTime |
getCreatedAt() |
UserMini |
getCreatedBy() |
OffsetDateTime |
getDueAt() |
String |
getId() |
Boolean |
getIsCompleted() |
FileMini |
getItem() |
String |
getMessage() |
TaskAssignments |
getTaskAssignmentCollection() |
EnumWrapper<TaskTypeField> |
getType() |
int |
hashCode() |
String |
toString() |
getRawData, setRawDatagetExplicitlySetNullableFields, isFieldExplicitlySet, markNullableFieldAsSet, markNullableFieldsAsSetprotected EnumWrapper<TaskTypeField> type
protected OffsetDateTime dueAt
protected EnumWrapper<TaskActionField> action
protected TaskAssignments taskAssignmentCollection
protected Boolean isCompleted
protected OffsetDateTime createdAt
protected EnumWrapper<TaskCompletionRuleField> completionRule
* `all_assignees` requires all assignees to review or approve the task in order for it to be considered completed. * `any_assignee` accepts any one assignee to review or approve the task in order for it to be considered completed.
public Task()
protected Task(Task.Builder builder)
public EnumWrapper<TaskTypeField> getType()
public OffsetDateTime getDueAt()
public EnumWrapper<TaskActionField> getAction()
public String getMessage()
public TaskAssignments getTaskAssignmentCollection()
public Boolean getIsCompleted()
public UserMini getCreatedBy()
public OffsetDateTime getCreatedAt()
public EnumWrapper<TaskCompletionRuleField> getCompletionRule()