SafetyScoreRequestParameters
Last updated
Represents the parameters for which an aggregated safety score is being requested.
initAn initializer to create an instance of SafetyScoreRequestParameters.
public init(
period: SafetyScoreRequestPeriod,
transportModes: SafetyScoreRequestTransportModeOption = .all,
occupantRoles: SafetyScoreRequestOccupantRoleOption = .all
)period
The period for which an aggregated safety score will be requested. See SafetyScoreRequestPeriod.
transportModes
The transport mode for for which an aggregated safety score will be requested. See SafetyScoreRequestTransportModeOption.
occupantRoles
The occupant roles for which an aggregated safety score will be requested. See SafetyScoreRequestOccupantRoleOption.
periodThe period for which an aggregated safety score will be requested. See SafetyScoreRequestPeriod.
let period: SafetyScoreRequestPeriodoccupantRolesThe occupant roles for which an aggregated safety score will be requested. See SafetyScoreRequestOccupantRoleOption.
transportModesThe transport mode for for which an aggregated safety score will be requested. See SafetyScoreRequestTransportModeOption.
Last updated
let occupantRoles: SafetyScoreRequestOccupantRoleOptionlet transportModes: SafetyScoreRequestTransportModeOption