Class: Aws::LocationService::Types::TruckWeight

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

Overview

Contains details about the truck's weight specifications. Used to avoid roads that can't support or allow the total weight for requests that specify TravelMode as Truck.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#totalFloat

The total weight of the truck.

  • For example, 3500.

^

Returns:

  • (Float)


6219
6220
6221
6222
6223
6224
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 6219

class TruckWeight < Struct.new(
  :total,
  :unit)
  SENSITIVE = []
  include Aws::Structure
end

#unitString

The unit of measurement to use for the truck weight.

Default Value: Kilograms

Returns:

  • (String)


6219
6220
6221
6222
6223
6224
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 6219

class TruckWeight < Struct.new(
  :total,
  :unit)
  SENSITIVE = []
  include Aws::Structure
end