Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data CalculateRouteCarModeOptions = CalculateRouteCarModeOptions' {
- avoidFerries :: Maybe Bool
- avoidTolls :: Maybe Bool
- newCalculateRouteCarModeOptions :: CalculateRouteCarModeOptions
- calculateRouteCarModeOptions_avoidFerries :: Lens' CalculateRouteCarModeOptions (Maybe Bool)
- calculateRouteCarModeOptions_avoidTolls :: Lens' CalculateRouteCarModeOptions (Maybe Bool)
Documentation
data CalculateRouteCarModeOptions Source #
Contains details about additional route preferences for requests that
specify TravelMode
as Car
.
See: newCalculateRouteCarModeOptions
smart constructor.
CalculateRouteCarModeOptions' | |
|
Instances
newCalculateRouteCarModeOptions :: CalculateRouteCarModeOptions Source #
Create a value of CalculateRouteCarModeOptions
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:avoidFerries:CalculateRouteCarModeOptions'
, calculateRouteCarModeOptions_avoidFerries
- Avoids ferries when calculating routes.
Default Value: false
Valid Values: false
| true
$sel:avoidTolls:CalculateRouteCarModeOptions'
, calculateRouteCarModeOptions_avoidTolls
- Avoids tolls when calculating routes.
Default Value: false
Valid Values: false
| true
calculateRouteCarModeOptions_avoidFerries :: Lens' CalculateRouteCarModeOptions (Maybe Bool) Source #
Avoids ferries when calculating routes.
Default Value: false
Valid Values: false
| true
calculateRouteCarModeOptions_avoidTolls :: Lens' CalculateRouteCarModeOptions (Maybe Bool) Source #
Avoids tolls when calculating routes.
Default Value: false
Valid Values: false
| true