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
@@ -2,20 +2,17 @@
|
|
2
2
|
|
3
3
|
module OnebusawaySDK
|
4
4
|
module Models
|
5
|
+
# @see OnebusawaySDK::Resources::ArrivalAndDeparture#list
|
5
6
|
class ArrivalAndDepartureListResponse < OnebusawaySDK::Models::ResponseWrapper
|
6
7
|
# @!attribute data
|
7
8
|
#
|
8
9
|
# @return [OnebusawaySDK::Models::ArrivalAndDepartureListResponse::Data]
|
9
10
|
required :data, -> { OnebusawaySDK::Models::ArrivalAndDepartureListResponse::Data }
|
10
11
|
|
11
|
-
# @!
|
12
|
-
#
|
13
|
-
# #
|
14
|
-
# def initialize(data:, **) = super
|
12
|
+
# @!method initialize(data:)
|
13
|
+
# @param data [OnebusawaySDK::Models::ArrivalAndDepartureListResponse::Data]
|
15
14
|
|
16
|
-
|
17
|
-
|
18
|
-
class Data < OnebusawaySDK::BaseModel
|
15
|
+
class Data < OnebusawaySDK::Internal::Type::BaseModel
|
19
16
|
# @!attribute entry
|
20
17
|
#
|
21
18
|
# @return [OnebusawaySDK::Models::ArrivalAndDepartureListResponse::Data::Entry]
|
@@ -23,38 +20,31 @@ module OnebusawaySDK
|
|
23
20
|
|
24
21
|
# @!attribute references
|
25
22
|
#
|
26
|
-
# @return [OnebusawaySDK::
|
27
|
-
required :references, -> { OnebusawaySDK::
|
28
|
-
|
29
|
-
# @!parse
|
30
|
-
# # @param entry [OnebusawaySDK::Models::ArrivalAndDepartureListResponse::Data::Entry]
|
31
|
-
# # @param references [OnebusawaySDK::Models::References]
|
32
|
-
# #
|
33
|
-
# def initialize(entry:, references:, **) = super
|
23
|
+
# @return [OnebusawaySDK::References]
|
24
|
+
required :references, -> { OnebusawaySDK::References }
|
34
25
|
|
35
|
-
#
|
26
|
+
# @!method initialize(entry:, references:)
|
27
|
+
# @param entry [OnebusawaySDK::Models::ArrivalAndDepartureListResponse::Data::Entry]
|
28
|
+
# @param references [OnebusawaySDK::References]
|
36
29
|
|
37
|
-
|
30
|
+
# @see OnebusawaySDK::Models::ArrivalAndDepartureListResponse::Data#entry
|
31
|
+
class Entry < OnebusawaySDK::Internal::Type::BaseModel
|
38
32
|
# @!attribute arrivals_and_departures
|
39
33
|
#
|
40
34
|
# @return [Array<OnebusawaySDK::Models::ArrivalAndDepartureListResponse::Data::Entry::ArrivalsAndDeparture>]
|
41
35
|
required :arrivals_and_departures,
|
42
|
-
-> { OnebusawaySDK::ArrayOf[OnebusawaySDK::Models::ArrivalAndDepartureListResponse::Data::Entry::ArrivalsAndDeparture] },
|
36
|
+
-> { OnebusawaySDK::Internal::Type::ArrayOf[OnebusawaySDK::Models::ArrivalAndDepartureListResponse::Data::Entry::ArrivalsAndDeparture] },
|
43
37
|
api_name: :arrivalsAndDepartures
|
44
38
|
|
45
|
-
# @!
|
46
|
-
#
|
47
|
-
# #
|
48
|
-
# def initialize(arrivals_and_departures:, **) = super
|
39
|
+
# @!method initialize(arrivals_and_departures:)
|
40
|
+
# @param arrivals_and_departures [Array<OnebusawaySDK::Models::ArrivalAndDepartureListResponse::Data::Entry::ArrivalsAndDeparture>]
|
49
41
|
|
50
|
-
|
51
|
-
|
52
|
-
class ArrivalsAndDeparture < OnebusawaySDK::BaseModel
|
42
|
+
class ArrivalsAndDeparture < OnebusawaySDK::Internal::Type::BaseModel
|
53
43
|
# @!attribute arrival_enabled
|
54
44
|
# Indicates if riders can arrive on this transit vehicle.
|
55
45
|
#
|
56
46
|
# @return [Boolean]
|
57
|
-
required :arrival_enabled, OnebusawaySDK::
|
47
|
+
required :arrival_enabled, OnebusawaySDK::Internal::Type::Boolean, api_name: :arrivalEnabled
|
58
48
|
|
59
49
|
# @!attribute block_trip_sequence
|
60
50
|
# Index of this arrival’s trip into the sequence of trips for the active block.
|
@@ -66,25 +56,25 @@ module OnebusawaySDK
|
|
66
56
|
# Indicates if riders can depart from this transit vehicle.
|
67
57
|
#
|
68
58
|
# @return [Boolean]
|
69
|
-
required :departure_enabled, OnebusawaySDK::
|
59
|
+
required :departure_enabled, OnebusawaySDK::Internal::Type::Boolean, api_name: :departureEnabled
|
70
60
|
|
71
61
|
# @!attribute number_of_stops_away
|
72
62
|
# Number of stops between the arriving transit vehicle and the current stop
|
73
|
-
#
|
63
|
+
# (excluding the current stop).
|
74
64
|
#
|
75
65
|
# @return [Integer]
|
76
66
|
required :number_of_stops_away, Integer, api_name: :numberOfStopsAway
|
77
67
|
|
78
68
|
# @!attribute predicted_arrival_time
|
79
69
|
# Predicted arrival time, in milliseconds since Unix epoch (zero if no real-time
|
80
|
-
#
|
70
|
+
# available).
|
81
71
|
#
|
82
72
|
# @return [Integer]
|
83
73
|
required :predicted_arrival_time, Integer, api_name: :predictedArrivalTime
|
84
74
|
|
85
75
|
# @!attribute predicted_departure_time
|
86
76
|
# Predicted departure time, in milliseconds since Unix epoch (zero if no real-time
|
87
|
-
#
|
77
|
+
# available).
|
88
78
|
#
|
89
79
|
# @return [Integer]
|
90
80
|
required :predicted_departure_time, Integer, api_name: :predictedDepartureTime
|
@@ -109,7 +99,7 @@ module OnebusawaySDK
|
|
109
99
|
|
110
100
|
# @!attribute service_date
|
111
101
|
# Time, in milliseconds since the Unix epoch, of midnight for the start of the
|
112
|
-
#
|
102
|
+
# service date for the trip.
|
113
103
|
#
|
114
104
|
# @return [Integer]
|
115
105
|
required :service_date, Integer, api_name: :serviceDate
|
@@ -122,7 +112,7 @@ module OnebusawaySDK
|
|
122
112
|
|
123
113
|
# @!attribute stop_sequence
|
124
114
|
# Index of the stop into the sequence of stops that make up the trip for this
|
125
|
-
#
|
115
|
+
# arrival.
|
126
116
|
#
|
127
117
|
# @return [Integer]
|
128
118
|
required :stop_sequence, Integer, api_name: :stopSequence
|
@@ -135,7 +125,7 @@ module OnebusawaySDK
|
|
135
125
|
|
136
126
|
# @!attribute trip_headsign
|
137
127
|
# Optional trip headsign that potentially overrides the trip headsign in the
|
138
|
-
#
|
128
|
+
# referenced trip element.
|
139
129
|
#
|
140
130
|
# @return [String]
|
141
131
|
required :trip_headsign, String, api_name: :tripHeadsign
|
@@ -152,179 +142,111 @@ module OnebusawaySDK
|
|
152
142
|
# @return [String]
|
153
143
|
required :vehicle_id, String, api_name: :vehicleId
|
154
144
|
|
155
|
-
# @!attribute
|
145
|
+
# @!attribute actual_track
|
156
146
|
# The actual track information of the arriving transit vehicle.
|
157
147
|
#
|
158
148
|
# @return [String, nil]
|
159
149
|
optional :actual_track, String, api_name: :actualTrack
|
160
150
|
|
161
|
-
# @!
|
162
|
-
# # @return [String]
|
163
|
-
# attr_writer :actual_track
|
164
|
-
|
165
|
-
# @!attribute [r] distance_from_stop
|
151
|
+
# @!attribute distance_from_stop
|
166
152
|
# Distance of the arriving transit vehicle from the stop, in meters.
|
167
153
|
#
|
168
154
|
# @return [Float, nil]
|
169
155
|
optional :distance_from_stop, Float, api_name: :distanceFromStop
|
170
156
|
|
171
|
-
# @!
|
172
|
-
# # @return [Float]
|
173
|
-
# attr_writer :distance_from_stop
|
174
|
-
|
175
|
-
# @!attribute [r] frequency
|
157
|
+
# @!attribute frequency
|
176
158
|
# Information about frequency-based scheduling, if applicable to the trip.
|
177
159
|
#
|
178
160
|
# @return [String, nil]
|
179
161
|
optional :frequency, String
|
180
162
|
|
181
|
-
# @!
|
182
|
-
# # @return [String]
|
183
|
-
# attr_writer :frequency
|
184
|
-
|
185
|
-
# @!attribute [r] historical_occupancy
|
163
|
+
# @!attribute historical_occupancy
|
186
164
|
# Historical occupancy information of the transit vehicle.
|
187
165
|
#
|
188
166
|
# @return [String, nil]
|
189
167
|
optional :historical_occupancy, String, api_name: :historicalOccupancy
|
190
168
|
|
191
|
-
# @!
|
192
|
-
# # @return [String]
|
193
|
-
# attr_writer :historical_occupancy
|
194
|
-
|
195
|
-
# @!attribute [r] last_update_time
|
169
|
+
# @!attribute last_update_time
|
196
170
|
# Timestamp of the last update time for this arrival.
|
197
171
|
#
|
198
172
|
# @return [Integer, nil]
|
199
173
|
optional :last_update_time, Integer, api_name: :lastUpdateTime
|
200
174
|
|
201
|
-
# @!
|
202
|
-
# # @return [Integer]
|
203
|
-
# attr_writer :last_update_time
|
204
|
-
|
205
|
-
# @!attribute [r] occupancy_status
|
175
|
+
# @!attribute occupancy_status
|
206
176
|
# Current occupancy status of the transit vehicle.
|
207
177
|
#
|
208
178
|
# @return [String, nil]
|
209
179
|
optional :occupancy_status, String, api_name: :occupancyStatus
|
210
180
|
|
211
|
-
# @!
|
212
|
-
# # @return [String]
|
213
|
-
# attr_writer :occupancy_status
|
214
|
-
|
215
|
-
# @!attribute [r] predicted
|
181
|
+
# @!attribute predicted
|
216
182
|
# Indicates if real-time arrival info is available for this trip.
|
217
183
|
#
|
218
184
|
# @return [Boolean, nil]
|
219
|
-
optional :predicted, OnebusawaySDK::
|
220
|
-
|
221
|
-
# @!parse
|
222
|
-
# # @return [Boolean]
|
223
|
-
# attr_writer :predicted
|
185
|
+
optional :predicted, OnebusawaySDK::Internal::Type::Boolean
|
224
186
|
|
225
|
-
# @!attribute
|
187
|
+
# @!attribute predicted_arrival_interval
|
226
188
|
# Interval for predicted arrival time, if available.
|
227
189
|
#
|
228
190
|
# @return [String, nil]
|
229
191
|
optional :predicted_arrival_interval, String, api_name: :predictedArrivalInterval
|
230
192
|
|
231
|
-
# @!
|
232
|
-
# # @return [String]
|
233
|
-
# attr_writer :predicted_arrival_interval
|
234
|
-
|
235
|
-
# @!attribute [r] predicted_departure_interval
|
193
|
+
# @!attribute predicted_departure_interval
|
236
194
|
# Interval for predicted departure time, if available.
|
237
195
|
#
|
238
196
|
# @return [String, nil]
|
239
197
|
optional :predicted_departure_interval, String, api_name: :predictedDepartureInterval
|
240
198
|
|
241
|
-
# @!
|
242
|
-
# # @return [String]
|
243
|
-
# attr_writer :predicted_departure_interval
|
244
|
-
|
245
|
-
# @!attribute [r] predicted_occupancy
|
199
|
+
# @!attribute predicted_occupancy
|
246
200
|
# Predicted occupancy status of the transit vehicle.
|
247
201
|
#
|
248
202
|
# @return [String, nil]
|
249
203
|
optional :predicted_occupancy, String, api_name: :predictedOccupancy
|
250
204
|
|
251
|
-
# @!
|
252
|
-
# # @return [String]
|
253
|
-
# attr_writer :predicted_occupancy
|
254
|
-
|
255
|
-
# @!attribute [r] route_long_name
|
205
|
+
# @!attribute route_long_name
|
256
206
|
# Optional route long name that potentially overrides the route long name in the
|
257
|
-
#
|
207
|
+
# referenced route element.
|
258
208
|
#
|
259
209
|
# @return [String, nil]
|
260
210
|
optional :route_long_name, String, api_name: :routeLongName
|
261
211
|
|
262
|
-
# @!
|
263
|
-
# # @return [String]
|
264
|
-
# attr_writer :route_long_name
|
265
|
-
|
266
|
-
# @!attribute [r] route_short_name
|
212
|
+
# @!attribute route_short_name
|
267
213
|
# Optional route short name that potentially overrides the route short name in the
|
268
|
-
#
|
214
|
+
# referenced route element.
|
269
215
|
#
|
270
216
|
# @return [String, nil]
|
271
217
|
optional :route_short_name, String, api_name: :routeShortName
|
272
218
|
|
273
|
-
# @!
|
274
|
-
# # @return [String]
|
275
|
-
# attr_writer :route_short_name
|
276
|
-
|
277
|
-
# @!attribute [r] scheduled_arrival_interval
|
219
|
+
# @!attribute scheduled_arrival_interval
|
278
220
|
# Interval for scheduled arrival time.
|
279
221
|
#
|
280
222
|
# @return [String, nil]
|
281
223
|
optional :scheduled_arrival_interval, String, api_name: :scheduledArrivalInterval
|
282
224
|
|
283
|
-
# @!
|
284
|
-
# # @return [String]
|
285
|
-
# attr_writer :scheduled_arrival_interval
|
286
|
-
|
287
|
-
# @!attribute [r] scheduled_departure_interval
|
225
|
+
# @!attribute scheduled_departure_interval
|
288
226
|
# Interval for scheduled departure time.
|
289
227
|
#
|
290
228
|
# @return [String, nil]
|
291
229
|
optional :scheduled_departure_interval, String, api_name: :scheduledDepartureInterval
|
292
230
|
|
293
|
-
# @!
|
294
|
-
# # @return [String]
|
295
|
-
# attr_writer :scheduled_departure_interval
|
296
|
-
|
297
|
-
# @!attribute [r] scheduled_track
|
231
|
+
# @!attribute scheduled_track
|
298
232
|
# Scheduled track information of the arriving transit vehicle.
|
299
233
|
#
|
300
234
|
# @return [String, nil]
|
301
235
|
optional :scheduled_track, String, api_name: :scheduledTrack
|
302
236
|
|
303
|
-
# @!
|
304
|
-
# # @return [String]
|
305
|
-
# attr_writer :scheduled_track
|
306
|
-
|
307
|
-
# @!attribute [r] situation_ids
|
237
|
+
# @!attribute situation_ids
|
308
238
|
# References to situation elements (if any) applicable to this arrival.
|
309
239
|
#
|
310
240
|
# @return [Array<String>, nil]
|
311
|
-
optional :situation_ids, OnebusawaySDK::ArrayOf[String], api_name: :situationIds
|
312
|
-
|
313
|
-
# @!parse
|
314
|
-
# # @return [Array<String>]
|
315
|
-
# attr_writer :situation_ids
|
241
|
+
optional :situation_ids, OnebusawaySDK::Internal::Type::ArrayOf[String], api_name: :situationIds
|
316
242
|
|
317
|
-
# @!attribute
|
243
|
+
# @!attribute status
|
318
244
|
# Current status of the arrival.
|
319
245
|
#
|
320
246
|
# @return [String, nil]
|
321
247
|
optional :status, String
|
322
248
|
|
323
|
-
# @!
|
324
|
-
# # @return [String]
|
325
|
-
# attr_writer :status
|
326
|
-
|
327
|
-
# @!attribute [r] trip_status
|
249
|
+
# @!attribute trip_status
|
328
250
|
# Trip-specific status for the arriving transit vehicle.
|
329
251
|
#
|
330
252
|
# @return [OnebusawaySDK::Models::ArrivalAndDepartureListResponse::Data::Entry::ArrivalsAndDeparture::TripStatus, nil]
|
@@ -332,89 +254,81 @@ module OnebusawaySDK
|
|
332
254
|
-> { OnebusawaySDK::Models::ArrivalAndDepartureListResponse::Data::Entry::ArrivalsAndDeparture::TripStatus },
|
333
255
|
api_name: :tripStatus
|
334
256
|
|
335
|
-
# @!
|
336
|
-
#
|
337
|
-
#
|
338
|
-
|
339
|
-
#
|
340
|
-
#
|
341
|
-
#
|
342
|
-
#
|
343
|
-
#
|
344
|
-
#
|
345
|
-
#
|
346
|
-
#
|
347
|
-
#
|
348
|
-
#
|
349
|
-
#
|
350
|
-
#
|
351
|
-
#
|
352
|
-
#
|
353
|
-
#
|
354
|
-
#
|
355
|
-
#
|
356
|
-
#
|
357
|
-
#
|
358
|
-
#
|
359
|
-
#
|
360
|
-
#
|
361
|
-
#
|
362
|
-
#
|
363
|
-
#
|
364
|
-
#
|
365
|
-
#
|
366
|
-
#
|
367
|
-
#
|
368
|
-
#
|
369
|
-
#
|
370
|
-
#
|
371
|
-
#
|
372
|
-
#
|
373
|
-
#
|
374
|
-
#
|
375
|
-
#
|
376
|
-
#
|
377
|
-
#
|
378
|
-
#
|
379
|
-
#
|
380
|
-
#
|
381
|
-
#
|
382
|
-
#
|
383
|
-
#
|
384
|
-
#
|
385
|
-
#
|
386
|
-
#
|
387
|
-
#
|
388
|
-
#
|
389
|
-
#
|
390
|
-
#
|
391
|
-
#
|
392
|
-
#
|
393
|
-
#
|
394
|
-
#
|
395
|
-
#
|
396
|
-
#
|
397
|
-
#
|
398
|
-
#
|
399
|
-
#
|
400
|
-
#
|
401
|
-
#
|
402
|
-
#
|
403
|
-
#
|
404
|
-
#
|
405
|
-
#
|
406
|
-
#
|
407
|
-
|
408
|
-
#
|
409
|
-
|
410
|
-
# **
|
411
|
-
# )
|
412
|
-
# super
|
413
|
-
# end
|
414
|
-
|
415
|
-
# def initialize: (Hash | OnebusawaySDK::BaseModel) -> void
|
416
|
-
|
417
|
-
class TripStatus < OnebusawaySDK::BaseModel
|
257
|
+
# @!method initialize(arrival_enabled:, block_trip_sequence:, departure_enabled:, number_of_stops_away:, predicted_arrival_time:, predicted_departure_time:, route_id:, scheduled_arrival_time:, scheduled_departure_time:, service_date:, stop_id:, stop_sequence:, total_stops_in_trip:, trip_headsign:, trip_id:, vehicle_id:, actual_track: nil, distance_from_stop: nil, frequency: nil, historical_occupancy: nil, last_update_time: nil, occupancy_status: nil, predicted: nil, predicted_arrival_interval: nil, predicted_departure_interval: nil, predicted_occupancy: nil, route_long_name: nil, route_short_name: nil, scheduled_arrival_interval: nil, scheduled_departure_interval: nil, scheduled_track: nil, situation_ids: nil, status: nil, trip_status: nil)
|
258
|
+
# Some parameter documentations has been truncated, see
|
259
|
+
# {OnebusawaySDK::Models::ArrivalAndDepartureListResponse::Data::Entry::ArrivalsAndDeparture}
|
260
|
+
# for more details.
|
261
|
+
#
|
262
|
+
# @param arrival_enabled [Boolean] Indicates if riders can arrive on this transit vehicle.
|
263
|
+
#
|
264
|
+
# @param block_trip_sequence [Integer] Index of this arrival’s trip into the sequence of trips for the active block.
|
265
|
+
#
|
266
|
+
# @param departure_enabled [Boolean] Indicates if riders can depart from this transit vehicle.
|
267
|
+
#
|
268
|
+
# @param number_of_stops_away [Integer] Number of stops between the arriving transit vehicle and the current stop (exclu
|
269
|
+
#
|
270
|
+
# @param predicted_arrival_time [Integer] Predicted arrival time, in milliseconds since Unix epoch (zero if no real-time a
|
271
|
+
#
|
272
|
+
# @param predicted_departure_time [Integer] Predicted departure time, in milliseconds since Unix epoch (zero if no real-time
|
273
|
+
#
|
274
|
+
# @param route_id [String] The ID of the route for the arriving vehicle.
|
275
|
+
#
|
276
|
+
# @param scheduled_arrival_time [Integer] Scheduled arrival time, in milliseconds since Unix epoch.
|
277
|
+
#
|
278
|
+
# @param scheduled_departure_time [Integer] Scheduled departure time, in milliseconds since Unix epoch.
|
279
|
+
#
|
280
|
+
# @param service_date [Integer] Time, in milliseconds since the Unix epoch, of midnight for the start of the ser
|
281
|
+
#
|
282
|
+
# @param stop_id [String] The ID of the stop the vehicle is arriving at.
|
283
|
+
#
|
284
|
+
# @param stop_sequence [Integer] Index of the stop into the sequence of stops that make up the trip for this arri
|
285
|
+
#
|
286
|
+
# @param total_stops_in_trip [Integer] Total number of stops visited on the trip for this arrival.
|
287
|
+
#
|
288
|
+
# @param trip_headsign [String] Optional trip headsign that potentially overrides the trip headsign in the refer
|
289
|
+
#
|
290
|
+
# @param trip_id [String] The ID of the trip for the arriving vehicle.
|
291
|
+
#
|
292
|
+
# @param vehicle_id [String] ID of the transit vehicle serving this trip.
|
293
|
+
#
|
294
|
+
# @param actual_track [String] The actual track information of the arriving transit vehicle.
|
295
|
+
#
|
296
|
+
# @param distance_from_stop [Float] Distance of the arriving transit vehicle from the stop, in meters.
|
297
|
+
#
|
298
|
+
# @param frequency [String] Information about frequency-based scheduling, if applicable to the trip.
|
299
|
+
#
|
300
|
+
# @param historical_occupancy [String] Historical occupancy information of the transit vehicle.
|
301
|
+
#
|
302
|
+
# @param last_update_time [Integer] Timestamp of the last update time for this arrival.
|
303
|
+
#
|
304
|
+
# @param occupancy_status [String] Current occupancy status of the transit vehicle.
|
305
|
+
#
|
306
|
+
# @param predicted [Boolean] Indicates if real-time arrival info is available for this trip.
|
307
|
+
#
|
308
|
+
# @param predicted_arrival_interval [String] Interval for predicted arrival time, if available.
|
309
|
+
#
|
310
|
+
# @param predicted_departure_interval [String] Interval for predicted departure time, if available.
|
311
|
+
#
|
312
|
+
# @param predicted_occupancy [String] Predicted occupancy status of the transit vehicle.
|
313
|
+
#
|
314
|
+
# @param route_long_name [String] Optional route long name that potentially overrides the route long name in the r
|
315
|
+
#
|
316
|
+
# @param route_short_name [String] Optional route short name that potentially overrides the route short name in the
|
317
|
+
#
|
318
|
+
# @param scheduled_arrival_interval [String] Interval for scheduled arrival time.
|
319
|
+
#
|
320
|
+
# @param scheduled_departure_interval [String] Interval for scheduled departure time.
|
321
|
+
#
|
322
|
+
# @param scheduled_track [String] Scheduled track information of the arriving transit vehicle.
|
323
|
+
#
|
324
|
+
# @param situation_ids [Array<String>] References to situation elements (if any) applicable to this arrival.
|
325
|
+
#
|
326
|
+
# @param status [String] Current status of the arrival.
|
327
|
+
#
|
328
|
+
# @param trip_status [OnebusawaySDK::Models::ArrivalAndDepartureListResponse::Data::Entry::ArrivalsAndDeparture::TripStatus] Trip-specific status for the arriving transit vehicle.
|
329
|
+
|
330
|
+
# @see OnebusawaySDK::Models::ArrivalAndDepartureListResponse::Data::Entry::ArrivalsAndDeparture#trip_status
|
331
|
+
class TripStatus < OnebusawaySDK::Internal::Type::BaseModel
|
418
332
|
# @!attribute active_trip_id
|
419
333
|
# Trip ID of the trip the vehicle is actively serving.
|
420
334
|
#
|
@@ -441,7 +355,7 @@ module OnebusawaySDK
|
|
441
355
|
|
442
356
|
# @!attribute last_known_distance_along_trip
|
443
357
|
# Last known distance along the trip received in real-time from the transit
|
444
|
-
#
|
358
|
+
# vehicle.
|
445
359
|
#
|
446
360
|
# @return [Float]
|
447
361
|
required :last_known_distance_along_trip, Float, api_name: :lastKnownDistanceAlongTrip
|
@@ -486,7 +400,7 @@ module OnebusawaySDK
|
|
486
400
|
# Indicates if real-time arrival info is available for this trip.
|
487
401
|
#
|
488
402
|
# @return [Boolean]
|
489
|
-
required :predicted, OnebusawaySDK::
|
403
|
+
required :predicted, OnebusawaySDK::Internal::Type::Boolean
|
490
404
|
|
491
405
|
# @!attribute schedule_deviation
|
492
406
|
# Deviation from the schedule in seconds (positive for late, negative for early).
|
@@ -496,7 +410,7 @@ module OnebusawaySDK
|
|
496
410
|
|
497
411
|
# @!attribute service_date
|
498
412
|
# Time, in milliseconds since the Unix epoch, of midnight for the start of the
|
499
|
-
#
|
413
|
+
# service date for the trip.
|
500
414
|
#
|
501
415
|
# @return [Integer]
|
502
416
|
required :service_date, Integer, api_name: :serviceDate
|
@@ -513,28 +427,20 @@ module OnebusawaySDK
|
|
513
427
|
# @return [Float]
|
514
428
|
required :total_distance_along_trip, Float, api_name: :totalDistanceAlongTrip
|
515
429
|
|
516
|
-
# @!attribute
|
430
|
+
# @!attribute closest_stop_time_offset
|
517
431
|
# Time offset from the closest stop to the current position of the transit vehicle
|
518
|
-
#
|
432
|
+
# (in seconds).
|
519
433
|
#
|
520
434
|
# @return [Integer, nil]
|
521
435
|
optional :closest_stop_time_offset, Integer, api_name: :closestStopTimeOffset
|
522
436
|
|
523
|
-
# @!
|
524
|
-
# # @return [Integer]
|
525
|
-
# attr_writer :closest_stop_time_offset
|
526
|
-
|
527
|
-
# @!attribute [r] frequency
|
437
|
+
# @!attribute frequency
|
528
438
|
# Information about frequency-based scheduling, if applicable to the trip.
|
529
439
|
#
|
530
440
|
# @return [String, nil]
|
531
441
|
optional :frequency, String
|
532
442
|
|
533
|
-
# @!
|
534
|
-
# # @return [String]
|
535
|
-
# attr_writer :frequency
|
536
|
-
|
537
|
-
# @!attribute [r] last_known_location
|
443
|
+
# @!attribute last_known_location
|
538
444
|
# Last known location of the transit vehicle.
|
539
445
|
#
|
540
446
|
# @return [OnebusawaySDK::Models::ArrivalAndDepartureListResponse::Data::Entry::ArrivalsAndDeparture::TripStatus::LastKnownLocation, nil]
|
@@ -542,221 +448,160 @@ module OnebusawaySDK
|
|
542
448
|
-> { OnebusawaySDK::Models::ArrivalAndDepartureListResponse::Data::Entry::ArrivalsAndDeparture::TripStatus::LastKnownLocation },
|
543
449
|
api_name: :lastKnownLocation
|
544
450
|
|
545
|
-
# @!
|
546
|
-
# # @return [OnebusawaySDK::Models::ArrivalAndDepartureListResponse::Data::Entry::ArrivalsAndDeparture::TripStatus::LastKnownLocation]
|
547
|
-
# attr_writer :last_known_location
|
548
|
-
|
549
|
-
# @!attribute [r] last_known_orientation
|
451
|
+
# @!attribute last_known_orientation
|
550
452
|
# Last known orientation value received in real-time from the transit vehicle.
|
551
453
|
#
|
552
454
|
# @return [Float, nil]
|
553
455
|
optional :last_known_orientation, Float, api_name: :lastKnownOrientation
|
554
456
|
|
555
|
-
# @!
|
556
|
-
# # @return [Float]
|
557
|
-
# attr_writer :last_known_orientation
|
558
|
-
|
559
|
-
# @!attribute [r] next_stop
|
457
|
+
# @!attribute next_stop
|
560
458
|
# ID of the next stop the transit vehicle is scheduled to arrive at.
|
561
459
|
#
|
562
460
|
# @return [String, nil]
|
563
461
|
optional :next_stop, String, api_name: :nextStop
|
564
462
|
|
565
|
-
# @!
|
566
|
-
# # @return [String]
|
567
|
-
# attr_writer :next_stop
|
568
|
-
|
569
|
-
# @!attribute [r] next_stop_time_offset
|
463
|
+
# @!attribute next_stop_time_offset
|
570
464
|
# Time offset from the next stop to the current position of the transit vehicle
|
571
|
-
#
|
465
|
+
# (in seconds).
|
572
466
|
#
|
573
467
|
# @return [Integer, nil]
|
574
468
|
optional :next_stop_time_offset, Integer, api_name: :nextStopTimeOffset
|
575
469
|
|
576
|
-
# @!
|
577
|
-
# # @return [Integer]
|
578
|
-
# attr_writer :next_stop_time_offset
|
579
|
-
|
580
|
-
# @!attribute [r] orientation
|
470
|
+
# @!attribute orientation
|
581
471
|
# Orientation of the transit vehicle, represented as an angle in degrees.
|
582
472
|
#
|
583
473
|
# @return [Float, nil]
|
584
474
|
optional :orientation, Float
|
585
475
|
|
586
|
-
# @!
|
587
|
-
# # @return [Float]
|
588
|
-
# attr_writer :orientation
|
589
|
-
|
590
|
-
# @!attribute [r] position
|
476
|
+
# @!attribute position
|
591
477
|
# Current position of the transit vehicle.
|
592
478
|
#
|
593
479
|
# @return [OnebusawaySDK::Models::ArrivalAndDepartureListResponse::Data::Entry::ArrivalsAndDeparture::TripStatus::Position, nil]
|
594
480
|
optional :position,
|
595
481
|
-> { OnebusawaySDK::Models::ArrivalAndDepartureListResponse::Data::Entry::ArrivalsAndDeparture::TripStatus::Position }
|
596
482
|
|
597
|
-
# @!
|
598
|
-
# # @return [OnebusawaySDK::Models::ArrivalAndDepartureListResponse::Data::Entry::ArrivalsAndDeparture::TripStatus::Position]
|
599
|
-
# attr_writer :position
|
600
|
-
|
601
|
-
# @!attribute [r] scheduled_distance_along_trip
|
483
|
+
# @!attribute scheduled_distance_along_trip
|
602
484
|
# Distance, in meters, the transit vehicle is scheduled to have progressed along
|
603
|
-
#
|
485
|
+
# the active trip.
|
604
486
|
#
|
605
487
|
# @return [Float, nil]
|
606
488
|
optional :scheduled_distance_along_trip, Float, api_name: :scheduledDistanceAlongTrip
|
607
489
|
|
608
|
-
# @!
|
609
|
-
# # @return [Float]
|
610
|
-
# attr_writer :scheduled_distance_along_trip
|
611
|
-
|
612
|
-
# @!attribute [r] situation_ids
|
490
|
+
# @!attribute situation_ids
|
613
491
|
# References to situation elements (if any) applicable to this trip.
|
614
492
|
#
|
615
493
|
# @return [Array<String>, nil]
|
616
|
-
optional :situation_ids, OnebusawaySDK::ArrayOf[String], api_name: :situationIds
|
617
|
-
|
618
|
-
# @!parse
|
619
|
-
# # @return [Array<String>]
|
620
|
-
# attr_writer :situation_ids
|
494
|
+
optional :situation_ids, OnebusawaySDK::Internal::Type::ArrayOf[String], api_name: :situationIds
|
621
495
|
|
622
|
-
# @!attribute
|
496
|
+
# @!attribute vehicle_id
|
623
497
|
# ID of the transit vehicle currently serving the trip.
|
624
498
|
#
|
625
499
|
# @return [String, nil]
|
626
500
|
optional :vehicle_id, String, api_name: :vehicleId
|
627
501
|
|
628
|
-
# @!
|
629
|
-
#
|
630
|
-
#
|
631
|
-
|
632
|
-
#
|
633
|
-
#
|
634
|
-
#
|
635
|
-
#
|
636
|
-
#
|
637
|
-
#
|
638
|
-
#
|
639
|
-
#
|
640
|
-
#
|
641
|
-
#
|
642
|
-
#
|
643
|
-
#
|
644
|
-
#
|
645
|
-
#
|
646
|
-
#
|
647
|
-
#
|
648
|
-
#
|
649
|
-
#
|
650
|
-
#
|
651
|
-
#
|
652
|
-
#
|
653
|
-
#
|
654
|
-
#
|
655
|
-
#
|
656
|
-
#
|
657
|
-
#
|
658
|
-
#
|
659
|
-
#
|
660
|
-
#
|
661
|
-
#
|
662
|
-
#
|
663
|
-
#
|
664
|
-
#
|
665
|
-
#
|
666
|
-
#
|
667
|
-
#
|
668
|
-
#
|
669
|
-
#
|
670
|
-
#
|
671
|
-
#
|
672
|
-
#
|
673
|
-
#
|
674
|
-
#
|
675
|
-
#
|
676
|
-
#
|
677
|
-
#
|
678
|
-
#
|
679
|
-
#
|
680
|
-
#
|
681
|
-
#
|
682
|
-
#
|
683
|
-
#
|
684
|
-
#
|
685
|
-
#
|
686
|
-
#
|
687
|
-
#
|
688
|
-
|
689
|
-
#
|
690
|
-
|
691
|
-
|
692
|
-
# )
|
693
|
-
# super
|
694
|
-
# end
|
695
|
-
|
696
|
-
# def initialize: (Hash | OnebusawaySDK::BaseModel) -> void
|
697
|
-
|
698
|
-
class LastKnownLocation < OnebusawaySDK::BaseModel
|
699
|
-
# @!attribute [r] lat
|
502
|
+
# @!method initialize(active_trip_id:, block_trip_sequence:, closest_stop:, distance_along_trip:, last_known_distance_along_trip:, last_location_update_time:, last_update_time:, occupancy_capacity:, occupancy_count:, occupancy_status:, phase:, predicted:, schedule_deviation:, service_date:, status:, total_distance_along_trip:, closest_stop_time_offset: nil, frequency: nil, last_known_location: nil, last_known_orientation: nil, next_stop: nil, next_stop_time_offset: nil, orientation: nil, position: nil, scheduled_distance_along_trip: nil, situation_ids: nil, vehicle_id: nil)
|
503
|
+
# Some parameter documentations has been truncated, see
|
504
|
+
# {OnebusawaySDK::Models::ArrivalAndDepartureListResponse::Data::Entry::ArrivalsAndDeparture::TripStatus}
|
505
|
+
# for more details.
|
506
|
+
#
|
507
|
+
# Trip-specific status for the arriving transit vehicle.
|
508
|
+
#
|
509
|
+
# @param active_trip_id [String] Trip ID of the trip the vehicle is actively serving.
|
510
|
+
#
|
511
|
+
# @param block_trip_sequence [Integer] Index of the active trip into the sequence of trips for the active block.
|
512
|
+
#
|
513
|
+
# @param closest_stop [String] ID of the closest stop to the current location of the transit vehicle.
|
514
|
+
#
|
515
|
+
# @param distance_along_trip [Float] Distance, in meters, the transit vehicle has progressed along the active trip.
|
516
|
+
#
|
517
|
+
# @param last_known_distance_along_trip [Float] Last known distance along the trip received in real-time from the transit vehicl
|
518
|
+
#
|
519
|
+
# @param last_location_update_time [Integer] Timestamp of the last known real-time location update from the transit vehicle.
|
520
|
+
#
|
521
|
+
# @param last_update_time [Integer] Timestamp of the last known real-time update from the transit vehicle.
|
522
|
+
#
|
523
|
+
# @param occupancy_capacity [Integer] Capacity of the transit vehicle in terms of occupancy.
|
524
|
+
#
|
525
|
+
# @param occupancy_count [Integer] Current count of occupants in the transit vehicle.
|
526
|
+
#
|
527
|
+
# @param occupancy_status [String] Current occupancy status of the transit vehicle.
|
528
|
+
#
|
529
|
+
# @param phase [String] Current journey phase of the trip.
|
530
|
+
#
|
531
|
+
# @param predicted [Boolean] Indicates if real-time arrival info is available for this trip.
|
532
|
+
#
|
533
|
+
# @param schedule_deviation [Integer] Deviation from the schedule in seconds (positive for late, negative for early).
|
534
|
+
#
|
535
|
+
# @param service_date [Integer] Time, in milliseconds since the Unix epoch, of midnight for the start of the ser
|
536
|
+
#
|
537
|
+
# @param status [String] Current status modifiers for the trip.
|
538
|
+
#
|
539
|
+
# @param total_distance_along_trip [Float] Total length of the trip, in meters.
|
540
|
+
#
|
541
|
+
# @param closest_stop_time_offset [Integer] Time offset from the closest stop to the current position of the transit vehicle
|
542
|
+
#
|
543
|
+
# @param frequency [String] Information about frequency-based scheduling, if applicable to the trip.
|
544
|
+
#
|
545
|
+
# @param last_known_location [OnebusawaySDK::Models::ArrivalAndDepartureListResponse::Data::Entry::ArrivalsAndDeparture::TripStatus::LastKnownLocation] Last known location of the transit vehicle.
|
546
|
+
#
|
547
|
+
# @param last_known_orientation [Float] Last known orientation value received in real-time from the transit vehicle.
|
548
|
+
#
|
549
|
+
# @param next_stop [String] ID of the next stop the transit vehicle is scheduled to arrive at.
|
550
|
+
#
|
551
|
+
# @param next_stop_time_offset [Integer] Time offset from the next stop to the current position of the transit vehicle (i
|
552
|
+
#
|
553
|
+
# @param orientation [Float] Orientation of the transit vehicle, represented as an angle in degrees.
|
554
|
+
#
|
555
|
+
# @param position [OnebusawaySDK::Models::ArrivalAndDepartureListResponse::Data::Entry::ArrivalsAndDeparture::TripStatus::Position] Current position of the transit vehicle.
|
556
|
+
#
|
557
|
+
# @param scheduled_distance_along_trip [Float] Distance, in meters, the transit vehicle is scheduled to have progressed along t
|
558
|
+
#
|
559
|
+
# @param situation_ids [Array<String>] References to situation elements (if any) applicable to this trip.
|
560
|
+
#
|
561
|
+
# @param vehicle_id [String] ID of the transit vehicle currently serving the trip.
|
562
|
+
|
563
|
+
# @see OnebusawaySDK::Models::ArrivalAndDepartureListResponse::Data::Entry::ArrivalsAndDeparture::TripStatus#last_known_location
|
564
|
+
class LastKnownLocation < OnebusawaySDK::Internal::Type::BaseModel
|
565
|
+
# @!attribute lat
|
700
566
|
# Latitude of the last known location of the transit vehicle.
|
701
567
|
#
|
702
568
|
# @return [Float, nil]
|
703
569
|
optional :lat, Float
|
704
570
|
|
705
|
-
# @!
|
706
|
-
# # @return [Float]
|
707
|
-
# attr_writer :lat
|
708
|
-
|
709
|
-
# @!attribute [r] lon
|
571
|
+
# @!attribute lon
|
710
572
|
# Longitude of the last known location of the transit vehicle.
|
711
573
|
#
|
712
574
|
# @return [Float, nil]
|
713
575
|
optional :lon, Float
|
714
576
|
|
715
|
-
# @!
|
716
|
-
#
|
717
|
-
#
|
718
|
-
|
719
|
-
#
|
720
|
-
#
|
721
|
-
# #
|
722
|
-
# # @param lat [Float]
|
723
|
-
# # @param lon [Float]
|
724
|
-
# #
|
725
|
-
# def initialize(lat: nil, lon: nil, **) = super
|
726
|
-
|
727
|
-
# def initialize: (Hash | OnebusawaySDK::BaseModel) -> void
|
577
|
+
# @!method initialize(lat: nil, lon: nil)
|
578
|
+
# Last known location of the transit vehicle.
|
579
|
+
#
|
580
|
+
# @param lat [Float] Latitude of the last known location of the transit vehicle.
|
581
|
+
#
|
582
|
+
# @param lon [Float] Longitude of the last known location of the transit vehicle.
|
728
583
|
end
|
729
584
|
|
730
|
-
|
731
|
-
|
585
|
+
# @see OnebusawaySDK::Models::ArrivalAndDepartureListResponse::Data::Entry::ArrivalsAndDeparture::TripStatus#position
|
586
|
+
class Position < OnebusawaySDK::Internal::Type::BaseModel
|
587
|
+
# @!attribute lat
|
732
588
|
# Latitude of the current position of the transit vehicle.
|
733
589
|
#
|
734
590
|
# @return [Float, nil]
|
735
591
|
optional :lat, Float
|
736
592
|
|
737
|
-
# @!
|
738
|
-
# # @return [Float]
|
739
|
-
# attr_writer :lat
|
740
|
-
|
741
|
-
# @!attribute [r] lon
|
593
|
+
# @!attribute lon
|
742
594
|
# Longitude of the current position of the transit vehicle.
|
743
595
|
#
|
744
596
|
# @return [Float, nil]
|
745
597
|
optional :lon, Float
|
746
598
|
|
747
|
-
# @!
|
748
|
-
#
|
749
|
-
#
|
750
|
-
|
751
|
-
#
|
752
|
-
#
|
753
|
-
# #
|
754
|
-
# # @param lat [Float]
|
755
|
-
# # @param lon [Float]
|
756
|
-
# #
|
757
|
-
# def initialize(lat: nil, lon: nil, **) = super
|
758
|
-
|
759
|
-
# def initialize: (Hash | OnebusawaySDK::BaseModel) -> void
|
599
|
+
# @!method initialize(lat: nil, lon: nil)
|
600
|
+
# Current position of the transit vehicle.
|
601
|
+
#
|
602
|
+
# @param lat [Float] Latitude of the current position of the transit vehicle.
|
603
|
+
#
|
604
|
+
# @param lon [Float] Longitude of the current position of the transit vehicle.
|
760
605
|
end
|
761
606
|
end
|
762
607
|
end
|