struct Google::Maps::RouteOptimization::DurationLimit

Overview

Duration limit configuration

Included Modules

Extended Modules

Defined in:

maps.cr

Constructors

Instance Method Summary

Macros inherited from module Google::Resource

define(name, *fields) define, field(var, key = nil, **options, &block) field, field!(var, key = nil, **options, &block) field!, field?(var, key = nil, **options, &block) field?

Constructor Detail

def self.new(pull : JSON::PullParser) #

def self.new(pull : MessagePack::Unpacker) #

Instance Method Detail

def cost_per_hour_after_soft_max : Float64 | Nil #

Cost per hour over soft max


def cost_per_square_hour_after_quadratic_soft_max : Float64 | Nil #

Cost per square hour over quadratic soft max


def max_duration : String | Nil #

Hard maximum duration limit


def quadratic_soft_max_duration : String | Nil #

Soft max for quadratic cost increase


def soft_max_duration : String | Nil #

Soft maximum duration with associated cost