struct Google::Maps::RouteOptimization::TransitionAttributes

Overview

Attributes for transitions between visits

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

Fixed cost for this transition


def cost_per_kilometer : Float64 | Nil #

Cost per km for this transition


def delay : String | Nil #

Required delay duration


def distance_limit : DistanceLimit | Nil #

Distance limits for this transition


def dst_tag : String | Nil #

Destination visit/vehicle tag


def excluded_dst_tag : String | Nil #

Excluded destination tag


def excluded_src_tag : String | Nil #

Excluded source tag


def src_tag : String | Nil #

Source visit/vehicle tag