Class: OnebusawaySDK::Models::ScheduleForStopRetrieveResponse::Data::Entry

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

Overview

See Also:

  • OnebusawaySDK::Models::ScheduleForStopRetrieveResponse::Data#entry

Defined Under Namespace

Classes: StopRouteSchedule

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



56
# File 'sig/onebusaway_sdk/models/schedule_for_stop_retrieve_response.rbs', line 56

def initialize: (

Instance Attribute Details

#dateInteger

Parameters:

  • value (Integer)

Returns:

  • (Integer)


35
# File 'lib/onebusaway_sdk/models/schedule_for_stop_retrieve_response.rb', line 35

required :date, Integer

#stop_idString

Parameters:

  • value (String)

Returns:

  • (String)


40
# File 'lib/onebusaway_sdk/models/schedule_for_stop_retrieve_response.rb', line 40

required :stop_id, String, api_name: :stopId

#stop_route_schedulesArray<OnebusawaySDK::Models::ScheduleForStopRetrieveResponse::Data::Entry::StopRouteSchedule>



45
46
47
# File 'lib/onebusaway_sdk/models/schedule_for_stop_retrieve_response.rb', line 45

required :stop_route_schedules,
-> { OnebusawaySDK::Internal::Type::ArrayOf[OnebusawaySDK::Models::ScheduleForStopRetrieveResponse::Data::Entry::StopRouteSchedule] },
api_name: :stopRouteSchedules

Instance Method Details

#to_hash{

Returns:

  • ({)


62
# File 'sig/onebusaway_sdk/models/schedule_for_stop_retrieve_response.rbs', line 62

def to_hash: -> {