onebusaway-sdk 0.1.0.pre.alpha.207 → 0.1.0.pre.alpha.208
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/.ignore +2 -0
- data/CHANGELOG.md +2097 -0
- data/README.md +135 -37
- data/SECURITY.md +27 -0
- data/lib/{onebusaway-sdk → onebusaway_sdk}/client.rb +10 -9
- data/lib/onebusaway_sdk/errors.rb +192 -0
- data/lib/onebusaway_sdk/file_part.rb +55 -0
- data/lib/onebusaway_sdk/internal/transport/base_client.rb +565 -0
- data/lib/onebusaway_sdk/internal/transport/pooled_net_requester.rb +209 -0
- data/lib/onebusaway_sdk/internal/type/array_of.rb +154 -0
- data/lib/onebusaway_sdk/internal/type/base_model.rb +478 -0
- data/lib/onebusaway_sdk/internal/type/base_page.rb +55 -0
- data/lib/onebusaway_sdk/internal/type/boolean.rb +63 -0
- data/lib/onebusaway_sdk/internal/type/converter.rb +292 -0
- data/lib/onebusaway_sdk/internal/type/enum.rb +108 -0
- data/lib/onebusaway_sdk/internal/type/file_input.rb +96 -0
- data/lib/onebusaway_sdk/internal/type/hash_of.rb +174 -0
- data/lib/onebusaway_sdk/internal/type/request_parameters.rb +42 -0
- data/lib/onebusaway_sdk/internal/type/union.rb +221 -0
- data/lib/onebusaway_sdk/internal/type/unknown.rb +67 -0
- data/lib/onebusaway_sdk/internal/util.rb +862 -0
- data/lib/onebusaway_sdk/internal.rb +17 -0
- data/lib/onebusaway_sdk/models/agencies_with_coverage_list_params.rb +14 -0
- data/lib/onebusaway_sdk/models/agencies_with_coverage_list_response.rb +73 -0
- data/lib/onebusaway_sdk/models/agency_retrieve_params.rb +14 -0
- data/lib/onebusaway_sdk/models/agency_retrieve_response.rb +103 -0
- data/lib/onebusaway_sdk/models/arrival_and_departure_list_params.rb +38 -0
- data/lib/{onebusaway-sdk → onebusaway_sdk}/models/arrival_and_departure_list_response.rb +219 -374
- data/lib/onebusaway_sdk/models/arrival_and_departure_retrieve_params.rb +44 -0
- data/lib/{onebusaway-sdk → onebusaway_sdk}/models/arrival_and_departure_retrieve_response.rb +215 -366
- data/lib/onebusaway_sdk/models/block_retrieve_params.rb +14 -0
- data/lib/onebusaway_sdk/models/block_retrieve_response.rb +172 -0
- data/lib/onebusaway_sdk/models/config_retrieve_params.rb +14 -0
- data/lib/onebusaway_sdk/models/config_retrieve_response.rb +194 -0
- data/lib/onebusaway_sdk/models/current_time_retrieve_params.rb +14 -0
- data/lib/onebusaway_sdk/models/current_time_retrieve_response.rb +49 -0
- data/lib/onebusaway_sdk/models/references.rb +701 -0
- data/lib/onebusaway_sdk/models/report_problem_with_stop_retrieve_params.rb +68 -0
- data/lib/onebusaway_sdk/models/report_problem_with_trip_retrieve_params.rb +109 -0
- data/lib/{onebusaway-sdk → onebusaway_sdk}/models/response_wrapper.rb +6 -10
- data/lib/onebusaway_sdk/models/route_ids_for_agency_list_params.rb +14 -0
- data/lib/onebusaway_sdk/models/route_ids_for_agency_list_response.rb +38 -0
- data/lib/onebusaway_sdk/models/route_retrieve_params.rb +14 -0
- data/lib/onebusaway_sdk/models/route_retrieve_response.rb +97 -0
- data/lib/onebusaway_sdk/models/routes_for_agency_list_params.rb +14 -0
- data/lib/onebusaway_sdk/models/routes_for_agency_list_response.rb +103 -0
- data/lib/onebusaway_sdk/models/routes_for_location_list_params.rb +50 -0
- data/lib/onebusaway_sdk/models/routes_for_location_list_response.rb +109 -0
- data/lib/onebusaway_sdk/models/schedule_for_route_retrieve_params.rb +26 -0
- data/lib/onebusaway_sdk/models/schedule_for_route_retrieve_response.rb +325 -0
- data/lib/onebusaway_sdk/models/schedule_for_stop_retrieve_params.rb +26 -0
- data/lib/onebusaway_sdk/models/schedule_for_stop_retrieve_response.rb +201 -0
- data/lib/onebusaway_sdk/models/search_for_route_list_params.rb +30 -0
- data/lib/onebusaway_sdk/models/search_for_route_list_response.rb +109 -0
- data/lib/onebusaway_sdk/models/search_for_stop_list_params.rb +30 -0
- data/lib/onebusaway_sdk/models/search_for_stop_list_response.rb +117 -0
- data/lib/onebusaway_sdk/models/shape_retrieve_params.rb +14 -0
- data/lib/onebusaway_sdk/models/shape_retrieve_response.rb +58 -0
- data/lib/onebusaway_sdk/models/stop_ids_for_agency_list_params.rb +14 -0
- data/lib/onebusaway_sdk/models/stop_ids_for_agency_list_response.rb +38 -0
- data/lib/onebusaway_sdk/models/stop_retrieve_params.rb +14 -0
- data/lib/onebusaway_sdk/models/stop_retrieve_response.rb +105 -0
- data/lib/onebusaway_sdk/models/stops_for_agency_list_params.rb +14 -0
- data/lib/onebusaway_sdk/models/stops_for_agency_list_response.rb +105 -0
- data/lib/onebusaway_sdk/models/stops_for_location_list_params.rb +60 -0
- data/lib/onebusaway_sdk/models/stops_for_location_list_response.rb +117 -0
- data/lib/onebusaway_sdk/models/stops_for_route_list_params.rb +30 -0
- data/lib/onebusaway_sdk/models/stops_for_route_list_response.rb +160 -0
- data/lib/onebusaway_sdk/models/trip_detail_retrieve_params.rb +60 -0
- data/lib/onebusaway_sdk/models/trip_detail_retrieve_response.rb +426 -0
- data/lib/onebusaway_sdk/models/trip_for_vehicle_retrieve_params.rb +52 -0
- data/lib/onebusaway_sdk/models/trip_for_vehicle_retrieve_response.rb +426 -0
- data/lib/onebusaway_sdk/models/trip_retrieve_params.rb +14 -0
- data/lib/onebusaway_sdk/models/trip_retrieve_response.rb +103 -0
- data/lib/onebusaway_sdk/models/trips_for_location_list_params.rb +75 -0
- data/lib/onebusaway_sdk/models/trips_for_location_list_response.rb +443 -0
- data/lib/onebusaway_sdk/models/trips_for_route_list_params.rb +42 -0
- data/lib/onebusaway_sdk/models/trips_for_route_list_response.rb +431 -0
- data/lib/onebusaway_sdk/models/vehicles_for_agency_list_params.rb +22 -0
- data/lib/onebusaway_sdk/models/vehicles_for_agency_list_response.rb +404 -0
- data/lib/onebusaway_sdk/models.rb +95 -0
- data/lib/onebusaway_sdk/request_options.rb +78 -0
- data/lib/{onebusaway-sdk → onebusaway_sdk}/resources/agencies_with_coverage.rb +7 -3
- data/lib/{onebusaway-sdk → onebusaway_sdk}/resources/agency.rb +8 -4
- data/lib/onebusaway_sdk/resources/arrival_and_departure.rb +73 -0
- data/lib/{onebusaway-sdk → onebusaway_sdk}/resources/block.rb +8 -4
- data/lib/{onebusaway-sdk → onebusaway_sdk}/resources/config.rb +6 -2
- data/lib/{onebusaway-sdk → onebusaway_sdk}/resources/current_time.rb +6 -2
- data/lib/onebusaway_sdk/resources/report_problem_with_stop.rb +51 -0
- data/lib/onebusaway_sdk/resources/report_problem_with_trip.rb +66 -0
- data/lib/{onebusaway-sdk → onebusaway_sdk}/resources/route.rb +8 -4
- data/lib/{onebusaway-sdk → onebusaway_sdk}/resources/route_ids_for_agency.rb +8 -4
- data/lib/{onebusaway-sdk → onebusaway_sdk}/resources/routes_for_agency.rb +8 -4
- data/lib/onebusaway_sdk/resources/routes_for_location.rb +40 -0
- data/lib/{onebusaway-sdk → onebusaway_sdk}/resources/schedule_for_route.rb +13 -7
- data/lib/{onebusaway-sdk → onebusaway_sdk}/resources/schedule_for_stop.rb +13 -7
- data/lib/{onebusaway-sdk → onebusaway_sdk}/resources/search_for_route.rb +10 -6
- data/lib/{onebusaway-sdk → onebusaway_sdk}/resources/search_for_stop.rb +10 -6
- data/lib/{onebusaway-sdk → onebusaway_sdk}/resources/shape.rb +8 -4
- data/lib/{onebusaway-sdk → onebusaway_sdk}/resources/stop.rb +8 -4
- data/lib/{onebusaway-sdk → onebusaway_sdk}/resources/stop_ids_for_agency.rb +8 -4
- data/lib/{onebusaway-sdk → onebusaway_sdk}/resources/stops_for_agency.rb +8 -4
- data/lib/onebusaway_sdk/resources/stops_for_location.rb +46 -0
- data/lib/onebusaway_sdk/resources/stops_for_route.rb +40 -0
- data/lib/{onebusaway-sdk → onebusaway_sdk}/resources/trip.rb +8 -4
- data/lib/onebusaway_sdk/resources/trip_details.rb +54 -0
- data/lib/onebusaway_sdk/resources/trip_for_vehicle.rb +51 -0
- data/lib/onebusaway_sdk/resources/trips_for_location.rb +56 -0
- data/lib/onebusaway_sdk/resources/trips_for_route.rb +45 -0
- data/lib/{onebusaway-sdk → onebusaway_sdk}/resources/vehicles_for_agency.rb +10 -6
- data/lib/{onebusaway-sdk → onebusaway_sdk}/version.rb +1 -1
- data/lib/onebusaway_sdk.rb +137 -0
- data/manifest.yaml +1 -0
- data/rbi/{lib/onebusaway-sdk → onebusaway_sdk}/client.rbi +39 -68
- data/rbi/onebusaway_sdk/errors.rbi +162 -0
- data/rbi/onebusaway_sdk/file_part.rbi +37 -0
- data/rbi/onebusaway_sdk/internal/transport/base_client.rbi +301 -0
- data/rbi/onebusaway_sdk/internal/transport/pooled_net_requester.rbi +80 -0
- data/rbi/onebusaway_sdk/internal/type/array_of.rbi +98 -0
- data/rbi/onebusaway_sdk/internal/type/base_model.rbi +305 -0
- data/rbi/onebusaway_sdk/internal/type/base_page.rbi +43 -0
- data/rbi/onebusaway_sdk/internal/type/boolean.rbi +50 -0
- data/rbi/onebusaway_sdk/internal/type/converter.rbi +167 -0
- data/rbi/onebusaway_sdk/internal/type/enum.rbi +77 -0
- data/rbi/onebusaway_sdk/internal/type/file_input.rbi +54 -0
- data/rbi/onebusaway_sdk/internal/type/hash_of.rbi +98 -0
- data/rbi/onebusaway_sdk/internal/type/request_parameters.rbi +31 -0
- data/rbi/onebusaway_sdk/internal/type/union.rbi +111 -0
- data/rbi/onebusaway_sdk/internal/type/unknown.rbi +50 -0
- data/rbi/onebusaway_sdk/internal/util.rbi +451 -0
- data/rbi/onebusaway_sdk/internal.rbi +13 -0
- data/rbi/onebusaway_sdk/models/agencies_with_coverage_list_params.rbi +32 -0
- data/rbi/onebusaway_sdk/models/agencies_with_coverage_list_response.rbi +154 -0
- data/rbi/onebusaway_sdk/models/agency_retrieve_params.rbi +32 -0
- data/rbi/onebusaway_sdk/models/agency_retrieve_response.rbi +201 -0
- data/rbi/onebusaway_sdk/models/arrival_and_departure_list_params.rbi +71 -0
- data/rbi/onebusaway_sdk/models/arrival_and_departure_list_response.rbi +912 -0
- data/rbi/onebusaway_sdk/models/arrival_and_departure_retrieve_params.rbi +77 -0
- data/rbi/onebusaway_sdk/models/arrival_and_departure_retrieve_response.rbi +874 -0
- data/rbi/onebusaway_sdk/models/block_retrieve_params.rbi +32 -0
- data/rbi/onebusaway_sdk/models/block_retrieve_response.rbi +386 -0
- data/rbi/onebusaway_sdk/models/config_retrieve_params.rbi +32 -0
- data/rbi/onebusaway_sdk/models/config_retrieve_response.rbi +383 -0
- data/rbi/onebusaway_sdk/models/current_time_retrieve_params.rbi +32 -0
- data/rbi/onebusaway_sdk/models/current_time_retrieve_response.rbi +128 -0
- data/rbi/onebusaway_sdk/models/references.rbi +1292 -0
- data/rbi/onebusaway_sdk/models/report_problem_with_stop_retrieve_params.rbi +156 -0
- data/rbi/onebusaway_sdk/models/report_problem_with_trip_retrieve_params.rbi +216 -0
- data/rbi/onebusaway_sdk/models/response_wrapper.rbi +51 -0
- data/rbi/onebusaway_sdk/models/route_ids_for_agency_list_params.rbi +32 -0
- data/rbi/onebusaway_sdk/models/route_ids_for_agency_list_response.rbi +89 -0
- data/rbi/onebusaway_sdk/models/route_retrieve_params.rbi +32 -0
- data/rbi/onebusaway_sdk/models/route_retrieve_response.rbi +199 -0
- data/rbi/onebusaway_sdk/models/routes_for_agency_list_params.rbi +32 -0
- data/rbi/onebusaway_sdk/models/routes_for_agency_list_response.rbi +205 -0
- data/rbi/onebusaway_sdk/models/routes_for_location_list_params.rbi +86 -0
- data/rbi/onebusaway_sdk/models/routes_for_location_list_response.rbi +214 -0
- data/rbi/onebusaway_sdk/models/schedule_for_route_retrieve_params.rbi +48 -0
- data/rbi/onebusaway_sdk/models/schedule_for_route_retrieve_response.rbi +623 -0
- data/rbi/onebusaway_sdk/models/schedule_for_stop_retrieve_params.rbi +48 -0
- data/rbi/onebusaway_sdk/models/schedule_for_stop_retrieve_response.rbi +415 -0
- data/rbi/onebusaway_sdk/models/search_for_route_list_params.rbi +57 -0
- data/rbi/onebusaway_sdk/models/search_for_route_list_response.rbi +214 -0
- data/rbi/onebusaway_sdk/models/search_for_stop_list_params.rbi +57 -0
- data/rbi/onebusaway_sdk/models/search_for_stop_list_response.rbi +211 -0
- data/rbi/onebusaway_sdk/models/shape_retrieve_params.rbi +32 -0
- data/rbi/onebusaway_sdk/models/shape_retrieve_response.rbi +135 -0
- data/rbi/onebusaway_sdk/models/stop_ids_for_agency_list_params.rbi +32 -0
- data/rbi/onebusaway_sdk/models/stop_ids_for_agency_list_response.rbi +87 -0
- data/rbi/onebusaway_sdk/models/stop_retrieve_params.rbi +32 -0
- data/rbi/onebusaway_sdk/models/stop_retrieve_response.rbi +196 -0
- data/rbi/onebusaway_sdk/models/stops_for_agency_list_params.rbi +32 -0
- data/rbi/onebusaway_sdk/models/stops_for_agency_list_response.rbi +170 -0
- data/rbi/onebusaway_sdk/models/stops_for_location_list_params.rbi +94 -0
- data/rbi/onebusaway_sdk/models/stops_for_location_list_response.rbi +212 -0
- data/rbi/onebusaway_sdk/models/stops_for_route_list_params.rbi +60 -0
- data/rbi/onebusaway_sdk/models/stops_for_route_list_response.rbi +423 -0
- data/rbi/onebusaway_sdk/models/trip_detail_retrieve_params.rbi +99 -0
- data/rbi/onebusaway_sdk/models/trip_detail_retrieve_response.rbi +733 -0
- data/rbi/onebusaway_sdk/models/trip_for_vehicle_retrieve_params.rbi +88 -0
- data/rbi/onebusaway_sdk/models/trip_for_vehicle_retrieve_response.rbi +737 -0
- data/rbi/onebusaway_sdk/models/trip_retrieve_params.rbi +32 -0
- data/rbi/onebusaway_sdk/models/trip_retrieve_response.rbi +208 -0
- data/rbi/onebusaway_sdk/models/trips_for_location_list_params.rbi +107 -0
- data/rbi/onebusaway_sdk/models/trips_for_location_list_response.rbi +751 -0
- data/rbi/onebusaway_sdk/models/trips_for_route_list_params.rbi +73 -0
- data/rbi/onebusaway_sdk/models/trips_for_route_list_response.rbi +732 -0
- data/rbi/onebusaway_sdk/models/vehicles_for_agency_list_params.rbi +46 -0
- data/rbi/onebusaway_sdk/models/vehicles_for_agency_list_response.rbi +655 -0
- data/rbi/onebusaway_sdk/models.rbi +76 -0
- data/rbi/onebusaway_sdk/request_options.rbi +59 -0
- data/rbi/{lib/onebusaway-sdk → onebusaway_sdk}/resources/agencies_with_coverage.rbi +5 -3
- data/rbi/{lib/onebusaway-sdk → onebusaway_sdk}/resources/agency.rbi +3 -3
- data/rbi/{lib/onebusaway-sdk → onebusaway_sdk}/resources/arrival_and_departure.rbi +5 -6
- data/rbi/{lib/onebusaway-sdk → onebusaway_sdk}/resources/block.rbi +3 -3
- data/rbi/{lib/onebusaway-sdk → onebusaway_sdk}/resources/config.rbi +4 -2
- data/rbi/{lib/onebusaway-sdk → onebusaway_sdk}/resources/current_time.rbi +4 -2
- data/rbi/{lib/onebusaway-sdk → onebusaway_sdk}/resources/report_problem_with_stop.rbi +5 -4
- data/rbi/{lib/onebusaway-sdk → onebusaway_sdk}/resources/report_problem_with_trip.rbi +5 -4
- data/rbi/{lib/onebusaway-sdk → onebusaway_sdk}/resources/route.rbi +3 -3
- data/rbi/{lib/onebusaway-sdk → onebusaway_sdk}/resources/route_ids_for_agency.rbi +3 -3
- data/rbi/{lib/onebusaway-sdk → onebusaway_sdk}/resources/routes_for_agency.rbi +3 -3
- data/rbi/{lib/onebusaway-sdk → onebusaway_sdk}/resources/routes_for_location.rbi +12 -4
- data/rbi/{lib/onebusaway-sdk → onebusaway_sdk}/resources/schedule_for_route.rbi +4 -4
- data/rbi/{lib/onebusaway-sdk → onebusaway_sdk}/resources/schedule_for_stop.rbi +4 -4
- data/rbi/{lib/onebusaway-sdk → onebusaway_sdk}/resources/search_for_route.rbi +3 -3
- data/rbi/{lib/onebusaway-sdk → onebusaway_sdk}/resources/search_for_stop.rbi +3 -3
- data/rbi/{lib/onebusaway-sdk → onebusaway_sdk}/resources/shape.rbi +3 -3
- data/rbi/{lib/onebusaway-sdk → onebusaway_sdk}/resources/stop.rbi +3 -3
- data/rbi/{lib/onebusaway-sdk → onebusaway_sdk}/resources/stop_ids_for_agency.rbi +3 -3
- data/rbi/{lib/onebusaway-sdk → onebusaway_sdk}/resources/stops_for_agency.rbi +3 -3
- data/rbi/{lib/onebusaway-sdk → onebusaway_sdk}/resources/stops_for_location.rbi +3 -3
- data/rbi/{lib/onebusaway-sdk → onebusaway_sdk}/resources/stops_for_route.rbi +3 -3
- data/rbi/{lib/onebusaway-sdk → onebusaway_sdk}/resources/trip.rbi +3 -3
- data/rbi/{lib/onebusaway-sdk → onebusaway_sdk}/resources/trip_details.rbi +6 -6
- data/rbi/{lib/onebusaway-sdk → onebusaway_sdk}/resources/trip_for_vehicle.rbi +6 -6
- data/rbi/{lib/onebusaway-sdk → onebusaway_sdk}/resources/trips_for_location.rbi +5 -5
- data/rbi/{lib/onebusaway-sdk → onebusaway_sdk}/resources/trips_for_route.rbi +4 -4
- data/rbi/{lib/onebusaway-sdk → onebusaway_sdk}/resources/vehicles_for_agency.rbi +3 -3
- data/rbi/{lib/onebusaway-sdk → onebusaway_sdk}/version.rbi +1 -1
- data/sig/{onebusaway-sdk → onebusaway_sdk}/client.rbs +7 -7
- data/sig/onebusaway_sdk/errors.rbs +101 -0
- data/sig/onebusaway_sdk/file_part.rbs +21 -0
- data/sig/onebusaway_sdk/internal/transport/base_client.rbs +131 -0
- data/sig/onebusaway_sdk/internal/transport/pooled_net_requester.rbs +45 -0
- data/sig/onebusaway_sdk/internal/type/array_of.rbs +45 -0
- data/sig/onebusaway_sdk/internal/type/base_model.rbs +102 -0
- data/sig/onebusaway_sdk/internal/type/base_page.rbs +24 -0
- data/sig/onebusaway_sdk/internal/type/boolean.rbs +23 -0
- data/sig/onebusaway_sdk/internal/type/converter.rbs +56 -0
- data/sig/onebusaway_sdk/internal/type/enum.rbs +30 -0
- data/sig/onebusaway_sdk/internal/type/file_input.rbs +23 -0
- data/sig/onebusaway_sdk/internal/type/hash_of.rbs +45 -0
- data/sig/onebusaway_sdk/internal/type/request_parameters.rbs +19 -0
- data/sig/onebusaway_sdk/internal/type/union.rbs +50 -0
- data/sig/onebusaway_sdk/internal/type/unknown.rbs +23 -0
- data/sig/onebusaway_sdk/internal/util.rbs +173 -0
- data/sig/onebusaway_sdk/internal.rbs +7 -0
- data/sig/onebusaway_sdk/models/agencies_with_coverage_list_params.rbs +13 -0
- data/sig/onebusaway_sdk/models/agencies_with_coverage_list_response.rbs +68 -0
- data/sig/onebusaway_sdk/models/agency_retrieve_params.rbs +13 -0
- data/sig/onebusaway_sdk/models/agency_retrieve_response.rbs +100 -0
- data/sig/onebusaway_sdk/models/arrival_and_departure_list_params.rbs +31 -0
- data/sig/{onebusaway-sdk → onebusaway_sdk}/models/arrival_and_departure_list_response.rbs +89 -134
- data/sig/onebusaway_sdk/models/arrival_and_departure_retrieve_params.rbs +43 -0
- data/sig/{onebusaway-sdk → onebusaway_sdk}/models/arrival_and_departure_retrieve_response.rbs +85 -123
- data/sig/onebusaway_sdk/models/block_retrieve_params.rbs +13 -0
- data/sig/onebusaway_sdk/models/block_retrieve_response.rbs +158 -0
- data/sig/onebusaway_sdk/models/config_retrieve_params.rbs +13 -0
- data/sig/{onebusaway-sdk → onebusaway_sdk}/models/config_retrieve_response.rbs +45 -67
- data/sig/onebusaway_sdk/models/current_time_retrieve_params.rbs +13 -0
- data/sig/onebusaway_sdk/models/current_time_retrieve_response.rbs +49 -0
- data/sig/onebusaway_sdk/models/references.rbs +627 -0
- data/sig/{onebusaway-sdk → onebusaway_sdk}/models/report_problem_with_stop_retrieve_params.rbs +16 -21
- data/sig/{onebusaway-sdk → onebusaway_sdk}/models/report_problem_with_trip_retrieve_params.rbs +21 -26
- data/sig/onebusaway_sdk/models/response_wrapper.rbs +23 -0
- data/sig/onebusaway_sdk/models/route_ids_for_agency_list_params.rbs +13 -0
- data/sig/onebusaway_sdk/models/route_ids_for_agency_list_response.rbs +39 -0
- data/sig/onebusaway_sdk/models/route_retrieve_params.rbs +13 -0
- data/sig/{onebusaway-sdk → onebusaway_sdk}/models/route_retrieve_response.rbs +27 -42
- data/sig/onebusaway_sdk/models/routes_for_agency_list_params.rbs +13 -0
- data/sig/{onebusaway-sdk → onebusaway_sdk}/models/routes_for_agency_list_response.rbs +28 -43
- data/sig/onebusaway_sdk/models/routes_for_location_list_params.rbs +49 -0
- data/sig/{onebusaway-sdk → onebusaway_sdk}/models/routes_for_location_list_response.rbs +29 -46
- data/sig/onebusaway_sdk/models/schedule_for_route_retrieve_params.rbs +20 -0
- data/sig/{onebusaway-sdk → onebusaway_sdk}/models/schedule_for_route_retrieve_response.rbs +72 -124
- data/sig/onebusaway_sdk/models/schedule_for_stop_retrieve_params.rbs +20 -0
- data/sig/onebusaway_sdk/models/schedule_for_stop_retrieve_response.rbs +170 -0
- data/sig/onebusaway_sdk/models/search_for_route_list_params.rbs +24 -0
- data/sig/{onebusaway-sdk → onebusaway_sdk}/models/search_for_route_list_response.rbs +27 -46
- data/sig/onebusaway_sdk/models/search_for_stop_list_params.rbs +24 -0
- data/sig/{onebusaway-sdk → onebusaway_sdk}/models/search_for_stop_list_response.rbs +28 -47
- data/sig/onebusaway_sdk/models/shape_retrieve_params.rbs +13 -0
- data/sig/onebusaway_sdk/models/shape_retrieve_response.rbs +53 -0
- data/sig/onebusaway_sdk/models/stop_ids_for_agency_list_params.rbs +13 -0
- data/sig/onebusaway_sdk/models/stop_ids_for_agency_list_response.rbs +39 -0
- data/sig/onebusaway_sdk/models/stop_retrieve_params.rbs +13 -0
- data/sig/{onebusaway-sdk → onebusaway_sdk}/models/stop_retrieve_response.rbs +28 -43
- data/sig/onebusaway_sdk/models/stops_for_agency_list_params.rbs +13 -0
- data/sig/onebusaway_sdk/models/stops_for_agency_list_response.rbs +101 -0
- data/sig/onebusaway_sdk/models/stops_for_location_list_params.rbs +49 -0
- data/sig/{onebusaway-sdk → onebusaway_sdk}/models/stops_for_location_list_response.rbs +30 -47
- data/sig/onebusaway_sdk/models/stops_for_route_list_params.rbs +26 -0
- data/sig/{onebusaway-sdk → onebusaway_sdk}/models/stops_for_route_list_response.rbs +46 -77
- data/sig/onebusaway_sdk/models/trip_detail_retrieve_params.rbs +47 -0
- data/sig/{onebusaway-sdk → onebusaway_sdk}/models/trip_detail_retrieve_response.rbs +74 -124
- data/sig/onebusaway_sdk/models/trip_for_vehicle_retrieve_params.rbs +41 -0
- data/sig/{onebusaway-sdk → onebusaway_sdk}/models/trip_for_vehicle_retrieve_response.rbs +74 -126
- data/sig/onebusaway_sdk/models/trip_retrieve_params.rbs +13 -0
- data/sig/{onebusaway-sdk → onebusaway_sdk}/models/trip_retrieve_response.rbs +28 -43
- data/sig/onebusaway_sdk/models/trips_for_location_list_params.rbs +51 -0
- data/sig/{onebusaway-sdk → onebusaway_sdk}/models/trips_for_location_list_response.rbs +76 -128
- data/sig/onebusaway_sdk/models/trips_for_route_list_params.rbs +31 -0
- data/sig/{onebusaway-sdk → onebusaway_sdk}/models/trips_for_route_list_response.rbs +75 -125
- data/sig/onebusaway_sdk/models/vehicles_for_agency_list_params.rbs +20 -0
- data/sig/{onebusaway-sdk → onebusaway_sdk}/models/vehicles_for_agency_list_response.rbs +65 -110
- data/sig/onebusaway_sdk/models.rbs +63 -0
- data/sig/{onebusaway-sdk → onebusaway_sdk}/request_options.rbs +4 -14
- data/sig/onebusaway_sdk/resources/agencies_with_coverage.rbs +11 -0
- data/sig/onebusaway_sdk/resources/agency.rbs +12 -0
- data/sig/onebusaway_sdk/resources/arrival_and_departure.rbs +25 -0
- data/sig/onebusaway_sdk/resources/block.rbs +12 -0
- data/sig/onebusaway_sdk/resources/config.rbs +11 -0
- data/sig/onebusaway_sdk/resources/current_time.rbs +11 -0
- data/sig/onebusaway_sdk/resources/report_problem_with_stop.rbs +17 -0
- data/sig/onebusaway_sdk/resources/report_problem_with_trip.rbs +22 -0
- data/sig/onebusaway_sdk/resources/route.rbs +12 -0
- data/sig/onebusaway_sdk/resources/route_ids_for_agency.rbs +12 -0
- data/sig/onebusaway_sdk/resources/routes_for_agency.rbs +12 -0
- data/sig/onebusaway_sdk/resources/routes_for_location.rbs +17 -0
- data/sig/onebusaway_sdk/resources/schedule_for_route.rbs +13 -0
- data/sig/onebusaway_sdk/resources/schedule_for_stop.rbs +13 -0
- data/sig/onebusaway_sdk/resources/search_for_route.rbs +13 -0
- data/sig/onebusaway_sdk/resources/search_for_stop.rbs +13 -0
- data/sig/onebusaway_sdk/resources/shape.rbs +12 -0
- data/sig/onebusaway_sdk/resources/stop.rbs +12 -0
- data/sig/onebusaway_sdk/resources/stop_ids_for_agency.rbs +12 -0
- data/sig/onebusaway_sdk/resources/stops_for_agency.rbs +12 -0
- data/sig/onebusaway_sdk/resources/stops_for_location.rbs +17 -0
- data/sig/onebusaway_sdk/resources/stops_for_route.rbs +14 -0
- data/sig/onebusaway_sdk/resources/trip.rbs +12 -0
- data/sig/onebusaway_sdk/resources/trip_details.rbs +17 -0
- data/sig/onebusaway_sdk/resources/trip_for_vehicle.rbs +16 -0
- data/sig/onebusaway_sdk/resources/trips_for_location.rbs +18 -0
- data/sig/onebusaway_sdk/resources/trips_for_route.rbs +15 -0
- data/sig/onebusaway_sdk/resources/vehicles_for_agency.rbs +13 -0
- data/sig/{onebusaway-sdk/extern.rbs → onebusaway_sdk/version.rbs} +1 -2
- metadata +329 -293
- data/lib/onebusaway-sdk/base_client.rb +0 -455
- data/lib/onebusaway-sdk/base_model.rb +0 -1163
- data/lib/onebusaway-sdk/base_page.rb +0 -60
- data/lib/onebusaway-sdk/errors.rb +0 -183
- data/lib/onebusaway-sdk/extern.rb +0 -7
- data/lib/onebusaway-sdk/models/agencies_with_coverage_list_params.rb +0 -18
- data/lib/onebusaway-sdk/models/agencies_with_coverage_list_response.rb +0 -84
- data/lib/onebusaway-sdk/models/agency_retrieve_params.rb +0 -18
- data/lib/onebusaway-sdk/models/agency_retrieve_response.rb +0 -151
- data/lib/onebusaway-sdk/models/arrival_and_departure_list_params.rb +0 -51
- data/lib/onebusaway-sdk/models/arrival_and_departure_retrieve_params.rb +0 -60
- data/lib/onebusaway-sdk/models/block_retrieve_params.rb +0 -18
- data/lib/onebusaway-sdk/models/block_retrieve_response.rb +0 -205
- data/lib/onebusaway-sdk/models/config_retrieve_params.rb +0 -18
- data/lib/onebusaway-sdk/models/config_retrieve_response.rb +0 -331
- data/lib/onebusaway-sdk/models/current_time_retrieve_params.rb +0 -18
- data/lib/onebusaway-sdk/models/current_time_retrieve_response.rb +0 -67
- data/lib/onebusaway-sdk/models/references.rb +0 -1050
- data/lib/onebusaway-sdk/models/report_problem_with_stop_retrieve_params.rb +0 -96
- data/lib/onebusaway-sdk/models/report_problem_with_trip_retrieve_params.rb +0 -157
- data/lib/onebusaway-sdk/models/route_ids_for_agency_list_params.rb +0 -18
- data/lib/onebusaway-sdk/models/route_ids_for_agency_list_response.rb +0 -45
- data/lib/onebusaway-sdk/models/route_retrieve_params.rb +0 -18
- data/lib/onebusaway-sdk/models/route_retrieve_response.rb +0 -149
- data/lib/onebusaway-sdk/models/routes_for_agency_list_params.rb +0 -18
- data/lib/onebusaway-sdk/models/routes_for_agency_list_response.rb +0 -156
- data/lib/onebusaway-sdk/models/routes_for_location_list_params.rb +0 -70
- data/lib/onebusaway-sdk/models/routes_for_location_list_response.rb +0 -162
- data/lib/onebusaway-sdk/models/schedule_for_route_retrieve_params.rb +0 -30
- data/lib/onebusaway-sdk/models/schedule_for_route_retrieve_response.rb +0 -453
- data/lib/onebusaway-sdk/models/schedule_for_stop_retrieve_params.rb +0 -30
- data/lib/onebusaway-sdk/models/schedule_for_stop_retrieve_response.rb +0 -244
- data/lib/onebusaway-sdk/models/search_for_route_list_params.rb +0 -36
- data/lib/onebusaway-sdk/models/search_for_route_list_response.rb +0 -166
- data/lib/onebusaway-sdk/models/search_for_stop_list_params.rb +0 -36
- data/lib/onebusaway-sdk/models/search_for_stop_list_response.rb +0 -161
- data/lib/onebusaway-sdk/models/shape_retrieve_params.rb +0 -18
- data/lib/onebusaway-sdk/models/shape_retrieve_response.rb +0 -70
- data/lib/onebusaway-sdk/models/stop_ids_for_agency_list_params.rb +0 -18
- data/lib/onebusaway-sdk/models/stop_ids_for_agency_list_response.rb +0 -45
- data/lib/onebusaway-sdk/models/stop_retrieve_params.rb +0 -18
- data/lib/onebusaway-sdk/models/stop_retrieve_response.rb +0 -144
- data/lib/onebusaway-sdk/models/stops_for_agency_list_params.rb +0 -18
- data/lib/onebusaway-sdk/models/stops_for_agency_list_response.rb +0 -146
- data/lib/onebusaway-sdk/models/stops_for_location_list_params.rb +0 -74
- data/lib/onebusaway-sdk/models/stops_for_location_list_response.rb +0 -161
- data/lib/onebusaway-sdk/models/stops_for_route_list_params.rb +0 -40
- data/lib/onebusaway-sdk/models/stops_for_route_list_response.rb +0 -253
- data/lib/onebusaway-sdk/models/trip_detail_retrieve_params.rb +0 -86
- data/lib/onebusaway-sdk/models/trip_detail_retrieve_response.rb +0 -561
- data/lib/onebusaway-sdk/models/trip_for_vehicle_retrieve_params.rb +0 -65
- data/lib/onebusaway-sdk/models/trip_for_vehicle_retrieve_response.rb +0 -561
- data/lib/onebusaway-sdk/models/trip_retrieve_params.rb +0 -18
- data/lib/onebusaway-sdk/models/trip_retrieve_response.rb +0 -160
- data/lib/onebusaway-sdk/models/trips_for_location_list_params.rb +0 -93
- data/lib/onebusaway-sdk/models/trips_for_location_list_response.rb +0 -572
- data/lib/onebusaway-sdk/models/trips_for_route_list_params.rb +0 -52
- data/lib/onebusaway-sdk/models/trips_for_route_list_response.rb +0 -559
- data/lib/onebusaway-sdk/models/vehicles_for_agency_list_params.rb +0 -29
- data/lib/onebusaway-sdk/models/vehicles_for_agency_list_response.rb +0 -529
- data/lib/onebusaway-sdk/pooled_net_requester.rb +0 -169
- data/lib/onebusaway-sdk/request_options.rb +0 -108
- data/lib/onebusaway-sdk/resources/arrival_and_departure.rb +0 -68
- data/lib/onebusaway-sdk/resources/report_problem_with_stop.rb +0 -42
- data/lib/onebusaway-sdk/resources/report_problem_with_trip.rb +0 -52
- data/lib/onebusaway-sdk/resources/routes_for_location.rb +0 -42
- data/lib/onebusaway-sdk/resources/stops_for_location.rb +0 -42
- data/lib/onebusaway-sdk/resources/stops_for_route.rb +0 -36
- data/lib/onebusaway-sdk/resources/trip_details.rb +0 -45
- data/lib/onebusaway-sdk/resources/trip_for_vehicle.rb +0 -43
- data/lib/onebusaway-sdk/resources/trips_for_location.rb +0 -46
- data/lib/onebusaway-sdk/resources/trips_for_route.rb +0 -39
- data/lib/onebusaway-sdk/util.rb +0 -719
- data/lib/onebusaway-sdk.rb +0 -117
- data/rbi/lib/onebusaway-sdk/base_client.rbi +0 -198
- data/rbi/lib/onebusaway-sdk/base_model.rbi +0 -622
- data/rbi/lib/onebusaway-sdk/base_page.rbi +0 -38
- data/rbi/lib/onebusaway-sdk/errors.rbi +0 -179
- data/rbi/lib/onebusaway-sdk/extern.rbi +0 -7
- data/rbi/lib/onebusaway-sdk/models/agencies_with_coverage_list_params.rbi +0 -21
- data/rbi/lib/onebusaway-sdk/models/agencies_with_coverage_list_response.rbi +0 -134
- data/rbi/lib/onebusaway-sdk/models/agency_retrieve_params.rbi +0 -21
- data/rbi/lib/onebusaway-sdk/models/agency_retrieve_response.rbi +0 -210
- data/rbi/lib/onebusaway-sdk/models/arrival_and_departure_list_params.rbi +0 -63
- data/rbi/lib/onebusaway-sdk/models/arrival_and_departure_list_response.rbi +0 -995
- data/rbi/lib/onebusaway-sdk/models/arrival_and_departure_retrieve_params.rbi +0 -80
- data/rbi/lib/onebusaway-sdk/models/arrival_and_departure_retrieve_response.rbi +0 -938
- data/rbi/lib/onebusaway-sdk/models/block_retrieve_params.rbi +0 -21
- data/rbi/lib/onebusaway-sdk/models/block_retrieve_response.rbi +0 -377
- data/rbi/lib/onebusaway-sdk/models/config_retrieve_params.rbi +0 -21
- data/rbi/lib/onebusaway-sdk/models/config_retrieve_response.rbi +0 -383
- data/rbi/lib/onebusaway-sdk/models/current_time_retrieve_params.rbi +0 -21
- data/rbi/lib/onebusaway-sdk/models/current_time_retrieve_response.rbi +0 -95
- data/rbi/lib/onebusaway-sdk/models/references.rbi +0 -1282
- data/rbi/lib/onebusaway-sdk/models/report_problem_with_stop_retrieve_params.rbi +0 -105
- data/rbi/lib/onebusaway-sdk/models/report_problem_with_trip_retrieve_params.rbi +0 -166
- data/rbi/lib/onebusaway-sdk/models/response_wrapper.rbi +0 -49
- data/rbi/lib/onebusaway-sdk/models/route_ids_for_agency_list_params.rbi +0 -21
- data/rbi/lib/onebusaway-sdk/models/route_ids_for_agency_list_response.rbi +0 -68
- data/rbi/lib/onebusaway-sdk/models/route_retrieve_params.rbi +0 -21
- data/rbi/lib/onebusaway-sdk/models/route_retrieve_response.rbi +0 -200
- data/rbi/lib/onebusaway-sdk/models/routes_for_agency_list_params.rbi +0 -21
- data/rbi/lib/onebusaway-sdk/models/routes_for_agency_list_response.rbi +0 -210
- data/rbi/lib/onebusaway-sdk/models/routes_for_location_list_params.rbi +0 -90
- data/rbi/lib/onebusaway-sdk/models/routes_for_location_list_response.rbi +0 -220
- data/rbi/lib/onebusaway-sdk/models/schedule_for_route_retrieve_params.rbi +0 -31
- data/rbi/lib/onebusaway-sdk/models/schedule_for_route_retrieve_response.rbi +0 -678
- data/rbi/lib/onebusaway-sdk/models/schedule_for_stop_retrieve_params.rbi +0 -31
- data/rbi/lib/onebusaway-sdk/models/schedule_for_stop_retrieve_response.rbi +0 -457
- data/rbi/lib/onebusaway-sdk/models/search_for_route_list_params.rbi +0 -45
- data/rbi/lib/onebusaway-sdk/models/search_for_route_list_response.rbi +0 -220
- data/rbi/lib/onebusaway-sdk/models/search_for_stop_list_params.rbi +0 -45
- data/rbi/lib/onebusaway-sdk/models/search_for_stop_list_response.rbi +0 -231
- data/rbi/lib/onebusaway-sdk/models/shape_retrieve_params.rbi +0 -21
- data/rbi/lib/onebusaway-sdk/models/shape_retrieve_response.rbi +0 -104
- data/rbi/lib/onebusaway-sdk/models/stop_ids_for_agency_list_params.rbi +0 -21
- data/rbi/lib/onebusaway-sdk/models/stop_ids_for_agency_list_response.rbi +0 -68
- data/rbi/lib/onebusaway-sdk/models/stop_retrieve_params.rbi +0 -21
- data/rbi/lib/onebusaway-sdk/models/stop_retrieve_response.rbi +0 -211
- data/rbi/lib/onebusaway-sdk/models/stops_for_agency_list_params.rbi +0 -21
- data/rbi/lib/onebusaway-sdk/models/stops_for_agency_list_response.rbi +0 -210
- data/rbi/lib/onebusaway-sdk/models/stops_for_location_list_params.rbi +0 -94
- data/rbi/lib/onebusaway-sdk/models/stops_for_location_list_response.rbi +0 -231
- data/rbi/lib/onebusaway-sdk/models/stops_for_route_list_params.rbi +0 -50
- data/rbi/lib/onebusaway-sdk/models/stops_for_route_list_response.rbi +0 -307
- data/rbi/lib/onebusaway-sdk/models/trip_detail_retrieve_params.rbi +0 -95
- data/rbi/lib/onebusaway-sdk/models/trip_detail_retrieve_response.rbi +0 -733
- data/rbi/lib/onebusaway-sdk/models/trip_for_vehicle_retrieve_params.rbi +0 -77
- data/rbi/lib/onebusaway-sdk/models/trip_for_vehicle_retrieve_response.rbi +0 -735
- data/rbi/lib/onebusaway-sdk/models/trip_retrieve_params.rbi +0 -21
- data/rbi/lib/onebusaway-sdk/models/trip_retrieve_response.rbi +0 -211
- data/rbi/lib/onebusaway-sdk/models/trips_for_location_list_params.rbi +0 -109
- data/rbi/lib/onebusaway-sdk/models/trips_for_location_list_response.rbi +0 -755
- data/rbi/lib/onebusaway-sdk/models/trips_for_route_list_params.rbi +0 -64
- data/rbi/lib/onebusaway-sdk/models/trips_for_route_list_response.rbi +0 -743
- data/rbi/lib/onebusaway-sdk/models/vehicles_for_agency_list_params.rbi +0 -36
- data/rbi/lib/onebusaway-sdk/models/vehicles_for_agency_list_response.rbi +0 -671
- data/rbi/lib/onebusaway-sdk/pooled_net_requester.rbi +0 -51
- data/rbi/lib/onebusaway-sdk/request_options.rbi +0 -107
- data/rbi/lib/onebusaway-sdk/util.rbi +0 -270
- data/sig/onebusaway-sdk/base_client.rbs +0 -108
- data/sig/onebusaway-sdk/base_model.rbs +0 -246
- data/sig/onebusaway-sdk/base_page.rbs +0 -20
- data/sig/onebusaway-sdk/errors.rbs +0 -99
- data/sig/onebusaway-sdk/models/agencies_with_coverage_list_params.rbs +0 -20
- data/sig/onebusaway-sdk/models/agencies_with_coverage_list_response.rbs +0 -85
- data/sig/onebusaway-sdk/models/agency_retrieve_params.rbs +0 -19
- data/sig/onebusaway-sdk/models/agency_retrieve_response.rbs +0 -115
- data/sig/onebusaway-sdk/models/arrival_and_departure_list_params.rbs +0 -38
- data/sig/onebusaway-sdk/models/arrival_and_departure_retrieve_params.rbs +0 -50
- data/sig/onebusaway-sdk/models/block_retrieve_params.rbs +0 -19
- data/sig/onebusaway-sdk/models/block_retrieve_response.rbs +0 -201
- data/sig/onebusaway-sdk/models/config_retrieve_params.rbs +0 -19
- data/sig/onebusaway-sdk/models/current_time_retrieve_params.rbs +0 -19
- data/sig/onebusaway-sdk/models/current_time_retrieve_response.rbs +0 -64
- data/sig/onebusaway-sdk/models/references.rbs +0 -732
- data/sig/onebusaway-sdk/models/response_wrapper.rbs +0 -30
- data/sig/onebusaway-sdk/models/route_ids_for_agency_list_params.rbs +0 -20
- data/sig/onebusaway-sdk/models/route_ids_for_agency_list_response.rbs +0 -49
- data/sig/onebusaway-sdk/models/route_retrieve_params.rbs +0 -19
- data/sig/onebusaway-sdk/models/routes_for_agency_list_params.rbs +0 -20
- data/sig/onebusaway-sdk/models/routes_for_location_list_params.rbs +0 -56
- data/sig/onebusaway-sdk/models/schedule_for_route_retrieve_params.rbs +0 -24
- data/sig/onebusaway-sdk/models/schedule_for_stop_retrieve_params.rbs +0 -24
- data/sig/onebusaway-sdk/models/schedule_for_stop_retrieve_response.rbs +0 -215
- data/sig/onebusaway-sdk/models/search_for_route_list_params.rbs +0 -30
- data/sig/onebusaway-sdk/models/search_for_stop_list_params.rbs +0 -30
- data/sig/onebusaway-sdk/models/shape_retrieve_params.rbs +0 -19
- data/sig/onebusaway-sdk/models/shape_retrieve_response.rbs +0 -64
- data/sig/onebusaway-sdk/models/stop_ids_for_agency_list_params.rbs +0 -20
- data/sig/onebusaway-sdk/models/stop_ids_for_agency_list_response.rbs +0 -49
- data/sig/onebusaway-sdk/models/stop_retrieve_params.rbs +0 -19
- data/sig/onebusaway-sdk/models/stops_for_agency_list_params.rbs +0 -19
- data/sig/onebusaway-sdk/models/stops_for_agency_list_response.rbs +0 -105
- data/sig/onebusaway-sdk/models/stops_for_location_list_params.rbs +0 -56
- data/sig/onebusaway-sdk/models/stops_for_route_list_params.rbs +0 -33
- data/sig/onebusaway-sdk/models/trip_detail_retrieve_params.rbs +0 -54
- data/sig/onebusaway-sdk/models/trip_for_vehicle_retrieve_params.rbs +0 -48
- data/sig/onebusaway-sdk/models/trip_retrieve_params.rbs +0 -19
- data/sig/onebusaway-sdk/models/trips_for_location_list_params.rbs +0 -58
- data/sig/onebusaway-sdk/models/trips_for_route_list_params.rbs +0 -38
- data/sig/onebusaway-sdk/models/vehicles_for_agency_list_params.rbs +0 -24
- data/sig/onebusaway-sdk/pooled_net_requester.rbs +0 -35
- data/sig/onebusaway-sdk/resources/agencies_with_coverage.rbs +0 -16
- data/sig/onebusaway-sdk/resources/agency.rbs +0 -18
- data/sig/onebusaway-sdk/resources/arrival_and_departure.rbs +0 -37
- data/sig/onebusaway-sdk/resources/block.rbs +0 -18
- data/sig/onebusaway-sdk/resources/config.rbs +0 -16
- data/sig/onebusaway-sdk/resources/current_time.rbs +0 -16
- data/sig/onebusaway-sdk/resources/report_problem_with_stop.rbs +0 -23
- data/sig/onebusaway-sdk/resources/report_problem_with_trip.rbs +0 -28
- data/sig/onebusaway-sdk/resources/route.rbs +0 -18
- data/sig/onebusaway-sdk/resources/route_ids_for_agency.rbs +0 -18
- data/sig/onebusaway-sdk/resources/routes_for_agency.rbs +0 -18
- data/sig/onebusaway-sdk/resources/routes_for_location.rbs +0 -22
- data/sig/onebusaway-sdk/resources/schedule_for_route.rbs +0 -19
- data/sig/onebusaway-sdk/resources/schedule_for_stop.rbs +0 -19
- data/sig/onebusaway-sdk/resources/search_for_route.rbs +0 -18
- data/sig/onebusaway-sdk/resources/search_for_stop.rbs +0 -18
- data/sig/onebusaway-sdk/resources/shape.rbs +0 -18
- data/sig/onebusaway-sdk/resources/stop.rbs +0 -18
- data/sig/onebusaway-sdk/resources/stop_ids_for_agency.rbs +0 -18
- data/sig/onebusaway-sdk/resources/stops_for_agency.rbs +0 -18
- data/sig/onebusaway-sdk/resources/stops_for_location.rbs +0 -22
- data/sig/onebusaway-sdk/resources/stops_for_route.rbs +0 -20
- data/sig/onebusaway-sdk/resources/trip.rbs +0 -18
- data/sig/onebusaway-sdk/resources/trip_details.rbs +0 -23
- data/sig/onebusaway-sdk/resources/trip_for_vehicle.rbs +0 -22
- data/sig/onebusaway-sdk/resources/trips_for_location.rbs +0 -23
- data/sig/onebusaway-sdk/resources/trips_for_route.rbs +0 -21
- data/sig/onebusaway-sdk/resources/vehicles_for_agency.rbs +0 -19
- data/sig/onebusaway-sdk/util.rbs +0 -136
- data/sig/onebusaway-sdk/version.rbs +0 -3
@@ -1,995 +0,0 @@
|
|
1
|
-
# typed: strong
|
2
|
-
|
3
|
-
module OnebusawaySDK
|
4
|
-
module Models
|
5
|
-
class ArrivalAndDepartureListResponse < OnebusawaySDK::Models::ResponseWrapper
|
6
|
-
sig { returns(OnebusawaySDK::Models::ArrivalAndDepartureListResponse::Data) }
|
7
|
-
def data
|
8
|
-
end
|
9
|
-
|
10
|
-
sig do
|
11
|
-
params(_: OnebusawaySDK::Models::ArrivalAndDepartureListResponse::Data)
|
12
|
-
.returns(OnebusawaySDK::Models::ArrivalAndDepartureListResponse::Data)
|
13
|
-
end
|
14
|
-
def data=(_)
|
15
|
-
end
|
16
|
-
|
17
|
-
sig { params(data: OnebusawaySDK::Models::ArrivalAndDepartureListResponse::Data).returns(T.attached_class) }
|
18
|
-
def self.new(data:)
|
19
|
-
end
|
20
|
-
|
21
|
-
sig { override.returns({data: OnebusawaySDK::Models::ArrivalAndDepartureListResponse::Data}) }
|
22
|
-
def to_hash
|
23
|
-
end
|
24
|
-
|
25
|
-
class Data < OnebusawaySDK::BaseModel
|
26
|
-
sig { returns(OnebusawaySDK::Models::ArrivalAndDepartureListResponse::Data::Entry) }
|
27
|
-
def entry
|
28
|
-
end
|
29
|
-
|
30
|
-
sig do
|
31
|
-
params(_: OnebusawaySDK::Models::ArrivalAndDepartureListResponse::Data::Entry)
|
32
|
-
.returns(OnebusawaySDK::Models::ArrivalAndDepartureListResponse::Data::Entry)
|
33
|
-
end
|
34
|
-
def entry=(_)
|
35
|
-
end
|
36
|
-
|
37
|
-
sig { returns(OnebusawaySDK::Models::References) }
|
38
|
-
def references
|
39
|
-
end
|
40
|
-
|
41
|
-
sig { params(_: OnebusawaySDK::Models::References).returns(OnebusawaySDK::Models::References) }
|
42
|
-
def references=(_)
|
43
|
-
end
|
44
|
-
|
45
|
-
sig do
|
46
|
-
params(
|
47
|
-
entry: OnebusawaySDK::Models::ArrivalAndDepartureListResponse::Data::Entry,
|
48
|
-
references: OnebusawaySDK::Models::References
|
49
|
-
)
|
50
|
-
.returns(T.attached_class)
|
51
|
-
end
|
52
|
-
def self.new(entry:, references:)
|
53
|
-
end
|
54
|
-
|
55
|
-
sig do
|
56
|
-
override
|
57
|
-
.returns(
|
58
|
-
{
|
59
|
-
entry: OnebusawaySDK::Models::ArrivalAndDepartureListResponse::Data::Entry,
|
60
|
-
references: OnebusawaySDK::Models::References
|
61
|
-
}
|
62
|
-
)
|
63
|
-
end
|
64
|
-
def to_hash
|
65
|
-
end
|
66
|
-
|
67
|
-
class Entry < OnebusawaySDK::BaseModel
|
68
|
-
sig do
|
69
|
-
returns(
|
70
|
-
T::Array[OnebusawaySDK::Models::ArrivalAndDepartureListResponse::Data::Entry::ArrivalsAndDeparture]
|
71
|
-
)
|
72
|
-
end
|
73
|
-
def arrivals_and_departures
|
74
|
-
end
|
75
|
-
|
76
|
-
sig do
|
77
|
-
params(
|
78
|
-
_: T::Array[OnebusawaySDK::Models::ArrivalAndDepartureListResponse::Data::Entry::ArrivalsAndDeparture]
|
79
|
-
)
|
80
|
-
.returns(
|
81
|
-
T::Array[OnebusawaySDK::Models::ArrivalAndDepartureListResponse::Data::Entry::ArrivalsAndDeparture]
|
82
|
-
)
|
83
|
-
end
|
84
|
-
def arrivals_and_departures=(_)
|
85
|
-
end
|
86
|
-
|
87
|
-
sig do
|
88
|
-
params(
|
89
|
-
arrivals_and_departures: T::Array[OnebusawaySDK::Models::ArrivalAndDepartureListResponse::Data::Entry::ArrivalsAndDeparture]
|
90
|
-
)
|
91
|
-
.returns(T.attached_class)
|
92
|
-
end
|
93
|
-
def self.new(arrivals_and_departures:)
|
94
|
-
end
|
95
|
-
|
96
|
-
sig do
|
97
|
-
override
|
98
|
-
.returns(
|
99
|
-
{
|
100
|
-
arrivals_and_departures: T::Array[OnebusawaySDK::Models::ArrivalAndDepartureListResponse::Data::Entry::ArrivalsAndDeparture]
|
101
|
-
}
|
102
|
-
)
|
103
|
-
end
|
104
|
-
def to_hash
|
105
|
-
end
|
106
|
-
|
107
|
-
class ArrivalsAndDeparture < OnebusawaySDK::BaseModel
|
108
|
-
# Indicates if riders can arrive on this transit vehicle.
|
109
|
-
sig { returns(T::Boolean) }
|
110
|
-
def arrival_enabled
|
111
|
-
end
|
112
|
-
|
113
|
-
sig { params(_: T::Boolean).returns(T::Boolean) }
|
114
|
-
def arrival_enabled=(_)
|
115
|
-
end
|
116
|
-
|
117
|
-
# Index of this arrival’s trip into the sequence of trips for the active block.
|
118
|
-
sig { returns(Integer) }
|
119
|
-
def block_trip_sequence
|
120
|
-
end
|
121
|
-
|
122
|
-
sig { params(_: Integer).returns(Integer) }
|
123
|
-
def block_trip_sequence=(_)
|
124
|
-
end
|
125
|
-
|
126
|
-
# Indicates if riders can depart from this transit vehicle.
|
127
|
-
sig { returns(T::Boolean) }
|
128
|
-
def departure_enabled
|
129
|
-
end
|
130
|
-
|
131
|
-
sig { params(_: T::Boolean).returns(T::Boolean) }
|
132
|
-
def departure_enabled=(_)
|
133
|
-
end
|
134
|
-
|
135
|
-
# Number of stops between the arriving transit vehicle and the current stop
|
136
|
-
# (excluding the current stop).
|
137
|
-
sig { returns(Integer) }
|
138
|
-
def number_of_stops_away
|
139
|
-
end
|
140
|
-
|
141
|
-
sig { params(_: Integer).returns(Integer) }
|
142
|
-
def number_of_stops_away=(_)
|
143
|
-
end
|
144
|
-
|
145
|
-
# Predicted arrival time, in milliseconds since Unix epoch (zero if no real-time
|
146
|
-
# available).
|
147
|
-
sig { returns(Integer) }
|
148
|
-
def predicted_arrival_time
|
149
|
-
end
|
150
|
-
|
151
|
-
sig { params(_: Integer).returns(Integer) }
|
152
|
-
def predicted_arrival_time=(_)
|
153
|
-
end
|
154
|
-
|
155
|
-
# Predicted departure time, in milliseconds since Unix epoch (zero if no real-time
|
156
|
-
# available).
|
157
|
-
sig { returns(Integer) }
|
158
|
-
def predicted_departure_time
|
159
|
-
end
|
160
|
-
|
161
|
-
sig { params(_: Integer).returns(Integer) }
|
162
|
-
def predicted_departure_time=(_)
|
163
|
-
end
|
164
|
-
|
165
|
-
# The ID of the route for the arriving vehicle.
|
166
|
-
sig { returns(String) }
|
167
|
-
def route_id
|
168
|
-
end
|
169
|
-
|
170
|
-
sig { params(_: String).returns(String) }
|
171
|
-
def route_id=(_)
|
172
|
-
end
|
173
|
-
|
174
|
-
# Scheduled arrival time, in milliseconds since Unix epoch.
|
175
|
-
sig { returns(Integer) }
|
176
|
-
def scheduled_arrival_time
|
177
|
-
end
|
178
|
-
|
179
|
-
sig { params(_: Integer).returns(Integer) }
|
180
|
-
def scheduled_arrival_time=(_)
|
181
|
-
end
|
182
|
-
|
183
|
-
# Scheduled departure time, in milliseconds since Unix epoch.
|
184
|
-
sig { returns(Integer) }
|
185
|
-
def scheduled_departure_time
|
186
|
-
end
|
187
|
-
|
188
|
-
sig { params(_: Integer).returns(Integer) }
|
189
|
-
def scheduled_departure_time=(_)
|
190
|
-
end
|
191
|
-
|
192
|
-
# Time, in milliseconds since the Unix epoch, of midnight for the start of the
|
193
|
-
# service date for the trip.
|
194
|
-
sig { returns(Integer) }
|
195
|
-
def service_date
|
196
|
-
end
|
197
|
-
|
198
|
-
sig { params(_: Integer).returns(Integer) }
|
199
|
-
def service_date=(_)
|
200
|
-
end
|
201
|
-
|
202
|
-
# The ID of the stop the vehicle is arriving at.
|
203
|
-
sig { returns(String) }
|
204
|
-
def stop_id
|
205
|
-
end
|
206
|
-
|
207
|
-
sig { params(_: String).returns(String) }
|
208
|
-
def stop_id=(_)
|
209
|
-
end
|
210
|
-
|
211
|
-
# Index of the stop into the sequence of stops that make up the trip for this
|
212
|
-
# arrival.
|
213
|
-
sig { returns(Integer) }
|
214
|
-
def stop_sequence
|
215
|
-
end
|
216
|
-
|
217
|
-
sig { params(_: Integer).returns(Integer) }
|
218
|
-
def stop_sequence=(_)
|
219
|
-
end
|
220
|
-
|
221
|
-
# Total number of stops visited on the trip for this arrival.
|
222
|
-
sig { returns(Integer) }
|
223
|
-
def total_stops_in_trip
|
224
|
-
end
|
225
|
-
|
226
|
-
sig { params(_: Integer).returns(Integer) }
|
227
|
-
def total_stops_in_trip=(_)
|
228
|
-
end
|
229
|
-
|
230
|
-
# Optional trip headsign that potentially overrides the trip headsign in the
|
231
|
-
# referenced trip element.
|
232
|
-
sig { returns(String) }
|
233
|
-
def trip_headsign
|
234
|
-
end
|
235
|
-
|
236
|
-
sig { params(_: String).returns(String) }
|
237
|
-
def trip_headsign=(_)
|
238
|
-
end
|
239
|
-
|
240
|
-
# The ID of the trip for the arriving vehicle.
|
241
|
-
sig { returns(String) }
|
242
|
-
def trip_id
|
243
|
-
end
|
244
|
-
|
245
|
-
sig { params(_: String).returns(String) }
|
246
|
-
def trip_id=(_)
|
247
|
-
end
|
248
|
-
|
249
|
-
# ID of the transit vehicle serving this trip.
|
250
|
-
sig { returns(String) }
|
251
|
-
def vehicle_id
|
252
|
-
end
|
253
|
-
|
254
|
-
sig { params(_: String).returns(String) }
|
255
|
-
def vehicle_id=(_)
|
256
|
-
end
|
257
|
-
|
258
|
-
# The actual track information of the arriving transit vehicle.
|
259
|
-
sig { returns(T.nilable(String)) }
|
260
|
-
def actual_track
|
261
|
-
end
|
262
|
-
|
263
|
-
sig { params(_: String).returns(String) }
|
264
|
-
def actual_track=(_)
|
265
|
-
end
|
266
|
-
|
267
|
-
# Distance of the arriving transit vehicle from the stop, in meters.
|
268
|
-
sig { returns(T.nilable(Float)) }
|
269
|
-
def distance_from_stop
|
270
|
-
end
|
271
|
-
|
272
|
-
sig { params(_: Float).returns(Float) }
|
273
|
-
def distance_from_stop=(_)
|
274
|
-
end
|
275
|
-
|
276
|
-
# Information about frequency-based scheduling, if applicable to the trip.
|
277
|
-
sig { returns(T.nilable(String)) }
|
278
|
-
def frequency
|
279
|
-
end
|
280
|
-
|
281
|
-
sig { params(_: String).returns(String) }
|
282
|
-
def frequency=(_)
|
283
|
-
end
|
284
|
-
|
285
|
-
# Historical occupancy information of the transit vehicle.
|
286
|
-
sig { returns(T.nilable(String)) }
|
287
|
-
def historical_occupancy
|
288
|
-
end
|
289
|
-
|
290
|
-
sig { params(_: String).returns(String) }
|
291
|
-
def historical_occupancy=(_)
|
292
|
-
end
|
293
|
-
|
294
|
-
# Timestamp of the last update time for this arrival.
|
295
|
-
sig { returns(T.nilable(Integer)) }
|
296
|
-
def last_update_time
|
297
|
-
end
|
298
|
-
|
299
|
-
sig { params(_: Integer).returns(Integer) }
|
300
|
-
def last_update_time=(_)
|
301
|
-
end
|
302
|
-
|
303
|
-
# Current occupancy status of the transit vehicle.
|
304
|
-
sig { returns(T.nilable(String)) }
|
305
|
-
def occupancy_status
|
306
|
-
end
|
307
|
-
|
308
|
-
sig { params(_: String).returns(String) }
|
309
|
-
def occupancy_status=(_)
|
310
|
-
end
|
311
|
-
|
312
|
-
# Indicates if real-time arrival info is available for this trip.
|
313
|
-
sig { returns(T.nilable(T::Boolean)) }
|
314
|
-
def predicted
|
315
|
-
end
|
316
|
-
|
317
|
-
sig { params(_: T::Boolean).returns(T::Boolean) }
|
318
|
-
def predicted=(_)
|
319
|
-
end
|
320
|
-
|
321
|
-
# Interval for predicted arrival time, if available.
|
322
|
-
sig { returns(T.nilable(String)) }
|
323
|
-
def predicted_arrival_interval
|
324
|
-
end
|
325
|
-
|
326
|
-
sig { params(_: String).returns(String) }
|
327
|
-
def predicted_arrival_interval=(_)
|
328
|
-
end
|
329
|
-
|
330
|
-
# Interval for predicted departure time, if available.
|
331
|
-
sig { returns(T.nilable(String)) }
|
332
|
-
def predicted_departure_interval
|
333
|
-
end
|
334
|
-
|
335
|
-
sig { params(_: String).returns(String) }
|
336
|
-
def predicted_departure_interval=(_)
|
337
|
-
end
|
338
|
-
|
339
|
-
# Predicted occupancy status of the transit vehicle.
|
340
|
-
sig { returns(T.nilable(String)) }
|
341
|
-
def predicted_occupancy
|
342
|
-
end
|
343
|
-
|
344
|
-
sig { params(_: String).returns(String) }
|
345
|
-
def predicted_occupancy=(_)
|
346
|
-
end
|
347
|
-
|
348
|
-
# Optional route long name that potentially overrides the route long name in the
|
349
|
-
# referenced route element.
|
350
|
-
sig { returns(T.nilable(String)) }
|
351
|
-
def route_long_name
|
352
|
-
end
|
353
|
-
|
354
|
-
sig { params(_: String).returns(String) }
|
355
|
-
def route_long_name=(_)
|
356
|
-
end
|
357
|
-
|
358
|
-
# Optional route short name that potentially overrides the route short name in the
|
359
|
-
# referenced route element.
|
360
|
-
sig { returns(T.nilable(String)) }
|
361
|
-
def route_short_name
|
362
|
-
end
|
363
|
-
|
364
|
-
sig { params(_: String).returns(String) }
|
365
|
-
def route_short_name=(_)
|
366
|
-
end
|
367
|
-
|
368
|
-
# Interval for scheduled arrival time.
|
369
|
-
sig { returns(T.nilable(String)) }
|
370
|
-
def scheduled_arrival_interval
|
371
|
-
end
|
372
|
-
|
373
|
-
sig { params(_: String).returns(String) }
|
374
|
-
def scheduled_arrival_interval=(_)
|
375
|
-
end
|
376
|
-
|
377
|
-
# Interval for scheduled departure time.
|
378
|
-
sig { returns(T.nilable(String)) }
|
379
|
-
def scheduled_departure_interval
|
380
|
-
end
|
381
|
-
|
382
|
-
sig { params(_: String).returns(String) }
|
383
|
-
def scheduled_departure_interval=(_)
|
384
|
-
end
|
385
|
-
|
386
|
-
# Scheduled track information of the arriving transit vehicle.
|
387
|
-
sig { returns(T.nilable(String)) }
|
388
|
-
def scheduled_track
|
389
|
-
end
|
390
|
-
|
391
|
-
sig { params(_: String).returns(String) }
|
392
|
-
def scheduled_track=(_)
|
393
|
-
end
|
394
|
-
|
395
|
-
# References to situation elements (if any) applicable to this arrival.
|
396
|
-
sig { returns(T.nilable(T::Array[String])) }
|
397
|
-
def situation_ids
|
398
|
-
end
|
399
|
-
|
400
|
-
sig { params(_: T::Array[String]).returns(T::Array[String]) }
|
401
|
-
def situation_ids=(_)
|
402
|
-
end
|
403
|
-
|
404
|
-
# Current status of the arrival.
|
405
|
-
sig { returns(T.nilable(String)) }
|
406
|
-
def status
|
407
|
-
end
|
408
|
-
|
409
|
-
sig { params(_: String).returns(String) }
|
410
|
-
def status=(_)
|
411
|
-
end
|
412
|
-
|
413
|
-
# Trip-specific status for the arriving transit vehicle.
|
414
|
-
sig do
|
415
|
-
returns(
|
416
|
-
T.nilable(
|
417
|
-
OnebusawaySDK::Models::ArrivalAndDepartureListResponse::Data::Entry::ArrivalsAndDeparture::TripStatus
|
418
|
-
)
|
419
|
-
)
|
420
|
-
end
|
421
|
-
def trip_status
|
422
|
-
end
|
423
|
-
|
424
|
-
sig do
|
425
|
-
params(
|
426
|
-
_: OnebusawaySDK::Models::ArrivalAndDepartureListResponse::Data::Entry::ArrivalsAndDeparture::TripStatus
|
427
|
-
)
|
428
|
-
.returns(
|
429
|
-
OnebusawaySDK::Models::ArrivalAndDepartureListResponse::Data::Entry::ArrivalsAndDeparture::TripStatus
|
430
|
-
)
|
431
|
-
end
|
432
|
-
def trip_status=(_)
|
433
|
-
end
|
434
|
-
|
435
|
-
sig do
|
436
|
-
params(
|
437
|
-
arrival_enabled: T::Boolean,
|
438
|
-
block_trip_sequence: Integer,
|
439
|
-
departure_enabled: T::Boolean,
|
440
|
-
number_of_stops_away: Integer,
|
441
|
-
predicted_arrival_time: Integer,
|
442
|
-
predicted_departure_time: Integer,
|
443
|
-
route_id: String,
|
444
|
-
scheduled_arrival_time: Integer,
|
445
|
-
scheduled_departure_time: Integer,
|
446
|
-
service_date: Integer,
|
447
|
-
stop_id: String,
|
448
|
-
stop_sequence: Integer,
|
449
|
-
total_stops_in_trip: Integer,
|
450
|
-
trip_headsign: String,
|
451
|
-
trip_id: String,
|
452
|
-
vehicle_id: String,
|
453
|
-
actual_track: String,
|
454
|
-
distance_from_stop: Float,
|
455
|
-
frequency: String,
|
456
|
-
historical_occupancy: String,
|
457
|
-
last_update_time: Integer,
|
458
|
-
occupancy_status: String,
|
459
|
-
predicted: T::Boolean,
|
460
|
-
predicted_arrival_interval: String,
|
461
|
-
predicted_departure_interval: String,
|
462
|
-
predicted_occupancy: String,
|
463
|
-
route_long_name: String,
|
464
|
-
route_short_name: String,
|
465
|
-
scheduled_arrival_interval: String,
|
466
|
-
scheduled_departure_interval: String,
|
467
|
-
scheduled_track: String,
|
468
|
-
situation_ids: T::Array[String],
|
469
|
-
status: String,
|
470
|
-
trip_status: OnebusawaySDK::Models::ArrivalAndDepartureListResponse::Data::Entry::ArrivalsAndDeparture::TripStatus
|
471
|
-
)
|
472
|
-
.returns(T.attached_class)
|
473
|
-
end
|
474
|
-
def self.new(
|
475
|
-
arrival_enabled:,
|
476
|
-
block_trip_sequence:,
|
477
|
-
departure_enabled:,
|
478
|
-
number_of_stops_away:,
|
479
|
-
predicted_arrival_time:,
|
480
|
-
predicted_departure_time:,
|
481
|
-
route_id:,
|
482
|
-
scheduled_arrival_time:,
|
483
|
-
scheduled_departure_time:,
|
484
|
-
service_date:,
|
485
|
-
stop_id:,
|
486
|
-
stop_sequence:,
|
487
|
-
total_stops_in_trip:,
|
488
|
-
trip_headsign:,
|
489
|
-
trip_id:,
|
490
|
-
vehicle_id:,
|
491
|
-
actual_track: nil,
|
492
|
-
distance_from_stop: nil,
|
493
|
-
frequency: nil,
|
494
|
-
historical_occupancy: nil,
|
495
|
-
last_update_time: nil,
|
496
|
-
occupancy_status: nil,
|
497
|
-
predicted: nil,
|
498
|
-
predicted_arrival_interval: nil,
|
499
|
-
predicted_departure_interval: nil,
|
500
|
-
predicted_occupancy: nil,
|
501
|
-
route_long_name: nil,
|
502
|
-
route_short_name: nil,
|
503
|
-
scheduled_arrival_interval: nil,
|
504
|
-
scheduled_departure_interval: nil,
|
505
|
-
scheduled_track: nil,
|
506
|
-
situation_ids: nil,
|
507
|
-
status: nil,
|
508
|
-
trip_status: nil
|
509
|
-
)
|
510
|
-
end
|
511
|
-
|
512
|
-
sig do
|
513
|
-
override
|
514
|
-
.returns(
|
515
|
-
{
|
516
|
-
arrival_enabled: T::Boolean,
|
517
|
-
block_trip_sequence: Integer,
|
518
|
-
departure_enabled: T::Boolean,
|
519
|
-
number_of_stops_away: Integer,
|
520
|
-
predicted_arrival_time: Integer,
|
521
|
-
predicted_departure_time: Integer,
|
522
|
-
route_id: String,
|
523
|
-
scheduled_arrival_time: Integer,
|
524
|
-
scheduled_departure_time: Integer,
|
525
|
-
service_date: Integer,
|
526
|
-
stop_id: String,
|
527
|
-
stop_sequence: Integer,
|
528
|
-
total_stops_in_trip: Integer,
|
529
|
-
trip_headsign: String,
|
530
|
-
trip_id: String,
|
531
|
-
vehicle_id: String,
|
532
|
-
actual_track: String,
|
533
|
-
distance_from_stop: Float,
|
534
|
-
frequency: String,
|
535
|
-
historical_occupancy: String,
|
536
|
-
last_update_time: Integer,
|
537
|
-
occupancy_status: String,
|
538
|
-
predicted: T::Boolean,
|
539
|
-
predicted_arrival_interval: String,
|
540
|
-
predicted_departure_interval: String,
|
541
|
-
predicted_occupancy: String,
|
542
|
-
route_long_name: String,
|
543
|
-
route_short_name: String,
|
544
|
-
scheduled_arrival_interval: String,
|
545
|
-
scheduled_departure_interval: String,
|
546
|
-
scheduled_track: String,
|
547
|
-
situation_ids: T::Array[String],
|
548
|
-
status: String,
|
549
|
-
trip_status: OnebusawaySDK::Models::ArrivalAndDepartureListResponse::Data::Entry::ArrivalsAndDeparture::TripStatus
|
550
|
-
}
|
551
|
-
)
|
552
|
-
end
|
553
|
-
def to_hash
|
554
|
-
end
|
555
|
-
|
556
|
-
class TripStatus < OnebusawaySDK::BaseModel
|
557
|
-
# Trip ID of the trip the vehicle is actively serving.
|
558
|
-
sig { returns(String) }
|
559
|
-
def active_trip_id
|
560
|
-
end
|
561
|
-
|
562
|
-
sig { params(_: String).returns(String) }
|
563
|
-
def active_trip_id=(_)
|
564
|
-
end
|
565
|
-
|
566
|
-
# Index of the active trip into the sequence of trips for the active block.
|
567
|
-
sig { returns(Integer) }
|
568
|
-
def block_trip_sequence
|
569
|
-
end
|
570
|
-
|
571
|
-
sig { params(_: Integer).returns(Integer) }
|
572
|
-
def block_trip_sequence=(_)
|
573
|
-
end
|
574
|
-
|
575
|
-
# ID of the closest stop to the current location of the transit vehicle.
|
576
|
-
sig { returns(String) }
|
577
|
-
def closest_stop
|
578
|
-
end
|
579
|
-
|
580
|
-
sig { params(_: String).returns(String) }
|
581
|
-
def closest_stop=(_)
|
582
|
-
end
|
583
|
-
|
584
|
-
# Distance, in meters, the transit vehicle has progressed along the active trip.
|
585
|
-
sig { returns(Float) }
|
586
|
-
def distance_along_trip
|
587
|
-
end
|
588
|
-
|
589
|
-
sig { params(_: Float).returns(Float) }
|
590
|
-
def distance_along_trip=(_)
|
591
|
-
end
|
592
|
-
|
593
|
-
# Last known distance along the trip received in real-time from the transit
|
594
|
-
# vehicle.
|
595
|
-
sig { returns(Float) }
|
596
|
-
def last_known_distance_along_trip
|
597
|
-
end
|
598
|
-
|
599
|
-
sig { params(_: Float).returns(Float) }
|
600
|
-
def last_known_distance_along_trip=(_)
|
601
|
-
end
|
602
|
-
|
603
|
-
# Timestamp of the last known real-time location update from the transit vehicle.
|
604
|
-
sig { returns(Integer) }
|
605
|
-
def last_location_update_time
|
606
|
-
end
|
607
|
-
|
608
|
-
sig { params(_: Integer).returns(Integer) }
|
609
|
-
def last_location_update_time=(_)
|
610
|
-
end
|
611
|
-
|
612
|
-
# Timestamp of the last known real-time update from the transit vehicle.
|
613
|
-
sig { returns(Integer) }
|
614
|
-
def last_update_time
|
615
|
-
end
|
616
|
-
|
617
|
-
sig { params(_: Integer).returns(Integer) }
|
618
|
-
def last_update_time=(_)
|
619
|
-
end
|
620
|
-
|
621
|
-
# Capacity of the transit vehicle in terms of occupancy.
|
622
|
-
sig { returns(Integer) }
|
623
|
-
def occupancy_capacity
|
624
|
-
end
|
625
|
-
|
626
|
-
sig { params(_: Integer).returns(Integer) }
|
627
|
-
def occupancy_capacity=(_)
|
628
|
-
end
|
629
|
-
|
630
|
-
# Current count of occupants in the transit vehicle.
|
631
|
-
sig { returns(Integer) }
|
632
|
-
def occupancy_count
|
633
|
-
end
|
634
|
-
|
635
|
-
sig { params(_: Integer).returns(Integer) }
|
636
|
-
def occupancy_count=(_)
|
637
|
-
end
|
638
|
-
|
639
|
-
# Current occupancy status of the transit vehicle.
|
640
|
-
sig { returns(String) }
|
641
|
-
def occupancy_status
|
642
|
-
end
|
643
|
-
|
644
|
-
sig { params(_: String).returns(String) }
|
645
|
-
def occupancy_status=(_)
|
646
|
-
end
|
647
|
-
|
648
|
-
# Current journey phase of the trip.
|
649
|
-
sig { returns(String) }
|
650
|
-
def phase
|
651
|
-
end
|
652
|
-
|
653
|
-
sig { params(_: String).returns(String) }
|
654
|
-
def phase=(_)
|
655
|
-
end
|
656
|
-
|
657
|
-
# Indicates if real-time arrival info is available for this trip.
|
658
|
-
sig { returns(T::Boolean) }
|
659
|
-
def predicted
|
660
|
-
end
|
661
|
-
|
662
|
-
sig { params(_: T::Boolean).returns(T::Boolean) }
|
663
|
-
def predicted=(_)
|
664
|
-
end
|
665
|
-
|
666
|
-
# Deviation from the schedule in seconds (positive for late, negative for early).
|
667
|
-
sig { returns(Integer) }
|
668
|
-
def schedule_deviation
|
669
|
-
end
|
670
|
-
|
671
|
-
sig { params(_: Integer).returns(Integer) }
|
672
|
-
def schedule_deviation=(_)
|
673
|
-
end
|
674
|
-
|
675
|
-
# Time, in milliseconds since the Unix epoch, of midnight for the start of the
|
676
|
-
# service date for the trip.
|
677
|
-
sig { returns(Integer) }
|
678
|
-
def service_date
|
679
|
-
end
|
680
|
-
|
681
|
-
sig { params(_: Integer).returns(Integer) }
|
682
|
-
def service_date=(_)
|
683
|
-
end
|
684
|
-
|
685
|
-
# Current status modifiers for the trip.
|
686
|
-
sig { returns(String) }
|
687
|
-
def status
|
688
|
-
end
|
689
|
-
|
690
|
-
sig { params(_: String).returns(String) }
|
691
|
-
def status=(_)
|
692
|
-
end
|
693
|
-
|
694
|
-
# Total length of the trip, in meters.
|
695
|
-
sig { returns(Float) }
|
696
|
-
def total_distance_along_trip
|
697
|
-
end
|
698
|
-
|
699
|
-
sig { params(_: Float).returns(Float) }
|
700
|
-
def total_distance_along_trip=(_)
|
701
|
-
end
|
702
|
-
|
703
|
-
# Time offset from the closest stop to the current position of the transit vehicle
|
704
|
-
# (in seconds).
|
705
|
-
sig { returns(T.nilable(Integer)) }
|
706
|
-
def closest_stop_time_offset
|
707
|
-
end
|
708
|
-
|
709
|
-
sig { params(_: Integer).returns(Integer) }
|
710
|
-
def closest_stop_time_offset=(_)
|
711
|
-
end
|
712
|
-
|
713
|
-
# Information about frequency-based scheduling, if applicable to the trip.
|
714
|
-
sig { returns(T.nilable(String)) }
|
715
|
-
def frequency
|
716
|
-
end
|
717
|
-
|
718
|
-
sig { params(_: String).returns(String) }
|
719
|
-
def frequency=(_)
|
720
|
-
end
|
721
|
-
|
722
|
-
# Last known location of the transit vehicle.
|
723
|
-
sig do
|
724
|
-
returns(
|
725
|
-
T.nilable(
|
726
|
-
OnebusawaySDK::Models::ArrivalAndDepartureListResponse::Data::Entry::ArrivalsAndDeparture::TripStatus::LastKnownLocation
|
727
|
-
)
|
728
|
-
)
|
729
|
-
end
|
730
|
-
def last_known_location
|
731
|
-
end
|
732
|
-
|
733
|
-
sig do
|
734
|
-
params(
|
735
|
-
_: OnebusawaySDK::Models::ArrivalAndDepartureListResponse::Data::Entry::ArrivalsAndDeparture::TripStatus::LastKnownLocation
|
736
|
-
)
|
737
|
-
.returns(
|
738
|
-
OnebusawaySDK::Models::ArrivalAndDepartureListResponse::Data::Entry::ArrivalsAndDeparture::TripStatus::LastKnownLocation
|
739
|
-
)
|
740
|
-
end
|
741
|
-
def last_known_location=(_)
|
742
|
-
end
|
743
|
-
|
744
|
-
# Last known orientation value received in real-time from the transit vehicle.
|
745
|
-
sig { returns(T.nilable(Float)) }
|
746
|
-
def last_known_orientation
|
747
|
-
end
|
748
|
-
|
749
|
-
sig { params(_: Float).returns(Float) }
|
750
|
-
def last_known_orientation=(_)
|
751
|
-
end
|
752
|
-
|
753
|
-
# ID of the next stop the transit vehicle is scheduled to arrive at.
|
754
|
-
sig { returns(T.nilable(String)) }
|
755
|
-
def next_stop
|
756
|
-
end
|
757
|
-
|
758
|
-
sig { params(_: String).returns(String) }
|
759
|
-
def next_stop=(_)
|
760
|
-
end
|
761
|
-
|
762
|
-
# Time offset from the next stop to the current position of the transit vehicle
|
763
|
-
# (in seconds).
|
764
|
-
sig { returns(T.nilable(Integer)) }
|
765
|
-
def next_stop_time_offset
|
766
|
-
end
|
767
|
-
|
768
|
-
sig { params(_: Integer).returns(Integer) }
|
769
|
-
def next_stop_time_offset=(_)
|
770
|
-
end
|
771
|
-
|
772
|
-
# Orientation of the transit vehicle, represented as an angle in degrees.
|
773
|
-
sig { returns(T.nilable(Float)) }
|
774
|
-
def orientation
|
775
|
-
end
|
776
|
-
|
777
|
-
sig { params(_: Float).returns(Float) }
|
778
|
-
def orientation=(_)
|
779
|
-
end
|
780
|
-
|
781
|
-
# Current position of the transit vehicle.
|
782
|
-
sig do
|
783
|
-
returns(
|
784
|
-
T.nilable(
|
785
|
-
OnebusawaySDK::Models::ArrivalAndDepartureListResponse::Data::Entry::ArrivalsAndDeparture::TripStatus::Position
|
786
|
-
)
|
787
|
-
)
|
788
|
-
end
|
789
|
-
def position
|
790
|
-
end
|
791
|
-
|
792
|
-
sig do
|
793
|
-
params(
|
794
|
-
_: OnebusawaySDK::Models::ArrivalAndDepartureListResponse::Data::Entry::ArrivalsAndDeparture::TripStatus::Position
|
795
|
-
)
|
796
|
-
.returns(
|
797
|
-
OnebusawaySDK::Models::ArrivalAndDepartureListResponse::Data::Entry::ArrivalsAndDeparture::TripStatus::Position
|
798
|
-
)
|
799
|
-
end
|
800
|
-
def position=(_)
|
801
|
-
end
|
802
|
-
|
803
|
-
# Distance, in meters, the transit vehicle is scheduled to have progressed along
|
804
|
-
# the active trip.
|
805
|
-
sig { returns(T.nilable(Float)) }
|
806
|
-
def scheduled_distance_along_trip
|
807
|
-
end
|
808
|
-
|
809
|
-
sig { params(_: Float).returns(Float) }
|
810
|
-
def scheduled_distance_along_trip=(_)
|
811
|
-
end
|
812
|
-
|
813
|
-
# References to situation elements (if any) applicable to this trip.
|
814
|
-
sig { returns(T.nilable(T::Array[String])) }
|
815
|
-
def situation_ids
|
816
|
-
end
|
817
|
-
|
818
|
-
sig { params(_: T::Array[String]).returns(T::Array[String]) }
|
819
|
-
def situation_ids=(_)
|
820
|
-
end
|
821
|
-
|
822
|
-
# ID of the transit vehicle currently serving the trip.
|
823
|
-
sig { returns(T.nilable(String)) }
|
824
|
-
def vehicle_id
|
825
|
-
end
|
826
|
-
|
827
|
-
sig { params(_: String).returns(String) }
|
828
|
-
def vehicle_id=(_)
|
829
|
-
end
|
830
|
-
|
831
|
-
# Trip-specific status for the arriving transit vehicle.
|
832
|
-
sig do
|
833
|
-
params(
|
834
|
-
active_trip_id: String,
|
835
|
-
block_trip_sequence: Integer,
|
836
|
-
closest_stop: String,
|
837
|
-
distance_along_trip: Float,
|
838
|
-
last_known_distance_along_trip: Float,
|
839
|
-
last_location_update_time: Integer,
|
840
|
-
last_update_time: Integer,
|
841
|
-
occupancy_capacity: Integer,
|
842
|
-
occupancy_count: Integer,
|
843
|
-
occupancy_status: String,
|
844
|
-
phase: String,
|
845
|
-
predicted: T::Boolean,
|
846
|
-
schedule_deviation: Integer,
|
847
|
-
service_date: Integer,
|
848
|
-
status: String,
|
849
|
-
total_distance_along_trip: Float,
|
850
|
-
closest_stop_time_offset: Integer,
|
851
|
-
frequency: String,
|
852
|
-
last_known_location: OnebusawaySDK::Models::ArrivalAndDepartureListResponse::Data::Entry::ArrivalsAndDeparture::TripStatus::LastKnownLocation,
|
853
|
-
last_known_orientation: Float,
|
854
|
-
next_stop: String,
|
855
|
-
next_stop_time_offset: Integer,
|
856
|
-
orientation: Float,
|
857
|
-
position: OnebusawaySDK::Models::ArrivalAndDepartureListResponse::Data::Entry::ArrivalsAndDeparture::TripStatus::Position,
|
858
|
-
scheduled_distance_along_trip: Float,
|
859
|
-
situation_ids: T::Array[String],
|
860
|
-
vehicle_id: String
|
861
|
-
)
|
862
|
-
.returns(T.attached_class)
|
863
|
-
end
|
864
|
-
def self.new(
|
865
|
-
active_trip_id:,
|
866
|
-
block_trip_sequence:,
|
867
|
-
closest_stop:,
|
868
|
-
distance_along_trip:,
|
869
|
-
last_known_distance_along_trip:,
|
870
|
-
last_location_update_time:,
|
871
|
-
last_update_time:,
|
872
|
-
occupancy_capacity:,
|
873
|
-
occupancy_count:,
|
874
|
-
occupancy_status:,
|
875
|
-
phase:,
|
876
|
-
predicted:,
|
877
|
-
schedule_deviation:,
|
878
|
-
service_date:,
|
879
|
-
status:,
|
880
|
-
total_distance_along_trip:,
|
881
|
-
closest_stop_time_offset: nil,
|
882
|
-
frequency: nil,
|
883
|
-
last_known_location: nil,
|
884
|
-
last_known_orientation: nil,
|
885
|
-
next_stop: nil,
|
886
|
-
next_stop_time_offset: nil,
|
887
|
-
orientation: nil,
|
888
|
-
position: nil,
|
889
|
-
scheduled_distance_along_trip: nil,
|
890
|
-
situation_ids: nil,
|
891
|
-
vehicle_id: nil
|
892
|
-
)
|
893
|
-
end
|
894
|
-
|
895
|
-
sig do
|
896
|
-
override
|
897
|
-
.returns(
|
898
|
-
{
|
899
|
-
active_trip_id: String,
|
900
|
-
block_trip_sequence: Integer,
|
901
|
-
closest_stop: String,
|
902
|
-
distance_along_trip: Float,
|
903
|
-
last_known_distance_along_trip: Float,
|
904
|
-
last_location_update_time: Integer,
|
905
|
-
last_update_time: Integer,
|
906
|
-
occupancy_capacity: Integer,
|
907
|
-
occupancy_count: Integer,
|
908
|
-
occupancy_status: String,
|
909
|
-
phase: String,
|
910
|
-
predicted: T::Boolean,
|
911
|
-
schedule_deviation: Integer,
|
912
|
-
service_date: Integer,
|
913
|
-
status: String,
|
914
|
-
total_distance_along_trip: Float,
|
915
|
-
closest_stop_time_offset: Integer,
|
916
|
-
frequency: String,
|
917
|
-
last_known_location: OnebusawaySDK::Models::ArrivalAndDepartureListResponse::Data::Entry::ArrivalsAndDeparture::TripStatus::LastKnownLocation,
|
918
|
-
last_known_orientation: Float,
|
919
|
-
next_stop: String,
|
920
|
-
next_stop_time_offset: Integer,
|
921
|
-
orientation: Float,
|
922
|
-
position: OnebusawaySDK::Models::ArrivalAndDepartureListResponse::Data::Entry::ArrivalsAndDeparture::TripStatus::Position,
|
923
|
-
scheduled_distance_along_trip: Float,
|
924
|
-
situation_ids: T::Array[String],
|
925
|
-
vehicle_id: String
|
926
|
-
}
|
927
|
-
)
|
928
|
-
end
|
929
|
-
def to_hash
|
930
|
-
end
|
931
|
-
|
932
|
-
class LastKnownLocation < OnebusawaySDK::BaseModel
|
933
|
-
# Latitude of the last known location of the transit vehicle.
|
934
|
-
sig { returns(T.nilable(Float)) }
|
935
|
-
def lat
|
936
|
-
end
|
937
|
-
|
938
|
-
sig { params(_: Float).returns(Float) }
|
939
|
-
def lat=(_)
|
940
|
-
end
|
941
|
-
|
942
|
-
# Longitude of the last known location of the transit vehicle.
|
943
|
-
sig { returns(T.nilable(Float)) }
|
944
|
-
def lon
|
945
|
-
end
|
946
|
-
|
947
|
-
sig { params(_: Float).returns(Float) }
|
948
|
-
def lon=(_)
|
949
|
-
end
|
950
|
-
|
951
|
-
# Last known location of the transit vehicle.
|
952
|
-
sig { params(lat: Float, lon: Float).returns(T.attached_class) }
|
953
|
-
def self.new(lat: nil, lon: nil)
|
954
|
-
end
|
955
|
-
|
956
|
-
sig { override.returns({lat: Float, lon: Float}) }
|
957
|
-
def to_hash
|
958
|
-
end
|
959
|
-
end
|
960
|
-
|
961
|
-
class Position < OnebusawaySDK::BaseModel
|
962
|
-
# Latitude of the current position of the transit vehicle.
|
963
|
-
sig { returns(T.nilable(Float)) }
|
964
|
-
def lat
|
965
|
-
end
|
966
|
-
|
967
|
-
sig { params(_: Float).returns(Float) }
|
968
|
-
def lat=(_)
|
969
|
-
end
|
970
|
-
|
971
|
-
# Longitude of the current position of the transit vehicle.
|
972
|
-
sig { returns(T.nilable(Float)) }
|
973
|
-
def lon
|
974
|
-
end
|
975
|
-
|
976
|
-
sig { params(_: Float).returns(Float) }
|
977
|
-
def lon=(_)
|
978
|
-
end
|
979
|
-
|
980
|
-
# Current position of the transit vehicle.
|
981
|
-
sig { params(lat: Float, lon: Float).returns(T.attached_class) }
|
982
|
-
def self.new(lat: nil, lon: nil)
|
983
|
-
end
|
984
|
-
|
985
|
-
sig { override.returns({lat: Float, lon: Float}) }
|
986
|
-
def to_hash
|
987
|
-
end
|
988
|
-
end
|
989
|
-
end
|
990
|
-
end
|
991
|
-
end
|
992
|
-
end
|
993
|
-
end
|
994
|
-
end
|
995
|
-
end
|