struct Google::Maps::RouteOptimization::LoadLimit

Overview

Defines a load limit applying to a vehicle

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_unit_above_soft_max : Float64 | Nil #

Cost per unit when load exceeds soft_max_load


def end_load_interval : Interval | Nil #

Acceptable load interval at end of route


def max_load : Int64 | Nil #

Maximum acceptable amount of load


def soft_max_load : Int64 | Nil #

A soft limit of the load


def start_load_interval : Interval | Nil #

Acceptable load interval at start of route