Class: OnebusawaySDK::Models::References::Situation::Consequence::ConditionDetails::DiversionPath

Inherits:
Internal::Type::BaseModel
  • Object
show all
Defined in:
lib/onebusaway_sdk/models/references.rb,
sig/onebusaway_sdk/models/references.rbs

Overview

See Also:

  • OnebusawaySDK::Models::References::Situation::Consequence::ConditionDetails#diversion_path

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initializeObject



439
# File 'sig/onebusaway_sdk/models/references.rbs', line 439

def initialize: (

Instance Attribute Details

#lengthInteger?

Length of the diversion path.

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


395
# File 'lib/onebusaway_sdk/models/references.rb', line 395

optional :length, Integer

#levelsString?

Levels of the diversion path.

Parameters:

  • (String)

Returns:

  • (String, nil)


401
# File 'lib/onebusaway_sdk/models/references.rb', line 401

optional :levels, String

#pointsString?

Points of the diversion path.

Parameters:

  • (String)

Returns:

  • (String, nil)


407
# File 'lib/onebusaway_sdk/models/references.rb', line 407

optional :points, String

Instance Method Details

#to_hash{

Returns:

  • ({)


445
# File 'sig/onebusaway_sdk/models/references.rbs', line 445

def to_hash: -> {