TNAggregatedSafetyScoreRequest
@objcMembers
public class TNAggregatedSafetyScoreRequest : TNDriveMotionRequest
Request class to get aggregated safety score. Create an instance through {@link TNAggregatedSafetyScoreRequestBuilder#build()}.
-
The start date of the time range. Set the value through {@link TNAggregatedSafetyScoreRequestBuilder#startDate(Date)}. If the start date is not set, TNAggregatedSafetyScoreRequest instance will not be created.
Declaration
Swift
public let startDate: Date -
The end date of the time range. Set the value through {@link TNAggregatedSafetyScoreRequestBuilder#endDate(Date)}. If the end date is not set, TNAggregatedSafetyScoreRequest instance will not be created.
Declaration
Swift
public let endDate: Date -
The score created time in UTC. Set the value through {@link TNAggregatedSafetyScoreRequestBuilder#scoreCreatedTime(Date)].
Declaration
Swift
public let scoreCreatedTime: Date? -
Vehicle VIN
Declaration
Swift
public let vin: String? -
Return multiple event statistics by different level of intervals E.g. if interval is week, return weekly event statistics.
Declaration
Swift
public let intervalType: TNSafetyIntervalType? -
Effective when intervalType is not null.
Declaration
Swift
public let intervalFilter: TNSafetyIntervalFilter? -
Undocumented
Declaration
Swift
public static func builder() -> TNAggregatedSafetyScoreRequestBuilder