Class OperationsTaskListsClient
- java.lang.Object
-
- com.chrt.api.resources.operations.operationstasklists.OperationsTaskListsClient
-
public class OperationsTaskListsClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description OperationsTaskListsClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.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.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).booleanarchiveV1(java.lang.String taskListId)Soft-deletes an OperationsTaskList by settingarchived=True.booleanarchiveV1(java.lang.String taskListId, RequestOptions requestOptions)Soft-deletes an OperationsTaskList by settingarchived=True.java.lang.StringcreateV1(OperationsTaskListClientCreate1 request)Creates a new OperationsTaskList for the caller's organization.java.lang.StringcreateV1(OperationsTaskListClientCreate1 request, RequestOptions requestOptions)Creates a new OperationsTaskList for the caller's organization.OperationsTaskList1getV1(java.lang.String taskListId)Retrieves a single OperationsTaskList by id.OperationsTaskList1getV1(java.lang.String taskListId, RequestOptions requestOptions)Retrieves a single OperationsTaskList by id.OperationsTaskListListReslistV1()Lists OperationsTaskLists for the caller's organization with filtering, sorting, and pagination.OperationsTaskListListReslistV1(OperationsTaskListsListV1Request request)Lists OperationsTaskLists for the caller's organization with filtering, sorting, and pagination.OperationsTaskListListReslistV1(OperationsTaskListsListV1Request request, RequestOptions requestOptions)Lists OperationsTaskLists for the caller's organization with filtering, sorting, and pagination.OperationsTaskListRemoveFromCaseRes1removeFromCaseV1(java.lang.String taskListId, java.lang.String caseId)Removes the OperationsTasks this OperationsTaskList added to the Case (matched by source_task_list_id).OperationsTaskListRemoveFromCaseRes1removeFromCaseV1(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).booleanreorderEntriesV1(java.lang.String taskListId)Reorders an OperationsTaskList's existing entries.booleanreorderEntriesV1(java.lang.String taskListId, OperationsTaskListReorderEntries1 request)Reorders an OperationsTaskList's existing entries.booleanreorderEntriesV1(java.lang.String taskListId, OperationsTaskListReorderEntries1 request, RequestOptions requestOptions)Reorders an OperationsTaskList's existing entries.booleansetEntriesV1(java.lang.String taskListId)Replaces an OperationsTaskList'sentriesarray wholesale — covering add, remove, reorder, and edit in one operation.booleansetEntriesV1(java.lang.String taskListId, OperationsTaskListSetEntries1 request)Replaces an OperationsTaskList'sentriesarray wholesale — covering add, remove, reorder, and edit in one operation.booleansetEntriesV1(java.lang.String taskListId, OperationsTaskListSetEntries1 request, RequestOptions requestOptions)Replaces an OperationsTaskList'sentriesarray wholesale — covering add, remove, reorder, and edit in one operation.booleanunarchiveV1(java.lang.String taskListId)Restores an archived OperationsTaskList by settingarchived=False.booleanunarchiveV1(java.lang.String taskListId, RequestOptions requestOptions)Restores an archived OperationsTaskList by settingarchived=False.booleanupdateV1(java.lang.String taskListId)Updates scalar fields (name, description, tags) on an OperationsTaskList.booleanupdateV1(java.lang.String taskListId, OperationsTaskListClientUpdate1 request)Updates scalar fields (name, description, tags) on an OperationsTaskList.booleanupdateV1(java.lang.String taskListId, OperationsTaskListClientUpdate1 request, RequestOptions requestOptions)Updates scalar fields (name, description, tags) on an OperationsTaskList.RawOperationsTaskListsClientwithRawResponse()Get responses with HTTP metadata like headers
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
OperationsTaskListsClient
public OperationsTaskListsClient(ClientOptions clientOptions)
-
-
Method Detail
-
withRawResponse
public RawOperationsTaskListsClient withRawResponse()
Get responses with HTTP metadata like headers
-
listV1
public OperationsTaskListListRes listV1()
Lists OperationsTaskLists for the caller's organization with filtering, sorting, and pagination. | authz: min_org_role=operator | () -> (OperationsTaskListListRes)
-
listV1
public OperationsTaskListListRes listV1(OperationsTaskListsListV1Request request)
Lists OperationsTaskLists for the caller's organization with filtering, sorting, and pagination. | authz: min_org_role=operator | () -> (OperationsTaskListListRes)
-
listV1
public OperationsTaskListListRes listV1(OperationsTaskListsListV1Request request, RequestOptions requestOptions)
Lists OperationsTaskLists for the caller's organization with filtering, sorting, and pagination. | authz: min_org_role=operator | () -> (OperationsTaskListListRes)
-
getV1
public OperationsTaskList1 getV1(java.lang.String taskListId)
Retrieves a single OperationsTaskList by id. | authz: min_org_role=operator | () -> (OperationsTaskList1)
-
getV1
public OperationsTaskList1 getV1(java.lang.String taskListId, RequestOptions requestOptions)
Retrieves a single OperationsTaskList by id. | authz: min_org_role=operator | () -> (OperationsTaskList1)
-
updateV1
public boolean updateV1(java.lang.String taskListId)
Updates scalar fields (name, description, tags) on an OperationsTaskList. | authz: min_org_role=operator | (OperationsTaskListClientUpdate1) -> (bool)
-
updateV1
public 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 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.lang.String createV1(OperationsTaskListClientCreate1 request)
Creates a new OperationsTaskList for the caller's organization. | authz: min_org_role=operator | (OperationsTaskListClientCreate1) -> (PydanticObjectId)
-
createV1
public 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 boolean setEntriesV1(java.lang.String taskListId)
Replaces an OperationsTaskList'sentriesarray 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 boolean setEntriesV1(java.lang.String taskListId, OperationsTaskListSetEntries1 request)Replaces an OperationsTaskList'sentriesarray 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 boolean setEntriesV1(java.lang.String taskListId, OperationsTaskListSetEntries1 request, RequestOptions requestOptions)Replaces an OperationsTaskList'sentriesarray 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 boolean reorderEntriesV1(java.lang.String taskListId)
Reorders an OperationsTaskList's existing entries.entry_idsmust 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 boolean reorderEntriesV1(java.lang.String taskListId, OperationsTaskListReorderEntries1 request)Reorders an OperationsTaskList's existing entries.entry_idsmust 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 boolean reorderEntriesV1(java.lang.String taskListId, OperationsTaskListReorderEntries1 request, RequestOptions requestOptions)Reorders an OperationsTaskList's existing entries.entry_idsmust 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 boolean archiveV1(java.lang.String taskListId)
Soft-deletes an OperationsTaskList by settingarchived=True. Tasks already applied to Cases are unaffected. | authz: min_org_role=operator | () -> (bool)
-
archiveV1
public boolean archiveV1(java.lang.String taskListId, RequestOptions requestOptions)Soft-deletes an OperationsTaskList by settingarchived=True. Tasks already applied to Cases are unaffected. | authz: min_org_role=operator | () -> (bool)
-
unarchiveV1
public boolean unarchiveV1(java.lang.String taskListId)
Restores an archived OperationsTaskList by settingarchived=False. | authz: min_org_role=operator | () -> (bool)
-
unarchiveV1
public boolean unarchiveV1(java.lang.String taskListId, RequestOptions requestOptions)Restores an archived OperationsTaskList by settingarchived=False. | authz: min_org_role=operator | () -> (bool)
-
applyToCaseV1
public 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.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.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 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 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)
-
-