TNGetSimulatedSafetyScoreRequest

@objcMembers
public class TNGetSimulatedSafetyScoreRequest : TNDriveMotionRequest

Request class to get simulated aggregated safety score. Create an instance through [TNGetSimulatedSafetyScoreRequest.builder().build()].

@since 2.2

  • The trips info. Set the value through TNGetSimulatedSafetyScoreRequest.builder().tripsInfo(#value#).

    Declaration

    Swift

    public let tripsInfo: TNBasicTripsInfo
  • The trips event statistics. Set the value through TNGetSimulatedSafetyScoreRequest.builder().tripsEventStatistics(#value#).

    Declaration

    Swift

    public let tripsEventStatistics: [TNEventStatistic]
  • The score state. Set the value through `TNGetSimulatedSafetyScoreRequest.builder().state(#value#)`.

    Declaration

    Swift

    public let state: String?
  • Should be same as getAggregatedSafetyScore.score.scoreVersion. Set the value through TNGetSimulatedSafetyScoreRequest.builder().scoreVersion(#value#).

    Declaration

    Swift

    public let scoreVersion: String?
  • Undocumented

    Declaration

    Swift

    public static func builder() -> TNGetSimulatedSafetyScoreRequestBuilder