Class OperationsTasksClient
- java.lang.Object
-
- com.chrt.api.resources.operations.operationstasks.OperationsTasksClient
-
public class OperationsTasksClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description OperationsTasksClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringaddCommentV1(java.lang.String taskId, OperationsTaskAddCommentReq1 request)Appends a comment to an OperationsTask's comment thread.java.lang.StringaddCommentV1(java.lang.String taskId, OperationsTaskAddCommentReq1 request, RequestOptions requestOptions)Appends a comment to an OperationsTask's comment thread.java.lang.StringcreateV1(OperationsTaskClientCreate1 request)Creates a new OperationsTask on an Order the caller's organization has a Case for.java.lang.StringcreateV1(OperationsTaskClientCreate1 request, RequestOptions requestOptions)Creates a new OperationsTask on an Order the caller's organization has a Case for.booleandeleteCommentV1(java.lang.String taskId, java.lang.String commentId)Deletes a comment from an OperationsTask's comment thread.booleandeleteCommentV1(java.lang.String taskId, java.lang.String commentId, RequestOptions requestOptions)Deletes a comment from an OperationsTask's comment thread.booleandeleteV1(java.lang.String taskId)Hard-deletes an OperationsTask.booleandeleteV1(java.lang.String taskId, RequestOptions requestOptions)Hard-deletes an OperationsTask.OperationsTask1getV1(java.lang.String taskId)Retrieves a single OperationsTask by id.OperationsTask1getV1(java.lang.String taskId, RequestOptions requestOptions)Retrieves a single OperationsTask by id.OperationsTaskListReslistV1()Lists OperationsTasks for the caller's organization, with order ids / department / type / status / tag / assignee / deadline filtering, sorting, and pagination.OperationsTaskListReslistV1(OperationsTasksListV1Request request)Lists OperationsTasks for the caller's organization, with order ids / department / type / status / tag / assignee / deadline filtering, sorting, and pagination.OperationsTaskListReslistV1(OperationsTasksListV1Request request, RequestOptions requestOptions)Lists OperationsTasks for the caller's organization, with order ids / department / type / status / tag / assignee / deadline filtering, sorting, and pagination.booleanupdateStatusV1(java.lang.String taskId, OperationsTaskStatusReq request)Sets an OperationsTask's status (not_started / in_progress / completed / skipped).booleanupdateStatusV1(java.lang.String taskId, OperationsTaskStatusReq request, RequestOptions requestOptions)Sets an OperationsTask's status (not_started / in_progress / completed / skipped).booleanupdateV1(java.lang.String taskId)Updates editable fields (task_type, title, description, deadline_timestamp, tags, assigned_user_ids) on an OperationsTask.booleanupdateV1(java.lang.String taskId, OperationsTaskClientUpdate1 request)Updates editable fields (task_type, title, description, deadline_timestamp, tags, assigned_user_ids) on an OperationsTask.booleanupdateV1(java.lang.String taskId, OperationsTaskClientUpdate1 request, RequestOptions requestOptions)Updates editable fields (task_type, title, description, deadline_timestamp, tags, assigned_user_ids) on an OperationsTask.RawOperationsTasksClientwithRawResponse()Get responses with HTTP metadata like headers
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
OperationsTasksClient
public OperationsTasksClient(ClientOptions clientOptions)
-
-
Method Detail
-
withRawResponse
public RawOperationsTasksClient withRawResponse()
Get responses with HTTP metadata like headers
-
listV1
public OperationsTaskListRes listV1()
Lists OperationsTasks for the caller's organization, with order ids / department / type / status / tag / assignee / deadline filtering, sorting, and pagination. | authz: min_org_role=operator | () -> (OperationsTaskListRes)
-
listV1
public OperationsTaskListRes listV1(OperationsTasksListV1Request request)
Lists OperationsTasks for the caller's organization, with order ids / department / type / status / tag / assignee / deadline filtering, sorting, and pagination. | authz: min_org_role=operator | () -> (OperationsTaskListRes)
-
listV1
public OperationsTaskListRes listV1(OperationsTasksListV1Request request, RequestOptions requestOptions)
Lists OperationsTasks for the caller's organization, with order ids / department / type / status / tag / assignee / deadline filtering, sorting, and pagination. | authz: min_org_role=operator | () -> (OperationsTaskListRes)
-
getV1
public OperationsTask1 getV1(java.lang.String taskId)
Retrieves a single OperationsTask by id. | authz: min_org_role=operator | () -> (OperationsTask1)
-
getV1
public OperationsTask1 getV1(java.lang.String taskId, RequestOptions requestOptions)
Retrieves a single OperationsTask by id. | authz: min_org_role=operator | () -> (OperationsTask1)
-
deleteV1
public boolean deleteV1(java.lang.String taskId)
Hard-deletes an OperationsTask. | authz: min_org_role=operator | () -> (bool)
-
deleteV1
public boolean deleteV1(java.lang.String taskId, RequestOptions requestOptions)Hard-deletes an OperationsTask. | authz: min_org_role=operator | () -> (bool)
-
updateV1
public boolean updateV1(java.lang.String taskId)
Updates editable fields (task_type, title, description, deadline_timestamp, tags, assigned_user_ids) on an OperationsTask. | authz: min_org_role=operator | (OperationsTaskClientUpdate1) -> (bool)
-
updateV1
public boolean updateV1(java.lang.String taskId, OperationsTaskClientUpdate1 request)Updates editable fields (task_type, title, description, deadline_timestamp, tags, assigned_user_ids) on an OperationsTask. | authz: min_org_role=operator | (OperationsTaskClientUpdate1) -> (bool)
-
updateV1
public boolean updateV1(java.lang.String taskId, OperationsTaskClientUpdate1 request, RequestOptions requestOptions)Updates editable fields (task_type, title, description, deadline_timestamp, tags, assigned_user_ids) on an OperationsTask. | authz: min_org_role=operator | (OperationsTaskClientUpdate1) -> (bool)
-
createV1
public java.lang.String createV1(OperationsTaskClientCreate1 request)
Creates a new OperationsTask on an Order the caller's organization has a Case for. | authz: min_org_role=operator | (OperationsTaskClientCreate1) -> (PydanticObjectId)
-
createV1
public java.lang.String createV1(OperationsTaskClientCreate1 request, RequestOptions requestOptions)
Creates a new OperationsTask on an Order the caller's organization has a Case for. | authz: min_org_role=operator | (OperationsTaskClientCreate1) -> (PydanticObjectId)
-
updateStatusV1
public boolean updateStatusV1(java.lang.String taskId, OperationsTaskStatusReq request)Sets an OperationsTask's status (not_started / in_progress / completed / skipped). Setting COMPLETED stamps completed_at/by; any other status clears them. | authz: min_org_role=operator | (OperationsTaskStatusReq) -> (bool)
-
updateStatusV1
public boolean updateStatusV1(java.lang.String taskId, OperationsTaskStatusReq request, RequestOptions requestOptions)Sets an OperationsTask's status (not_started / in_progress / completed / skipped). Setting COMPLETED stamps completed_at/by; any other status clears them. | authz: min_org_role=operator | (OperationsTaskStatusReq) -> (bool)
-
addCommentV1
public java.lang.String addCommentV1(java.lang.String taskId, OperationsTaskAddCommentReq1 request)Appends a comment to an OperationsTask's comment thread. Returns the new comment id. | authz: min_org_role=operator | (OperationsTaskAddCommentReq1) -> (str)
-
addCommentV1
public java.lang.String addCommentV1(java.lang.String taskId, OperationsTaskAddCommentReq1 request, RequestOptions requestOptions)Appends a comment to an OperationsTask's comment thread. Returns the new comment id. | authz: min_org_role=operator | (OperationsTaskAddCommentReq1) -> (str)
-
deleteCommentV1
public boolean deleteCommentV1(java.lang.String taskId, java.lang.String commentId)Deletes a comment from an OperationsTask's comment thread. 404 if the comment isn't found. | authz: min_org_role=operator | () -> (bool)
-
deleteCommentV1
public boolean deleteCommentV1(java.lang.String taskId, java.lang.String commentId, RequestOptions requestOptions)Deletes a comment from an OperationsTask's comment thread. 404 if the comment isn't found. | authz: min_org_role=operator | () -> (bool)
-
-