struct Google::Maps::RouteOptimization::FieldReference

Overview

Specifies a context for the validation error

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 index : Int32 | Nil #

Index of the field if repeated


def key : String | Nil #

Key if the field is a map


def name : String #

Name of the field, e.g., "vehicles"


def sub_field : FieldReference | Nil #

Recursively nested sub-field, if needed