Class: Aws::GeoRoutes::Types::RouteSummary

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

Overview

Summarized details for the leg including travel steps only. The Distance for the travel only portion of the journey is the same as the Distance within the Overview summary.

Constant Summary collapse

SENSITIVE =
[:distance, :duration]

Instance Attribute Summary collapse

Instance Attribute Details

#distanceInteger

Distance of the route.

Returns:

  • (Integer)


5156
5157
5158
5159
5160
5161
5162
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 5156

class RouteSummary < Struct.new(
  :distance,
  :duration,
  :tolls)
  SENSITIVE = [:distance, :duration]
  include Aws::Structure
end

#durationInteger

Duration of the route.

Unit: seconds

Returns:

  • (Integer)


5156
5157
5158
5159
5160
5161
5162
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 5156

class RouteSummary < Struct.new(
  :distance,
  :duration,
  :tolls)
  SENSITIVE = [:distance, :duration]
  include Aws::Structure
end

#tollsTypes::RouteTollSummary

Toll summary for the complete route.



5156
5157
5158
5159
5160
5161
5162
# File 'gems/aws-sdk-georoutes/lib/aws-sdk-georoutes/types.rb', line 5156

class RouteSummary < Struct.new(
  :distance,
  :duration,
  :tolls)
  SENSITIVE = [:distance, :duration]
  include Aws::Structure
end