Class TaskGroupClient


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

      • TaskGroupClient

        public TaskGroupClient​(ClientOptions clientOptions)
    • Method Detail

      • withRawResponse

        public RawTaskGroupClient withRawResponse()
        Get responses with HTTP metadata like headers
      • addV1

        public 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)
      • addV1

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

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

        public 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 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 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 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)