Class AsyncCargoByDriverClient
- java.lang.Object
-
- com.chrt.api.resources.tracking.timeseries.cargobydriver.AsyncCargoByDriverClient
-
public class AsyncCargoByDriverClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description AsyncCargoByDriverClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<java.util.List<CargoByDriverDataPoint1>>dataPointsPublicV1(CargoByDriverDataPointsPublicV1Request request)Returns up to the specified number of data points for a cargo within a public task group, intelligently sampled across the time range.java.util.concurrent.CompletableFuture<java.util.List<CargoByDriverDataPoint1>>dataPointsPublicV1(CargoByDriverDataPointsPublicV1Request request, RequestOptions requestOptions)Returns up to the specified number of data points for a cargo within a public task group, intelligently sampled across the time range.java.util.concurrent.CompletableFuture<java.util.List<CargoByDriverDataPoint1>>dataPointsV1(CargoByDriverDataPointsV1Request request)Returns up to the specified number of data points for a cargo within a task group, intelligently sampled across the time range.java.util.concurrent.CompletableFuture<java.util.List<CargoByDriverDataPoint1>>dataPointsV1(CargoByDriverDataPointsV1Request request, RequestOptions requestOptions)Returns up to the specified number of data points for a cargo within a task group, intelligently sampled across the time range.java.util.concurrent.CompletableFuture<java.util.Optional<CargoByDriverDataPoint1>>lastSeenPublicV1(CargoByDriverLastSeenPublicV1Request request)Returns the most recent driver location data point for a cargo within a public task group.java.util.concurrent.CompletableFuture<java.util.Optional<CargoByDriverDataPoint1>>lastSeenPublicV1(CargoByDriverLastSeenPublicV1Request request, RequestOptions requestOptions)Returns the most recent driver location data point for a cargo within a public task group.java.util.concurrent.CompletableFuture<java.util.Optional<CargoByDriverDataPoint1>>lastSeenV1(CargoByDriverLastSeenV1Request request)Returns the most recent driver location data point for cargo within a task group.java.util.concurrent.CompletableFuture<java.util.Optional<CargoByDriverDataPoint1>>lastSeenV1(CargoByDriverLastSeenV1Request request, RequestOptions requestOptions)Returns the most recent driver location data point for cargo within a task group.AsyncRawCargoByDriverClientwithRawResponse()Get responses with HTTP metadata like headers
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
AsyncCargoByDriverClient
public AsyncCargoByDriverClient(ClientOptions clientOptions)
-
-
Method Detail
-
withRawResponse
public AsyncRawCargoByDriverClient withRawResponse()
Get responses with HTTP metadata like headers
-
lastSeenV1
public java.util.concurrent.CompletableFuture<java.util.Optional<CargoByDriverDataPoint1>> lastSeenV1(CargoByDriverLastSeenV1Request request)
Returns the most recent driver location data point for cargo within a task group. Access granted to courier or shipper organization. Data written by the driver update endpoint. | () -> (CargoByDriverDataPoint1 | None)
-
lastSeenV1
public java.util.concurrent.CompletableFuture<java.util.Optional<CargoByDriverDataPoint1>> lastSeenV1(CargoByDriverLastSeenV1Request request, RequestOptions requestOptions)
Returns the most recent driver location data point for cargo within a task group. Access granted to courier or shipper organization. Data written by the driver update endpoint. | () -> (CargoByDriverDataPoint1 | None)
-
dataPointsV1
public java.util.concurrent.CompletableFuture<java.util.List<CargoByDriverDataPoint1>> dataPointsV1(CargoByDriverDataPointsV1Request request)
Returns up to the specified number of data points for a cargo within a task group, intelligently sampled across the time range. Excludes outliers. | () -> (list[CargoByDriverDataPoint1])
-
dataPointsV1
public java.util.concurrent.CompletableFuture<java.util.List<CargoByDriverDataPoint1>> dataPointsV1(CargoByDriverDataPointsV1Request request, RequestOptions requestOptions)
Returns up to the specified number of data points for a cargo within a task group, intelligently sampled across the time range. Excludes outliers. | () -> (list[CargoByDriverDataPoint1])
-
lastSeenPublicV1
public java.util.concurrent.CompletableFuture<java.util.Optional<CargoByDriverDataPoint1>> lastSeenPublicV1(CargoByDriverLastSeenPublicV1Request request)
Returns the most recent driver location data point for a cargo within a public task group. No authentication required if cargo has public visibility enabled via sharing settings. | () -> (CargoByDriverDataPoint1 | None)
-
lastSeenPublicV1
public java.util.concurrent.CompletableFuture<java.util.Optional<CargoByDriverDataPoint1>> lastSeenPublicV1(CargoByDriverLastSeenPublicV1Request request, RequestOptions requestOptions)
Returns the most recent driver location data point for a cargo within a public task group. No authentication required if cargo has public visibility enabled via sharing settings. | () -> (CargoByDriverDataPoint1 | None)
-
dataPointsPublicV1
public java.util.concurrent.CompletableFuture<java.util.List<CargoByDriverDataPoint1>> dataPointsPublicV1(CargoByDriverDataPointsPublicV1Request request)
Returns up to the specified number of data points for a cargo within a public task group, intelligently sampled across the time range. Excludes outliers. No authentication required if cargo has public visibility enabled via sharing settings. | () -> (list[CargoByDriverDataPoint1])
-
dataPointsPublicV1
public java.util.concurrent.CompletableFuture<java.util.List<CargoByDriverDataPoint1>> dataPointsPublicV1(CargoByDriverDataPointsPublicV1Request request, RequestOptions requestOptions)
Returns up to the specified number of data points for a cargo within a public task group, intelligently sampled across the time range. Excludes outliers. No authentication required if cargo has public visibility enabled via sharing settings. | () -> (list[CargoByDriverDataPoint1])
-
-