Class CargoByDriverClient
- java.lang.Object
-
- com.chrt.api.resources.tracking.timeseries.cargobydriver.CargoByDriverClient
-
public class CargoByDriverClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description CargoByDriverClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.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.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.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.Optional<CargoByDriverDataPoint1>lastSeenPublicV1(CargoByDriverLastSeenPublicV1Request request)Returns the most recent driver location data point for a cargo within a public task group.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.Optional<CargoByDriverDataPoint1>lastSeenV1(CargoByDriverLastSeenV1Request request)Returns the most recent driver location data point for cargo within a task group.java.util.Optional<CargoByDriverDataPoint1>lastSeenV1(CargoByDriverLastSeenV1Request request, RequestOptions requestOptions)Returns the most recent driver location data point for cargo within a task group.RawCargoByDriverClientwithRawResponse()Get responses with HTTP metadata like headers
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
CargoByDriverClient
public CargoByDriverClient(ClientOptions clientOptions)
-
-
Method Detail
-
withRawResponse
public RawCargoByDriverClient withRawResponse()
Get responses with HTTP metadata like headers
-
lastSeenV1
public 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.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.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.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.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.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.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.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])
-
-