Class: OnebusawaySDK::Models::ScheduleForRouteRetrieveResponse::Data::Entry::StopTripGrouping::TripsWithStopTime::StopTime
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(stop_times: , trip_id: ) ⇒ Object
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
|
# File 'lib/onebusaway_sdk/models/schedule_for_route_retrieve_response.rb', line 196
class StopTime < 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 :stop_id, String, api_name: :stopId
required :trip_id, String, api_name: :tripId
optional :service_id, String, api_name: :serviceId
optional :stop_headsign, String, api_name: :stopHeadsign
end
|
Instance Attribute Details
#arrival_enabled ⇒ Boolean
200
|
# File 'lib/onebusaway_sdk/models/schedule_for_route_retrieve_response.rb', line 200
required :arrival_enabled, OnebusawaySDK::Internal::Type::Boolean, api_name: :arrivalEnabled
|
#arrival_time ⇒ Integer
205
|
# File 'lib/onebusaway_sdk/models/schedule_for_route_retrieve_response.rb', line 205
required :arrival_time, Integer, api_name: :arrivalTime
|
#departure_enabled ⇒ Boolean
210
211
212
|
# File 'lib/onebusaway_sdk/models/schedule_for_route_retrieve_response.rb', line 210
required :departure_enabled,
OnebusawaySDK::Internal::Type::Boolean,
api_name: :departureEnabled
|
#departure_time ⇒ Integer
217
|
# File 'lib/onebusaway_sdk/models/schedule_for_route_retrieve_response.rb', line 217
required :departure_time, Integer, api_name: :departureTime
|
#service_id ⇒ String?
232
|
# File 'lib/onebusaway_sdk/models/schedule_for_route_retrieve_response.rb', line 232
optional :service_id, String, api_name: :serviceId
|
#stop_headsign ⇒ String?
237
|
# File 'lib/onebusaway_sdk/models/schedule_for_route_retrieve_response.rb', line 237
optional :stop_headsign, String, api_name: :stopHeadsign
|
#stop_id ⇒ String
222
|
# File 'lib/onebusaway_sdk/models/schedule_for_route_retrieve_response.rb', line 222
required :stop_id, String, api_name: :stopId
|
#trip_id ⇒ String
227
|
# File 'lib/onebusaway_sdk/models/schedule_for_route_retrieve_response.rb', line 227
required :trip_id, String, api_name: :tripId
|