onebusaway-sdk 0.1.0.pre.alpha.203
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 +7 -0
- data/README.md +124 -0
- data/lib/onebusaway-sdk/base_client.rb +483 -0
- data/lib/onebusaway-sdk/base_model.rb +1188 -0
- data/lib/onebusaway-sdk/base_page.rb +40 -0
- data/lib/onebusaway-sdk/client.rb +181 -0
- data/lib/onebusaway-sdk/errors.rb +187 -0
- data/lib/onebusaway-sdk/extern.rb +10 -0
- data/lib/onebusaway-sdk/models/agencies_with_coverage_list_params.rb +18 -0
- data/lib/onebusaway-sdk/models/agencies_with_coverage_list_response.rb +84 -0
- data/lib/onebusaway-sdk/models/agency_retrieve_params.rb +18 -0
- data/lib/onebusaway-sdk/models/agency_retrieve_response.rb +151 -0
- data/lib/onebusaway-sdk/models/arrival_and_departure_list_params.rb +51 -0
- data/lib/onebusaway-sdk/models/arrival_and_departure_list_response.rb +767 -0
- data/lib/onebusaway-sdk/models/arrival_and_departure_retrieve_params.rb +60 -0
- data/lib/onebusaway-sdk/models/arrival_and_departure_retrieve_response.rb +751 -0
- data/lib/onebusaway-sdk/models/block_retrieve_params.rb +18 -0
- data/lib/onebusaway-sdk/models/block_retrieve_response.rb +205 -0
- data/lib/onebusaway-sdk/models/config_retrieve_params.rb +18 -0
- data/lib/onebusaway-sdk/models/config_retrieve_response.rb +331 -0
- data/lib/onebusaway-sdk/models/current_time_retrieve_params.rb +18 -0
- data/lib/onebusaway-sdk/models/current_time_retrieve_response.rb +67 -0
- data/lib/onebusaway-sdk/models/references.rb +1071 -0
- data/lib/onebusaway-sdk/models/report_problem_with_stop_retrieve_params.rb +117 -0
- data/lib/onebusaway-sdk/models/report_problem_with_trip_retrieve_params.rb +180 -0
- data/lib/onebusaway-sdk/models/response_wrapper.rb +37 -0
- data/lib/onebusaway-sdk/models/route_ids_for_agency_list_params.rb +18 -0
- data/lib/onebusaway-sdk/models/route_ids_for_agency_list_response.rb +45 -0
- data/lib/onebusaway-sdk/models/route_retrieve_params.rb +18 -0
- data/lib/onebusaway-sdk/models/route_retrieve_response.rb +149 -0
- data/lib/onebusaway-sdk/models/routes_for_agency_list_params.rb +18 -0
- data/lib/onebusaway-sdk/models/routes_for_agency_list_response.rb +156 -0
- data/lib/onebusaway-sdk/models/routes_for_location_list_params.rb +70 -0
- data/lib/onebusaway-sdk/models/routes_for_location_list_response.rb +162 -0
- data/lib/onebusaway-sdk/models/schedule_for_route_retrieve_params.rb +30 -0
- data/lib/onebusaway-sdk/models/schedule_for_route_retrieve_response.rb +453 -0
- data/lib/onebusaway-sdk/models/schedule_for_stop_retrieve_params.rb +30 -0
- data/lib/onebusaway-sdk/models/schedule_for_stop_retrieve_response.rb +244 -0
- data/lib/onebusaway-sdk/models/search_for_route_list_params.rb +36 -0
- data/lib/onebusaway-sdk/models/search_for_route_list_response.rb +166 -0
- data/lib/onebusaway-sdk/models/search_for_stop_list_params.rb +36 -0
- data/lib/onebusaway-sdk/models/search_for_stop_list_response.rb +161 -0
- data/lib/onebusaway-sdk/models/shape_retrieve_params.rb +18 -0
- data/lib/onebusaway-sdk/models/shape_retrieve_response.rb +70 -0
- data/lib/onebusaway-sdk/models/stop_ids_for_agency_list_params.rb +18 -0
- data/lib/onebusaway-sdk/models/stop_ids_for_agency_list_response.rb +45 -0
- data/lib/onebusaway-sdk/models/stop_retrieve_params.rb +18 -0
- data/lib/onebusaway-sdk/models/stop_retrieve_response.rb +144 -0
- data/lib/onebusaway-sdk/models/stops_for_agency_list_params.rb +18 -0
- data/lib/onebusaway-sdk/models/stops_for_agency_list_response.rb +146 -0
- data/lib/onebusaway-sdk/models/stops_for_location_list_params.rb +74 -0
- data/lib/onebusaway-sdk/models/stops_for_location_list_response.rb +161 -0
- data/lib/onebusaway-sdk/models/stops_for_route_list_params.rb +40 -0
- data/lib/onebusaway-sdk/models/stops_for_route_list_response.rb +253 -0
- data/lib/onebusaway-sdk/models/trip_detail_retrieve_params.rb +86 -0
- data/lib/onebusaway-sdk/models/trip_detail_retrieve_response.rb +561 -0
- data/lib/onebusaway-sdk/models/trip_for_vehicle_retrieve_params.rb +65 -0
- data/lib/onebusaway-sdk/models/trip_for_vehicle_retrieve_response.rb +561 -0
- data/lib/onebusaway-sdk/models/trip_retrieve_params.rb +18 -0
- data/lib/onebusaway-sdk/models/trip_retrieve_response.rb +160 -0
- data/lib/onebusaway-sdk/models/trips_for_location_list_params.rb +93 -0
- data/lib/onebusaway-sdk/models/trips_for_location_list_response.rb +572 -0
- data/lib/onebusaway-sdk/models/trips_for_route_list_params.rb +52 -0
- data/lib/onebusaway-sdk/models/trips_for_route_list_response.rb +559 -0
- data/lib/onebusaway-sdk/models/vehicles_for_agency_list_params.rb +29 -0
- data/lib/onebusaway-sdk/models/vehicles_for_agency_list_response.rb +529 -0
- data/lib/onebusaway-sdk/pooled_net_requester.rb +170 -0
- data/lib/onebusaway-sdk/request_options.rb +115 -0
- data/lib/onebusaway-sdk/resources/agencies_with_coverage.rb +31 -0
- data/lib/onebusaway-sdk/resources/agency.rb +32 -0
- data/lib/onebusaway-sdk/resources/arrival_and_departure.rb +71 -0
- data/lib/onebusaway-sdk/resources/block.rb +32 -0
- data/lib/onebusaway-sdk/resources/config.rb +30 -0
- data/lib/onebusaway-sdk/resources/current_time.rb +30 -0
- data/lib/onebusaway-sdk/resources/report_problem_with_stop.rb +44 -0
- data/lib/onebusaway-sdk/resources/report_problem_with_trip.rb +54 -0
- data/lib/onebusaway-sdk/resources/route.rb +32 -0
- data/lib/onebusaway-sdk/resources/route_ids_for_agency.rb +32 -0
- data/lib/onebusaway-sdk/resources/routes_for_agency.rb +32 -0
- data/lib/onebusaway-sdk/resources/routes_for_location.rb +44 -0
- data/lib/onebusaway-sdk/resources/schedule_for_route.rb +37 -0
- data/lib/onebusaway-sdk/resources/schedule_for_stop.rb +37 -0
- data/lib/onebusaway-sdk/resources/search_for_route.rb +36 -0
- data/lib/onebusaway-sdk/resources/search_for_stop.rb +36 -0
- data/lib/onebusaway-sdk/resources/shape.rb +32 -0
- data/lib/onebusaway-sdk/resources/stop.rb +32 -0
- data/lib/onebusaway-sdk/resources/stop_ids_for_agency.rb +32 -0
- data/lib/onebusaway-sdk/resources/stops_for_agency.rb +32 -0
- data/lib/onebusaway-sdk/resources/stops_for_location.rb +44 -0
- data/lib/onebusaway-sdk/resources/stops_for_route.rb +38 -0
- data/lib/onebusaway-sdk/resources/trip.rb +32 -0
- data/lib/onebusaway-sdk/resources/trip_details.rb +47 -0
- data/lib/onebusaway-sdk/resources/trip_for_vehicle.rb +45 -0
- data/lib/onebusaway-sdk/resources/trips_for_location.rb +48 -0
- data/lib/onebusaway-sdk/resources/trips_for_route.rb +41 -0
- data/lib/onebusaway-sdk/resources/vehicles_for_agency.rb +36 -0
- data/lib/onebusaway-sdk/util.rb +512 -0
- data/lib/onebusaway-sdk/version.rb +5 -0
- data/lib/onebusaway-sdk.rb +116 -0
- data/manifest.yaml +13 -0
- data/rbi/lib/onebusaway-sdk/base_client.rbi +162 -0
- data/rbi/lib/onebusaway-sdk/base_model.rbi +478 -0
- data/rbi/lib/onebusaway-sdk/base_page.rbi +39 -0
- data/rbi/lib/onebusaway-sdk/client.rbi +154 -0
- data/rbi/lib/onebusaway-sdk/errors.rbi +145 -0
- data/rbi/lib/onebusaway-sdk/extern.rbi +7 -0
- data/rbi/lib/onebusaway-sdk/models/agencies_with_coverage_list_params.rbi +18 -0
- data/rbi/lib/onebusaway-sdk/models/agencies_with_coverage_list_response.rbi +131 -0
- data/rbi/lib/onebusaway-sdk/models/agency_retrieve_params.rbi +18 -0
- data/rbi/lib/onebusaway-sdk/models/agency_retrieve_response.rbi +210 -0
- data/rbi/lib/onebusaway-sdk/models/arrival_and_departure_list_params.rbi +60 -0
- data/rbi/lib/onebusaway-sdk/models/arrival_and_departure_list_response.rbi +914 -0
- data/rbi/lib/onebusaway-sdk/models/arrival_and_departure_retrieve_params.rbi +87 -0
- data/rbi/lib/onebusaway-sdk/models/arrival_and_departure_retrieve_response.rbi +857 -0
- data/rbi/lib/onebusaway-sdk/models/block_retrieve_params.rbi +18 -0
- data/rbi/lib/onebusaway-sdk/models/block_retrieve_response.rbi +383 -0
- data/rbi/lib/onebusaway-sdk/models/config_retrieve_params.rbi +18 -0
- data/rbi/lib/onebusaway-sdk/models/config_retrieve_response.rbi +389 -0
- data/rbi/lib/onebusaway-sdk/models/current_time_retrieve_params.rbi +18 -0
- data/rbi/lib/onebusaway-sdk/models/current_time_retrieve_response.rbi +95 -0
- data/rbi/lib/onebusaway-sdk/models/references.rbi +1265 -0
- data/rbi/lib/onebusaway-sdk/models/report_problem_with_stop_retrieve_params.rbi +101 -0
- data/rbi/lib/onebusaway-sdk/models/report_problem_with_trip_retrieve_params.rbi +157 -0
- data/rbi/lib/onebusaway-sdk/models/response_wrapper.rbi +47 -0
- data/rbi/lib/onebusaway-sdk/models/route_ids_for_agency_list_params.rbi +18 -0
- data/rbi/lib/onebusaway-sdk/models/route_ids_for_agency_list_response.rbi +68 -0
- data/rbi/lib/onebusaway-sdk/models/route_retrieve_params.rbi +18 -0
- data/rbi/lib/onebusaway-sdk/models/route_retrieve_response.rbi +200 -0
- data/rbi/lib/onebusaway-sdk/models/routes_for_agency_list_params.rbi +18 -0
- data/rbi/lib/onebusaway-sdk/models/routes_for_agency_list_response.rbi +210 -0
- data/rbi/lib/onebusaway-sdk/models/routes_for_location_list_params.rbi +90 -0
- data/rbi/lib/onebusaway-sdk/models/routes_for_location_list_response.rbi +220 -0
- data/rbi/lib/onebusaway-sdk/models/schedule_for_route_retrieve_params.rbi +34 -0
- data/rbi/lib/onebusaway-sdk/models/schedule_for_route_retrieve_response.rbi +675 -0
- data/rbi/lib/onebusaway-sdk/models/schedule_for_stop_retrieve_params.rbi +34 -0
- data/rbi/lib/onebusaway-sdk/models/schedule_for_stop_retrieve_response.rbi +457 -0
- data/rbi/lib/onebusaway-sdk/models/search_for_route_list_params.rbi +43 -0
- data/rbi/lib/onebusaway-sdk/models/search_for_route_list_response.rbi +220 -0
- data/rbi/lib/onebusaway-sdk/models/search_for_stop_list_params.rbi +43 -0
- data/rbi/lib/onebusaway-sdk/models/search_for_stop_list_response.rbi +231 -0
- data/rbi/lib/onebusaway-sdk/models/shape_retrieve_params.rbi +18 -0
- data/rbi/lib/onebusaway-sdk/models/shape_retrieve_response.rbi +103 -0
- data/rbi/lib/onebusaway-sdk/models/stop_ids_for_agency_list_params.rbi +18 -0
- data/rbi/lib/onebusaway-sdk/models/stop_ids_for_agency_list_response.rbi +68 -0
- data/rbi/lib/onebusaway-sdk/models/stop_retrieve_params.rbi +18 -0
- data/rbi/lib/onebusaway-sdk/models/stop_retrieve_response.rbi +211 -0
- data/rbi/lib/onebusaway-sdk/models/stops_for_agency_list_params.rbi +18 -0
- data/rbi/lib/onebusaway-sdk/models/stops_for_agency_list_response.rbi +210 -0
- data/rbi/lib/onebusaway-sdk/models/stops_for_location_list_params.rbi +90 -0
- data/rbi/lib/onebusaway-sdk/models/stops_for_location_list_response.rbi +231 -0
- data/rbi/lib/onebusaway-sdk/models/stops_for_route_list_params.rbi +48 -0
- data/rbi/lib/onebusaway-sdk/models/stops_for_route_list_response.rbi +307 -0
- data/rbi/lib/onebusaway-sdk/models/trip_detail_retrieve_params.rbi +87 -0
- data/rbi/lib/onebusaway-sdk/models/trip_detail_retrieve_response.rbi +702 -0
- data/rbi/lib/onebusaway-sdk/models/trip_for_vehicle_retrieve_params.rbi +76 -0
- data/rbi/lib/onebusaway-sdk/models/trip_for_vehicle_retrieve_response.rbi +704 -0
- data/rbi/lib/onebusaway-sdk/models/trip_retrieve_params.rbi +18 -0
- data/rbi/lib/onebusaway-sdk/models/trip_retrieve_response.rbi +211 -0
- data/rbi/lib/onebusaway-sdk/models/trips_for_location_list_params.rbi +109 -0
- data/rbi/lib/onebusaway-sdk/models/trips_for_location_list_response.rbi +715 -0
- data/rbi/lib/onebusaway-sdk/models/trips_for_route_list_params.rbi +60 -0
- data/rbi/lib/onebusaway-sdk/models/trips_for_route_list_response.rbi +705 -0
- data/rbi/lib/onebusaway-sdk/models/vehicles_for_agency_list_params.rbi +35 -0
- data/rbi/lib/onebusaway-sdk/models/vehicles_for_agency_list_response.rbi +633 -0
- data/rbi/lib/onebusaway-sdk/pooled_net_requester.rbi +36 -0
- data/rbi/lib/onebusaway-sdk/request_options.rbi +84 -0
- data/rbi/lib/onebusaway-sdk/resources/agencies_with_coverage.rbi +18 -0
- data/rbi/lib/onebusaway-sdk/resources/agency.rbi +21 -0
- data/rbi/lib/onebusaway-sdk/resources/arrival_and_departure.rbi +47 -0
- data/rbi/lib/onebusaway-sdk/resources/block.rbi +21 -0
- data/rbi/lib/onebusaway-sdk/resources/config.rbi +18 -0
- data/rbi/lib/onebusaway-sdk/resources/current_time.rbi +18 -0
- data/rbi/lib/onebusaway-sdk/resources/report_problem_with_stop.rbi +34 -0
- data/rbi/lib/onebusaway-sdk/resources/report_problem_with_trip.rbi +44 -0
- data/rbi/lib/onebusaway-sdk/resources/route.rbi +21 -0
- data/rbi/lib/onebusaway-sdk/resources/route_ids_for_agency.rbi +21 -0
- data/rbi/lib/onebusaway-sdk/resources/routes_for_agency.rbi +21 -0
- data/rbi/lib/onebusaway-sdk/resources/routes_for_location.rbi +26 -0
- data/rbi/lib/onebusaway-sdk/resources/schedule_for_route.rbi +22 -0
- data/rbi/lib/onebusaway-sdk/resources/schedule_for_stop.rbi +22 -0
- data/rbi/lib/onebusaway-sdk/resources/search_for_route.rbi +22 -0
- data/rbi/lib/onebusaway-sdk/resources/search_for_stop.rbi +22 -0
- data/rbi/lib/onebusaway-sdk/resources/shape.rbi +21 -0
- data/rbi/lib/onebusaway-sdk/resources/stop.rbi +21 -0
- data/rbi/lib/onebusaway-sdk/resources/stop_ids_for_agency.rbi +21 -0
- data/rbi/lib/onebusaway-sdk/resources/stops_for_agency.rbi +21 -0
- data/rbi/lib/onebusaway-sdk/resources/stops_for_location.rbi +26 -0
- data/rbi/lib/onebusaway-sdk/resources/stops_for_route.rbi +23 -0
- data/rbi/lib/onebusaway-sdk/resources/trip.rbi +21 -0
- data/rbi/lib/onebusaway-sdk/resources/trip_details.rbi +34 -0
- data/rbi/lib/onebusaway-sdk/resources/trip_for_vehicle.rbi +32 -0
- data/rbi/lib/onebusaway-sdk/resources/trips_for_location.rbi +36 -0
- data/rbi/lib/onebusaway-sdk/resources/trips_for_route.rbi +24 -0
- data/rbi/lib/onebusaway-sdk/resources/vehicles_for_agency.rbi +22 -0
- data/rbi/lib/onebusaway-sdk/util.rbi +136 -0
- data/rbi/lib/onebusaway-sdk/version.rbi +5 -0
- data/sig/onebusaway-sdk/base_client.rbs +101 -0
- data/sig/onebusaway-sdk/base_model.rbs +244 -0
- data/sig/onebusaway-sdk/base_page.rbs +20 -0
- data/sig/onebusaway-sdk/client.rbs +80 -0
- data/sig/onebusaway-sdk/errors.rbs +98 -0
- data/sig/onebusaway-sdk/extern.rbs +4 -0
- data/sig/onebusaway-sdk/models/agencies_with_coverage_list_params.rbs +20 -0
- data/sig/onebusaway-sdk/models/agencies_with_coverage_list_response.rbs +85 -0
- data/sig/onebusaway-sdk/models/agency_retrieve_params.rbs +19 -0
- data/sig/onebusaway-sdk/models/agency_retrieve_response.rbs +115 -0
- data/sig/onebusaway-sdk/models/arrival_and_departure_list_params.rbs +38 -0
- data/sig/onebusaway-sdk/models/arrival_and_departure_list_response.rbs +447 -0
- data/sig/onebusaway-sdk/models/arrival_and_departure_retrieve_params.rbs +50 -0
- data/sig/onebusaway-sdk/models/arrival_and_departure_retrieve_response.rbs +427 -0
- data/sig/onebusaway-sdk/models/block_retrieve_params.rbs +19 -0
- data/sig/onebusaway-sdk/models/block_retrieve_response.rbs +201 -0
- data/sig/onebusaway-sdk/models/config_retrieve_params.rbs +19 -0
- data/sig/onebusaway-sdk/models/config_retrieve_response.rbs +227 -0
- data/sig/onebusaway-sdk/models/current_time_retrieve_params.rbs +19 -0
- data/sig/onebusaway-sdk/models/current_time_retrieve_response.rbs +64 -0
- data/sig/onebusaway-sdk/models/references.rbs +732 -0
- data/sig/onebusaway-sdk/models/report_problem_with_stop_retrieve_params.rbs +73 -0
- data/sig/onebusaway-sdk/models/report_problem_with_trip_retrieve_params.rbs +105 -0
- data/sig/onebusaway-sdk/models/response_wrapper.rbs +30 -0
- data/sig/onebusaway-sdk/models/route_ids_for_agency_list_params.rbs +20 -0
- data/sig/onebusaway-sdk/models/route_ids_for_agency_list_response.rbs +49 -0
- data/sig/onebusaway-sdk/models/route_retrieve_params.rbs +19 -0
- data/sig/onebusaway-sdk/models/route_retrieve_response.rbs +113 -0
- data/sig/onebusaway-sdk/models/routes_for_agency_list_params.rbs +20 -0
- data/sig/onebusaway-sdk/models/routes_for_agency_list_response.rbs +117 -0
- data/sig/onebusaway-sdk/models/routes_for_location_list_params.rbs +56 -0
- data/sig/onebusaway-sdk/models/routes_for_location_list_response.rbs +123 -0
- data/sig/onebusaway-sdk/models/schedule_for_route_retrieve_params.rbs +24 -0
- data/sig/onebusaway-sdk/models/schedule_for_route_retrieve_response.rbs +341 -0
- data/sig/onebusaway-sdk/models/schedule_for_stop_retrieve_params.rbs +24 -0
- data/sig/onebusaway-sdk/models/schedule_for_stop_retrieve_response.rbs +215 -0
- data/sig/onebusaway-sdk/models/search_for_route_list_params.rbs +30 -0
- data/sig/onebusaway-sdk/models/search_for_route_list_response.rbs +125 -0
- data/sig/onebusaway-sdk/models/search_for_stop_list_params.rbs +30 -0
- data/sig/onebusaway-sdk/models/search_for_stop_list_response.rbs +123 -0
- data/sig/onebusaway-sdk/models/shape_retrieve_params.rbs +19 -0
- data/sig/onebusaway-sdk/models/shape_retrieve_response.rbs +64 -0
- data/sig/onebusaway-sdk/models/stop_ids_for_agency_list_params.rbs +20 -0
- data/sig/onebusaway-sdk/models/stop_ids_for_agency_list_response.rbs +49 -0
- data/sig/onebusaway-sdk/models/stop_retrieve_params.rbs +19 -0
- data/sig/onebusaway-sdk/models/stop_retrieve_response.rbs +111 -0
- data/sig/onebusaway-sdk/models/stops_for_agency_list_params.rbs +19 -0
- data/sig/onebusaway-sdk/models/stops_for_agency_list_response.rbs +105 -0
- data/sig/onebusaway-sdk/models/stops_for_location_list_params.rbs +56 -0
- data/sig/onebusaway-sdk/models/stops_for_location_list_response.rbs +123 -0
- data/sig/onebusaway-sdk/models/stops_for_route_list_params.rbs +33 -0
- data/sig/onebusaway-sdk/models/stops_for_route_list_response.rbs +206 -0
- data/sig/onebusaway-sdk/models/trip_detail_retrieve_params.rbs +54 -0
- data/sig/onebusaway-sdk/models/trip_detail_retrieve_response.rbs +375 -0
- data/sig/onebusaway-sdk/models/trip_for_vehicle_retrieve_params.rbs +48 -0
- data/sig/onebusaway-sdk/models/trip_for_vehicle_retrieve_response.rbs +377 -0
- data/sig/onebusaway-sdk/models/trip_retrieve_params.rbs +19 -0
- data/sig/onebusaway-sdk/models/trip_retrieve_response.rbs +119 -0
- data/sig/onebusaway-sdk/models/trips_for_location_list_params.rbs +58 -0
- data/sig/onebusaway-sdk/models/trips_for_location_list_response.rbs +379 -0
- data/sig/onebusaway-sdk/models/trips_for_route_list_params.rbs +38 -0
- data/sig/onebusaway-sdk/models/trips_for_route_list_response.rbs +371 -0
- data/sig/onebusaway-sdk/models/vehicles_for_agency_list_params.rbs +24 -0
- data/sig/onebusaway-sdk/models/vehicles_for_agency_list_response.rbs +332 -0
- data/sig/onebusaway-sdk/pooled_net_requester.rbs +28 -0
- data/sig/onebusaway-sdk/request_options.rbs +42 -0
- data/sig/onebusaway-sdk/resources/agencies_with_coverage.rbs +16 -0
- data/sig/onebusaway-sdk/resources/agency.rbs +18 -0
- data/sig/onebusaway-sdk/resources/arrival_and_departure.rbs +37 -0
- data/sig/onebusaway-sdk/resources/block.rbs +18 -0
- data/sig/onebusaway-sdk/resources/config.rbs +16 -0
- data/sig/onebusaway-sdk/resources/current_time.rbs +16 -0
- data/sig/onebusaway-sdk/resources/report_problem_with_stop.rbs +23 -0
- data/sig/onebusaway-sdk/resources/report_problem_with_trip.rbs +28 -0
- data/sig/onebusaway-sdk/resources/route.rbs +18 -0
- data/sig/onebusaway-sdk/resources/route_ids_for_agency.rbs +18 -0
- data/sig/onebusaway-sdk/resources/routes_for_agency.rbs +18 -0
- data/sig/onebusaway-sdk/resources/routes_for_location.rbs +22 -0
- data/sig/onebusaway-sdk/resources/schedule_for_route.rbs +19 -0
- data/sig/onebusaway-sdk/resources/schedule_for_stop.rbs +19 -0
- data/sig/onebusaway-sdk/resources/search_for_route.rbs +18 -0
- data/sig/onebusaway-sdk/resources/search_for_stop.rbs +18 -0
- data/sig/onebusaway-sdk/resources/shape.rbs +18 -0
- data/sig/onebusaway-sdk/resources/stop.rbs +18 -0
- data/sig/onebusaway-sdk/resources/stop_ids_for_agency.rbs +18 -0
- data/sig/onebusaway-sdk/resources/stops_for_agency.rbs +18 -0
- data/sig/onebusaway-sdk/resources/stops_for_location.rbs +22 -0
- data/sig/onebusaway-sdk/resources/stops_for_route.rbs +20 -0
- data/sig/onebusaway-sdk/resources/trip.rbs +18 -0
- data/sig/onebusaway-sdk/resources/trip_details.rbs +23 -0
- data/sig/onebusaway-sdk/resources/trip_for_vehicle.rbs +22 -0
- data/sig/onebusaway-sdk/resources/trips_for_location.rbs +23 -0
- data/sig/onebusaway-sdk/resources/trips_for_route.rbs +21 -0
- data/sig/onebusaway-sdk/resources/vehicles_for_agency.rbs +19 -0
- data/sig/onebusaway-sdk/util.rbs +90 -0
- data/sig/onebusaway-sdk/version.rbs +3 -0
- metadata +350 -0
@@ -0,0 +1,732 @@
|
|
1
|
+
module OnebusawaySDK
|
2
|
+
module Models
|
3
|
+
type references =
|
4
|
+
{
|
5
|
+
agencies: ::Array[OnebusawaySDK::Models::References::Agency],
|
6
|
+
routes: ::Array[OnebusawaySDK::Models::References::Route],
|
7
|
+
situations: ::Array[OnebusawaySDK::Models::References::Situation],
|
8
|
+
stops: ::Array[OnebusawaySDK::Models::References::Stop],
|
9
|
+
stop_times: ::Array[OnebusawaySDK::Models::References::StopTime],
|
10
|
+
trips: ::Array[OnebusawaySDK::Models::References::Trip]
|
11
|
+
}
|
12
|
+
|
13
|
+
class References < OnebusawaySDK::BaseModel
|
14
|
+
attr_accessor agencies: ::Array[OnebusawaySDK::Models::References::Agency]
|
15
|
+
|
16
|
+
attr_accessor routes: ::Array[OnebusawaySDK::Models::References::Route]
|
17
|
+
|
18
|
+
attr_accessor situations: ::Array[OnebusawaySDK::Models::References::Situation]
|
19
|
+
|
20
|
+
attr_accessor stops: ::Array[OnebusawaySDK::Models::References::Stop]
|
21
|
+
|
22
|
+
attr_accessor stop_times: ::Array[OnebusawaySDK::Models::References::StopTime]
|
23
|
+
|
24
|
+
attr_accessor trips: ::Array[OnebusawaySDK::Models::References::Trip]
|
25
|
+
|
26
|
+
def initialize:
|
27
|
+
(
|
28
|
+
agencies: ::Array[OnebusawaySDK::Models::References::Agency],
|
29
|
+
routes: ::Array[OnebusawaySDK::Models::References::Route],
|
30
|
+
situations: ::Array[OnebusawaySDK::Models::References::Situation],
|
31
|
+
stops: ::Array[OnebusawaySDK::Models::References::Stop],
|
32
|
+
stop_times: ::Array[OnebusawaySDK::Models::References::StopTime],
|
33
|
+
trips: ::Array[OnebusawaySDK::Models::References::Trip]
|
34
|
+
) -> void
|
35
|
+
| (
|
36
|
+
?OnebusawaySDK::Models::references | OnebusawaySDK::BaseModel data
|
37
|
+
) -> void
|
38
|
+
|
39
|
+
def to_hash: -> OnebusawaySDK::Models::references
|
40
|
+
|
41
|
+
type agency =
|
42
|
+
{
|
43
|
+
id: String,
|
44
|
+
name: String,
|
45
|
+
timezone: String,
|
46
|
+
url: String,
|
47
|
+
disclaimer: String,
|
48
|
+
email: String,
|
49
|
+
fare_url: String,
|
50
|
+
lang: String,
|
51
|
+
phone: String,
|
52
|
+
private_service: bool
|
53
|
+
}
|
54
|
+
|
55
|
+
class Agency < OnebusawaySDK::BaseModel
|
56
|
+
attr_accessor id: String
|
57
|
+
|
58
|
+
attr_accessor name: String
|
59
|
+
|
60
|
+
attr_accessor timezone: String
|
61
|
+
|
62
|
+
attr_accessor url: String
|
63
|
+
|
64
|
+
attr_reader disclaimer: String?
|
65
|
+
|
66
|
+
def disclaimer=: (String) -> String
|
67
|
+
|
68
|
+
attr_reader email: String?
|
69
|
+
|
70
|
+
def email=: (String) -> String
|
71
|
+
|
72
|
+
attr_reader fare_url: String?
|
73
|
+
|
74
|
+
def fare_url=: (String) -> String
|
75
|
+
|
76
|
+
attr_reader lang: String?
|
77
|
+
|
78
|
+
def lang=: (String) -> String
|
79
|
+
|
80
|
+
attr_reader phone: String?
|
81
|
+
|
82
|
+
def phone=: (String) -> String
|
83
|
+
|
84
|
+
attr_reader private_service: bool?
|
85
|
+
|
86
|
+
def private_service=: (bool) -> bool
|
87
|
+
|
88
|
+
def initialize:
|
89
|
+
(
|
90
|
+
id: String,
|
91
|
+
name: String,
|
92
|
+
timezone: String,
|
93
|
+
url: String,
|
94
|
+
disclaimer: String,
|
95
|
+
email: String,
|
96
|
+
fare_url: String,
|
97
|
+
lang: String,
|
98
|
+
phone: String,
|
99
|
+
private_service: bool
|
100
|
+
) -> void
|
101
|
+
| (
|
102
|
+
?OnebusawaySDK::Models::References::agency
|
103
|
+
| OnebusawaySDK::BaseModel data
|
104
|
+
) -> void
|
105
|
+
|
106
|
+
def to_hash: -> OnebusawaySDK::Models::References::agency
|
107
|
+
end
|
108
|
+
|
109
|
+
type route =
|
110
|
+
{
|
111
|
+
id: String,
|
112
|
+
agency_id: String,
|
113
|
+
type: Integer,
|
114
|
+
color: String,
|
115
|
+
description: String,
|
116
|
+
long_name: String,
|
117
|
+
null_safe_short_name: String,
|
118
|
+
short_name: String,
|
119
|
+
text_color: String,
|
120
|
+
url: String
|
121
|
+
}
|
122
|
+
|
123
|
+
class Route < OnebusawaySDK::BaseModel
|
124
|
+
attr_accessor id: String
|
125
|
+
|
126
|
+
attr_accessor agency_id: String
|
127
|
+
|
128
|
+
attr_accessor type: Integer
|
129
|
+
|
130
|
+
attr_reader color: String?
|
131
|
+
|
132
|
+
def color=: (String) -> String
|
133
|
+
|
134
|
+
attr_reader description: String?
|
135
|
+
|
136
|
+
def description=: (String) -> String
|
137
|
+
|
138
|
+
attr_reader long_name: String?
|
139
|
+
|
140
|
+
def long_name=: (String) -> String
|
141
|
+
|
142
|
+
attr_reader null_safe_short_name: String?
|
143
|
+
|
144
|
+
def null_safe_short_name=: (String) -> String
|
145
|
+
|
146
|
+
attr_reader short_name: String?
|
147
|
+
|
148
|
+
def short_name=: (String) -> String
|
149
|
+
|
150
|
+
attr_reader text_color: String?
|
151
|
+
|
152
|
+
def text_color=: (String) -> String
|
153
|
+
|
154
|
+
attr_reader url: String?
|
155
|
+
|
156
|
+
def url=: (String) -> String
|
157
|
+
|
158
|
+
def initialize:
|
159
|
+
(
|
160
|
+
id: String,
|
161
|
+
agency_id: String,
|
162
|
+
type: Integer,
|
163
|
+
color: String,
|
164
|
+
description: String,
|
165
|
+
long_name: String,
|
166
|
+
null_safe_short_name: String,
|
167
|
+
short_name: String,
|
168
|
+
text_color: String,
|
169
|
+
url: String
|
170
|
+
) -> void
|
171
|
+
| (
|
172
|
+
?OnebusawaySDK::Models::References::route
|
173
|
+
| OnebusawaySDK::BaseModel data
|
174
|
+
) -> void
|
175
|
+
|
176
|
+
def to_hash: -> OnebusawaySDK::Models::References::route
|
177
|
+
end
|
178
|
+
|
179
|
+
type situation =
|
180
|
+
{
|
181
|
+
id: String,
|
182
|
+
creation_time: Integer,
|
183
|
+
active_windows: ::Array[OnebusawaySDK::Models::References::Situation::ActiveWindow],
|
184
|
+
all_affects: ::Array[OnebusawaySDK::Models::References::Situation::AllAffect],
|
185
|
+
consequence_message: String,
|
186
|
+
consequences: ::Array[OnebusawaySDK::Models::References::Situation::Consequence],
|
187
|
+
description: OnebusawaySDK::Models::References::Situation::Description,
|
188
|
+
publication_windows: ::Array[OnebusawaySDK::Models::References::Situation::PublicationWindow],
|
189
|
+
reason: OnebusawaySDK::Models::References::Situation::reason,
|
190
|
+
severity: String,
|
191
|
+
summary: OnebusawaySDK::Models::References::Situation::Summary,
|
192
|
+
url: OnebusawaySDK::Models::References::Situation::URL
|
193
|
+
}
|
194
|
+
|
195
|
+
class Situation < OnebusawaySDK::BaseModel
|
196
|
+
attr_accessor id: String
|
197
|
+
|
198
|
+
attr_accessor creation_time: Integer
|
199
|
+
|
200
|
+
attr_reader active_windows: ::Array[OnebusawaySDK::Models::References::Situation::ActiveWindow]?
|
201
|
+
|
202
|
+
def active_windows=: (
|
203
|
+
::Array[OnebusawaySDK::Models::References::Situation::ActiveWindow]
|
204
|
+
) -> ::Array[OnebusawaySDK::Models::References::Situation::ActiveWindow]
|
205
|
+
|
206
|
+
attr_reader all_affects: ::Array[OnebusawaySDK::Models::References::Situation::AllAffect]?
|
207
|
+
|
208
|
+
def all_affects=: (
|
209
|
+
::Array[OnebusawaySDK::Models::References::Situation::AllAffect]
|
210
|
+
) -> ::Array[OnebusawaySDK::Models::References::Situation::AllAffect]
|
211
|
+
|
212
|
+
attr_reader consequence_message: String?
|
213
|
+
|
214
|
+
def consequence_message=: (String) -> String
|
215
|
+
|
216
|
+
attr_reader consequences: ::Array[OnebusawaySDK::Models::References::Situation::Consequence]?
|
217
|
+
|
218
|
+
def consequences=: (
|
219
|
+
::Array[OnebusawaySDK::Models::References::Situation::Consequence]
|
220
|
+
) -> ::Array[OnebusawaySDK::Models::References::Situation::Consequence]
|
221
|
+
|
222
|
+
attr_reader description: OnebusawaySDK::Models::References::Situation::Description?
|
223
|
+
|
224
|
+
def description=: (
|
225
|
+
OnebusawaySDK::Models::References::Situation::Description
|
226
|
+
) -> OnebusawaySDK::Models::References::Situation::Description
|
227
|
+
|
228
|
+
attr_reader publication_windows: ::Array[OnebusawaySDK::Models::References::Situation::PublicationWindow]?
|
229
|
+
|
230
|
+
def publication_windows=: (
|
231
|
+
::Array[OnebusawaySDK::Models::References::Situation::PublicationWindow]
|
232
|
+
) -> ::Array[OnebusawaySDK::Models::References::Situation::PublicationWindow]
|
233
|
+
|
234
|
+
attr_reader reason: OnebusawaySDK::Models::References::Situation::reason?
|
235
|
+
|
236
|
+
def reason=: (
|
237
|
+
OnebusawaySDK::Models::References::Situation::reason
|
238
|
+
) -> OnebusawaySDK::Models::References::Situation::reason
|
239
|
+
|
240
|
+
attr_reader severity: String?
|
241
|
+
|
242
|
+
def severity=: (String) -> String
|
243
|
+
|
244
|
+
attr_reader summary: OnebusawaySDK::Models::References::Situation::Summary?
|
245
|
+
|
246
|
+
def summary=: (
|
247
|
+
OnebusawaySDK::Models::References::Situation::Summary
|
248
|
+
) -> OnebusawaySDK::Models::References::Situation::Summary
|
249
|
+
|
250
|
+
attr_reader url: OnebusawaySDK::Models::References::Situation::URL?
|
251
|
+
|
252
|
+
def url=: (
|
253
|
+
OnebusawaySDK::Models::References::Situation::URL
|
254
|
+
) -> OnebusawaySDK::Models::References::Situation::URL
|
255
|
+
|
256
|
+
def initialize:
|
257
|
+
(
|
258
|
+
id: String,
|
259
|
+
creation_time: Integer,
|
260
|
+
active_windows: ::Array[OnebusawaySDK::Models::References::Situation::ActiveWindow],
|
261
|
+
all_affects: ::Array[OnebusawaySDK::Models::References::Situation::AllAffect],
|
262
|
+
consequence_message: String,
|
263
|
+
consequences: ::Array[OnebusawaySDK::Models::References::Situation::Consequence],
|
264
|
+
description: OnebusawaySDK::Models::References::Situation::Description,
|
265
|
+
publication_windows: ::Array[OnebusawaySDK::Models::References::Situation::PublicationWindow],
|
266
|
+
reason: OnebusawaySDK::Models::References::Situation::reason,
|
267
|
+
severity: String,
|
268
|
+
summary: OnebusawaySDK::Models::References::Situation::Summary,
|
269
|
+
url: OnebusawaySDK::Models::References::Situation::URL
|
270
|
+
) -> void
|
271
|
+
| (
|
272
|
+
?OnebusawaySDK::Models::References::situation
|
273
|
+
| OnebusawaySDK::BaseModel data
|
274
|
+
) -> void
|
275
|
+
|
276
|
+
def to_hash: -> OnebusawaySDK::Models::References::situation
|
277
|
+
|
278
|
+
type active_window = { from: Integer, to: Integer }
|
279
|
+
|
280
|
+
class ActiveWindow < OnebusawaySDK::BaseModel
|
281
|
+
attr_reader from: Integer?
|
282
|
+
|
283
|
+
def from=: (Integer) -> Integer
|
284
|
+
|
285
|
+
attr_reader to: Integer?
|
286
|
+
|
287
|
+
def to=: (Integer) -> Integer
|
288
|
+
|
289
|
+
def initialize:
|
290
|
+
(from: Integer, to: Integer) -> void
|
291
|
+
| (
|
292
|
+
?OnebusawaySDK::Models::References::Situation::active_window
|
293
|
+
| OnebusawaySDK::BaseModel data
|
294
|
+
) -> void
|
295
|
+
|
296
|
+
def to_hash: -> OnebusawaySDK::Models::References::Situation::active_window
|
297
|
+
end
|
298
|
+
|
299
|
+
type all_affect =
|
300
|
+
{
|
301
|
+
agency_id: String,
|
302
|
+
application_id: String,
|
303
|
+
direction_id: String,
|
304
|
+
route_id: String,
|
305
|
+
stop_id: String,
|
306
|
+
trip_id: String
|
307
|
+
}
|
308
|
+
|
309
|
+
class AllAffect < OnebusawaySDK::BaseModel
|
310
|
+
attr_reader agency_id: String?
|
311
|
+
|
312
|
+
def agency_id=: (String) -> String
|
313
|
+
|
314
|
+
attr_reader application_id: String?
|
315
|
+
|
316
|
+
def application_id=: (String) -> String
|
317
|
+
|
318
|
+
attr_reader direction_id: String?
|
319
|
+
|
320
|
+
def direction_id=: (String) -> String
|
321
|
+
|
322
|
+
attr_reader route_id: String?
|
323
|
+
|
324
|
+
def route_id=: (String) -> String
|
325
|
+
|
326
|
+
attr_reader stop_id: String?
|
327
|
+
|
328
|
+
def stop_id=: (String) -> String
|
329
|
+
|
330
|
+
attr_reader trip_id: String?
|
331
|
+
|
332
|
+
def trip_id=: (String) -> String
|
333
|
+
|
334
|
+
def initialize:
|
335
|
+
(
|
336
|
+
agency_id: String,
|
337
|
+
application_id: String,
|
338
|
+
direction_id: String,
|
339
|
+
route_id: String,
|
340
|
+
stop_id: String,
|
341
|
+
trip_id: String
|
342
|
+
) -> void
|
343
|
+
| (
|
344
|
+
?OnebusawaySDK::Models::References::Situation::all_affect
|
345
|
+
| OnebusawaySDK::BaseModel data
|
346
|
+
) -> void
|
347
|
+
|
348
|
+
def to_hash: -> OnebusawaySDK::Models::References::Situation::all_affect
|
349
|
+
end
|
350
|
+
|
351
|
+
type consequence =
|
352
|
+
{
|
353
|
+
condition: String,
|
354
|
+
condition_details: OnebusawaySDK::Models::References::Situation::Consequence::ConditionDetails
|
355
|
+
}
|
356
|
+
|
357
|
+
class Consequence < OnebusawaySDK::BaseModel
|
358
|
+
attr_reader condition: String?
|
359
|
+
|
360
|
+
def condition=: (String) -> String
|
361
|
+
|
362
|
+
attr_reader condition_details: OnebusawaySDK::Models::References::Situation::Consequence::ConditionDetails?
|
363
|
+
|
364
|
+
def condition_details=: (
|
365
|
+
OnebusawaySDK::Models::References::Situation::Consequence::ConditionDetails
|
366
|
+
) -> OnebusawaySDK::Models::References::Situation::Consequence::ConditionDetails
|
367
|
+
|
368
|
+
def initialize:
|
369
|
+
(
|
370
|
+
condition: String,
|
371
|
+
condition_details: OnebusawaySDK::Models::References::Situation::Consequence::ConditionDetails
|
372
|
+
) -> void
|
373
|
+
| (
|
374
|
+
?OnebusawaySDK::Models::References::Situation::consequence
|
375
|
+
| OnebusawaySDK::BaseModel data
|
376
|
+
) -> void
|
377
|
+
|
378
|
+
def to_hash: -> OnebusawaySDK::Models::References::Situation::consequence
|
379
|
+
|
380
|
+
type condition_details =
|
381
|
+
{
|
382
|
+
diversion_path: OnebusawaySDK::Models::References::Situation::Consequence::ConditionDetails::DiversionPath,
|
383
|
+
diversion_stop_ids: ::Array[String]
|
384
|
+
}
|
385
|
+
|
386
|
+
class ConditionDetails < OnebusawaySDK::BaseModel
|
387
|
+
attr_reader diversion_path: OnebusawaySDK::Models::References::Situation::Consequence::ConditionDetails::DiversionPath?
|
388
|
+
|
389
|
+
def diversion_path=: (
|
390
|
+
OnebusawaySDK::Models::References::Situation::Consequence::ConditionDetails::DiversionPath
|
391
|
+
) -> OnebusawaySDK::Models::References::Situation::Consequence::ConditionDetails::DiversionPath
|
392
|
+
|
393
|
+
attr_reader diversion_stop_ids: ::Array[String]?
|
394
|
+
|
395
|
+
def diversion_stop_ids=: (::Array[String]) -> ::Array[String]
|
396
|
+
|
397
|
+
def initialize:
|
398
|
+
(
|
399
|
+
diversion_path: OnebusawaySDK::Models::References::Situation::Consequence::ConditionDetails::DiversionPath,
|
400
|
+
diversion_stop_ids: ::Array[String]
|
401
|
+
) -> void
|
402
|
+
| (
|
403
|
+
?OnebusawaySDK::Models::References::Situation::Consequence::condition_details
|
404
|
+
| OnebusawaySDK::BaseModel data
|
405
|
+
) -> void
|
406
|
+
|
407
|
+
def to_hash: -> OnebusawaySDK::Models::References::Situation::Consequence::condition_details
|
408
|
+
|
409
|
+
type diversion_path =
|
410
|
+
{ length: Integer, levels: String, points: String }
|
411
|
+
|
412
|
+
class DiversionPath < OnebusawaySDK::BaseModel
|
413
|
+
attr_reader length: Integer?
|
414
|
+
|
415
|
+
def length=: (Integer) -> Integer
|
416
|
+
|
417
|
+
attr_reader levels: String?
|
418
|
+
|
419
|
+
def levels=: (String) -> String
|
420
|
+
|
421
|
+
attr_reader points: String?
|
422
|
+
|
423
|
+
def points=: (String) -> String
|
424
|
+
|
425
|
+
def initialize:
|
426
|
+
(length: Integer, levels: String, points: String) -> void
|
427
|
+
| (
|
428
|
+
?OnebusawaySDK::Models::References::Situation::Consequence::ConditionDetails::diversion_path
|
429
|
+
| OnebusawaySDK::BaseModel data
|
430
|
+
) -> void
|
431
|
+
|
432
|
+
def to_hash: -> OnebusawaySDK::Models::References::Situation::Consequence::ConditionDetails::diversion_path
|
433
|
+
end
|
434
|
+
end
|
435
|
+
end
|
436
|
+
|
437
|
+
type description = { lang: String, value: String }
|
438
|
+
|
439
|
+
class Description < OnebusawaySDK::BaseModel
|
440
|
+
attr_reader lang: String?
|
441
|
+
|
442
|
+
def lang=: (String) -> String
|
443
|
+
|
444
|
+
attr_reader value: String?
|
445
|
+
|
446
|
+
def value=: (String) -> String
|
447
|
+
|
448
|
+
def initialize:
|
449
|
+
(lang: String, value: String) -> void
|
450
|
+
| (
|
451
|
+
?OnebusawaySDK::Models::References::Situation::description
|
452
|
+
| OnebusawaySDK::BaseModel data
|
453
|
+
) -> void
|
454
|
+
|
455
|
+
def to_hash: -> OnebusawaySDK::Models::References::Situation::description
|
456
|
+
end
|
457
|
+
|
458
|
+
type publication_window = { from: Integer, to: Integer }
|
459
|
+
|
460
|
+
class PublicationWindow < OnebusawaySDK::BaseModel
|
461
|
+
attr_accessor from: Integer
|
462
|
+
|
463
|
+
attr_accessor to: Integer
|
464
|
+
|
465
|
+
def initialize:
|
466
|
+
(from: Integer, to: Integer) -> void
|
467
|
+
| (
|
468
|
+
?OnebusawaySDK::Models::References::Situation::publication_window
|
469
|
+
| OnebusawaySDK::BaseModel data
|
470
|
+
) -> void
|
471
|
+
|
472
|
+
def to_hash: -> OnebusawaySDK::Models::References::Situation::publication_window
|
473
|
+
end
|
474
|
+
|
475
|
+
type reason =
|
476
|
+
:equipmentReason
|
477
|
+
| :environmentReason
|
478
|
+
| :personnelReason
|
479
|
+
| :miscellaneousReason
|
480
|
+
| :securityAlert
|
481
|
+
|
482
|
+
class Reason < OnebusawaySDK::Enum
|
483
|
+
EQUIPMENT_REASON: :equipmentReason
|
484
|
+
ENVIRONMENT_REASON: :environmentReason
|
485
|
+
PERSONNEL_REASON: :personnelReason
|
486
|
+
MISCELLANEOUS_REASON: :miscellaneousReason
|
487
|
+
SECURITY_ALERT: :securityAlert
|
488
|
+
|
489
|
+
def self.values: -> ::Array[OnebusawaySDK::Models::References::Situation::reason]
|
490
|
+
end
|
491
|
+
|
492
|
+
type summary = { lang: String, value: String }
|
493
|
+
|
494
|
+
class Summary < OnebusawaySDK::BaseModel
|
495
|
+
attr_reader lang: String?
|
496
|
+
|
497
|
+
def lang=: (String) -> String
|
498
|
+
|
499
|
+
attr_reader value: String?
|
500
|
+
|
501
|
+
def value=: (String) -> String
|
502
|
+
|
503
|
+
def initialize:
|
504
|
+
(lang: String, value: String) -> void
|
505
|
+
| (
|
506
|
+
?OnebusawaySDK::Models::References::Situation::summary
|
507
|
+
| OnebusawaySDK::BaseModel data
|
508
|
+
) -> void
|
509
|
+
|
510
|
+
def to_hash: -> OnebusawaySDK::Models::References::Situation::summary
|
511
|
+
end
|
512
|
+
|
513
|
+
type url = { lang: String, value: String }
|
514
|
+
|
515
|
+
class URL < OnebusawaySDK::BaseModel
|
516
|
+
attr_reader lang: String?
|
517
|
+
|
518
|
+
def lang=: (String) -> String
|
519
|
+
|
520
|
+
attr_reader value: String?
|
521
|
+
|
522
|
+
def value=: (String) -> String
|
523
|
+
|
524
|
+
def initialize:
|
525
|
+
(lang: String, value: String) -> void
|
526
|
+
| (
|
527
|
+
?OnebusawaySDK::Models::References::Situation::url
|
528
|
+
| OnebusawaySDK::BaseModel data
|
529
|
+
) -> void
|
530
|
+
|
531
|
+
def to_hash: -> OnebusawaySDK::Models::References::Situation::url
|
532
|
+
end
|
533
|
+
end
|
534
|
+
|
535
|
+
type stop =
|
536
|
+
{
|
537
|
+
id: String,
|
538
|
+
lat: Float,
|
539
|
+
lon: Float,
|
540
|
+
name: String,
|
541
|
+
parent: String,
|
542
|
+
route_ids: ::Array[String],
|
543
|
+
static_route_ids: ::Array[String],
|
544
|
+
code: String,
|
545
|
+
direction: String,
|
546
|
+
location_type: Integer,
|
547
|
+
wheelchair_boarding: String
|
548
|
+
}
|
549
|
+
|
550
|
+
class Stop < OnebusawaySDK::BaseModel
|
551
|
+
attr_accessor id: String
|
552
|
+
|
553
|
+
attr_accessor lat: Float
|
554
|
+
|
555
|
+
attr_accessor lon: Float
|
556
|
+
|
557
|
+
attr_accessor name: String
|
558
|
+
|
559
|
+
attr_accessor parent: String
|
560
|
+
|
561
|
+
attr_accessor route_ids: ::Array[String]
|
562
|
+
|
563
|
+
attr_accessor static_route_ids: ::Array[String]
|
564
|
+
|
565
|
+
attr_reader code: String?
|
566
|
+
|
567
|
+
def code=: (String) -> String
|
568
|
+
|
569
|
+
attr_reader direction: String?
|
570
|
+
|
571
|
+
def direction=: (String) -> String
|
572
|
+
|
573
|
+
attr_reader location_type: Integer?
|
574
|
+
|
575
|
+
def location_type=: (Integer) -> Integer
|
576
|
+
|
577
|
+
attr_reader wheelchair_boarding: String?
|
578
|
+
|
579
|
+
def wheelchair_boarding=: (String) -> String
|
580
|
+
|
581
|
+
def initialize:
|
582
|
+
(
|
583
|
+
id: String,
|
584
|
+
lat: Float,
|
585
|
+
lon: Float,
|
586
|
+
name: String,
|
587
|
+
parent: String,
|
588
|
+
route_ids: ::Array[String],
|
589
|
+
static_route_ids: ::Array[String],
|
590
|
+
code: String,
|
591
|
+
direction: String,
|
592
|
+
location_type: Integer,
|
593
|
+
wheelchair_boarding: String
|
594
|
+
) -> void
|
595
|
+
| (
|
596
|
+
?OnebusawaySDK::Models::References::stop
|
597
|
+
| OnebusawaySDK::BaseModel data
|
598
|
+
) -> void
|
599
|
+
|
600
|
+
def to_hash: -> OnebusawaySDK::Models::References::stop
|
601
|
+
end
|
602
|
+
|
603
|
+
type stop_time =
|
604
|
+
{
|
605
|
+
arrival_time: Integer,
|
606
|
+
departure_time: Integer,
|
607
|
+
distance_along_trip: Float,
|
608
|
+
historical_occupancy: String,
|
609
|
+
stop_headsign: String,
|
610
|
+
stop_id: String
|
611
|
+
}
|
612
|
+
|
613
|
+
class StopTime < OnebusawaySDK::BaseModel
|
614
|
+
attr_reader arrival_time: Integer?
|
615
|
+
|
616
|
+
def arrival_time=: (Integer) -> Integer
|
617
|
+
|
618
|
+
attr_reader departure_time: Integer?
|
619
|
+
|
620
|
+
def departure_time=: (Integer) -> Integer
|
621
|
+
|
622
|
+
attr_reader distance_along_trip: Float?
|
623
|
+
|
624
|
+
def distance_along_trip=: (Float) -> Float
|
625
|
+
|
626
|
+
attr_reader historical_occupancy: String?
|
627
|
+
|
628
|
+
def historical_occupancy=: (String) -> String
|
629
|
+
|
630
|
+
attr_reader stop_headsign: String?
|
631
|
+
|
632
|
+
def stop_headsign=: (String) -> String
|
633
|
+
|
634
|
+
attr_reader stop_id: String?
|
635
|
+
|
636
|
+
def stop_id=: (String) -> String
|
637
|
+
|
638
|
+
def initialize:
|
639
|
+
(
|
640
|
+
arrival_time: Integer,
|
641
|
+
departure_time: Integer,
|
642
|
+
distance_along_trip: Float,
|
643
|
+
historical_occupancy: String,
|
644
|
+
stop_headsign: String,
|
645
|
+
stop_id: String
|
646
|
+
) -> void
|
647
|
+
| (
|
648
|
+
?OnebusawaySDK::Models::References::stop_time
|
649
|
+
| OnebusawaySDK::BaseModel data
|
650
|
+
) -> void
|
651
|
+
|
652
|
+
def to_hash: -> OnebusawaySDK::Models::References::stop_time
|
653
|
+
end
|
654
|
+
|
655
|
+
type trip =
|
656
|
+
{
|
657
|
+
id: String,
|
658
|
+
route_id: String,
|
659
|
+
service_id: String,
|
660
|
+
block_id: String,
|
661
|
+
direction_id: String,
|
662
|
+
peak_offpeak: Integer,
|
663
|
+
route_short_name: String,
|
664
|
+
shape_id: String,
|
665
|
+
time_zone: String,
|
666
|
+
trip_headsign: String,
|
667
|
+
trip_short_name: String
|
668
|
+
}
|
669
|
+
|
670
|
+
class Trip < OnebusawaySDK::BaseModel
|
671
|
+
attr_accessor id: String
|
672
|
+
|
673
|
+
attr_accessor route_id: String
|
674
|
+
|
675
|
+
attr_accessor service_id: String
|
676
|
+
|
677
|
+
attr_reader block_id: String?
|
678
|
+
|
679
|
+
def block_id=: (String) -> String
|
680
|
+
|
681
|
+
attr_reader direction_id: String?
|
682
|
+
|
683
|
+
def direction_id=: (String) -> String
|
684
|
+
|
685
|
+
attr_reader peak_offpeak: Integer?
|
686
|
+
|
687
|
+
def peak_offpeak=: (Integer) -> Integer
|
688
|
+
|
689
|
+
attr_reader route_short_name: String?
|
690
|
+
|
691
|
+
def route_short_name=: (String) -> String
|
692
|
+
|
693
|
+
attr_reader shape_id: String?
|
694
|
+
|
695
|
+
def shape_id=: (String) -> String
|
696
|
+
|
697
|
+
attr_reader time_zone: String?
|
698
|
+
|
699
|
+
def time_zone=: (String) -> String
|
700
|
+
|
701
|
+
attr_reader trip_headsign: String?
|
702
|
+
|
703
|
+
def trip_headsign=: (String) -> String
|
704
|
+
|
705
|
+
attr_reader trip_short_name: String?
|
706
|
+
|
707
|
+
def trip_short_name=: (String) -> String
|
708
|
+
|
709
|
+
def initialize:
|
710
|
+
(
|
711
|
+
id: String,
|
712
|
+
route_id: String,
|
713
|
+
service_id: String,
|
714
|
+
block_id: String,
|
715
|
+
direction_id: String,
|
716
|
+
peak_offpeak: Integer,
|
717
|
+
route_short_name: String,
|
718
|
+
shape_id: String,
|
719
|
+
time_zone: String,
|
720
|
+
trip_headsign: String,
|
721
|
+
trip_short_name: String
|
722
|
+
) -> void
|
723
|
+
| (
|
724
|
+
?OnebusawaySDK::Models::References::trip
|
725
|
+
| OnebusawaySDK::BaseModel data
|
726
|
+
) -> void
|
727
|
+
|
728
|
+
def to_hash: -> OnebusawaySDK::Models::References::trip
|
729
|
+
end
|
730
|
+
end
|
731
|
+
end
|
732
|
+
end
|