Class: OnebusawaySDK::Models::TripForVehicleRetrieveResponse::Data::Entry::Schedule::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(next_trip_id:, previous_trip_id:, stop_times:, time_zone:, frequency: nil) ⇒ Object
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
|
# File 'lib/onebusaway_sdk/models/trip_for_vehicle_retrieve_response.rb', line 114
class StopTime < OnebusawaySDK::Internal::Type::BaseModel
optional :arrival_time, Integer, api_name: :arrivalTime
optional :departure_time, Integer, api_name: :departureTime
optional :distance_along_trip, Float, api_name: :distanceAlongTrip
optional :historical_occupancy, String, api_name: :historicalOccupancy
optional :stop_headsign, String, api_name: :stopHeadsign
optional :stop_id, String, api_name: :stopId
end
|
Instance Attribute Details
#arrival_time ⇒ Integer?
118
|
# File 'lib/onebusaway_sdk/models/trip_for_vehicle_retrieve_response.rb', line 118
optional :arrival_time, Integer, api_name: :arrivalTime
|
#departure_time ⇒ Integer?
123
|
# File 'lib/onebusaway_sdk/models/trip_for_vehicle_retrieve_response.rb', line 123
optional :departure_time, Integer, api_name: :departureTime
|
#distance_along_trip ⇒ Float?
128
|
# File 'lib/onebusaway_sdk/models/trip_for_vehicle_retrieve_response.rb', line 128
optional :distance_along_trip, Float, api_name: :distanceAlongTrip
|
#historical_occupancy ⇒ String?
133
|
# File 'lib/onebusaway_sdk/models/trip_for_vehicle_retrieve_response.rb', line 133
optional :historical_occupancy, String, api_name: :historicalOccupancy
|
#stop_headsign ⇒ String?
138
|
# File 'lib/onebusaway_sdk/models/trip_for_vehicle_retrieve_response.rb', line 138
optional :stop_headsign, String, api_name: :stopHeadsign
|
#stop_id ⇒ String?
143
|
# File 'lib/onebusaway_sdk/models/trip_for_vehicle_retrieve_response.rb', line 143
optional :stop_id, String, api_name: :stopId
|