onebusaway-sdk 1.7.1 → 1.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/README.md +1 -1
- data/lib/onebusaway_sdk/models/arrival_and_departure_list_response.rb +12 -12
- data/lib/onebusaway_sdk/models/arrival_and_departure_retrieve_response.rb +12 -12
- data/lib/onebusaway_sdk/models/arrivals_and_departures_for_location_list_response.rb +12 -12
- data/lib/onebusaway_sdk/models/trip_detail_retrieve_response.rb +15 -5
- data/lib/onebusaway_sdk/models/trip_for_vehicle_retrieve_response.rb +15 -5
- data/lib/onebusaway_sdk/models/trips_for_location_list_response.rb +16 -6
- data/lib/onebusaway_sdk/models/trips_for_route_list_response.rb +16 -6
- data/lib/onebusaway_sdk/models/vehicles_for_agency_list_response.rb +16 -3
- data/lib/onebusaway_sdk/version.rb +1 -1
- data/rbi/onebusaway_sdk/models/arrival_and_departure_list_response.rbi +18 -36
- data/rbi/onebusaway_sdk/models/arrival_and_departure_retrieve_response.rbi +18 -36
- data/rbi/onebusaway_sdk/models/arrivals_and_departures_for_location_list_response.rbi +18 -36
- data/rbi/onebusaway_sdk/models/trip_detail_retrieve_response.rbi +15 -9
- data/rbi/onebusaway_sdk/models/trip_for_vehicle_retrieve_response.rbi +15 -9
- data/rbi/onebusaway_sdk/models/trips_for_location_list_response.rbi +18 -10
- data/rbi/onebusaway_sdk/models/trips_for_route_list_response.rbi +18 -10
- data/rbi/onebusaway_sdk/models/vehicles_for_agency_list_response.rbi +6 -6
- data/sig/onebusaway_sdk/models/arrival_and_departure_list_response.rbs +24 -36
- data/sig/onebusaway_sdk/models/arrival_and_departure_retrieve_response.rbs +24 -36
- data/sig/onebusaway_sdk/models/arrivals_and_departures_for_location_list_response.rbs +24 -36
- data/sig/onebusaway_sdk/models/trip_detail_retrieve_response.rbs +8 -14
- data/sig/onebusaway_sdk/models/trip_for_vehicle_retrieve_response.rbs +8 -14
- data/sig/onebusaway_sdk/models/trips_for_location_list_response.rbs +8 -10
- data/sig/onebusaway_sdk/models/trips_for_route_list_response.rbs +8 -10
- data/sig/onebusaway_sdk/models/vehicles_for_agency_list_response.rbs +4 -6
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3cde8149759872b1be572e13efee4030c38d4b4d0b9f0d5c919c10e0903e57f7
|
|
4
|
+
data.tar.gz: 79400d6bdebf26db230633d94e2ef262eaa38875f30d3ad040268c23f15182da
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c071714483c2a9dd71355bacca8da7b2ce4f8955fb7940243defeb87ae60919928a0caa197b05dd67d5cb5a8e026fafc89adea295426ef40883ab5c4a02c806c
|
|
7
|
+
data.tar.gz: fb3dffde0ad67444fd7eb11fc93ee61348e0276b4615c35e67947be6c55d8971d724690d5f29fa8c70e9512aa48e87b7871fd67af063b00b7b120d43bc531ad9
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.9.0 (2026-06-01)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v1.8.0...v1.9.0](https://github.com/OneBusAway/ruby-sdk/compare/v1.8.0...v1.9.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([2e35daf](https://github.com/OneBusAway/ruby-sdk/commit/2e35daf2cb318e35f1506f31487797b630995242))
|
|
10
|
+
|
|
11
|
+
## 1.8.0 (2026-05-20)
|
|
12
|
+
|
|
13
|
+
Full Changelog: [v1.7.1...v1.8.0](https://github.com/OneBusAway/ruby-sdk/compare/v1.7.1...v1.8.0)
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* **api:** api update ([48900b2](https://github.com/OneBusAway/ruby-sdk/commit/48900b22b5fada35d55e08599ef1c5d74bde150e))
|
|
18
|
+
|
|
3
19
|
## 1.7.1 (2026-05-14)
|
|
4
20
|
|
|
5
21
|
Full Changelog: [v1.7.0...v1.7.1](https://github.com/OneBusAway/ruby-sdk/compare/v1.7.0...v1.7.1)
|
data/README.md
CHANGED
|
@@ -158,7 +158,7 @@ module OnebusawaySDK
|
|
|
158
158
|
# Information about frequency-based scheduling, if applicable to the trip.
|
|
159
159
|
#
|
|
160
160
|
# @return [String, nil]
|
|
161
|
-
optional :frequency, String
|
|
161
|
+
optional :frequency, String, nil?: true
|
|
162
162
|
|
|
163
163
|
# @!attribute historical_occupancy
|
|
164
164
|
# Historical occupancy information of the transit vehicle.
|
|
@@ -188,13 +188,13 @@ module OnebusawaySDK
|
|
|
188
188
|
# Interval for predicted arrival time, if available.
|
|
189
189
|
#
|
|
190
190
|
# @return [String, nil]
|
|
191
|
-
optional :predicted_arrival_interval, String, api_name: :predictedArrivalInterval
|
|
191
|
+
optional :predicted_arrival_interval, String, api_name: :predictedArrivalInterval, nil?: true
|
|
192
192
|
|
|
193
193
|
# @!attribute predicted_departure_interval
|
|
194
194
|
# Interval for predicted departure time, if available.
|
|
195
195
|
#
|
|
196
196
|
# @return [String, nil]
|
|
197
|
-
optional :predicted_departure_interval, String, api_name: :predictedDepartureInterval
|
|
197
|
+
optional :predicted_departure_interval, String, api_name: :predictedDepartureInterval, nil?: true
|
|
198
198
|
|
|
199
199
|
# @!attribute predicted_occupancy
|
|
200
200
|
# Predicted occupancy status of the transit vehicle.
|
|
@@ -220,13 +220,13 @@ module OnebusawaySDK
|
|
|
220
220
|
# Interval for scheduled arrival time.
|
|
221
221
|
#
|
|
222
222
|
# @return [String, nil]
|
|
223
|
-
optional :scheduled_arrival_interval, String, api_name: :scheduledArrivalInterval
|
|
223
|
+
optional :scheduled_arrival_interval, String, api_name: :scheduledArrivalInterval, nil?: true
|
|
224
224
|
|
|
225
225
|
# @!attribute scheduled_departure_interval
|
|
226
226
|
# Interval for scheduled departure time.
|
|
227
227
|
#
|
|
228
228
|
# @return [String, nil]
|
|
229
|
-
optional :scheduled_departure_interval, String, api_name: :scheduledDepartureInterval
|
|
229
|
+
optional :scheduled_departure_interval, String, api_name: :scheduledDepartureInterval, nil?: true
|
|
230
230
|
|
|
231
231
|
# @!attribute scheduled_track
|
|
232
232
|
# Scheduled track information of the arriving transit vehicle.
|
|
@@ -295,7 +295,7 @@ module OnebusawaySDK
|
|
|
295
295
|
#
|
|
296
296
|
# @param distance_from_stop [Float] Distance of the arriving transit vehicle from the stop, in meters.
|
|
297
297
|
#
|
|
298
|
-
# @param frequency [String] Information about frequency-based scheduling, if applicable to the trip.
|
|
298
|
+
# @param frequency [String, nil] Information about frequency-based scheduling, if applicable to the trip.
|
|
299
299
|
#
|
|
300
300
|
# @param historical_occupancy [String] Historical occupancy information of the transit vehicle.
|
|
301
301
|
#
|
|
@@ -305,9 +305,9 @@ module OnebusawaySDK
|
|
|
305
305
|
#
|
|
306
306
|
# @param predicted [Boolean] Indicates if real-time arrival info is available for this trip.
|
|
307
307
|
#
|
|
308
|
-
# @param predicted_arrival_interval [String] Interval for predicted arrival time, if available.
|
|
308
|
+
# @param predicted_arrival_interval [String, nil] Interval for predicted arrival time, if available.
|
|
309
309
|
#
|
|
310
|
-
# @param predicted_departure_interval [String] Interval for predicted departure time, if available.
|
|
310
|
+
# @param predicted_departure_interval [String, nil] Interval for predicted departure time, if available.
|
|
311
311
|
#
|
|
312
312
|
# @param predicted_occupancy [String] Predicted occupancy status of the transit vehicle.
|
|
313
313
|
#
|
|
@@ -315,9 +315,9 @@ module OnebusawaySDK
|
|
|
315
315
|
#
|
|
316
316
|
# @param route_short_name [String] Optional route short name that potentially overrides the route short name in the
|
|
317
317
|
#
|
|
318
|
-
# @param scheduled_arrival_interval [String] Interval for scheduled arrival time.
|
|
318
|
+
# @param scheduled_arrival_interval [String, nil] Interval for scheduled arrival time.
|
|
319
319
|
#
|
|
320
|
-
# @param scheduled_departure_interval [String] Interval for scheduled departure time.
|
|
320
|
+
# @param scheduled_departure_interval [String, nil] Interval for scheduled departure time.
|
|
321
321
|
#
|
|
322
322
|
# @param scheduled_track [String] Scheduled track information of the arriving transit vehicle.
|
|
323
323
|
#
|
|
@@ -438,7 +438,7 @@ module OnebusawaySDK
|
|
|
438
438
|
# Information about frequency-based scheduling, if applicable to the trip.
|
|
439
439
|
#
|
|
440
440
|
# @return [String, nil]
|
|
441
|
-
optional :frequency, String
|
|
441
|
+
optional :frequency, String, nil?: true
|
|
442
442
|
|
|
443
443
|
# @!attribute last_known_location
|
|
444
444
|
# Last known location of the transit vehicle (optional).
|
|
@@ -541,7 +541,7 @@ module OnebusawaySDK
|
|
|
541
541
|
#
|
|
542
542
|
# @param closest_stop_time_offset [Integer] Time offset from the closest stop to the current position of the transit vehicle
|
|
543
543
|
#
|
|
544
|
-
# @param frequency [String] Information about frequency-based scheduling, if applicable to the trip.
|
|
544
|
+
# @param frequency [String, nil] Information about frequency-based scheduling, if applicable to the trip.
|
|
545
545
|
#
|
|
546
546
|
# @param last_known_location [OnebusawaySDK::Models::ArrivalAndDepartureListResponse::Data::Entry::ArrivalsAndDeparture::TripStatus::LastKnownLocation, nil] Last known location of the transit vehicle (optional).
|
|
547
547
|
#
|
|
@@ -147,7 +147,7 @@ module OnebusawaySDK
|
|
|
147
147
|
# Information about frequency-based scheduling, if applicable to the trip.
|
|
148
148
|
#
|
|
149
149
|
# @return [String, nil]
|
|
150
|
-
optional :frequency, String
|
|
150
|
+
optional :frequency, String, nil?: true
|
|
151
151
|
|
|
152
152
|
# @!attribute historical_occupancy
|
|
153
153
|
# Historical occupancy information of the transit vehicle.
|
|
@@ -177,13 +177,13 @@ module OnebusawaySDK
|
|
|
177
177
|
# Interval for predicted arrival time, if available.
|
|
178
178
|
#
|
|
179
179
|
# @return [String, nil]
|
|
180
|
-
optional :predicted_arrival_interval, String, api_name: :predictedArrivalInterval
|
|
180
|
+
optional :predicted_arrival_interval, String, api_name: :predictedArrivalInterval, nil?: true
|
|
181
181
|
|
|
182
182
|
# @!attribute predicted_departure_interval
|
|
183
183
|
# Interval for predicted departure time, if available.
|
|
184
184
|
#
|
|
185
185
|
# @return [String, nil]
|
|
186
|
-
optional :predicted_departure_interval, String, api_name: :predictedDepartureInterval
|
|
186
|
+
optional :predicted_departure_interval, String, api_name: :predictedDepartureInterval, nil?: true
|
|
187
187
|
|
|
188
188
|
# @!attribute predicted_occupancy
|
|
189
189
|
# Predicted occupancy status of the transit vehicle.
|
|
@@ -209,13 +209,13 @@ module OnebusawaySDK
|
|
|
209
209
|
# Interval for scheduled arrival time.
|
|
210
210
|
#
|
|
211
211
|
# @return [String, nil]
|
|
212
|
-
optional :scheduled_arrival_interval, String, api_name: :scheduledArrivalInterval
|
|
212
|
+
optional :scheduled_arrival_interval, String, api_name: :scheduledArrivalInterval, nil?: true
|
|
213
213
|
|
|
214
214
|
# @!attribute scheduled_departure_interval
|
|
215
215
|
# Interval for scheduled departure time.
|
|
216
216
|
#
|
|
217
217
|
# @return [String, nil]
|
|
218
|
-
optional :scheduled_departure_interval, String, api_name: :scheduledDepartureInterval
|
|
218
|
+
optional :scheduled_departure_interval, String, api_name: :scheduledDepartureInterval, nil?: true
|
|
219
219
|
|
|
220
220
|
# @!attribute scheduled_track
|
|
221
221
|
# Scheduled track information of the arriving transit vehicle.
|
|
@@ -284,7 +284,7 @@ module OnebusawaySDK
|
|
|
284
284
|
#
|
|
285
285
|
# @param distance_from_stop [Float] Distance of the arriving transit vehicle from the stop, in meters.
|
|
286
286
|
#
|
|
287
|
-
# @param frequency [String] Information about frequency-based scheduling, if applicable to the trip.
|
|
287
|
+
# @param frequency [String, nil] Information about frequency-based scheduling, if applicable to the trip.
|
|
288
288
|
#
|
|
289
289
|
# @param historical_occupancy [String] Historical occupancy information of the transit vehicle.
|
|
290
290
|
#
|
|
@@ -294,9 +294,9 @@ module OnebusawaySDK
|
|
|
294
294
|
#
|
|
295
295
|
# @param predicted [Boolean] Indicates if real-time arrival info is available for this trip.
|
|
296
296
|
#
|
|
297
|
-
# @param predicted_arrival_interval [String] Interval for predicted arrival time, if available.
|
|
297
|
+
# @param predicted_arrival_interval [String, nil] Interval for predicted arrival time, if available.
|
|
298
298
|
#
|
|
299
|
-
# @param predicted_departure_interval [String] Interval for predicted departure time, if available.
|
|
299
|
+
# @param predicted_departure_interval [String, nil] Interval for predicted departure time, if available.
|
|
300
300
|
#
|
|
301
301
|
# @param predicted_occupancy [String] Predicted occupancy status of the transit vehicle.
|
|
302
302
|
#
|
|
@@ -304,9 +304,9 @@ module OnebusawaySDK
|
|
|
304
304
|
#
|
|
305
305
|
# @param route_short_name [String] Optional route short name that potentially overrides the route short name in the
|
|
306
306
|
#
|
|
307
|
-
# @param scheduled_arrival_interval [String] Interval for scheduled arrival time.
|
|
307
|
+
# @param scheduled_arrival_interval [String, nil] Interval for scheduled arrival time.
|
|
308
308
|
#
|
|
309
|
-
# @param scheduled_departure_interval [String] Interval for scheduled departure time.
|
|
309
|
+
# @param scheduled_departure_interval [String, nil] Interval for scheduled departure time.
|
|
310
310
|
#
|
|
311
311
|
# @param scheduled_track [String] Scheduled track information of the arriving transit vehicle.
|
|
312
312
|
#
|
|
@@ -427,7 +427,7 @@ module OnebusawaySDK
|
|
|
427
427
|
# Information about frequency-based scheduling, if applicable to the trip.
|
|
428
428
|
#
|
|
429
429
|
# @return [String, nil]
|
|
430
|
-
optional :frequency, String
|
|
430
|
+
optional :frequency, String, nil?: true
|
|
431
431
|
|
|
432
432
|
# @!attribute last_known_location
|
|
433
433
|
# Last known location of the transit vehicle (optional).
|
|
@@ -530,7 +530,7 @@ module OnebusawaySDK
|
|
|
530
530
|
#
|
|
531
531
|
# @param closest_stop_time_offset [Integer] Time offset from the closest stop to the current position of the transit vehicle
|
|
532
532
|
#
|
|
533
|
-
# @param frequency [String] Information about frequency-based scheduling, if applicable to the trip.
|
|
533
|
+
# @param frequency [String, nil] Information about frequency-based scheduling, if applicable to the trip.
|
|
534
534
|
#
|
|
535
535
|
# @param last_known_location [OnebusawaySDK::Models::ArrivalAndDepartureRetrieveResponse::Data::Entry::TripStatus::LastKnownLocation, nil] Last known location of the transit vehicle (optional).
|
|
536
536
|
#
|
|
@@ -184,7 +184,7 @@ module OnebusawaySDK
|
|
|
184
184
|
# Information about frequency-based scheduling, if applicable to the trip.
|
|
185
185
|
#
|
|
186
186
|
# @return [String, nil]
|
|
187
|
-
optional :frequency, String
|
|
187
|
+
optional :frequency, String, nil?: true
|
|
188
188
|
|
|
189
189
|
# @!attribute historical_occupancy
|
|
190
190
|
# Historical occupancy information of the transit vehicle.
|
|
@@ -214,13 +214,13 @@ module OnebusawaySDK
|
|
|
214
214
|
# Interval for predicted arrival time, if available.
|
|
215
215
|
#
|
|
216
216
|
# @return [String, nil]
|
|
217
|
-
optional :predicted_arrival_interval, String, api_name: :predictedArrivalInterval
|
|
217
|
+
optional :predicted_arrival_interval, String, api_name: :predictedArrivalInterval, nil?: true
|
|
218
218
|
|
|
219
219
|
# @!attribute predicted_departure_interval
|
|
220
220
|
# Interval for predicted departure time, if available.
|
|
221
221
|
#
|
|
222
222
|
# @return [String, nil]
|
|
223
|
-
optional :predicted_departure_interval, String, api_name: :predictedDepartureInterval
|
|
223
|
+
optional :predicted_departure_interval, String, api_name: :predictedDepartureInterval, nil?: true
|
|
224
224
|
|
|
225
225
|
# @!attribute predicted_occupancy
|
|
226
226
|
# Predicted occupancy status of the transit vehicle.
|
|
@@ -246,13 +246,13 @@ module OnebusawaySDK
|
|
|
246
246
|
# Interval for scheduled arrival time.
|
|
247
247
|
#
|
|
248
248
|
# @return [String, nil]
|
|
249
|
-
optional :scheduled_arrival_interval, String, api_name: :scheduledArrivalInterval
|
|
249
|
+
optional :scheduled_arrival_interval, String, api_name: :scheduledArrivalInterval, nil?: true
|
|
250
250
|
|
|
251
251
|
# @!attribute scheduled_departure_interval
|
|
252
252
|
# Interval for scheduled departure time.
|
|
253
253
|
#
|
|
254
254
|
# @return [String, nil]
|
|
255
|
-
optional :scheduled_departure_interval, String, api_name: :scheduledDepartureInterval
|
|
255
|
+
optional :scheduled_departure_interval, String, api_name: :scheduledDepartureInterval, nil?: true
|
|
256
256
|
|
|
257
257
|
# @!attribute scheduled_track
|
|
258
258
|
# Scheduled track information of the arriving transit vehicle.
|
|
@@ -321,7 +321,7 @@ module OnebusawaySDK
|
|
|
321
321
|
#
|
|
322
322
|
# @param distance_from_stop [Float] Distance of the arriving transit vehicle from the stop, in meters.
|
|
323
323
|
#
|
|
324
|
-
# @param frequency [String] Information about frequency-based scheduling, if applicable to the trip.
|
|
324
|
+
# @param frequency [String, nil] Information about frequency-based scheduling, if applicable to the trip.
|
|
325
325
|
#
|
|
326
326
|
# @param historical_occupancy [String] Historical occupancy information of the transit vehicle.
|
|
327
327
|
#
|
|
@@ -331,9 +331,9 @@ module OnebusawaySDK
|
|
|
331
331
|
#
|
|
332
332
|
# @param predicted [Boolean] Indicates if real-time arrival info is available for this trip.
|
|
333
333
|
#
|
|
334
|
-
# @param predicted_arrival_interval [String] Interval for predicted arrival time, if available.
|
|
334
|
+
# @param predicted_arrival_interval [String, nil] Interval for predicted arrival time, if available.
|
|
335
335
|
#
|
|
336
|
-
# @param predicted_departure_interval [String] Interval for predicted departure time, if available.
|
|
336
|
+
# @param predicted_departure_interval [String, nil] Interval for predicted departure time, if available.
|
|
337
337
|
#
|
|
338
338
|
# @param predicted_occupancy [String] Predicted occupancy status of the transit vehicle.
|
|
339
339
|
#
|
|
@@ -341,9 +341,9 @@ module OnebusawaySDK
|
|
|
341
341
|
#
|
|
342
342
|
# @param route_short_name [String] Optional route short name that potentially overrides the route short name in the
|
|
343
343
|
#
|
|
344
|
-
# @param scheduled_arrival_interval [String] Interval for scheduled arrival time.
|
|
344
|
+
# @param scheduled_arrival_interval [String, nil] Interval for scheduled arrival time.
|
|
345
345
|
#
|
|
346
|
-
# @param scheduled_departure_interval [String] Interval for scheduled departure time.
|
|
346
|
+
# @param scheduled_departure_interval [String, nil] Interval for scheduled departure time.
|
|
347
347
|
#
|
|
348
348
|
# @param scheduled_track [String] Scheduled track information of the arriving transit vehicle.
|
|
349
349
|
#
|
|
@@ -464,7 +464,7 @@ module OnebusawaySDK
|
|
|
464
464
|
# Information about frequency-based scheduling, if applicable to the trip.
|
|
465
465
|
#
|
|
466
466
|
# @return [String, nil]
|
|
467
|
-
optional :frequency, String
|
|
467
|
+
optional :frequency, String, nil?: true
|
|
468
468
|
|
|
469
469
|
# @!attribute last_known_location
|
|
470
470
|
# Last known location of the transit vehicle (optional).
|
|
@@ -567,7 +567,7 @@ module OnebusawaySDK
|
|
|
567
567
|
#
|
|
568
568
|
# @param closest_stop_time_offset [Integer] Time offset from the closest stop to the current position of the transit vehicle
|
|
569
569
|
#
|
|
570
|
-
# @param frequency [String] Information about frequency-based scheduling, if applicable to the trip.
|
|
570
|
+
# @param frequency [String, nil] Information about frequency-based scheduling, if applicable to the trip.
|
|
571
571
|
#
|
|
572
572
|
# @param last_known_location [OnebusawaySDK::Models::ArrivalsAndDeparturesForLocationListResponse::Data::Entry::ArrivalsAndDeparture::TripStatus::LastKnownLocation, nil] Last known location of the transit vehicle (optional).
|
|
573
573
|
#
|
|
@@ -42,7 +42,9 @@ module OnebusawaySDK
|
|
|
42
42
|
# @!attribute schedule
|
|
43
43
|
#
|
|
44
44
|
# @return [OnebusawaySDK::Models::TripDetailRetrieveResponse::Data::Entry::Schedule, nil]
|
|
45
|
-
optional :schedule,
|
|
45
|
+
optional :schedule,
|
|
46
|
+
-> { OnebusawaySDK::Models::TripDetailRetrieveResponse::Data::Entry::Schedule },
|
|
47
|
+
nil?: true
|
|
46
48
|
|
|
47
49
|
# @!attribute service_date
|
|
48
50
|
#
|
|
@@ -55,17 +57,23 @@ module OnebusawaySDK
|
|
|
55
57
|
optional :situation_ids, OnebusawaySDK::Internal::Type::ArrayOf[String], api_name: :situationIds
|
|
56
58
|
|
|
57
59
|
# @!attribute status
|
|
60
|
+
# Trip-specific status for the arriving transit vehicle.
|
|
58
61
|
#
|
|
59
62
|
# @return [OnebusawaySDK::Models::TripDetailRetrieveResponse::Data::Entry::Status, nil]
|
|
60
63
|
optional :status, -> { OnebusawaySDK::Models::TripDetailRetrieveResponse::Data::Entry::Status }
|
|
61
64
|
|
|
62
65
|
# @!method initialize(trip_id:, frequency: nil, schedule: nil, service_date: nil, situation_ids: nil, status: nil)
|
|
63
66
|
# @param trip_id [String]
|
|
67
|
+
#
|
|
64
68
|
# @param frequency [String, nil]
|
|
65
|
-
#
|
|
69
|
+
#
|
|
70
|
+
# @param schedule [OnebusawaySDK::Models::TripDetailRetrieveResponse::Data::Entry::Schedule, nil]
|
|
71
|
+
#
|
|
66
72
|
# @param service_date [Integer]
|
|
73
|
+
#
|
|
67
74
|
# @param situation_ids [Array<String>]
|
|
68
|
-
#
|
|
75
|
+
#
|
|
76
|
+
# @param status [OnebusawaySDK::Models::TripDetailRetrieveResponse::Data::Entry::Status] Trip-specific status for the arriving transit vehicle.
|
|
69
77
|
|
|
70
78
|
# @see OnebusawaySDK::Models::TripDetailRetrieveResponse::Data::Entry#schedule
|
|
71
79
|
class Schedule < OnebusawaySDK::Internal::Type::BaseModel
|
|
@@ -255,7 +263,7 @@ module OnebusawaySDK
|
|
|
255
263
|
# Information about frequency-based scheduling, if applicable to the trip.
|
|
256
264
|
#
|
|
257
265
|
# @return [String, nil]
|
|
258
|
-
optional :frequency, String
|
|
266
|
+
optional :frequency, String, nil?: true
|
|
259
267
|
|
|
260
268
|
# @!attribute last_known_location
|
|
261
269
|
# Last known location of the transit vehicle (optional).
|
|
@@ -322,6 +330,8 @@ module OnebusawaySDK
|
|
|
322
330
|
# {OnebusawaySDK::Models::TripDetailRetrieveResponse::Data::Entry::Status} for
|
|
323
331
|
# more details.
|
|
324
332
|
#
|
|
333
|
+
# Trip-specific status for the arriving transit vehicle.
|
|
334
|
+
#
|
|
325
335
|
# @param active_trip_id [String] Trip ID of the trip the vehicle is actively serving.
|
|
326
336
|
#
|
|
327
337
|
# @param block_trip_sequence [Integer] Index of the active trip into the sequence of trips for the active block.
|
|
@@ -356,7 +366,7 @@ module OnebusawaySDK
|
|
|
356
366
|
#
|
|
357
367
|
# @param closest_stop_time_offset [Integer] Time offset from the closest stop to the current position of the transit vehicle
|
|
358
368
|
#
|
|
359
|
-
# @param frequency [String] Information about frequency-based scheduling, if applicable to the trip.
|
|
369
|
+
# @param frequency [String, nil] Information about frequency-based scheduling, if applicable to the trip.
|
|
360
370
|
#
|
|
361
371
|
# @param last_known_location [OnebusawaySDK::Models::TripDetailRetrieveResponse::Data::Entry::Status::LastKnownLocation, nil] Last known location of the transit vehicle (optional).
|
|
362
372
|
#
|
|
@@ -42,7 +42,9 @@ module OnebusawaySDK
|
|
|
42
42
|
# @!attribute schedule
|
|
43
43
|
#
|
|
44
44
|
# @return [OnebusawaySDK::Models::TripForVehicleRetrieveResponse::Data::Entry::Schedule, nil]
|
|
45
|
-
optional :schedule,
|
|
45
|
+
optional :schedule,
|
|
46
|
+
-> { OnebusawaySDK::Models::TripForVehicleRetrieveResponse::Data::Entry::Schedule },
|
|
47
|
+
nil?: true
|
|
46
48
|
|
|
47
49
|
# @!attribute service_date
|
|
48
50
|
#
|
|
@@ -55,17 +57,23 @@ module OnebusawaySDK
|
|
|
55
57
|
optional :situation_ids, OnebusawaySDK::Internal::Type::ArrayOf[String], api_name: :situationIds
|
|
56
58
|
|
|
57
59
|
# @!attribute status
|
|
60
|
+
# Trip-specific status for the arriving transit vehicle.
|
|
58
61
|
#
|
|
59
62
|
# @return [OnebusawaySDK::Models::TripForVehicleRetrieveResponse::Data::Entry::Status, nil]
|
|
60
63
|
optional :status, -> { OnebusawaySDK::Models::TripForVehicleRetrieveResponse::Data::Entry::Status }
|
|
61
64
|
|
|
62
65
|
# @!method initialize(trip_id:, frequency: nil, schedule: nil, service_date: nil, situation_ids: nil, status: nil)
|
|
63
66
|
# @param trip_id [String]
|
|
67
|
+
#
|
|
64
68
|
# @param frequency [String, nil]
|
|
65
|
-
#
|
|
69
|
+
#
|
|
70
|
+
# @param schedule [OnebusawaySDK::Models::TripForVehicleRetrieveResponse::Data::Entry::Schedule, nil]
|
|
71
|
+
#
|
|
66
72
|
# @param service_date [Integer]
|
|
73
|
+
#
|
|
67
74
|
# @param situation_ids [Array<String>]
|
|
68
|
-
#
|
|
75
|
+
#
|
|
76
|
+
# @param status [OnebusawaySDK::Models::TripForVehicleRetrieveResponse::Data::Entry::Status] Trip-specific status for the arriving transit vehicle.
|
|
69
77
|
|
|
70
78
|
# @see OnebusawaySDK::Models::TripForVehicleRetrieveResponse::Data::Entry#schedule
|
|
71
79
|
class Schedule < OnebusawaySDK::Internal::Type::BaseModel
|
|
@@ -255,7 +263,7 @@ module OnebusawaySDK
|
|
|
255
263
|
# Information about frequency-based scheduling, if applicable to the trip.
|
|
256
264
|
#
|
|
257
265
|
# @return [String, nil]
|
|
258
|
-
optional :frequency, String
|
|
266
|
+
optional :frequency, String, nil?: true
|
|
259
267
|
|
|
260
268
|
# @!attribute last_known_location
|
|
261
269
|
# Last known location of the transit vehicle (optional).
|
|
@@ -322,6 +330,8 @@ module OnebusawaySDK
|
|
|
322
330
|
# {OnebusawaySDK::Models::TripForVehicleRetrieveResponse::Data::Entry::Status} for
|
|
323
331
|
# more details.
|
|
324
332
|
#
|
|
333
|
+
# Trip-specific status for the arriving transit vehicle.
|
|
334
|
+
#
|
|
325
335
|
# @param active_trip_id [String] Trip ID of the trip the vehicle is actively serving.
|
|
326
336
|
#
|
|
327
337
|
# @param block_trip_sequence [Integer] Index of the active trip into the sequence of trips for the active block.
|
|
@@ -356,7 +366,7 @@ module OnebusawaySDK
|
|
|
356
366
|
#
|
|
357
367
|
# @param closest_stop_time_offset [Integer] Time offset from the closest stop to the current position of the transit vehicle
|
|
358
368
|
#
|
|
359
|
-
# @param frequency [String] Information about frequency-based scheduling, if applicable to the trip.
|
|
369
|
+
# @param frequency [String, nil] Information about frequency-based scheduling, if applicable to the trip.
|
|
360
370
|
#
|
|
361
371
|
# @param last_known_location [OnebusawaySDK::Models::TripForVehicleRetrieveResponse::Data::Entry::Status::LastKnownLocation, nil] Last known location of the transit vehicle (optional).
|
|
362
372
|
#
|
|
@@ -48,10 +48,13 @@ module OnebusawaySDK
|
|
|
48
48
|
class List < OnebusawaySDK::Internal::Type::BaseModel
|
|
49
49
|
# @!attribute schedule
|
|
50
50
|
#
|
|
51
|
-
# @return [OnebusawaySDK::Models::TripsForLocationListResponse::Data::List::Schedule]
|
|
52
|
-
required :schedule,
|
|
51
|
+
# @return [OnebusawaySDK::Models::TripsForLocationListResponse::Data::List::Schedule, nil]
|
|
52
|
+
required :schedule,
|
|
53
|
+
-> { OnebusawaySDK::Models::TripsForLocationListResponse::Data::List::Schedule },
|
|
54
|
+
nil?: true
|
|
53
55
|
|
|
54
56
|
# @!attribute status
|
|
57
|
+
# Trip-specific status for the arriving transit vehicle.
|
|
55
58
|
#
|
|
56
59
|
# @return [OnebusawaySDK::Models::TripsForLocationListResponse::Data::List::Status]
|
|
57
60
|
required :status, -> { OnebusawaySDK::Models::TripsForLocationListResponse::Data::List::Status }
|
|
@@ -77,11 +80,16 @@ module OnebusawaySDK
|
|
|
77
80
|
optional :situation_ids, OnebusawaySDK::Internal::Type::ArrayOf[String], api_name: :situationIds
|
|
78
81
|
|
|
79
82
|
# @!method initialize(schedule:, status:, trip_id:, frequency: nil, service_date: nil, situation_ids: nil)
|
|
80
|
-
# @param schedule [OnebusawaySDK::Models::TripsForLocationListResponse::Data::List::Schedule]
|
|
81
|
-
#
|
|
83
|
+
# @param schedule [OnebusawaySDK::Models::TripsForLocationListResponse::Data::List::Schedule, nil]
|
|
84
|
+
#
|
|
85
|
+
# @param status [OnebusawaySDK::Models::TripsForLocationListResponse::Data::List::Status] Trip-specific status for the arriving transit vehicle.
|
|
86
|
+
#
|
|
82
87
|
# @param trip_id [String]
|
|
88
|
+
#
|
|
83
89
|
# @param frequency [String, nil]
|
|
90
|
+
#
|
|
84
91
|
# @param service_date [Integer]
|
|
92
|
+
#
|
|
85
93
|
# @param situation_ids [Array<String>]
|
|
86
94
|
|
|
87
95
|
# @see OnebusawaySDK::Models::TripsForLocationListResponse::Data::List#schedule
|
|
@@ -272,7 +280,7 @@ module OnebusawaySDK
|
|
|
272
280
|
# Information about frequency-based scheduling, if applicable to the trip.
|
|
273
281
|
#
|
|
274
282
|
# @return [String, nil]
|
|
275
|
-
optional :frequency, String
|
|
283
|
+
optional :frequency, String, nil?: true
|
|
276
284
|
|
|
277
285
|
# @!attribute last_known_location
|
|
278
286
|
# Last known location of the transit vehicle (optional).
|
|
@@ -339,6 +347,8 @@ module OnebusawaySDK
|
|
|
339
347
|
# {OnebusawaySDK::Models::TripsForLocationListResponse::Data::List::Status} for
|
|
340
348
|
# more details.
|
|
341
349
|
#
|
|
350
|
+
# Trip-specific status for the arriving transit vehicle.
|
|
351
|
+
#
|
|
342
352
|
# @param active_trip_id [String] Trip ID of the trip the vehicle is actively serving.
|
|
343
353
|
#
|
|
344
354
|
# @param block_trip_sequence [Integer] Index of the active trip into the sequence of trips for the active block.
|
|
@@ -373,7 +383,7 @@ module OnebusawaySDK
|
|
|
373
383
|
#
|
|
374
384
|
# @param closest_stop_time_offset [Integer] Time offset from the closest stop to the current position of the transit vehicle
|
|
375
385
|
#
|
|
376
|
-
# @param frequency [String] Information about frequency-based scheduling, if applicable to the trip.
|
|
386
|
+
# @param frequency [String, nil] Information about frequency-based scheduling, if applicable to the trip.
|
|
377
387
|
#
|
|
378
388
|
# @param last_known_location [OnebusawaySDK::Models::TripsForLocationListResponse::Data::List::Status::LastKnownLocation, nil] Last known location of the transit vehicle (optional).
|
|
379
389
|
#
|
|
@@ -37,10 +37,13 @@ module OnebusawaySDK
|
|
|
37
37
|
class List < OnebusawaySDK::Internal::Type::BaseModel
|
|
38
38
|
# @!attribute schedule
|
|
39
39
|
#
|
|
40
|
-
# @return [OnebusawaySDK::Models::TripsForRouteListResponse::Data::List::Schedule]
|
|
41
|
-
required :schedule,
|
|
40
|
+
# @return [OnebusawaySDK::Models::TripsForRouteListResponse::Data::List::Schedule, nil]
|
|
41
|
+
required :schedule,
|
|
42
|
+
-> { OnebusawaySDK::Models::TripsForRouteListResponse::Data::List::Schedule },
|
|
43
|
+
nil?: true
|
|
42
44
|
|
|
43
45
|
# @!attribute status
|
|
46
|
+
# Trip-specific status for the arriving transit vehicle.
|
|
44
47
|
#
|
|
45
48
|
# @return [OnebusawaySDK::Models::TripsForRouteListResponse::Data::List::Status]
|
|
46
49
|
required :status, -> { OnebusawaySDK::Models::TripsForRouteListResponse::Data::List::Status }
|
|
@@ -66,11 +69,16 @@ module OnebusawaySDK
|
|
|
66
69
|
optional :situation_ids, OnebusawaySDK::Internal::Type::ArrayOf[String], api_name: :situationIds
|
|
67
70
|
|
|
68
71
|
# @!method initialize(schedule:, status:, trip_id:, frequency: nil, service_date: nil, situation_ids: nil)
|
|
69
|
-
# @param schedule [OnebusawaySDK::Models::TripsForRouteListResponse::Data::List::Schedule]
|
|
70
|
-
#
|
|
72
|
+
# @param schedule [OnebusawaySDK::Models::TripsForRouteListResponse::Data::List::Schedule, nil]
|
|
73
|
+
#
|
|
74
|
+
# @param status [OnebusawaySDK::Models::TripsForRouteListResponse::Data::List::Status] Trip-specific status for the arriving transit vehicle.
|
|
75
|
+
#
|
|
71
76
|
# @param trip_id [String]
|
|
77
|
+
#
|
|
72
78
|
# @param frequency [String, nil]
|
|
79
|
+
#
|
|
73
80
|
# @param service_date [Integer]
|
|
81
|
+
#
|
|
74
82
|
# @param situation_ids [Array<String>]
|
|
75
83
|
|
|
76
84
|
# @see OnebusawaySDK::Models::TripsForRouteListResponse::Data::List#schedule
|
|
@@ -261,7 +269,7 @@ module OnebusawaySDK
|
|
|
261
269
|
# Information about frequency-based scheduling, if applicable to the trip.
|
|
262
270
|
#
|
|
263
271
|
# @return [String, nil]
|
|
264
|
-
optional :frequency, String
|
|
272
|
+
optional :frequency, String, nil?: true
|
|
265
273
|
|
|
266
274
|
# @!attribute last_known_location
|
|
267
275
|
# Last known location of the transit vehicle (optional).
|
|
@@ -327,6 +335,8 @@ module OnebusawaySDK
|
|
|
327
335
|
# {OnebusawaySDK::Models::TripsForRouteListResponse::Data::List::Status} for more
|
|
328
336
|
# details.
|
|
329
337
|
#
|
|
338
|
+
# Trip-specific status for the arriving transit vehicle.
|
|
339
|
+
#
|
|
330
340
|
# @param active_trip_id [String] Trip ID of the trip the vehicle is actively serving.
|
|
331
341
|
#
|
|
332
342
|
# @param block_trip_sequence [Integer] Index of the active trip into the sequence of trips for the active block.
|
|
@@ -361,7 +371,7 @@ module OnebusawaySDK
|
|
|
361
371
|
#
|
|
362
372
|
# @param closest_stop_time_offset [Integer] Time offset from the closest stop to the current position of the transit vehicle
|
|
363
373
|
#
|
|
364
|
-
# @param frequency [String] Information about frequency-based scheduling, if applicable to the trip.
|
|
374
|
+
# @param frequency [String, nil] Information about frequency-based scheduling, if applicable to the trip.
|
|
365
375
|
#
|
|
366
376
|
# @param last_known_location [OnebusawaySDK::Models::TripsForRouteListResponse::Data::List::Status::LastKnownLocation, nil] Last known location of the transit vehicle (optional).
|
|
367
377
|
#
|
|
@@ -86,6 +86,7 @@ module OnebusawaySDK
|
|
|
86
86
|
optional :trip_id, String, api_name: :tripId
|
|
87
87
|
|
|
88
88
|
# @!attribute trip_status
|
|
89
|
+
# Trip-specific status for the arriving transit vehicle.
|
|
89
90
|
#
|
|
90
91
|
# @return [OnebusawaySDK::Models::VehiclesForAgencyListResponse::Data::List::TripStatus, nil]
|
|
91
92
|
optional :trip_status,
|
|
@@ -94,16 +95,26 @@ module OnebusawaySDK
|
|
|
94
95
|
|
|
95
96
|
# @!method initialize(last_location_update_time:, last_update_time:, vehicle_id:, location: nil, occupancy_capacity: nil, occupancy_count: nil, occupancy_status: nil, phase: nil, status: nil, trip_id: nil, trip_status: nil)
|
|
96
97
|
# @param last_location_update_time [Integer]
|
|
98
|
+
#
|
|
97
99
|
# @param last_update_time [Integer]
|
|
100
|
+
#
|
|
98
101
|
# @param vehicle_id [String]
|
|
102
|
+
#
|
|
99
103
|
# @param location [OnebusawaySDK::Models::VehiclesForAgencyListResponse::Data::List::Location]
|
|
104
|
+
#
|
|
100
105
|
# @param occupancy_capacity [Integer]
|
|
106
|
+
#
|
|
101
107
|
# @param occupancy_count [Integer]
|
|
108
|
+
#
|
|
102
109
|
# @param occupancy_status [String]
|
|
110
|
+
#
|
|
103
111
|
# @param phase [String]
|
|
112
|
+
#
|
|
104
113
|
# @param status [String]
|
|
114
|
+
#
|
|
105
115
|
# @param trip_id [String]
|
|
106
|
-
#
|
|
116
|
+
#
|
|
117
|
+
# @param trip_status [OnebusawaySDK::Models::VehiclesForAgencyListResponse::Data::List::TripStatus] Trip-specific status for the arriving transit vehicle.
|
|
107
118
|
|
|
108
119
|
# @see OnebusawaySDK::Models::VehiclesForAgencyListResponse::Data::List#location
|
|
109
120
|
class Location < OnebusawaySDK::Internal::Type::BaseModel
|
|
@@ -233,7 +244,7 @@ module OnebusawaySDK
|
|
|
233
244
|
# Information about frequency-based scheduling, if applicable to the trip.
|
|
234
245
|
#
|
|
235
246
|
# @return [String, nil]
|
|
236
|
-
optional :frequency, String
|
|
247
|
+
optional :frequency, String, nil?: true
|
|
237
248
|
|
|
238
249
|
# @!attribute last_known_location
|
|
239
250
|
# Last known location of the transit vehicle (optional).
|
|
@@ -300,6 +311,8 @@ module OnebusawaySDK
|
|
|
300
311
|
# {OnebusawaySDK::Models::VehiclesForAgencyListResponse::Data::List::TripStatus}
|
|
301
312
|
# for more details.
|
|
302
313
|
#
|
|
314
|
+
# Trip-specific status for the arriving transit vehicle.
|
|
315
|
+
#
|
|
303
316
|
# @param active_trip_id [String] Trip ID of the trip the vehicle is actively serving.
|
|
304
317
|
#
|
|
305
318
|
# @param block_trip_sequence [Integer] Index of the active trip into the sequence of trips for the active block.
|
|
@@ -334,7 +347,7 @@ module OnebusawaySDK
|
|
|
334
347
|
#
|
|
335
348
|
# @param closest_stop_time_offset [Integer] Time offset from the closest stop to the current position of the transit vehicle
|
|
336
349
|
#
|
|
337
|
-
# @param frequency [String] Information about frequency-based scheduling, if applicable to the trip.
|
|
350
|
+
# @param frequency [String, nil] Information about frequency-based scheduling, if applicable to the trip.
|
|
338
351
|
#
|
|
339
352
|
# @param last_known_location [OnebusawaySDK::Models::VehiclesForAgencyListResponse::Data::List::TripStatus::LastKnownLocation, nil] Last known location of the transit vehicle (optional).
|
|
340
353
|
#
|