Skip to content

TruckDimensions

Source code in docs_src/capo_location/types/truck_dimensions.py
class TruckDimensions(TypedDict, closed=True):
    length: NotRequired["capo_location.types.sensitive_double.SensitiveDouble"]
    """<p>The length of the truck.</p> <ul> <li> <p>For example, <code>15.5</code>.</p> </li> </ul> <note> <p> For routes calculated with a HERE resource, this value must be between 0 and 300 meters. </p> </note>"""
    height: NotRequired["capo_location.types.sensitive_double.SensitiveDouble"]
    """<p>The height of the truck.</p> <ul> <li> <p>For example, <code>4.5</code>.</p> </li> </ul> <note> <p> For routes calculated with a HERE resource, this value must be between 0 and 50 meters. </p> </note>"""
    width: NotRequired["capo_location.types.sensitive_double.SensitiveDouble"]
    """<p>The width of the truck.</p> <ul> <li> <p>For example, <code>4.5</code>.</p> </li> </ul> <note> <p> For routes calculated with a HERE resource, this value must be between 0 and 50 meters. </p> </note>"""
    unit: NotRequired["capo_location.types.dimension_unit.DimensionUnit"]
    """<p> Specifies the unit of measurement for the truck dimensions.</p> <p>Default Value: <code>Meters</code> </p>"""

height instance-attribute

height: NotRequired[SensitiveDouble]

The height of the truck.

  • For example, 4.5.

For routes calculated with a HERE resource, this value must be between 0 and 50 meters.

length instance-attribute

length: NotRequired[SensitiveDouble]

The length of the truck.

  • For example, 15.5.

For routes calculated with a HERE resource, this value must be between 0 and 300 meters.

unit instance-attribute

unit: NotRequired[DimensionUnit]

Specifies the unit of measurement for the truck dimensions.

Default Value: Meters

width instance-attribute

width: NotRequired[SensitiveDouble]

The width of the truck.

  • For example, 4.5.

For routes calculated with a HERE resource, this value must be between 0 and 50 meters.