Class: Aws::LocationService::Types::TruckDimensions

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb

Overview

Note:

When making an API call, you may pass TruckDimensions data as a hash:

{
  height: 1.0,
  length: 1.0,
  unit: "Meters", # accepts Meters, Feet
  width: 1.0,
}

Contains details about the truck dimensions in the unit of measurement that you specify. Used to filter out roads that can't support or allow the specified dimensions for requests that specify TravelMode as Truck.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#heightFloat

The height of the truck.

  • For example, 4.5.

^

Returns:

  • (Float)


4750
4751
4752
4753
4754
4755
4756
4757
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 4750

class TruckDimensions < Struct.new(
  :height,
  :length,
  :unit,
  :width)
  SENSITIVE = []
  include Aws::Structure
end

#lengthFloat

The length of the truck.

  • For example, 15.5.

^

Returns:

  • (Float)


4750
4751
4752
4753
4754
4755
4756
4757
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 4750

class TruckDimensions < Struct.new(
  :height,
  :length,
  :unit,
  :width)
  SENSITIVE = []
  include Aws::Structure
end

#unitString

Specifies the unit of measurement for the truck dimensions.

Default Value: Meters

Returns:

  • (String)


4750
4751
4752
4753
4754
4755
4756
4757
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 4750

class TruckDimensions < Struct.new(
  :height,
  :length,
  :unit,
  :width)
  SENSITIVE = []
  include Aws::Structure
end

#widthFloat

The width of the truck.

  • For example, 4.5.

^

Returns:

  • (Float)


4750
4751
4752
4753
4754
4755
4756
4757
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 4750

class TruckDimensions < Struct.new(
  :height,
  :length,
  :unit,
  :width)
  SENSITIVE = []
  include Aws::Structure
end