Class CargoByDeviceClient
- java.lang.Object
-
- com.chrt.api.resources.tracking.cargobydevice.CargoByDeviceClient
-
public class CargoByDeviceClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description CargoByDeviceClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<TrackingCargoByDeviceDataPoint1>lastSeenV1(CargoByDeviceLastSeenV1Request request)Returns the most recent device location data point for cargo within a task group.java.util.Optional<TrackingCargoByDeviceDataPoint1>lastSeenV1(CargoByDeviceLastSeenV1Request request, RequestOptions requestOptions)Returns the most recent device location data point for cargo within a task group.RawCargoByDeviceClientwithRawResponse()Get responses with HTTP metadata like headers
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
CargoByDeviceClient
public CargoByDeviceClient(ClientOptions clientOptions)
-
-
Method Detail
-
withRawResponse
public RawCargoByDeviceClient withRawResponse()
Get responses with HTTP metadata like headers
-
lastSeenV1
public java.util.Optional<TrackingCargoByDeviceDataPoint1> lastSeenV1(CargoByDeviceLastSeenV1Request request)
Returns the most recent device location data point for cargo within a task group. Access granted to courier or shipper organization. | () -> (TrackingCargoByDeviceDataPoint1 | None)
-
lastSeenV1
public java.util.Optional<TrackingCargoByDeviceDataPoint1> lastSeenV1(CargoByDeviceLastSeenV1Request request, RequestOptions requestOptions)
Returns the most recent device location data point for cargo within a task group. Access granted to courier or shipper organization. | () -> (TrackingCargoByDeviceDataPoint1 | None)
-
-