STATUS_DONE_NOT_OK with ERROR_CODE_CANCELLED).DELIVERY_STATUS_PENDING_CANCEL.
- * The agent is responsible for determining whether cancellation is possible and updating
- * the task status accordingly via the UpdateStatus endpoint:
+ * STATUS_DONE_NOT_OK.UpdateStatus
- * or the returned task object.UpdateTaskStatus and set the task status to STATUS_DONE_NOT_OK.UpdateTaskStatus to attach a TaskError to the task with the error code ERROR_CODE_REJECTED
+ * and a message explaining why the task cannot be cancelled.STATUS_DONE_NOT_OK with ERROR_CODE_CANCELLED).DELIVERY_STATUS_PENDING_CANCEL.
- * The agent is responsible for determining whether cancellation is possible and updating
- * the task status accordingly via the UpdateStatus endpoint:
+ * STATUS_DONE_NOT_OK.UpdateStatus
- * or the returned task object.UpdateTaskStatus and set the task status to STATUS_DONE_NOT_OK.UpdateTaskStatus to attach a TaskError to the task with the error code ERROR_CODE_REJECTED
+ * and a message explaining why the task cannot be cancelled.STATUS_DONE_NOT_OK with ERROR_CODE_CANCELLED).DELIVERY_STATUS_PENDING_CANCEL.
- * The agent is responsible for determining whether cancellation is possible and updating
- * the task status accordingly via the UpdateStatus endpoint:
+ * STATUS_DONE_NOT_OK.UpdateStatus
- * or the returned task object.UpdateTaskStatus and set the task status to STATUS_DONE_NOT_OK.UpdateTaskStatus to attach a TaskError to the task with the error code ERROR_CODE_REJECTED
+ * and a message explaining why the task cannot be cancelled.STATUS_DONE_NOT_OK with ERROR_CODE_CANCELLED).DELIVERY_STATUS_PENDING_CANCEL.
- * The agent is responsible for determining whether cancellation is possible and updating
- * the task status accordingly via the UpdateStatus endpoint:
+ * STATUS_DONE_NOT_OK.UpdateStatus
- * or the returned task object.UpdateTaskStatus and set the task status to STATUS_DONE_NOT_OK.UpdateTaskStatus to attach a TaskError to the task with the error code ERROR_CODE_REJECTED
+ * and a message explaining why the task cannot be cancelled.STATUS_DONE_NOT_OK with ERROR_CODE_CANCELLED).DELIVERY_STATUS_PENDING_CANCEL.
- * The agent is responsible for determining whether cancellation is possible and updating
- * the task status accordingly via the UpdateStatus endpoint:
+ * STATUS_DONE_NOT_OK.UpdateStatus
- * or the returned task object.UpdateTaskStatus and set the task status to STATUS_DONE_NOT_OK.UpdateTaskStatus to attach a TaskError to the task with the error code ERROR_CODE_REJECTED
+ * and a message explaining why the task cannot be cancelled.STATUS_DONE_NOT_OK with ERROR_CODE_CANCELLED).DELIVERY_STATUS_PENDING_CANCEL.
- * The agent is responsible for determining whether cancellation is possible and updating
- * the task status accordingly via the UpdateStatus endpoint:
+ * STATUS_DONE_NOT_OK.UpdateStatus
- * or the returned task object.UpdateTaskStatus and set the task status to STATUS_DONE_NOT_OK.UpdateTaskStatus to attach a TaskError to the task with the error code ERROR_CODE_REJECTED
+ * and a message explaining why the task cannot be cancelled.STATUS_DONE_NOT_OK with ERROR_CODE_CANCELLED).DELIVERY_STATUS_PENDING_CANCEL.
- * The agent is responsible for determining whether cancellation is possible and updating
- * the task status accordingly via the UpdateStatus endpoint:
+ * STATUS_DONE_NOT_OK.UpdateStatus
- * or the returned task object.UpdateTaskStatus and set the task status to STATUS_DONE_NOT_OK.UpdateTaskStatus to attach a TaskError to the task with the error code ERROR_CODE_REJECTED
+ * and a message explaining why the task cannot be cancelled.STATUS_DONE_NOT_OK with ERROR_CODE_CANCELLED).DELIVERY_STATUS_PENDING_CANCEL.
- * The agent is responsible for determining whether cancellation is possible and updating
- * the task status accordingly via the UpdateStatus endpoint:
+ * STATUS_DONE_NOT_OK.UpdateStatus
- * or the returned task object.UpdateTaskStatus and set the task status to STATUS_DONE_NOT_OK.UpdateTaskStatus to attach a TaskError to the task with the error code ERROR_CODE_REJECTED
+ * and a message explaining why the task cannot be cancelled.STATUS_DONE_NOT_OK with ERROR_CODE_CANCELLED).DELIVERY_STATUS_PENDING_CANCEL.
- * The agent is responsible for determining whether cancellation is possible and updating
- * the task status accordingly via the UpdateStatus endpoint:
+ * STATUS_DONE_NOT_OK.UpdateStatus
- * or the returned task object.UpdateTaskStatus and set the task status to STATUS_DONE_NOT_OK.UpdateTaskStatus to attach a TaskError to the task with the error code ERROR_CODE_REJECTED
+ * and a message explaining why the task cannot be cancelled.STATUS_DONE_NOT_OK with ERROR_CODE_CANCELLED).DELIVERY_STATUS_PENDING_CANCEL.
- * The agent is responsible for determining whether cancellation is possible and updating
- * the task status accordingly via the UpdateStatus endpoint:
+ * STATUS_DONE_NOT_OK.UpdateStatus
- * or the returned task object.UpdateTaskStatus and set the task status to STATUS_DONE_NOT_OK.UpdateTaskStatus to attach a TaskError to the task with the error code ERROR_CODE_REJECTED
+ * and a message explaining why the task cannot be cancelled.STATUS_DONE_NOT_OK with ERROR_CODE_CANCELLED).DELIVERY_STATUS_PENDING_CANCEL.
- * The agent is responsible for determining whether cancellation is possible and updating
- * the task status accordingly via the UpdateStatus endpoint:
+ * STATUS_DONE_NOT_OK.UpdateStatus
- * or the returned task object.UpdateTaskStatus and set the task status to STATUS_DONE_NOT_OK.UpdateTaskStatus to attach a TaskError to the task with the error code ERROR_CODE_REJECTED
+ * and a message explaining why the task cannot be cancelled.STATUS_DONE_NOT_OK with ERROR_CODE_CANCELLED).DELIVERY_STATUS_PENDING_CANCEL.
- * The agent is responsible for determining whether cancellation is possible and updating
- * the task status accordingly via the UpdateStatus endpoint:
+ * STATUS_DONE_NOT_OK.UpdateStatus
- * or the returned task object.UpdateTaskStatus and set the task status to STATUS_DONE_NOT_OK.UpdateTaskStatus to attach a TaskError to the task with the error code ERROR_CODE_REJECTED
+ * and a message explaining why the task cannot be cancelled.STATUS_DONE_NOT_OK with ERROR_CODE_CANCELLED).DELIVERY_STATUS_PENDING_CANCEL.
- * The agent is responsible for determining whether cancellation is possible and updating
- * the task status accordingly via the UpdateStatus endpoint:
+ * STATUS_DONE_NOT_OK.UpdateStatus
- * or the returned task object.UpdateTaskStatus and set the task status to STATUS_DONE_NOT_OK.UpdateTaskStatus to attach a TaskError to the task with the error code ERROR_CODE_REJECTED
+ * and a message explaining why the task cannot be cancelled.STATUS_DONE_NOT_OK with ERROR_CODE_CANCELLED).DELIVERY_STATUS_PENDING_CANCEL.
- * The agent is responsible for determining whether cancellation is possible and updating
- * the task status accordingly via the UpdateStatus endpoint:
+ * STATUS_DONE_NOT_OK.UpdateStatus
- * or the returned task object.UpdateTaskStatus and set the task status to STATUS_DONE_NOT_OK.UpdateTaskStatus to attach a TaskError to the task with the error code ERROR_CODE_REJECTED
+ * and a message explaining why the task cannot be cancelled.STATUS_DONE_NOT_OK with ERROR_CODE_CANCELLED).DELIVERY_STATUS_PENDING_CANCEL.
- * The agent is responsible for determining whether cancellation is possible and updating
- * the task status accordingly via the UpdateStatus endpoint:
+ * STATUS_DONE_NOT_OK.UpdateStatus
- * or the returned task object.UpdateTaskStatus and set the task status to STATUS_DONE_NOT_OK.UpdateTaskStatus to attach a TaskError to the task with the error code ERROR_CODE_REJECTED
+ * and a message explaining why the task cannot be cancelled.STATUS_DONE_NOT_OK with ERROR_CODE_CANCELLED).DELIVERY_STATUS_PENDING_CANCEL.
- * The agent is responsible for determining whether cancellation is possible and updating
- * the task status accordingly via the UpdateStatus endpoint:
+ * STATUS_DONE_NOT_OK.UpdateStatus
- * or the returned task object.UpdateTaskStatus and set the task status to STATUS_DONE_NOT_OK.UpdateTaskStatus to attach a TaskError to the task with the error code ERROR_CODE_REJECTED
+ * and a message explaining why the task cannot be cancelled.updateStartTime, assignee, statusFilter, taskType).
+ * Either provide parentTaskId or any combination of the other filters, but not both.
+ */
+ @JsonProperty("parentTaskId")
+ public OptionalIf provided, returns tasks which have been updated since the given time.
+ */ + @JsonSetter(value = "updateStartTime", nulls = Nulls.SKIP) + public Builder updateStartTime(OptionalA filter for tasks with a specific parent task ID.
+ * Note: This filter is mutually exclusive with all other filter fields (updateStartTime, assignee, statusFilter, taskType).
+ * Either provide parentTaskId or any combination of the other filters, but not both.
A filter for tasks assigned to a specific principal.
+ */ + @JsonSetter(value = "assignee", nulls = Nulls.SKIP) + public Builder assignee(OptionalA filter for task statuses (inclusive or exclusive).
+ */ + @JsonSetter(value = "statusFilter", nulls = Nulls.SKIP) + public Builder statusFilter(OptionalThe statuses to filter by.
+ */ + @JsonSetter(value = "statuses", nulls = Nulls.SKIP) + public Builder statuses(OptionalThe type of filter to apply.
+ */ + @JsonSetter(value = "filterType", nulls = Nulls.SKIP) + public Builder filterType(Optional