public class CreateTaskRequestBody extends SerializableObject
| Modifier and Type | Class and Description |
|---|---|
static class |
CreateTaskRequestBody.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected EnumWrapper<CreateTaskRequestBodyActionField> |
action
The action the task assignee will be prompted to do.
|
protected EnumWrapper<CreateTaskRequestBodyCompletionRuleField> |
completionRule
Defines which assignees need to complete this task before the task is considered completed.
|
protected OffsetDateTime |
dueAt
Defines when the task is due.
|
protected CreateTaskRequestBodyItemField |
item
The file to attach the task to.
|
protected String |
message
An optional message to include with the task.
|
explicitlySetNullableFields| Modifier | Constructor and Description |
|---|---|
protected |
CreateTaskRequestBody(CreateTaskRequestBody.Builder builder) |
|
CreateTaskRequestBody(CreateTaskRequestBodyItemField item) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
EnumWrapper<CreateTaskRequestBodyActionField> |
getAction() |
EnumWrapper<CreateTaskRequestBodyCompletionRuleField> |
getCompletionRule() |
OffsetDateTime |
getDueAt() |
CreateTaskRequestBodyItemField |
getItem() |
String |
getMessage() |
int |
hashCode() |
String |
toString() |
getRawData, setRawDatagetExplicitlySetNullableFields, isFieldExplicitlySet, markNullableFieldAsSet, markNullableFieldsAsSetprotected final CreateTaskRequestBodyItemField item
protected EnumWrapper<CreateTaskRequestBodyActionField> action
* `review` defines an approval task that can be approved or, rejected * `complete` defines a general task which can be completed.
protected OffsetDateTime dueAt
protected EnumWrapper<CreateTaskRequestBodyCompletionRuleField> completionRule
* `all_assignees` (default) 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 CreateTaskRequestBody(CreateTaskRequestBodyItemField item)
protected CreateTaskRequestBody(CreateTaskRequestBody.Builder builder)
public CreateTaskRequestBodyItemField getItem()
public EnumWrapper<CreateTaskRequestBodyActionField> getAction()
public String getMessage()
public OffsetDateTime getDueAt()
public EnumWrapper<CreateTaskRequestBodyCompletionRuleField> getCompletionRule()