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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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 =
[:total]

Instance Attribute Summary collapse

Instance Attribute Details

#totalFloat

The total weight of the truck.

  • For example, ‘3500`.

^



6717
6718
6719
6720
6721
6722
# File 'lib/aws-sdk-locationservice/types.rb', line 6717

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

#unitString

The unit of measurement to use for the truck weight.

Default Value: ‘Kilograms`



6717
6718
6719
6720
6721
6722
# File 'lib/aws-sdk-locationservice/types.rb', line 6717

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