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

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/onebusaway_sdk/models/references.rb

Overview

See Also:

Defined Under Namespace

Classes: DiversionPath

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

#initialize(diversion_path: nil, diversion_stop_ids: nil) ⇒ Object

Parameters:



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


Instance Attribute Details

#diversion_pathOnebusawaySDK::Models::References::Situation::Consequence::ConditionDetails::DiversionPath?



372
373
374
375
376
# File 'lib/onebusaway_sdk/models/references.rb', line 372

optional :diversion_path,
-> {
  OnebusawaySDK::References::Situation::Consequence::ConditionDetails::DiversionPath
},
api_name: :diversionPath

#diversion_stop_idsArray<String>?

Returns:

  • (Array<String>, nil)


381
382
383
# File 'lib/onebusaway_sdk/models/references.rb', line 381

optional :diversion_stop_ids,
OnebusawaySDK::Internal::Type::ArrayOf[String],
api_name: :diversionStopIds