Class AsyncOperationsTaskListsClient


  • public class AsyncOperationsTaskListsClient
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.concurrent.CompletableFuture<java.util.List<java.lang.String>> applyToCaseV1​(java.lang.String taskListId, java.lang.String caseId)
      Materializes each entry of an OperationsTaskList into an OperationsTask on the Case (status=not_started, source_task_list_id set).
      java.util.concurrent.CompletableFuture<java.util.List<java.lang.String>> applyToCaseV1​(java.lang.String taskListId, java.lang.String caseId, OperationsTaskListsApplyToCaseV1Request request)
      Materializes each entry of an OperationsTaskList into an OperationsTask on the Case (status=not_started, source_task_list_id set).
      java.util.concurrent.CompletableFuture<java.util.List<java.lang.String>> applyToCaseV1​(java.lang.String taskListId, java.lang.String caseId, OperationsTaskListsApplyToCaseV1Request request, RequestOptions requestOptions)
      Materializes each entry of an OperationsTaskList into an OperationsTask on the Case (status=not_started, source_task_list_id set).
      java.util.concurrent.CompletableFuture<java.lang.Boolean> archiveV1​(java.lang.String taskListId)
      Soft-deletes an OperationsTaskList by setting archived=True.
      java.util.concurrent.CompletableFuture<java.lang.Boolean> archiveV1​(java.lang.String taskListId, RequestOptions requestOptions)
      Soft-deletes an OperationsTaskList by setting archived=True.
      java.util.concurrent.CompletableFuture<java.lang.String> createV1​(OperationsTaskListClientCreate1 request)
      Creates a new OperationsTaskList for the caller's organization.
      java.util.concurrent.CompletableFuture<java.lang.String> createV1​(OperationsTaskListClientCreate1 request, RequestOptions requestOptions)
      Creates a new OperationsTaskList for the caller's organization.
      java.util.concurrent.CompletableFuture<OperationsTaskList1> getV1​(java.lang.String taskListId)
      Retrieves a single OperationsTaskList by id.
      java.util.concurrent.CompletableFuture<OperationsTaskList1> getV1​(java.lang.String taskListId, RequestOptions requestOptions)
      Retrieves a single OperationsTaskList by id.
      java.util.concurrent.CompletableFuture<OperationsTaskListListRes> listV1()
      Lists OperationsTaskLists for the caller's organization with filtering, sorting, and pagination.
      java.util.concurrent.CompletableFuture<OperationsTaskListListRes> listV1​(OperationsTaskListsListV1Request request)
      Lists OperationsTaskLists for the caller's organization with filtering, sorting, and pagination.
      java.util.concurrent.CompletableFuture<OperationsTaskListListRes> listV1​(OperationsTaskListsListV1Request request, RequestOptions requestOptions)
      Lists OperationsTaskLists for the caller's organization with filtering, sorting, and pagination.
      java.util.concurrent.CompletableFuture<OperationsTaskListRemoveFromCaseRes1> removeFromCaseV1​(java.lang.String taskListId, java.lang.String caseId)
      Removes the OperationsTasks this OperationsTaskList added to the Case (matched by source_task_list_id).
      java.util.concurrent.CompletableFuture<OperationsTaskListRemoveFromCaseRes1> removeFromCaseV1​(java.lang.String taskListId, java.lang.String caseId, RequestOptions requestOptions)
      Removes the OperationsTasks this OperationsTaskList added to the Case (matched by source_task_list_id).
      java.util.concurrent.CompletableFuture<java.lang.Boolean> reorderEntriesV1​(java.lang.String taskListId)
      Reorders an OperationsTaskList's existing entries.
      java.util.concurrent.CompletableFuture<java.lang.Boolean> reorderEntriesV1​(java.lang.String taskListId, OperationsTaskListReorderEntries1 request)
      Reorders an OperationsTaskList's existing entries.
      java.util.concurrent.CompletableFuture<java.lang.Boolean> reorderEntriesV1​(java.lang.String taskListId, OperationsTaskListReorderEntries1 request, RequestOptions requestOptions)
      Reorders an OperationsTaskList's existing entries.
      java.util.concurrent.CompletableFuture<java.lang.Boolean> setEntriesV1​(java.lang.String taskListId)
      Replaces an OperationsTaskList's entries array wholesale — covering add, remove, reorder, and edit in one operation.
      java.util.concurrent.CompletableFuture<java.lang.Boolean> setEntriesV1​(java.lang.String taskListId, OperationsTaskListSetEntries1 request)
      Replaces an OperationsTaskList's entries array wholesale — covering add, remove, reorder, and edit in one operation.
      java.util.concurrent.CompletableFuture<java.lang.Boolean> setEntriesV1​(java.lang.String taskListId, OperationsTaskListSetEntries1 request, RequestOptions requestOptions)
      Replaces an OperationsTaskList's entries array wholesale — covering add, remove, reorder, and edit in one operation.
      java.util.concurrent.CompletableFuture<java.lang.Boolean> unarchiveV1​(java.lang.String taskListId)
      Restores an archived OperationsTaskList by setting archived=False.
      java.util.concurrent.CompletableFuture<java.lang.Boolean> unarchiveV1​(java.lang.String taskListId, RequestOptions requestOptions)
      Restores an archived OperationsTaskList by setting archived=False.
      java.util.concurrent.CompletableFuture<java.lang.Boolean> updateV1​(java.lang.String taskListId)
      Updates scalar fields (name, description, tags) on an OperationsTaskList.
      java.util.concurrent.CompletableFuture<java.lang.Boolean> updateV1​(java.lang.String taskListId, OperationsTaskListClientUpdate1 request)
      Updates scalar fields (name, description, tags) on an OperationsTaskList.
      java.util.concurrent.CompletableFuture<java.lang.Boolean> updateV1​(java.lang.String taskListId, OperationsTaskListClientUpdate1 request, RequestOptions requestOptions)
      Updates scalar fields (name, description, tags) on an OperationsTaskList.
      AsyncRawOperationsTaskListsClient withRawResponse()
      Get responses with HTTP metadata like headers
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AsyncOperationsTaskListsClient

        public AsyncOperationsTaskListsClient​(ClientOptions clientOptions)
    • Method Detail

      • listV1

        public java.util.concurrent.CompletableFuture<OperationsTaskListListRes> listV1()
        Lists OperationsTaskLists for the caller's organization with filtering, sorting, and pagination. | authz: min_org_role=operator | () -> (OperationsTaskListListRes)
      • listV1

        public java.util.concurrent.CompletableFuture<OperationsTaskListListRes> listV1​(OperationsTaskListsListV1Request request)
        Lists OperationsTaskLists for the caller's organization with filtering, sorting, and pagination. | authz: min_org_role=operator | () -> (OperationsTaskListListRes)
      • getV1

        public java.util.concurrent.CompletableFuture<OperationsTaskList1> getV1​(java.lang.String taskListId)
        Retrieves a single OperationsTaskList by id. | authz: min_org_role=operator | () -> (OperationsTaskList1)
      • getV1

        public java.util.concurrent.CompletableFuture<OperationsTaskList1> getV1​(java.lang.String taskListId,
                                                                                 RequestOptions requestOptions)
        Retrieves a single OperationsTaskList by id. | authz: min_org_role=operator | () -> (OperationsTaskList1)
      • updateV1

        public java.util.concurrent.CompletableFuture<java.lang.Boolean> updateV1​(java.lang.String taskListId)
        Updates scalar fields (name, description, tags) on an OperationsTaskList. | authz: min_org_role=operator | (OperationsTaskListClientUpdate1) -> (bool)
      • updateV1

        public java.util.concurrent.CompletableFuture<java.lang.Boolean> updateV1​(java.lang.String taskListId,
                                                                                  OperationsTaskListClientUpdate1 request)
        Updates scalar fields (name, description, tags) on an OperationsTaskList. | authz: min_org_role=operator | (OperationsTaskListClientUpdate1) -> (bool)
      • updateV1

        public java.util.concurrent.CompletableFuture<java.lang.Boolean> updateV1​(java.lang.String taskListId,
                                                                                  OperationsTaskListClientUpdate1 request,
                                                                                  RequestOptions requestOptions)
        Updates scalar fields (name, description, tags) on an OperationsTaskList. | authz: min_org_role=operator | (OperationsTaskListClientUpdate1) -> (bool)
      • createV1

        public java.util.concurrent.CompletableFuture<java.lang.String> createV1​(OperationsTaskListClientCreate1 request)
        Creates a new OperationsTaskList for the caller's organization. | authz: min_org_role=operator | (OperationsTaskListClientCreate1) -> (PydanticObjectId)
      • createV1

        public java.util.concurrent.CompletableFuture<java.lang.String> createV1​(OperationsTaskListClientCreate1 request,
                                                                                 RequestOptions requestOptions)
        Creates a new OperationsTaskList for the caller's organization. | authz: min_org_role=operator | (OperationsTaskListClientCreate1) -> (PydanticObjectId)
      • setEntriesV1

        public java.util.concurrent.CompletableFuture<java.lang.Boolean> setEntriesV1​(java.lang.String taskListId)
        Replaces an OperationsTaskList's entries array wholesale — covering add, remove, reorder, and edit in one operation. Order is load-bearing for from_previous_task-anchored deadlines. | authz: min_org_role=operator | (OperationsTaskListSetEntries1) -> (bool)
      • setEntriesV1

        public java.util.concurrent.CompletableFuture<java.lang.Boolean> setEntriesV1​(java.lang.String taskListId,
                                                                                      OperationsTaskListSetEntries1 request)
        Replaces an OperationsTaskList's entries array wholesale — covering add, remove, reorder, and edit in one operation. Order is load-bearing for from_previous_task-anchored deadlines. | authz: min_org_role=operator | (OperationsTaskListSetEntries1) -> (bool)
      • setEntriesV1

        public java.util.concurrent.CompletableFuture<java.lang.Boolean> setEntriesV1​(java.lang.String taskListId,
                                                                                      OperationsTaskListSetEntries1 request,
                                                                                      RequestOptions requestOptions)
        Replaces an OperationsTaskList's entries array wholesale — covering add, remove, reorder, and edit in one operation. Order is load-bearing for from_previous_task-anchored deadlines. | authz: min_org_role=operator | (OperationsTaskListSetEntries1) -> (bool)
      • reorderEntriesV1

        public java.util.concurrent.CompletableFuture<java.lang.Boolean> reorderEntriesV1​(java.lang.String taskListId)
        Reorders an OperationsTaskList's existing entries. entry_ids must be an exact permutation of the list's current entry ids (every id present, no extras, no duplicates), so a reorder can never drop, add, or mutate an entry. | authz: min_org_role=operator | (OperationsTaskListReorderEntries1) -> (bool)
      • reorderEntriesV1

        public java.util.concurrent.CompletableFuture<java.lang.Boolean> reorderEntriesV1​(java.lang.String taskListId,
                                                                                          OperationsTaskListReorderEntries1 request)
        Reorders an OperationsTaskList's existing entries. entry_ids must be an exact permutation of the list's current entry ids (every id present, no extras, no duplicates), so a reorder can never drop, add, or mutate an entry. | authz: min_org_role=operator | (OperationsTaskListReorderEntries1) -> (bool)
      • reorderEntriesV1

        public java.util.concurrent.CompletableFuture<java.lang.Boolean> reorderEntriesV1​(java.lang.String taskListId,
                                                                                          OperationsTaskListReorderEntries1 request,
                                                                                          RequestOptions requestOptions)
        Reorders an OperationsTaskList's existing entries. entry_ids must be an exact permutation of the list's current entry ids (every id present, no extras, no duplicates), so a reorder can never drop, add, or mutate an entry. | authz: min_org_role=operator | (OperationsTaskListReorderEntries1) -> (bool)
      • archiveV1

        public java.util.concurrent.CompletableFuture<java.lang.Boolean> archiveV1​(java.lang.String taskListId)
        Soft-deletes an OperationsTaskList by setting archived=True. Tasks already applied to Cases are unaffected. | authz: min_org_role=operator | () -> (bool)
      • archiveV1

        public java.util.concurrent.CompletableFuture<java.lang.Boolean> archiveV1​(java.lang.String taskListId,
                                                                                   RequestOptions requestOptions)
        Soft-deletes an OperationsTaskList by setting archived=True. Tasks already applied to Cases are unaffected. | authz: min_org_role=operator | () -> (bool)
      • unarchiveV1

        public java.util.concurrent.CompletableFuture<java.lang.Boolean> unarchiveV1​(java.lang.String taskListId)
        Restores an archived OperationsTaskList by setting archived=False. | authz: min_org_role=operator | () -> (bool)
      • unarchiveV1

        public java.util.concurrent.CompletableFuture<java.lang.Boolean> unarchiveV1​(java.lang.String taskListId,
                                                                                     RequestOptions requestOptions)
        Restores an archived OperationsTaskList by setting archived=False. | authz: min_org_role=operator | () -> (bool)
      • applyToCaseV1

        public java.util.concurrent.CompletableFuture<java.util.List<java.lang.String>> applyToCaseV1​(java.lang.String taskListId,
                                                                                                      java.lang.String caseId)
        Materializes each entry of an OperationsTaskList into an OperationsTask on the Case (status=not_started, source_task_list_id set). Deadlines resolve per-entry from its anchor+offset; initial_deadline_timestamp, if set, pins the first entry and the chain follows. No dedup — applying twice creates duplicate tasks. | authz: min_org_role=operator | () -> (list[PydanticObjectId])
      • applyToCaseV1

        public java.util.concurrent.CompletableFuture<java.util.List<java.lang.String>> applyToCaseV1​(java.lang.String taskListId,
                                                                                                      java.lang.String caseId,
                                                                                                      OperationsTaskListsApplyToCaseV1Request request)
        Materializes each entry of an OperationsTaskList into an OperationsTask on the Case (status=not_started, source_task_list_id set). Deadlines resolve per-entry from its anchor+offset; initial_deadline_timestamp, if set, pins the first entry and the chain follows. No dedup — applying twice creates duplicate tasks. | authz: min_org_role=operator | () -> (list[PydanticObjectId])
      • applyToCaseV1

        public java.util.concurrent.CompletableFuture<java.util.List<java.lang.String>> applyToCaseV1​(java.lang.String taskListId,
                                                                                                      java.lang.String caseId,
                                                                                                      OperationsTaskListsApplyToCaseV1Request request,
                                                                                                      RequestOptions requestOptions)
        Materializes each entry of an OperationsTaskList into an OperationsTask on the Case (status=not_started, source_task_list_id set). Deadlines resolve per-entry from its anchor+offset; initial_deadline_timestamp, if set, pins the first entry and the chain follows. No dedup — applying twice creates duplicate tasks. | authz: min_org_role=operator | () -> (list[PydanticObjectId])
      • removeFromCaseV1

        public java.util.concurrent.CompletableFuture<OperationsTaskListRemoveFromCaseRes1> removeFromCaseV1​(java.lang.String taskListId,
                                                                                                             java.lang.String caseId)
        Removes the OperationsTasks this OperationsTaskList added to the Case (matched by source_task_list_id). Only untouched (not_started) tasks are deleted; started/completed/skipped tasks are kept. Returns deleted and kept counts. | authz: min_org_role=operator | () -> (OperationsTaskListRemoveFromCaseRes1)
      • removeFromCaseV1

        public java.util.concurrent.CompletableFuture<OperationsTaskListRemoveFromCaseRes1> removeFromCaseV1​(java.lang.String taskListId,
                                                                                                             java.lang.String caseId,
                                                                                                             RequestOptions requestOptions)
        Removes the OperationsTasks this OperationsTaskList added to the Case (matched by source_task_list_id). Only untouched (not_started) tasks are deleted; started/completed/skipped tasks are kept. Returns deleted and kept counts. | authz: min_org_role=operator | () -> (OperationsTaskListRemoveFromCaseRes1)