Class RawOperationsTasksClient


  • public class RawOperationsTasksClient
    extends java.lang.Object
    • Constructor Detail

      • RawOperationsTasksClient

        public RawOperationsTasksClient​(ClientOptions clientOptions)
    • Method Detail

      • listV1

        public ChrtApiHttpResponse<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)
      • getV1

        public ChrtApiHttpResponse<OperationsTask1> getV1​(java.lang.String taskId)
        Retrieves a single OperationsTask by id. | authz: min_org_role=operator | () -> (OperationsTask1)
      • deleteV1

        public ChrtApiHttpResponse<java.lang.Boolean> deleteV1​(java.lang.String taskId)
        Hard-deletes an OperationsTask. | authz: min_org_role=operator | () -> (bool)
      • deleteV1

        public ChrtApiHttpResponse<java.lang.Boolean> deleteV1​(java.lang.String taskId,
                                                               RequestOptions requestOptions)
        Hard-deletes an OperationsTask. | authz: min_org_role=operator | () -> (bool)
      • updateV1

        public ChrtApiHttpResponse<java.lang.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 ChrtApiHttpResponse<java.lang.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 ChrtApiHttpResponse<java.lang.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 ChrtApiHttpResponse<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 ChrtApiHttpResponse<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 ChrtApiHttpResponse<java.lang.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 ChrtApiHttpResponse<java.lang.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 ChrtApiHttpResponse<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 ChrtApiHttpResponse<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 ChrtApiHttpResponse<java.lang.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 ChrtApiHttpResponse<java.lang.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)