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