Class DriverBiddingGroupsClient
- java.lang.Object
-
- com.chrt.api.resources.listing.driverbiddinggroups.DriverBiddingGroupsClient
-
public class DriverBiddingGroupsClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description DriverBiddingGroupsClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaddMemberV1(java.lang.String groupId, java.lang.String driverId)Adds a driver to a bidding group.booleanaddMemberV1(java.lang.String groupId, java.lang.String driverId, RequestOptions requestOptions)Adds a driver to a bidding group.DriverBiddingGroup1byIdV1(java.lang.String groupId)Fetches a driver bidding group by id.DriverBiddingGroup1byIdV1(java.lang.String groupId, RequestOptions requestOptions)Fetches a driver bidding group by id.java.lang.StringcreateV1(DriverBiddingGroupClientCreate1 request)Creates a driver bidding group owned by the caller's org.java.lang.StringcreateV1(DriverBiddingGroupClientCreate1 request, RequestOptions requestOptions)Creates a driver bidding group owned by the caller's org.booleandeleteV1(java.lang.String groupId)Hard-deletes a driver bidding group.booleandeleteV1(java.lang.String groupId, RequestOptions requestOptions)Hard-deletes a driver bidding group.DriverBiddingGroupListReslistByOrgV1()Lists driver bidding groups owned by the caller's org with filtering, sorting, and pagination.DriverBiddingGroupListReslistByOrgV1(DriverBiddingGroupsListByOrgV1Request request)Lists driver bidding groups owned by the caller's org with filtering, sorting, and pagination.DriverBiddingGroupListReslistByOrgV1(DriverBiddingGroupsListByOrgV1Request request, RequestOptions requestOptions)Lists driver bidding groups owned by the caller's org with filtering, sorting, and pagination.booleanremoveMemberV1(java.lang.String groupId, java.lang.String driverId)Removes a driver from a bidding group.booleanremoveMemberV1(java.lang.String groupId, java.lang.String driverId, RequestOptions requestOptions)Removes a driver from a bidding group.booleanupdateNameV1(java.lang.String groupId, DriverBiddingGroupsUpdateNameV1Request request)Updates the name of a driver bidding group.booleanupdateNameV1(java.lang.String groupId, DriverBiddingGroupsUpdateNameV1Request request, RequestOptions requestOptions)Updates the name of a driver bidding group.RawDriverBiddingGroupsClientwithRawResponse()Get responses with HTTP metadata like headers
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
DriverBiddingGroupsClient
public DriverBiddingGroupsClient(ClientOptions clientOptions)
-
-
Method Detail
-
withRawResponse
public RawDriverBiddingGroupsClient withRawResponse()
Get responses with HTTP metadata like headers
-
byIdV1
public 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 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 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 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)
-
listByOrgV1
public DriverBiddingGroupListRes listByOrgV1(DriverBiddingGroupsListByOrgV1Request request, RequestOptions requestOptions)
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.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.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 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 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 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 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 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 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 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 snapshottedparticipant_driver_ids. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (bool)
-
deleteV1
public 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 snapshottedparticipant_driver_ids. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (bool)
-
-