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