Class: OnebusawaySDK::Models::ScheduleForStopRetrieveResponse::Data::Entry::StopRouteSchedule::StopRouteDirectionSchedule::ScheduleStopTime
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(schedule_stop_times: , trip_headsign: , schedule_frequencies: nil) ⇒ Object
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
|
# File 'lib/onebusaway_sdk/models/schedule_for_stop_retrieve_response.rb', line 108
class ScheduleStopTime < OnebusawaySDK::Internal::Type::BaseModel
required :arrival_enabled, OnebusawaySDK::Internal::Type::Boolean, api_name: :arrivalEnabled
required :arrival_time, Integer, api_name: :arrivalTime
required :departure_enabled,
OnebusawaySDK::Internal::Type::Boolean,
api_name: :departureEnabled
required :departure_time, Integer, api_name: :departureTime
required :service_id, String, api_name: :serviceId
required :trip_id, String, api_name: :tripId
optional :stop_headsign, String, api_name: :stopHeadsign
end
|
Instance Attribute Details
#arrival_enabled ⇒ Boolean
112
|
# File 'lib/onebusaway_sdk/models/schedule_for_stop_retrieve_response.rb', line 112
required :arrival_enabled, OnebusawaySDK::Internal::Type::Boolean, api_name: :arrivalEnabled
|
#arrival_time ⇒ Integer
117
|
# File 'lib/onebusaway_sdk/models/schedule_for_stop_retrieve_response.rb', line 117
required :arrival_time, Integer, api_name: :arrivalTime
|
#departure_enabled ⇒ Boolean
122
123
124
|
# File 'lib/onebusaway_sdk/models/schedule_for_stop_retrieve_response.rb', line 122
required :departure_enabled,
OnebusawaySDK::Internal::Type::Boolean,
api_name: :departureEnabled
|
#departure_time ⇒ Integer
129
|
# File 'lib/onebusaway_sdk/models/schedule_for_stop_retrieve_response.rb', line 129
required :departure_time, Integer, api_name: :departureTime
|
#service_id ⇒ String
134
|
# File 'lib/onebusaway_sdk/models/schedule_for_stop_retrieve_response.rb', line 134
required :service_id, String, api_name: :serviceId
|
#stop_headsign ⇒ String?
144
|
# File 'lib/onebusaway_sdk/models/schedule_for_stop_retrieve_response.rb', line 144
optional :stop_headsign, String, api_name: :stopHeadsign
|
#trip_id ⇒ String
139
|
# File 'lib/onebusaway_sdk/models/schedule_for_stop_retrieve_response.rb', line 139
required :trip_id, String, api_name: :tripId
|