TNGetTripDetailRequest
@objcMembers
public class TNGetTripDetailRequest : TNDriveMotionRequest
Request class to get information about the trip that has ended. Create an instance through {@link TNGetTripDetailRequestBuilder#build()}.
-
The id of the live trip. Set the value through {@link TNGetTripDetailRequestBuilder#tripId(String)}. If the trip id is not set, you will get a DriveMotionError when creating the TNGetTripDetailRequest instance.
Declaration
Swift
public let tripId: String
-
VIN number which wants to be requested.
Declaration
Swift
public let vin: String?
-
Build a {@link TNGetTripDetailRequestBuilder} instance used for setting request condition
@return {@link TNGetTripDetailRequestBuilder} instance
Declaration
Swift
public static func builder() -> TNGetTripDetailRequestBuilder
-
Undocumented
Declaration
Swift
public override func encode(to encoder: Encoder) throws