TNPostCoachingRequest

@objcMembers
public class TNPostCoachingRequest : TNDriveMotionRequest

Request class to post contextual coaching data. Create an instance through {@link PostContextualCoachingRequestBuilder#build()}.

  • The time range for the coaching request. Set the value through {@link PostContextualCoachingRequestBuilder#timeRange(DateRange)}.

    Declaration

    Swift

    public let timeRange: DateRange
  • Vehicle Identification which wants to be requested, nil for request all trips.

    Declaration

    Swift

    public let assetId: String?
  • Policy timezone

    Declaration

    Swift

    public let timezone: String
  • The version of the score algorithm.

    Declaration

    Swift

    public let scoreVersion: String?
  • Group factors for the coaching

    Declaration

    Swift

    public let groupBy: Set<TNGroupFactor>?
  • Rank metrics for the coaching

    Declaration

    Swift

    public let rankBy: Set<TNRankMetrics>?
  • Undocumented

    Declaration

    Swift

    public static func builder(timeRange: DateRange, timezone: String) -> TNPostCoachingRequestBuilder