onebusaway-sdk 1.0.1 → 1.0.3
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 +28 -0
- data/README.md +4 -4
- data/SECURITY.md +2 -2
- data/lib/onebusaway_sdk/internal/type/array_of.rb +8 -0
- data/lib/onebusaway_sdk/internal/type/base_model.rb +7 -0
- data/lib/onebusaway_sdk/internal/type/boolean.rb +8 -0
- data/lib/onebusaway_sdk/internal/type/enum.rb +12 -0
- data/lib/onebusaway_sdk/internal/type/file_input.rb +7 -0
- data/lib/onebusaway_sdk/internal/type/hash_of.rb +8 -0
- data/lib/onebusaway_sdk/internal/type/union.rb +12 -0
- data/lib/onebusaway_sdk/internal/type/unknown.rb +8 -0
- data/lib/onebusaway_sdk/internal/util.rb +54 -1
- data/lib/onebusaway_sdk/internal.rb +3 -0
- data/lib/onebusaway_sdk/models/agencies_with_coverage_list_response.rb +2 -2
- data/lib/onebusaway_sdk/models/agency_retrieve_response.rb +2 -2
- data/lib/onebusaway_sdk/models/arrival_and_departure_list_response.rb +2 -2
- data/lib/onebusaway_sdk/models/arrival_and_departure_retrieve_response.rb +2 -2
- data/lib/onebusaway_sdk/models/block_retrieve_response.rb +2 -2
- data/lib/onebusaway_sdk/models/config_retrieve_response.rb +2 -2
- data/lib/onebusaway_sdk/models/current_time_retrieve_response.rb +2 -2
- data/lib/onebusaway_sdk/models/references.rb +38 -38
- data/lib/onebusaway_sdk/models/report_problem_with_stop_retrieve_params.rb +2 -2
- data/lib/onebusaway_sdk/models/report_problem_with_trip_retrieve_params.rb +2 -2
- data/lib/onebusaway_sdk/models/route_ids_for_agency_list_response.rb +2 -2
- data/lib/onebusaway_sdk/models/route_retrieve_response.rb +2 -2
- data/lib/onebusaway_sdk/models/routes_for_agency_list_response.rb +2 -2
- data/lib/onebusaway_sdk/models/routes_for_location_list_response.rb +2 -2
- data/lib/onebusaway_sdk/models/schedule_for_stop_retrieve_response.rb +2 -2
- data/lib/onebusaway_sdk/models/search_for_route_list_response.rb +2 -2
- data/lib/onebusaway_sdk/models/search_for_stop_list_response.rb +2 -2
- data/lib/onebusaway_sdk/models/shape_retrieve_response.rb +2 -2
- data/lib/onebusaway_sdk/models/stop_ids_for_agency_list_response.rb +2 -2
- data/lib/onebusaway_sdk/models/stop_retrieve_response.rb +2 -2
- data/lib/onebusaway_sdk/models/stops_for_agency_list_response.rb +2 -2
- data/lib/onebusaway_sdk/models/stops_for_location_list_response.rb +2 -2
- data/lib/onebusaway_sdk/models/stops_for_route_list_response.rb +2 -2
- data/lib/onebusaway_sdk/models/trip_detail_retrieve_response.rb +2 -2
- data/lib/onebusaway_sdk/models/trip_for_vehicle_retrieve_response.rb +2 -2
- data/lib/onebusaway_sdk/models/trip_retrieve_response.rb +2 -2
- data/lib/onebusaway_sdk/models/trips_for_location_list_response.rb +2 -2
- data/lib/onebusaway_sdk/models/trips_for_route_list_response.rb +2 -2
- data/lib/onebusaway_sdk/models/vehicles_for_agency_list_response.rb +2 -2
- data/lib/onebusaway_sdk/models.rb +30 -19
- data/lib/onebusaway_sdk/resources/report_problem_with_stop.rb +2 -2
- data/lib/onebusaway_sdk/resources/report_problem_with_trip.rb +2 -2
- data/lib/onebusaway_sdk/version.rb +1 -1
- data/lib/onebusaway_sdk.rb +3 -1
- data/rbi/onebusaway_sdk/internal/type/array_of.rbi +6 -0
- data/rbi/onebusaway_sdk/internal/type/base_model.rbi +5 -0
- data/rbi/onebusaway_sdk/internal/type/boolean.rbi +6 -0
- data/rbi/onebusaway_sdk/internal/type/enum.rbi +5 -0
- data/rbi/onebusaway_sdk/internal/type/file_input.rbi +5 -0
- data/rbi/onebusaway_sdk/internal/type/hash_of.rbi +6 -0
- data/rbi/onebusaway_sdk/internal/type/union.rbi +5 -0
- data/rbi/onebusaway_sdk/internal/type/unknown.rbi +6 -0
- data/rbi/onebusaway_sdk/internal/util.rbi +34 -0
- data/rbi/onebusaway_sdk/internal.rbi +5 -0
- data/sig/onebusaway_sdk/internal/type/array_of.rbs +3 -0
- data/sig/onebusaway_sdk/internal/type/base_model.rbs +2 -0
- data/sig/onebusaway_sdk/internal/type/boolean.rbs +3 -0
- data/sig/onebusaway_sdk/internal/type/enum.rbs +2 -0
- data/sig/onebusaway_sdk/internal/type/file_input.rbs +2 -0
- data/sig/onebusaway_sdk/internal/type/hash_of.rbs +3 -0
- data/sig/onebusaway_sdk/internal/type/union.rbs +2 -0
- data/sig/onebusaway_sdk/internal/type/unknown.rbs +3 -0
- data/sig/onebusaway_sdk/internal/util.rbs +12 -0
- data/sig/onebusaway_sdk/internal.rbs +3 -0
- data/sig/onebusaway_sdk/models/agencies_with_coverage_list_params.rbs +2 -0
- data/sig/onebusaway_sdk/models/agencies_with_coverage_list_response.rbs +18 -0
- data/sig/onebusaway_sdk/models/agency_retrieve_params.rbs +2 -0
- data/sig/onebusaway_sdk/models/agency_retrieve_response.rbs +23 -0
- data/sig/onebusaway_sdk/models/arrival_and_departure_list_params.rbs +7 -0
- data/sig/onebusaway_sdk/models/arrival_and_departure_list_response.rbs +84 -0
- data/sig/onebusaway_sdk/models/arrival_and_departure_retrieve_params.rbs +9 -0
- data/sig/onebusaway_sdk/models/arrival_and_departure_retrieve_response.rbs +80 -0
- data/sig/onebusaway_sdk/models/block_retrieve_params.rbs +2 -0
- data/sig/onebusaway_sdk/models/block_retrieve_response.rbs +42 -0
- data/sig/onebusaway_sdk/models/config_retrieve_params.rbs +2 -0
- data/sig/onebusaway_sdk/models/config_retrieve_response.rbs +40 -0
- data/sig/onebusaway_sdk/models/current_time_retrieve_params.rbs +2 -0
- data/sig/onebusaway_sdk/models/current_time_retrieve_response.rbs +11 -0
- data/sig/onebusaway_sdk/models/references.rbs +128 -6
- data/sig/onebusaway_sdk/models/report_problem_with_stop_retrieve_params.rbs +9 -0
- data/sig/onebusaway_sdk/models/report_problem_with_trip_retrieve_params.rbs +14 -0
- data/sig/onebusaway_sdk/models/response_wrapper.rbs +7 -0
- data/sig/onebusaway_sdk/models/route_ids_for_agency_list_params.rbs +2 -0
- data/sig/onebusaway_sdk/models/route_ids_for_agency_list_response.rbs +10 -0
- data/sig/onebusaway_sdk/models/route_retrieve_params.rbs +2 -0
- data/sig/onebusaway_sdk/models/route_retrieve_response.rbs +22 -0
- data/sig/onebusaway_sdk/models/routes_for_agency_list_params.rbs +2 -0
- data/sig/onebusaway_sdk/models/routes_for_agency_list_response.rbs +23 -0
- data/sig/onebusaway_sdk/models/routes_for_location_list_params.rbs +10 -0
- data/sig/onebusaway_sdk/models/routes_for_location_list_response.rbs +24 -0
- data/sig/onebusaway_sdk/models/schedule_for_route_retrieve_params.rbs +5 -0
- data/sig/onebusaway_sdk/models/schedule_for_route_retrieve_response.rbs +69 -0
- data/sig/onebusaway_sdk/models/schedule_for_stop_retrieve_params.rbs +5 -0
- data/sig/onebusaway_sdk/models/schedule_for_stop_retrieve_response.rbs +45 -0
- data/sig/onebusaway_sdk/models/search_for_route_list_params.rbs +6 -0
- data/sig/onebusaway_sdk/models/search_for_route_list_response.rbs +24 -0
- data/sig/onebusaway_sdk/models/search_for_stop_list_params.rbs +6 -0
- data/sig/onebusaway_sdk/models/search_for_stop_list_response.rbs +25 -0
- data/sig/onebusaway_sdk/models/shape_retrieve_params.rbs +2 -0
- data/sig/onebusaway_sdk/models/shape_retrieve_response.rbs +11 -0
- data/sig/onebusaway_sdk/models/stop_ids_for_agency_list_params.rbs +2 -0
- data/sig/onebusaway_sdk/models/stop_ids_for_agency_list_response.rbs +10 -0
- data/sig/onebusaway_sdk/models/stop_retrieve_params.rbs +2 -0
- data/sig/onebusaway_sdk/models/stop_retrieve_response.rbs +23 -0
- data/sig/onebusaway_sdk/models/stops_for_agency_list_params.rbs +2 -0
- data/sig/onebusaway_sdk/models/stops_for_agency_list_response.rbs +21 -0
- data/sig/onebusaway_sdk/models/stops_for_location_list_params.rbs +10 -0
- data/sig/onebusaway_sdk/models/stops_for_location_list_response.rbs +25 -0
- data/sig/onebusaway_sdk/models/stops_for_route_list_params.rbs +6 -0
- data/sig/onebusaway_sdk/models/stops_for_route_list_response.rbs +37 -0
- data/sig/onebusaway_sdk/models/trip_detail_retrieve_params.rbs +9 -0
- data/sig/onebusaway_sdk/models/trip_detail_retrieve_response.rbs +69 -0
- data/sig/onebusaway_sdk/models/trip_for_vehicle_retrieve_params.rbs +8 -0
- data/sig/onebusaway_sdk/models/trip_for_vehicle_retrieve_response.rbs +69 -0
- data/sig/onebusaway_sdk/models/trip_retrieve_params.rbs +2 -0
- data/sig/onebusaway_sdk/models/trip_retrieve_response.rbs +23 -0
- data/sig/onebusaway_sdk/models/trips_for_location_list_params.rbs +11 -0
- data/sig/onebusaway_sdk/models/trips_for_location_list_response.rbs +71 -0
- data/sig/onebusaway_sdk/models/trips_for_route_list_params.rbs +7 -0
- data/sig/onebusaway_sdk/models/trips_for_route_list_response.rbs +70 -0
- data/sig/onebusaway_sdk/models/vehicles_for_agency_list_params.rbs +5 -0
- data/sig/onebusaway_sdk/models/vehicles_for_agency_list_response.rbs +60 -0
- metadata +2 -2
@@ -5,17 +5,17 @@ module OnebusawaySDK
|
|
5
5
|
class References < OnebusawaySDK::Internal::Type::BaseModel
|
6
6
|
# @!attribute agencies
|
7
7
|
#
|
8
|
-
# @return [Array<OnebusawaySDK::References::Agency>]
|
8
|
+
# @return [Array<OnebusawaySDK::Models::References::Agency>]
|
9
9
|
required :agencies, -> { OnebusawaySDK::Internal::Type::ArrayOf[OnebusawaySDK::References::Agency] }
|
10
10
|
|
11
11
|
# @!attribute routes
|
12
12
|
#
|
13
|
-
# @return [Array<OnebusawaySDK::References::Route>]
|
13
|
+
# @return [Array<OnebusawaySDK::Models::References::Route>]
|
14
14
|
required :routes, -> { OnebusawaySDK::Internal::Type::ArrayOf[OnebusawaySDK::References::Route] }
|
15
15
|
|
16
16
|
# @!attribute situations
|
17
17
|
#
|
18
|
-
# @return [Array<OnebusawaySDK::References::Situation>]
|
18
|
+
# @return [Array<OnebusawaySDK::Models::References::Situation>]
|
19
19
|
required :situations,
|
20
20
|
-> {
|
21
21
|
OnebusawaySDK::Internal::Type::ArrayOf[OnebusawaySDK::References::Situation]
|
@@ -23,28 +23,28 @@ module OnebusawaySDK
|
|
23
23
|
|
24
24
|
# @!attribute stops
|
25
25
|
#
|
26
|
-
# @return [Array<OnebusawaySDK::References::Stop>]
|
26
|
+
# @return [Array<OnebusawaySDK::Models::References::Stop>]
|
27
27
|
required :stops, -> { OnebusawaySDK::Internal::Type::ArrayOf[OnebusawaySDK::References::Stop] }
|
28
28
|
|
29
29
|
# @!attribute stop_times
|
30
30
|
#
|
31
|
-
# @return [Array<OnebusawaySDK::References::StopTime>]
|
31
|
+
# @return [Array<OnebusawaySDK::Models::References::StopTime>]
|
32
32
|
required :stop_times,
|
33
33
|
-> { OnebusawaySDK::Internal::Type::ArrayOf[OnebusawaySDK::References::StopTime] },
|
34
34
|
api_name: :stopTimes
|
35
35
|
|
36
36
|
# @!attribute trips
|
37
37
|
#
|
38
|
-
# @return [Array<OnebusawaySDK::References::Trip>]
|
38
|
+
# @return [Array<OnebusawaySDK::Models::References::Trip>]
|
39
39
|
required :trips, -> { OnebusawaySDK::Internal::Type::ArrayOf[OnebusawaySDK::References::Trip] }
|
40
40
|
|
41
41
|
# @!method initialize(agencies:, routes:, situations:, stops:, stop_times:, trips:)
|
42
|
-
# @param agencies [Array<OnebusawaySDK::References::Agency>]
|
43
|
-
# @param routes [Array<OnebusawaySDK::References::Route>]
|
44
|
-
# @param situations [Array<OnebusawaySDK::References::Situation>]
|
45
|
-
# @param stops [Array<OnebusawaySDK::References::Stop>]
|
46
|
-
# @param stop_times [Array<OnebusawaySDK::References::StopTime>]
|
47
|
-
# @param trips [Array<OnebusawaySDK::References::Trip>]
|
42
|
+
# @param agencies [Array<OnebusawaySDK::Models::References::Agency>]
|
43
|
+
# @param routes [Array<OnebusawaySDK::Models::References::Route>]
|
44
|
+
# @param situations [Array<OnebusawaySDK::Models::References::Situation>]
|
45
|
+
# @param stops [Array<OnebusawaySDK::Models::References::Stop>]
|
46
|
+
# @param stop_times [Array<OnebusawaySDK::Models::References::StopTime>]
|
47
|
+
# @param trips [Array<OnebusawaySDK::Models::References::Trip>]
|
48
48
|
|
49
49
|
class Agency < OnebusawaySDK::Internal::Type::BaseModel
|
50
50
|
# @!attribute id
|
@@ -189,7 +189,7 @@ module OnebusawaySDK
|
|
189
189
|
|
190
190
|
# @!attribute active_windows
|
191
191
|
#
|
192
|
-
# @return [Array<OnebusawaySDK::References::Situation::ActiveWindow>, nil]
|
192
|
+
# @return [Array<OnebusawaySDK::Models::References::Situation::ActiveWindow>, nil]
|
193
193
|
optional :active_windows,
|
194
194
|
-> {
|
195
195
|
OnebusawaySDK::Internal::Type::ArrayOf[OnebusawaySDK::References::Situation::ActiveWindow]
|
@@ -198,7 +198,7 @@ module OnebusawaySDK
|
|
198
198
|
|
199
199
|
# @!attribute all_affects
|
200
200
|
#
|
201
|
-
# @return [Array<OnebusawaySDK::References::Situation::AllAffect>, nil]
|
201
|
+
# @return [Array<OnebusawaySDK::Models::References::Situation::AllAffect>, nil]
|
202
202
|
optional :all_affects,
|
203
203
|
-> {
|
204
204
|
OnebusawaySDK::Internal::Type::ArrayOf[OnebusawaySDK::References::Situation::AllAffect]
|
@@ -213,7 +213,7 @@ module OnebusawaySDK
|
|
213
213
|
|
214
214
|
# @!attribute consequences
|
215
215
|
#
|
216
|
-
# @return [Array<OnebusawaySDK::References::Situation::Consequence>, nil]
|
216
|
+
# @return [Array<OnebusawaySDK::Models::References::Situation::Consequence>, nil]
|
217
217
|
optional :consequences,
|
218
218
|
-> {
|
219
219
|
OnebusawaySDK::Internal::Type::ArrayOf[OnebusawaySDK::References::Situation::Consequence]
|
@@ -221,12 +221,12 @@ module OnebusawaySDK
|
|
221
221
|
|
222
222
|
# @!attribute description
|
223
223
|
#
|
224
|
-
# @return [OnebusawaySDK::References::Situation::Description, nil]
|
224
|
+
# @return [OnebusawaySDK::Models::References::Situation::Description, nil]
|
225
225
|
optional :description, -> { OnebusawaySDK::References::Situation::Description }
|
226
226
|
|
227
227
|
# @!attribute publication_windows
|
228
228
|
#
|
229
|
-
# @return [Array<OnebusawaySDK::References::Situation::PublicationWindow>, nil]
|
229
|
+
# @return [Array<OnebusawaySDK::Models::References::Situation::PublicationWindow>, nil]
|
230
230
|
optional :publication_windows,
|
231
231
|
-> {
|
232
232
|
OnebusawaySDK::Internal::Type::ArrayOf[OnebusawaySDK::References::Situation::PublicationWindow]
|
@@ -236,7 +236,7 @@ module OnebusawaySDK
|
|
236
236
|
# @!attribute reason
|
237
237
|
# Reason for the service alert, taken from TPEG codes.
|
238
238
|
#
|
239
|
-
# @return [Symbol, OnebusawaySDK::References::Situation::Reason, nil]
|
239
|
+
# @return [Symbol, OnebusawaySDK::Models::References::Situation::Reason, nil]
|
240
240
|
optional :reason, enum: -> { OnebusawaySDK::References::Situation::Reason }
|
241
241
|
|
242
242
|
# @!attribute severity
|
@@ -247,12 +247,12 @@ module OnebusawaySDK
|
|
247
247
|
|
248
248
|
# @!attribute summary
|
249
249
|
#
|
250
|
-
# @return [OnebusawaySDK::References::Situation::Summary, nil]
|
250
|
+
# @return [OnebusawaySDK::Models::References::Situation::Summary, nil]
|
251
251
|
optional :summary, -> { OnebusawaySDK::References::Situation::Summary }
|
252
252
|
|
253
253
|
# @!attribute url
|
254
254
|
#
|
255
|
-
# @return [OnebusawaySDK::References::Situation::URL, nil]
|
255
|
+
# @return [OnebusawaySDK::Models::References::Situation::URL, nil]
|
256
256
|
optional :url, -> { OnebusawaySDK::References::Situation::URL }
|
257
257
|
|
258
258
|
# @!method initialize(id:, creation_time:, active_windows: nil, all_affects: nil, consequence_message: nil, consequences: nil, description: nil, publication_windows: nil, reason: nil, severity: nil, summary: nil, url: nil)
|
@@ -260,25 +260,25 @@ module OnebusawaySDK
|
|
260
260
|
#
|
261
261
|
# @param creation_time [Integer] Unix timestamp of when this situation was created.
|
262
262
|
#
|
263
|
-
# @param active_windows [Array<OnebusawaySDK::References::Situation::ActiveWindow>]
|
263
|
+
# @param active_windows [Array<OnebusawaySDK::Models::References::Situation::ActiveWindow>]
|
264
264
|
#
|
265
|
-
# @param all_affects [Array<OnebusawaySDK::References::Situation::AllAffect>]
|
265
|
+
# @param all_affects [Array<OnebusawaySDK::Models::References::Situation::AllAffect>]
|
266
266
|
#
|
267
267
|
# @param consequence_message [String] Message regarding the consequence of the situation.
|
268
268
|
#
|
269
|
-
# @param consequences [Array<OnebusawaySDK::References::Situation::Consequence>]
|
269
|
+
# @param consequences [Array<OnebusawaySDK::Models::References::Situation::Consequence>]
|
270
270
|
#
|
271
|
-
# @param description [OnebusawaySDK::References::Situation::Description]
|
271
|
+
# @param description [OnebusawaySDK::Models::References::Situation::Description]
|
272
272
|
#
|
273
|
-
# @param publication_windows [Array<OnebusawaySDK::References::Situation::PublicationWindow>]
|
273
|
+
# @param publication_windows [Array<OnebusawaySDK::Models::References::Situation::PublicationWindow>]
|
274
274
|
#
|
275
|
-
# @param reason [Symbol, OnebusawaySDK::References::Situation::Reason] Reason for the service alert, taken from TPEG codes.
|
275
|
+
# @param reason [Symbol, OnebusawaySDK::Models::References::Situation::Reason] Reason for the service alert, taken from TPEG codes.
|
276
276
|
#
|
277
277
|
# @param severity [String] Severity of the situation.
|
278
278
|
#
|
279
|
-
# @param summary [OnebusawaySDK::References::Situation::Summary]
|
279
|
+
# @param summary [OnebusawaySDK::Models::References::Situation::Summary]
|
280
280
|
#
|
281
|
-
# @param url [OnebusawaySDK::References::Situation::URL]
|
281
|
+
# @param url [OnebusawaySDK::Models::References::Situation::URL]
|
282
282
|
|
283
283
|
class ActiveWindow < OnebusawaySDK::Internal::Type::BaseModel
|
284
284
|
# @!attribute from
|
@@ -359,7 +359,7 @@ module OnebusawaySDK
|
|
359
359
|
|
360
360
|
# @!attribute condition_details
|
361
361
|
#
|
362
|
-
# @return [OnebusawaySDK::References::Situation::Consequence::ConditionDetails, nil]
|
362
|
+
# @return [OnebusawaySDK::Models::References::Situation::Consequence::ConditionDetails, nil]
|
363
363
|
optional :condition_details,
|
364
364
|
-> { OnebusawaySDK::References::Situation::Consequence::ConditionDetails },
|
365
365
|
api_name: :conditionDetails
|
@@ -367,13 +367,13 @@ module OnebusawaySDK
|
|
367
367
|
# @!method initialize(condition: nil, condition_details: nil)
|
368
368
|
# @param condition [String] Condition of the consequence.
|
369
369
|
#
|
370
|
-
# @param condition_details [OnebusawaySDK::References::Situation::Consequence::ConditionDetails]
|
370
|
+
# @param condition_details [OnebusawaySDK::Models::References::Situation::Consequence::ConditionDetails]
|
371
371
|
|
372
|
-
# @see OnebusawaySDK::References::Situation::Consequence#condition_details
|
372
|
+
# @see OnebusawaySDK::Models::References::Situation::Consequence#condition_details
|
373
373
|
class ConditionDetails < OnebusawaySDK::Internal::Type::BaseModel
|
374
374
|
# @!attribute diversion_path
|
375
375
|
#
|
376
|
-
# @return [OnebusawaySDK::References::Situation::Consequence::ConditionDetails::DiversionPath, nil]
|
376
|
+
# @return [OnebusawaySDK::Models::References::Situation::Consequence::ConditionDetails::DiversionPath, nil]
|
377
377
|
optional :diversion_path,
|
378
378
|
-> {
|
379
379
|
OnebusawaySDK::References::Situation::Consequence::ConditionDetails::DiversionPath
|
@@ -388,10 +388,10 @@ module OnebusawaySDK
|
|
388
388
|
api_name: :diversionStopIds
|
389
389
|
|
390
390
|
# @!method initialize(diversion_path: nil, diversion_stop_ids: nil)
|
391
|
-
# @param diversion_path [OnebusawaySDK::References::Situation::Consequence::ConditionDetails::DiversionPath]
|
391
|
+
# @param diversion_path [OnebusawaySDK::Models::References::Situation::Consequence::ConditionDetails::DiversionPath]
|
392
392
|
# @param diversion_stop_ids [Array<String>]
|
393
393
|
|
394
|
-
# @see OnebusawaySDK::References::Situation::Consequence::ConditionDetails#diversion_path
|
394
|
+
# @see OnebusawaySDK::Models::References::Situation::Consequence::ConditionDetails#diversion_path
|
395
395
|
class DiversionPath < OnebusawaySDK::Internal::Type::BaseModel
|
396
396
|
# @!attribute length
|
397
397
|
# Length of the diversion path.
|
@@ -421,7 +421,7 @@ module OnebusawaySDK
|
|
421
421
|
end
|
422
422
|
end
|
423
423
|
|
424
|
-
# @see OnebusawaySDK::References::Situation#description
|
424
|
+
# @see OnebusawaySDK::Models::References::Situation#description
|
425
425
|
class Description < OnebusawaySDK::Internal::Type::BaseModel
|
426
426
|
# @!attribute lang
|
427
427
|
# Language of the description.
|
@@ -462,7 +462,7 @@ module OnebusawaySDK
|
|
462
462
|
|
463
463
|
# Reason for the service alert, taken from TPEG codes.
|
464
464
|
#
|
465
|
-
# @see OnebusawaySDK::References::Situation#reason
|
465
|
+
# @see OnebusawaySDK::Models::References::Situation#reason
|
466
466
|
module Reason
|
467
467
|
extend OnebusawaySDK::Internal::Type::Enum
|
468
468
|
|
@@ -476,7 +476,7 @@ module OnebusawaySDK
|
|
476
476
|
# @return [Array<Symbol>]
|
477
477
|
end
|
478
478
|
|
479
|
-
# @see OnebusawaySDK::References::Situation#summary
|
479
|
+
# @see OnebusawaySDK::Models::References::Situation#summary
|
480
480
|
class Summary < OnebusawaySDK::Internal::Type::BaseModel
|
481
481
|
# @!attribute lang
|
482
482
|
# Language of the summary.
|
@@ -496,7 +496,7 @@ module OnebusawaySDK
|
|
496
496
|
# @param value [String] Short summary of the situation.
|
497
497
|
end
|
498
498
|
|
499
|
-
# @see OnebusawaySDK::References::Situation#url
|
499
|
+
# @see OnebusawaySDK::Models::References::Situation#url
|
500
500
|
class URL < OnebusawaySDK::Internal::Type::BaseModel
|
501
501
|
# @!attribute lang
|
502
502
|
# Language of the URL.
|
@@ -10,7 +10,7 @@ module OnebusawaySDK
|
|
10
10
|
# @!attribute code
|
11
11
|
# A string code identifying the nature of the problem
|
12
12
|
#
|
13
|
-
# @return [Symbol, OnebusawaySDK::ReportProblemWithStopRetrieveParams::Code, nil]
|
13
|
+
# @return [Symbol, OnebusawaySDK::Models::ReportProblemWithStopRetrieveParams::Code, nil]
|
14
14
|
optional :code, enum: -> { OnebusawaySDK::ReportProblemWithStopRetrieveParams::Code }
|
15
15
|
|
16
16
|
# @!attribute user_comment
|
@@ -38,7 +38,7 @@ module OnebusawaySDK
|
|
38
38
|
optional :user_lon, Float
|
39
39
|
|
40
40
|
# @!method initialize(code: nil, user_comment: nil, user_lat: nil, user_location_accuracy: nil, user_lon: nil, request_options: {})
|
41
|
-
# @param code [Symbol, OnebusawaySDK::ReportProblemWithStopRetrieveParams::Code] A string code identifying the nature of the problem
|
41
|
+
# @param code [Symbol, OnebusawaySDK::Models::ReportProblemWithStopRetrieveParams::Code] A string code identifying the nature of the problem
|
42
42
|
#
|
43
43
|
# @param user_comment [String] Additional comment text supplied by the user describing the problem
|
44
44
|
#
|
@@ -10,7 +10,7 @@ module OnebusawaySDK
|
|
10
10
|
# @!attribute code
|
11
11
|
# A string code identifying the nature of the problem
|
12
12
|
#
|
13
|
-
# @return [Symbol, OnebusawaySDK::ReportProblemWithTripRetrieveParams::Code, nil]
|
13
|
+
# @return [Symbol, OnebusawaySDK::Models::ReportProblemWithTripRetrieveParams::Code, nil]
|
14
14
|
optional :code, enum: -> { OnebusawaySDK::ReportProblemWithTripRetrieveParams::Code }
|
15
15
|
|
16
16
|
# @!attribute service_date
|
@@ -68,7 +68,7 @@ module OnebusawaySDK
|
|
68
68
|
optional :vehicle_id, String
|
69
69
|
|
70
70
|
# @!method initialize(code: nil, service_date: nil, stop_id: nil, user_comment: nil, user_lat: nil, user_location_accuracy: nil, user_lon: nil, user_on_vehicle: nil, user_vehicle_number: nil, vehicle_id: nil, request_options: {})
|
71
|
-
# @param code [Symbol, OnebusawaySDK::ReportProblemWithTripRetrieveParams::Code] A string code identifying the nature of the problem
|
71
|
+
# @param code [Symbol, OnebusawaySDK::Models::ReportProblemWithTripRetrieveParams::Code] A string code identifying the nature of the problem
|
72
72
|
#
|
73
73
|
# @param service_date [Integer] The service date of the trip
|
74
74
|
#
|
@@ -25,13 +25,13 @@ module OnebusawaySDK
|
|
25
25
|
|
26
26
|
# @!attribute references
|
27
27
|
#
|
28
|
-
# @return [OnebusawaySDK::References]
|
28
|
+
# @return [OnebusawaySDK::Models::References]
|
29
29
|
required :references, -> { OnebusawaySDK::References }
|
30
30
|
|
31
31
|
# @!method initialize(limit_exceeded:, list:, references:)
|
32
32
|
# @param limit_exceeded [Boolean]
|
33
33
|
# @param list [Array<String>]
|
34
|
-
# @param references [OnebusawaySDK::References]
|
34
|
+
# @param references [OnebusawaySDK::Models::References]
|
35
35
|
end
|
36
36
|
end
|
37
37
|
end
|
@@ -20,12 +20,12 @@ module OnebusawaySDK
|
|
20
20
|
|
21
21
|
# @!attribute references
|
22
22
|
#
|
23
|
-
# @return [OnebusawaySDK::References]
|
23
|
+
# @return [OnebusawaySDK::Models::References]
|
24
24
|
required :references, -> { OnebusawaySDK::References }
|
25
25
|
|
26
26
|
# @!method initialize(entry:, references:)
|
27
27
|
# @param entry [OnebusawaySDK::Models::RouteRetrieveResponse::Data::Entry]
|
28
|
-
# @param references [OnebusawaySDK::References]
|
28
|
+
# @param references [OnebusawaySDK::Models::References]
|
29
29
|
|
30
30
|
# @see OnebusawaySDK::Models::RouteRetrieveResponse::Data#entry
|
31
31
|
class Entry < OnebusawaySDK::Internal::Type::BaseModel
|
@@ -26,13 +26,13 @@ module OnebusawaySDK
|
|
26
26
|
|
27
27
|
# @!attribute references
|
28
28
|
#
|
29
|
-
# @return [OnebusawaySDK::References]
|
29
|
+
# @return [OnebusawaySDK::Models::References]
|
30
30
|
required :references, -> { OnebusawaySDK::References }
|
31
31
|
|
32
32
|
# @!method initialize(limit_exceeded:, list:, references:)
|
33
33
|
# @param limit_exceeded [Boolean]
|
34
34
|
# @param list [Array<OnebusawaySDK::Models::RoutesForAgencyListResponse::Data::List>]
|
35
|
-
# @param references [OnebusawaySDK::References]
|
35
|
+
# @param references [OnebusawaySDK::Models::References]
|
36
36
|
|
37
37
|
class List < OnebusawaySDK::Internal::Type::BaseModel
|
38
38
|
# @!attribute id
|
@@ -31,14 +31,14 @@ module OnebusawaySDK
|
|
31
31
|
|
32
32
|
# @!attribute references
|
33
33
|
#
|
34
|
-
# @return [OnebusawaySDK::References]
|
34
|
+
# @return [OnebusawaySDK::Models::References]
|
35
35
|
required :references, -> { OnebusawaySDK::References }
|
36
36
|
|
37
37
|
# @!method initialize(limit_exceeded:, list:, out_of_range:, references:)
|
38
38
|
# @param limit_exceeded [Boolean]
|
39
39
|
# @param list [Array<OnebusawaySDK::Models::RoutesForLocationListResponse::Data::List>]
|
40
40
|
# @param out_of_range [Boolean]
|
41
|
-
# @param references [OnebusawaySDK::References]
|
41
|
+
# @param references [OnebusawaySDK::Models::References]
|
42
42
|
|
43
43
|
class List < OnebusawaySDK::Internal::Type::BaseModel
|
44
44
|
# @!attribute id
|
@@ -20,12 +20,12 @@ module OnebusawaySDK
|
|
20
20
|
|
21
21
|
# @!attribute references
|
22
22
|
#
|
23
|
-
# @return [OnebusawaySDK::References]
|
23
|
+
# @return [OnebusawaySDK::Models::References]
|
24
24
|
required :references, -> { OnebusawaySDK::References }
|
25
25
|
|
26
26
|
# @!method initialize(entry:, references:)
|
27
27
|
# @param entry [OnebusawaySDK::Models::ScheduleForStopRetrieveResponse::Data::Entry]
|
28
|
-
# @param references [OnebusawaySDK::References]
|
28
|
+
# @param references [OnebusawaySDK::Models::References]
|
29
29
|
|
30
30
|
# @see OnebusawaySDK::Models::ScheduleForStopRetrieveResponse::Data#entry
|
31
31
|
class Entry < OnebusawaySDK::Internal::Type::BaseModel
|
@@ -31,14 +31,14 @@ module OnebusawaySDK
|
|
31
31
|
|
32
32
|
# @!attribute references
|
33
33
|
#
|
34
|
-
# @return [OnebusawaySDK::References]
|
34
|
+
# @return [OnebusawaySDK::Models::References]
|
35
35
|
required :references, -> { OnebusawaySDK::References }
|
36
36
|
|
37
37
|
# @!method initialize(limit_exceeded:, list:, out_of_range:, references:)
|
38
38
|
# @param limit_exceeded [Boolean]
|
39
39
|
# @param list [Array<OnebusawaySDK::Models::SearchForRouteListResponse::Data::List>]
|
40
40
|
# @param out_of_range [Boolean]
|
41
|
-
# @param references [OnebusawaySDK::References]
|
41
|
+
# @param references [OnebusawaySDK::Models::References]
|
42
42
|
|
43
43
|
class List < OnebusawaySDK::Internal::Type::BaseModel
|
44
44
|
# @!attribute id
|
@@ -31,14 +31,14 @@ module OnebusawaySDK
|
|
31
31
|
|
32
32
|
# @!attribute references
|
33
33
|
#
|
34
|
-
# @return [OnebusawaySDK::References]
|
34
|
+
# @return [OnebusawaySDK::Models::References]
|
35
35
|
required :references, -> { OnebusawaySDK::References }
|
36
36
|
|
37
37
|
# @!method initialize(limit_exceeded:, list:, out_of_range:, references:)
|
38
38
|
# @param limit_exceeded [Boolean]
|
39
39
|
# @param list [Array<OnebusawaySDK::Models::SearchForStopListResponse::Data::List>]
|
40
40
|
# @param out_of_range [Boolean]
|
41
|
-
# @param references [OnebusawaySDK::References]
|
41
|
+
# @param references [OnebusawaySDK::Models::References]
|
42
42
|
|
43
43
|
class List < OnebusawaySDK::Internal::Type::BaseModel
|
44
44
|
# @!attribute id
|
@@ -20,12 +20,12 @@ module OnebusawaySDK
|
|
20
20
|
|
21
21
|
# @!attribute references
|
22
22
|
#
|
23
|
-
# @return [OnebusawaySDK::References]
|
23
|
+
# @return [OnebusawaySDK::Models::References]
|
24
24
|
required :references, -> { OnebusawaySDK::References }
|
25
25
|
|
26
26
|
# @!method initialize(entry:, references:)
|
27
27
|
# @param entry [OnebusawaySDK::Models::ShapeRetrieveResponse::Data::Entry]
|
28
|
-
# @param references [OnebusawaySDK::References]
|
28
|
+
# @param references [OnebusawaySDK::Models::References]
|
29
29
|
|
30
30
|
# @see OnebusawaySDK::Models::ShapeRetrieveResponse::Data#entry
|
31
31
|
class Entry < OnebusawaySDK::Internal::Type::BaseModel
|
@@ -25,13 +25,13 @@ module OnebusawaySDK
|
|
25
25
|
|
26
26
|
# @!attribute references
|
27
27
|
#
|
28
|
-
# @return [OnebusawaySDK::References]
|
28
|
+
# @return [OnebusawaySDK::Models::References]
|
29
29
|
required :references, -> { OnebusawaySDK::References }
|
30
30
|
|
31
31
|
# @!method initialize(limit_exceeded:, list:, references:)
|
32
32
|
# @param limit_exceeded [Boolean]
|
33
33
|
# @param list [Array<String>]
|
34
|
-
# @param references [OnebusawaySDK::References]
|
34
|
+
# @param references [OnebusawaySDK::Models::References]
|
35
35
|
end
|
36
36
|
end
|
37
37
|
end
|
@@ -20,12 +20,12 @@ module OnebusawaySDK
|
|
20
20
|
|
21
21
|
# @!attribute references
|
22
22
|
#
|
23
|
-
# @return [OnebusawaySDK::References]
|
23
|
+
# @return [OnebusawaySDK::Models::References]
|
24
24
|
required :references, -> { OnebusawaySDK::References }
|
25
25
|
|
26
26
|
# @!method initialize(entry:, references:)
|
27
27
|
# @param entry [OnebusawaySDK::Models::StopRetrieveResponse::Data::Entry]
|
28
|
-
# @param references [OnebusawaySDK::References]
|
28
|
+
# @param references [OnebusawaySDK::Models::References]
|
29
29
|
|
30
30
|
# @see OnebusawaySDK::Models::StopRetrieveResponse::Data#entry
|
31
31
|
class Entry < OnebusawaySDK::Internal::Type::BaseModel
|
@@ -17,7 +17,7 @@ module OnebusawaySDK
|
|
17
17
|
|
18
18
|
# @!attribute references
|
19
19
|
#
|
20
|
-
# @return [OnebusawaySDK::References]
|
20
|
+
# @return [OnebusawaySDK::Models::References]
|
21
21
|
required :references, -> { OnebusawaySDK::References }
|
22
22
|
|
23
23
|
# @!attribute out_of_range
|
@@ -28,7 +28,7 @@ module OnebusawaySDK
|
|
28
28
|
# @!method initialize(limit_exceeded:, list:, references:, out_of_range: nil)
|
29
29
|
# @param limit_exceeded [Boolean]
|
30
30
|
# @param list [Array<OnebusawaySDK::Models::StopsForAgencyListResponse::List>]
|
31
|
-
# @param references [OnebusawaySDK::References]
|
31
|
+
# @param references [OnebusawaySDK::Models::References]
|
32
32
|
# @param out_of_range [Boolean]
|
33
33
|
|
34
34
|
class List < OnebusawaySDK::Internal::Type::BaseModel
|
@@ -26,7 +26,7 @@ module OnebusawaySDK
|
|
26
26
|
|
27
27
|
# @!attribute references
|
28
28
|
#
|
29
|
-
# @return [OnebusawaySDK::References]
|
29
|
+
# @return [OnebusawaySDK::Models::References]
|
30
30
|
required :references, -> { OnebusawaySDK::References }
|
31
31
|
|
32
32
|
# @!attribute out_of_range
|
@@ -37,7 +37,7 @@ module OnebusawaySDK
|
|
37
37
|
# @!method initialize(limit_exceeded:, list:, references:, out_of_range: nil)
|
38
38
|
# @param limit_exceeded [Boolean]
|
39
39
|
# @param list [Array<OnebusawaySDK::Models::StopsForLocationListResponse::Data::List>]
|
40
|
-
# @param references [OnebusawaySDK::References]
|
40
|
+
# @param references [OnebusawaySDK::Models::References]
|
41
41
|
# @param out_of_range [Boolean]
|
42
42
|
|
43
43
|
class List < OnebusawaySDK::Internal::Type::BaseModel
|
@@ -20,12 +20,12 @@ module OnebusawaySDK
|
|
20
20
|
|
21
21
|
# @!attribute references
|
22
22
|
#
|
23
|
-
# @return [OnebusawaySDK::References]
|
23
|
+
# @return [OnebusawaySDK::Models::References]
|
24
24
|
required :references, -> { OnebusawaySDK::References }
|
25
25
|
|
26
26
|
# @!method initialize(entry:, references:)
|
27
27
|
# @param entry [OnebusawaySDK::Models::StopsForRouteListResponse::Data::Entry]
|
28
|
-
# @param references [OnebusawaySDK::References]
|
28
|
+
# @param references [OnebusawaySDK::Models::References]
|
29
29
|
|
30
30
|
# @see OnebusawaySDK::Models::StopsForRouteListResponse::Data#entry
|
31
31
|
class Entry < OnebusawaySDK::Internal::Type::BaseModel
|
@@ -20,12 +20,12 @@ module OnebusawaySDK
|
|
20
20
|
|
21
21
|
# @!attribute references
|
22
22
|
#
|
23
|
-
# @return [OnebusawaySDK::References]
|
23
|
+
# @return [OnebusawaySDK::Models::References]
|
24
24
|
required :references, -> { OnebusawaySDK::References }
|
25
25
|
|
26
26
|
# @!method initialize(entry:, references:)
|
27
27
|
# @param entry [OnebusawaySDK::Models::TripDetailRetrieveResponse::Data::Entry]
|
28
|
-
# @param references [OnebusawaySDK::References]
|
28
|
+
# @param references [OnebusawaySDK::Models::References]
|
29
29
|
|
30
30
|
# @see OnebusawaySDK::Models::TripDetailRetrieveResponse::Data#entry
|
31
31
|
class Entry < OnebusawaySDK::Internal::Type::BaseModel
|
@@ -20,12 +20,12 @@ module OnebusawaySDK
|
|
20
20
|
|
21
21
|
# @!attribute references
|
22
22
|
#
|
23
|
-
# @return [OnebusawaySDK::References]
|
23
|
+
# @return [OnebusawaySDK::Models::References]
|
24
24
|
required :references, -> { OnebusawaySDK::References }
|
25
25
|
|
26
26
|
# @!method initialize(entry:, references:)
|
27
27
|
# @param entry [OnebusawaySDK::Models::TripForVehicleRetrieveResponse::Data::Entry]
|
28
|
-
# @param references [OnebusawaySDK::References]
|
28
|
+
# @param references [OnebusawaySDK::Models::References]
|
29
29
|
|
30
30
|
# @see OnebusawaySDK::Models::TripForVehicleRetrieveResponse::Data#entry
|
31
31
|
class Entry < OnebusawaySDK::Internal::Type::BaseModel
|
@@ -20,12 +20,12 @@ module OnebusawaySDK
|
|
20
20
|
|
21
21
|
# @!attribute references
|
22
22
|
#
|
23
|
-
# @return [OnebusawaySDK::References]
|
23
|
+
# @return [OnebusawaySDK::Models::References]
|
24
24
|
required :references, -> { OnebusawaySDK::References }
|
25
25
|
|
26
26
|
# @!method initialize(entry:, references:)
|
27
27
|
# @param entry [OnebusawaySDK::Models::TripRetrieveResponse::Data::Entry]
|
28
|
-
# @param references [OnebusawaySDK::References]
|
28
|
+
# @param references [OnebusawaySDK::Models::References]
|
29
29
|
|
30
30
|
# @see OnebusawaySDK::Models::TripRetrieveResponse::Data#entry
|
31
31
|
class Entry < OnebusawaySDK::Internal::Type::BaseModel
|
@@ -27,7 +27,7 @@ module OnebusawaySDK
|
|
27
27
|
|
28
28
|
# @!attribute references
|
29
29
|
#
|
30
|
-
# @return [OnebusawaySDK::References]
|
30
|
+
# @return [OnebusawaySDK::Models::References]
|
31
31
|
required :references, -> { OnebusawaySDK::References }
|
32
32
|
|
33
33
|
# @!attribute out_of_range
|
@@ -41,7 +41,7 @@ module OnebusawaySDK
|
|
41
41
|
#
|
42
42
|
# @param list [Array<OnebusawaySDK::Models::TripsForLocationListResponse::Data::List>]
|
43
43
|
#
|
44
|
-
# @param references [OnebusawaySDK::References]
|
44
|
+
# @param references [OnebusawaySDK::Models::References]
|
45
45
|
#
|
46
46
|
# @param out_of_range [Boolean] Indicates if the search location is out of range
|
47
47
|
|
@@ -26,13 +26,13 @@ module OnebusawaySDK
|
|
26
26
|
|
27
27
|
# @!attribute references
|
28
28
|
#
|
29
|
-
# @return [OnebusawaySDK::References]
|
29
|
+
# @return [OnebusawaySDK::Models::References]
|
30
30
|
required :references, -> { OnebusawaySDK::References }
|
31
31
|
|
32
32
|
# @!method initialize(limit_exceeded:, list:, references:)
|
33
33
|
# @param limit_exceeded [Boolean]
|
34
34
|
# @param list [Array<OnebusawaySDK::Models::TripsForRouteListResponse::Data::List>]
|
35
|
-
# @param references [OnebusawaySDK::References]
|
35
|
+
# @param references [OnebusawaySDK::Models::References]
|
36
36
|
|
37
37
|
class List < OnebusawaySDK::Internal::Type::BaseModel
|
38
38
|
# @!attribute schedule
|
@@ -26,13 +26,13 @@ module OnebusawaySDK
|
|
26
26
|
|
27
27
|
# @!attribute references
|
28
28
|
#
|
29
|
-
# @return [OnebusawaySDK::References]
|
29
|
+
# @return [OnebusawaySDK::Models::References]
|
30
30
|
required :references, -> { OnebusawaySDK::References }
|
31
31
|
|
32
32
|
# @!method initialize(limit_exceeded:, list:, references:)
|
33
33
|
# @param limit_exceeded [Boolean]
|
34
34
|
# @param list [Array<OnebusawaySDK::Models::VehiclesForAgencyListResponse::Data::List>]
|
35
|
-
# @param references [OnebusawaySDK::References]
|
35
|
+
# @param references [OnebusawaySDK::Models::References]
|
36
36
|
|
37
37
|
class List < OnebusawaySDK::Internal::Type::BaseModel
|
38
38
|
# @!attribute last_location_update_time
|