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 CalculateRouteTruckModeOptions = CalculateRouteTruckModeOptions' {}
- newCalculateRouteTruckModeOptions :: CalculateRouteTruckModeOptions
- calculateRouteTruckModeOptions_avoidFerries :: Lens' CalculateRouteTruckModeOptions (Maybe Bool)
- calculateRouteTruckModeOptions_avoidTolls :: Lens' CalculateRouteTruckModeOptions (Maybe Bool)
- calculateRouteTruckModeOptions_dimensions :: Lens' CalculateRouteTruckModeOptions (Maybe TruckDimensions)
- calculateRouteTruckModeOptions_weight :: Lens' CalculateRouteTruckModeOptions (Maybe TruckWeight)
Documentation
data CalculateRouteTruckModeOptions Source #
Contains details about additional route preferences for requests that
specify TravelMode
as Truck
.
See: newCalculateRouteTruckModeOptions
smart constructor.
CalculateRouteTruckModeOptions' | |
|
Instances
newCalculateRouteTruckModeOptions :: CalculateRouteTruckModeOptions Source #
Create a value of CalculateRouteTruckModeOptions
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:CalculateRouteTruckModeOptions'
, calculateRouteTruckModeOptions_avoidFerries
- Avoids ferries when calculating routes.
Default Value: false
Valid Values: false
| true
$sel:avoidTolls:CalculateRouteTruckModeOptions'
, calculateRouteTruckModeOptions_avoidTolls
- Avoids tolls when calculating routes.
Default Value: false
Valid Values: false
| true
$sel:dimensions:CalculateRouteTruckModeOptions'
, calculateRouteTruckModeOptions_dimensions
- Specifies the truck's dimension specifications including length,
height, width, and unit of measurement. Used to avoid roads that can't
support the truck's dimensions.
$sel:weight:CalculateRouteTruckModeOptions'
, calculateRouteTruckModeOptions_weight
- Specifies the truck's weight specifications including total weight and
unit of measurement. Used to avoid roads that can't support the
truck's weight.
calculateRouteTruckModeOptions_avoidFerries :: Lens' CalculateRouteTruckModeOptions (Maybe Bool) Source #
Avoids ferries when calculating routes.
Default Value: false
Valid Values: false
| true
calculateRouteTruckModeOptions_avoidTolls :: Lens' CalculateRouteTruckModeOptions (Maybe Bool) Source #
Avoids tolls when calculating routes.
Default Value: false
Valid Values: false
| true
calculateRouteTruckModeOptions_dimensions :: Lens' CalculateRouteTruckModeOptions (Maybe TruckDimensions) Source #
Specifies the truck's dimension specifications including length, height, width, and unit of measurement. Used to avoid roads that can't support the truck's dimensions.
calculateRouteTruckModeOptions_weight :: Lens' CalculateRouteTruckModeOptions (Maybe TruckWeight) Source #
Specifies the truck's weight specifications including total weight and unit of measurement. Used to avoid roads that can't support the truck's weight.