Class DriverClient


  • public class DriverClient
    extends java.lang.Object
    • Constructor Detail

      • DriverClient

        public DriverClient​(ClientOptions clientOptions)
    • Method Detail

      • withRawResponse

        public RawDriverClient withRawResponse()
        Get responses with HTTP metadata like headers
      • updateV1

        public DriverUpdateRes updateV1​(DriverUpdateReq request)
        Records driver location updates for a task group. Automatically writes to task group tracking if IN_PROGRESS and cargo tracking if IN_TRANSIT. Updates driver's last seen timestamp and location. | (DriverUpdateReq) -> (DriverUpdateRes)
      • updateV1

        public DriverUpdateRes updateV1​(DriverUpdateReq request,
                                        RequestOptions requestOptions)
        Records driver location updates for a task group. Automatically writes to task group tracking if IN_PROGRESS and cargo tracking if IN_TRANSIT. Updates driver's last seen timestamp and location. | (DriverUpdateReq) -> (DriverUpdateRes)