Class: OnebusawaySDK::Models::ScheduleForRouteRetrieveResponse::Data::Entry::StopTripGrouping

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

Defined Under Namespace

Classes: TripsWithStopTime

Instance Attribute Summary collapse

Method Summary

Methods inherited from Internal::Type::BaseModel

#==, ==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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

This class inherits a constructor from OnebusawaySDK::Internal::Type::BaseModel

Instance Attribute Details

#direction_idString

Returns:

  • (String)


144
# File 'lib/onebusaway_sdk/models/schedule_for_route_retrieve_response.rb', line 144

required :direction_id, String, api_name: :directionId

#stop_idsArray<String>

Returns:

  • (Array<String>)


149
# File 'lib/onebusaway_sdk/models/schedule_for_route_retrieve_response.rb', line 149

required :stop_ids, OnebusawaySDK::Internal::Type::ArrayOf[String], api_name: :stopIds

#trip_headsignsArray<String>

Returns:

  • (Array<String>)


154
# File 'lib/onebusaway_sdk/models/schedule_for_route_retrieve_response.rb', line 154

required :trip_headsigns, OnebusawaySDK::Internal::Type::ArrayOf[String], api_name: :tripHeadsigns

#trip_idsArray<String>

Returns:

  • (Array<String>)


159
# File 'lib/onebusaway_sdk/models/schedule_for_route_retrieve_response.rb', line 159

required :trip_ids, OnebusawaySDK::Internal::Type::ArrayOf[String], api_name: :tripIds

#trips_with_stop_timesArray<OnebusawaySDK::Models::ScheduleForRouteRetrieveResponse::Data::Entry::StopTripGrouping::TripsWithStopTime>?



164
165
166
# File 'lib/onebusaway_sdk/models/schedule_for_route_retrieve_response.rb', line 164

optional :trips_with_stop_times,
-> { OnebusawaySDK::Internal::Type::ArrayOf[OnebusawaySDK::Models::ScheduleForRouteRetrieveResponse::Data::Entry::StopTripGrouping::TripsWithStopTime] },
api_name: :tripsWithStopTimes