Class AsyncRawFlightsClient
- java.lang.Object
-
- com.chrt.api.resources.shipping.flights.AsyncRawFlightsClient
-
public class AsyncRawFlightsClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description AsyncRawFlightsClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<FlightInfoForTaskRes>>getFlightInfoForTaskV1(java.lang.String taskId)Returns flight info from an adjacent FLIGHT task group for TENDER_TO_AIRLINE or RECOVER_FROM_AIRLINE tasks.java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<FlightInfoForTaskRes>>getFlightInfoForTaskV1(java.lang.String taskId, RequestOptions requestOptions)Returns flight info from an adjacent FLIGHT task group for TENDER_TO_AIRLINE or RECOVER_FROM_AIRLINE tasks.java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<FlightInfoForTaskRes>>getFlightLegsForTaskGroupV1(java.lang.String taskGroupId)Returns the ordered list of flight legs for a task group.java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<FlightInfoForTaskRes>>getFlightLegsForTaskGroupV1(java.lang.String taskGroupId, RequestOptions requestOptions)Returns the ordered list of flight legs for a task group.
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
AsyncRawFlightsClient
public AsyncRawFlightsClient(ClientOptions clientOptions)
-
-
Method Detail
-
getFlightInfoForTaskV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<FlightInfoForTaskRes>> getFlightInfoForTaskV1(java.lang.String taskId)
Returns flight info from an adjacent FLIGHT task group for TENDER_TO_AIRLINE or RECOVER_FROM_AIRLINE tasks. | authz_personas=[driver_for_executor, coordinator_org_operators, executor_org_operators, shipper_org_operators] | () -> (FlightInfoForTaskRes)
-
getFlightInfoForTaskV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<FlightInfoForTaskRes>> getFlightInfoForTaskV1(java.lang.String taskId, RequestOptions requestOptions)
Returns flight info from an adjacent FLIGHT task group for TENDER_TO_AIRLINE or RECOVER_FROM_AIRLINE tasks. | authz_personas=[driver_for_executor, coordinator_org_operators, executor_org_operators, shipper_org_operators] | () -> (FlightInfoForTaskRes)
-
getFlightLegsForTaskGroupV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<FlightInfoForTaskRes>> getFlightLegsForTaskGroupV1(java.lang.String taskGroupId)
Returns the ordered list of flight legs for a task group. | authz_personas=[driver_for_executor, coordinator_org_operators, executor_org_operators, shipper_org_operators] | () -> (FlightInfoForTaskRes)
-
getFlightLegsForTaskGroupV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<FlightInfoForTaskRes>> getFlightLegsForTaskGroupV1(java.lang.String taskGroupId, RequestOptions requestOptions)
Returns the ordered list of flight legs for a task group. | authz_personas=[driver_for_executor, coordinator_org_operators, executor_org_operators, shipper_org_operators] | () -> (FlightInfoForTaskRes)
-
-