Class AsyncCargoOnFlightRateSheetsClient
- java.lang.Object
-
- com.chrt.api.resources.billing.cargoonflightratesheets.AsyncCargoOnFlightRateSheetsClient
-
public class AsyncCargoOnFlightRateSheetsClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description AsyncCargoOnFlightRateSheetsClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<java.lang.Boolean>archiveV1(java.lang.String id)Archives a CargoOnFlight rate sheet (sets archived=True).java.util.concurrent.CompletableFuture<java.lang.Boolean>archiveV1(java.lang.String id, RequestOptions requestOptions)Archives a CargoOnFlight rate sheet (sets archived=True).java.util.concurrent.CompletableFuture<java.lang.String>createV1(CargoOnFlightRateSheetClientCreate1 request)Creates a CargoOnFlight rate sheet owned by the caller's org.java.util.concurrent.CompletableFuture<java.lang.String>createV1(CargoOnFlightRateSheetClientCreate1 request, RequestOptions requestOptions)Creates a CargoOnFlight rate sheet owned by the caller's org.java.util.concurrent.CompletableFuture<java.lang.Boolean>deleteV1(java.lang.String id)Hard-deletes a CargoOnFlight rate sheet owned by the caller's org.java.util.concurrent.CompletableFuture<java.lang.Boolean>deleteV1(java.lang.String id, RequestOptions requestOptions)Hard-deletes a CargoOnFlight rate sheet owned by the caller's org.java.util.concurrent.CompletableFuture<CargoOnFlightRateSheet1>getByIdV1(java.lang.String id)Retrieves a specific CargoOnFlight rate sheet owned by the caller's organization.java.util.concurrent.CompletableFuture<CargoOnFlightRateSheet1>getByIdV1(java.lang.String id, RequestOptions requestOptions)Retrieves a specific CargoOnFlight rate sheet owned by the caller's organization.java.util.concurrent.CompletableFuture<CargoOnFlightRateSheetListRes>listV1()Lists all CargoOnFlight rate sheets owned by the caller's organization.java.util.concurrent.CompletableFuture<CargoOnFlightRateSheetListRes>listV1(CargoOnFlightRateSheetsListV1Request request)Lists all CargoOnFlight rate sheets owned by the caller's organization.java.util.concurrent.CompletableFuture<CargoOnFlightRateSheetListRes>listV1(CargoOnFlightRateSheetsListV1Request request, RequestOptions requestOptions)Lists all CargoOnFlight rate sheets owned by the caller's organization.java.util.concurrent.CompletableFuture<java.lang.Boolean>unarchiveV1(java.lang.String id)Unarchives a CargoOnFlight rate sheet (sets archived=False).java.util.concurrent.CompletableFuture<java.lang.Boolean>unarchiveV1(java.lang.String id, RequestOptions requestOptions)Unarchives a CargoOnFlight rate sheet (sets archived=False).java.util.concurrent.CompletableFuture<java.lang.Boolean>updateV1(java.lang.String id)Updates a CargoOnFlight rate sheet owned by the caller's org.java.util.concurrent.CompletableFuture<java.lang.Boolean>updateV1(java.lang.String id, CargoOnFlightRateSheetClientUpdate1 request)Updates a CargoOnFlight rate sheet owned by the caller's org.java.util.concurrent.CompletableFuture<java.lang.Boolean>updateV1(java.lang.String id, CargoOnFlightRateSheetClientUpdate1 request, RequestOptions requestOptions)Updates a CargoOnFlight rate sheet owned by the caller's org.AsyncRawCargoOnFlightRateSheetsClientwithRawResponse()Get responses with HTTP metadata like headers
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
AsyncCargoOnFlightRateSheetsClient
public AsyncCargoOnFlightRateSheetsClient(ClientOptions clientOptions)
-
-
Method Detail
-
withRawResponse
public AsyncRawCargoOnFlightRateSheetsClient withRawResponse()
Get responses with HTTP metadata like headers
-
getByIdV1
public java.util.concurrent.CompletableFuture<CargoOnFlightRateSheet1> getByIdV1(java.lang.String id)
Retrieves a specific CargoOnFlight rate sheet owned by the caller's organization. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (CargoOnFlightRateSheet1)
-
getByIdV1
public java.util.concurrent.CompletableFuture<CargoOnFlightRateSheet1> getByIdV1(java.lang.String id, RequestOptions requestOptions)
Retrieves a specific CargoOnFlight rate sheet owned by the caller's organization. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (CargoOnFlightRateSheet1)
-
listV1
public java.util.concurrent.CompletableFuture<CargoOnFlightRateSheetListRes> listV1()
Lists all CargoOnFlight rate sheets owned by the caller's organization. Pagination only — no search/filter. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (CargoOnFlightRateSheetListRes)
-
listV1
public java.util.concurrent.CompletableFuture<CargoOnFlightRateSheetListRes> listV1(CargoOnFlightRateSheetsListV1Request request)
Lists all CargoOnFlight rate sheets owned by the caller's organization. Pagination only — no search/filter. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (CargoOnFlightRateSheetListRes)
-
listV1
public java.util.concurrent.CompletableFuture<CargoOnFlightRateSheetListRes> listV1(CargoOnFlightRateSheetsListV1Request request, RequestOptions requestOptions)
Lists all CargoOnFlight rate sheets owned by the caller's organization. Pagination only — no search/filter. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (CargoOnFlightRateSheetListRes)
-
createV1
public java.util.concurrent.CompletableFuture<java.lang.String> createV1(CargoOnFlightRateSheetClientCreate1 request)
Creates a CargoOnFlight rate sheet owned by the caller's org. | authz: allowed_org_types=[provider], min_org_role=operator | (CargoOnFlightRateSheetClientCreate1) -> (PydanticObjectId)
-
createV1
public java.util.concurrent.CompletableFuture<java.lang.String> createV1(CargoOnFlightRateSheetClientCreate1 request, RequestOptions requestOptions)
Creates a CargoOnFlight rate sheet owned by the caller's org. | authz: allowed_org_types=[provider], min_org_role=operator | (CargoOnFlightRateSheetClientCreate1) -> (PydanticObjectId)
-
updateV1
public java.util.concurrent.CompletableFuture<java.lang.Boolean> updateV1(java.lang.String id)
Updates a CargoOnFlight rate sheet owned by the caller's org. Use the archive/unarchive routes to toggle thearchivedflag. | authz: allowed_org_types=[provider], min_org_role=operator | (CargoOnFlightRateSheetClientUpdate1) -> (bool)
-
updateV1
public java.util.concurrent.CompletableFuture<java.lang.Boolean> updateV1(java.lang.String id, CargoOnFlightRateSheetClientUpdate1 request)Updates a CargoOnFlight rate sheet owned by the caller's org. Use the archive/unarchive routes to toggle thearchivedflag. | authz: allowed_org_types=[provider], min_org_role=operator | (CargoOnFlightRateSheetClientUpdate1) -> (bool)
-
updateV1
public java.util.concurrent.CompletableFuture<java.lang.Boolean> updateV1(java.lang.String id, CargoOnFlightRateSheetClientUpdate1 request, RequestOptions requestOptions)Updates a CargoOnFlight rate sheet owned by the caller's org. Use the archive/unarchive routes to toggle thearchivedflag. | authz: allowed_org_types=[provider], min_org_role=operator | (CargoOnFlightRateSheetClientUpdate1) -> (bool)
-
archiveV1
public java.util.concurrent.CompletableFuture<java.lang.Boolean> archiveV1(java.lang.String id)
Archives a CargoOnFlight rate sheet (sets archived=True). Idempotent. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (bool)
-
archiveV1
public java.util.concurrent.CompletableFuture<java.lang.Boolean> archiveV1(java.lang.String id, RequestOptions requestOptions)Archives a CargoOnFlight rate sheet (sets archived=True). Idempotent. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (bool)
-
unarchiveV1
public java.util.concurrent.CompletableFuture<java.lang.Boolean> unarchiveV1(java.lang.String id)
Unarchives a CargoOnFlight rate sheet (sets archived=False). Idempotent. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (bool)
-
unarchiveV1
public java.util.concurrent.CompletableFuture<java.lang.Boolean> unarchiveV1(java.lang.String id, RequestOptions requestOptions)Unarchives a CargoOnFlight rate sheet (sets archived=False). Idempotent. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (bool)
-
deleteV1
public java.util.concurrent.CompletableFuture<java.lang.Boolean> deleteV1(java.lang.String id)
Hard-deletes a CargoOnFlight rate sheet owned by the caller's org. Prefer archiving when the sheet has historical references. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (bool)
-
deleteV1
public java.util.concurrent.CompletableFuture<java.lang.Boolean> deleteV1(java.lang.String id, RequestOptions requestOptions)Hard-deletes a CargoOnFlight rate sheet owned by the caller's org. Prefer archiving when the sheet has historical references. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (bool)
-
-