Class: OnebusawaySDK::Models::ScheduleForRouteRetrieveResponse::Data::Entry
- Inherits:
-
Internal::Type::BaseModel
show all
- Defined in:
- lib/onebusaway_sdk/models/schedule_for_route_retrieve_response.rb,
sig/onebusaway_sdk/models/schedule_for_route_retrieve_response.rbs
Overview
Defined Under Namespace
Classes: StopTripGrouping
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], 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
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize ⇒ Object
54
|
# File 'sig/onebusaway_sdk/models/schedule_for_route_retrieve_response.rbs', line 54
def initialize: (
|
Instance Attribute Details
#route_id ⇒ String
29
|
# File 'lib/onebusaway_sdk/models/schedule_for_route_retrieve_response.rb', line 29
required :route_id, String, api_name: :routeId
|
#schedule_date ⇒ Integer
34
|
# File 'lib/onebusaway_sdk/models/schedule_for_route_retrieve_response.rb', line 34
required :schedule_date, Integer, api_name: :scheduleDate
|
#service_ids ⇒ Array<String>
39
|
# File 'lib/onebusaway_sdk/models/schedule_for_route_retrieve_response.rb', line 39
required :service_ids, OnebusawaySDK::Internal::Type::ArrayOf[String], api_name: :serviceIds
|
44
45
46
|
# File 'lib/onebusaway_sdk/models/schedule_for_route_retrieve_response.rb', line 44
required :stop_trip_groupings,
-> { OnebusawaySDK::Internal::Type::ArrayOf[OnebusawaySDK::Models::ScheduleForRouteRetrieveResponse::Data::Entry::StopTripGrouping] },
api_name: :stopTripGroupings
|
Instance Method Details
#to_hash ⇒ {
61
|
# File 'sig/onebusaway_sdk/models/schedule_for_route_retrieve_response.rbs', line 61
def to_hash: -> {
|