TNGetCumulativeSafetyScoreRequest
@objcMembers
public class TNGetCumulativeSafetyScoreRequest : TNDriveMotionRequest
Undocumented
-
The start date of the time range. Set the value through {@link TNGetCumulativeSafetyScoreRequestBuilder#startDate(Date)}. If the start date is not set, TNGetCumulativeSafetyScoreRequest instance will not be created.
Declaration
Swift
public let startDate: Date
-
The end date of the time range. Set the value through {@link TNGetCumulativeSafetyScoreRequestBuilder#endDate(Date)}. If the end date is not set, TNGetCumulativeSafetyScoreRequest instance will not be created.
Declaration
Swift
public let endDate: Date
-
Vehicle VIN
Declaration
Swift
public let vin: String?
-
The score created time in UTC. Set the value through {@link TNGetCumulativeSafetyScoreRequestBuilder#scoreCreatedTime(Date)].
Declaration
Swift
public let scoreCreatedTime: Date?
-
Time Zone ID, Example: America/Denver
Declaration
Swift
public let timeZoneId: String?
-
The version number of calculate sefety score
Declaration
Swift
public let scoreVersion: ScoreVersion?
-
Interval from start date to end date
Declaration
Swift
public let intervalType: TNCumulativeSafetyIntervalType?
-
Undocumented
Declaration
Swift
public static func builder() -> TNGetCumulativeSafetyScoreRequestBuilder
-
Undocumented
Declaration
Swift
public override func encode(to encoder: Encoder) throws