Class AsyncDriverBiddingGroupsClient


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

      • AsyncDriverBiddingGroupsClient

        public AsyncDriverBiddingGroupsClient​(ClientOptions clientOptions)
    • Method Detail

      • byIdV1

        public java.util.concurrent.CompletableFuture<DriverBiddingGroup1> byIdV1​(java.lang.String groupId)
        Fetches a driver bidding group by id. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (DriverBiddingGroup1)
      • byIdV1

        public java.util.concurrent.CompletableFuture<DriverBiddingGroup1> byIdV1​(java.lang.String groupId,
                                                                                  RequestOptions requestOptions)
        Fetches a driver bidding group by id. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (DriverBiddingGroup1)
      • listByOrgV1

        public java.util.concurrent.CompletableFuture<DriverBiddingGroupListRes> listByOrgV1()
        Lists driver bidding groups owned by the caller's org with filtering, sorting, and pagination. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (DriverBiddingGroupListRes)
      • listByOrgV1

        public java.util.concurrent.CompletableFuture<DriverBiddingGroupListRes> listByOrgV1​(DriverBiddingGroupsListByOrgV1Request request)
        Lists driver bidding groups owned by the caller's org with filtering, sorting, and pagination. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (DriverBiddingGroupListRes)
      • createV1

        public java.util.concurrent.CompletableFuture<java.lang.String> createV1​(DriverBiddingGroupClientCreate1 request)
        Creates a driver bidding group owned by the caller's org. The group starts empty — add drivers via /add_member. | authz: allowed_org_types=[provider], min_org_role=operator | (DriverBiddingGroupClientCreate1) -> (PydanticObjectId)
      • createV1

        public java.util.concurrent.CompletableFuture<java.lang.String> createV1​(DriverBiddingGroupClientCreate1 request,
                                                                                 RequestOptions requestOptions)
        Creates a driver bidding group owned by the caller's org. The group starts empty — add drivers via /add_member. | authz: allowed_org_types=[provider], min_org_role=operator | (DriverBiddingGroupClientCreate1) -> (PydanticObjectId)
      • updateNameV1

        public java.util.concurrent.CompletableFuture<java.lang.Boolean> updateNameV1​(java.lang.String groupId,
                                                                                      DriverBiddingGroupsUpdateNameV1Request request)
        Updates the name of a driver bidding group. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (bool)
      • updateNameV1

        public java.util.concurrent.CompletableFuture<java.lang.Boolean> updateNameV1​(java.lang.String groupId,
                                                                                      DriverBiddingGroupsUpdateNameV1Request request,
                                                                                      RequestOptions requestOptions)
        Updates the name of a driver bidding group. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (bool)
      • addMemberV1

        public java.util.concurrent.CompletableFuture<java.lang.Boolean> addMemberV1​(java.lang.String groupId,
                                                                                     java.lang.String driverId)
        Adds a driver to a bidding group. Driver must be part of the caller's org. Duplicate adds are idempotent ($addToSet). | authz: allowed_org_types=[provider], min_org_role=operator | () -> (bool)
      • addMemberV1

        public java.util.concurrent.CompletableFuture<java.lang.Boolean> addMemberV1​(java.lang.String groupId,
                                                                                     java.lang.String driverId,
                                                                                     RequestOptions requestOptions)
        Adds a driver to a bidding group. Driver must be part of the caller's org. Duplicate adds are idempotent ($addToSet). | authz: allowed_org_types=[provider], min_org_role=operator | () -> (bool)
      • removeMemberV1

        public java.util.concurrent.CompletableFuture<java.lang.Boolean> removeMemberV1​(java.lang.String groupId,
                                                                                        java.lang.String driverId)
        Removes a driver from a bidding group. No-op if the driver is not a member. Live Listings retain their snapshotted members. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (bool)
      • removeMemberV1

        public java.util.concurrent.CompletableFuture<java.lang.Boolean> removeMemberV1​(java.lang.String groupId,
                                                                                        java.lang.String driverId,
                                                                                        RequestOptions requestOptions)
        Removes a driver from a bidding group. No-op if the driver is not a member. Live Listings retain their snapshotted members. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (bool)
      • deleteV1

        public java.util.concurrent.CompletableFuture<java.lang.Boolean> deleteV1​(java.lang.String groupId)
        Hard-deletes a driver bidding group. Live Listings that reference this group as a source are unaffected — they hold their own snapshotted participant_driver_ids. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (bool)
      • deleteV1

        public java.util.concurrent.CompletableFuture<java.lang.Boolean> deleteV1​(java.lang.String groupId,
                                                                                  RequestOptions requestOptions)
        Hard-deletes a driver bidding group. Live Listings that reference this group as a source are unaffected — they hold their own snapshotted participant_driver_ids. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (bool)