struct

Google::Maps::RouteOptimization::TimeWindow

Inherits MessagePack::Serializable < JSON::Serializable < Google::Resource < Struct < Value < Object

Time windows constrain the time of an event

Constructors

new(pull : JSON::PullParser)
new(*, __pull_for_json_serializable pull : JSON::PullParser)

Instance methods

cost_per_hour_after_soft_end_time

Cost per hour added if event occurs after soft_end_time

cost_per_hour_before_soft_start_time

Cost per hour added if event occurs before soft_start_time

end_time

The hard time window end time

soft_end_time

The soft end time of the time window

soft_start_time

The soft start time of the time window

start_time

The hard time window start time