Class RawTaskGroupClient


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

      • RawTaskGroupClient

        public RawTaskGroupClient​(ClientOptions clientOptions)
    • Method Detail

      • addV1

        public ChrtApiHttpResponse<java.lang.String> addV1​(OrderDraftAddTaskGroupReq request)
        Adds a task group to an existing order draft. Validates order is in DRAFT status and owned by caller. | (OrderDraftAddTaskGroupReq) -> (PydanticObjectId)
      • updateV1

        public ChrtApiHttpResponse<java.lang.Boolean> updateV1​(java.lang.String taskGroupId)
        Sets or removes courier org. Sets task ordering (must provide all task ids). | (UpdateTaskGroupDraftReq) -> (bool)
      • updateV1

        public ChrtApiHttpResponse<java.lang.Boolean> updateV1​(java.lang.String taskGroupId,
                                                               UpdateTaskGroupDraftReq request)
        Sets or removes courier org. Sets task ordering (must provide all task ids). | (UpdateTaskGroupDraftReq) -> (bool)
      • updateV1

        public ChrtApiHttpResponse<java.lang.Boolean> updateV1​(java.lang.String taskGroupId,
                                                               UpdateTaskGroupDraftReq request,
                                                               RequestOptions requestOptions)
        Sets or removes courier org. Sets task ordering (must provide all task ids). | (UpdateTaskGroupDraftReq) -> (bool)
      • deleteV1

        public ChrtApiHttpResponse<java.lang.Boolean> deleteV1​(java.lang.String taskGroupId)
        Deletes a task group and all associated entities (tasks, task artifacts, S3 metadata). The task group must belong to a DRAFT order. | () -> (bool)
      • deleteV1

        public ChrtApiHttpResponse<java.lang.Boolean> deleteV1​(java.lang.String taskGroupId,
                                                               RequestOptions requestOptions)
        Deletes a task group and all associated entities (tasks, task artifacts, S3 metadata). The task group must belong to a DRAFT order. | () -> (bool)