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
@@ -0,0 +1,1292 @@
|
|
1
|
+
# typed: strong
|
2
|
+
|
3
|
+
module OnebusawaySDK
|
4
|
+
module Models
|
5
|
+
class References < OnebusawaySDK::Internal::Type::BaseModel
|
6
|
+
OrHash =
|
7
|
+
T.type_alias do
|
8
|
+
T.any(OnebusawaySDK::References, OnebusawaySDK::Internal::AnyHash)
|
9
|
+
end
|
10
|
+
|
11
|
+
sig { returns(T::Array[OnebusawaySDK::References::Agency]) }
|
12
|
+
attr_accessor :agencies
|
13
|
+
|
14
|
+
sig { returns(T::Array[OnebusawaySDK::References::Route]) }
|
15
|
+
attr_accessor :routes
|
16
|
+
|
17
|
+
sig { returns(T::Array[OnebusawaySDK::References::Situation]) }
|
18
|
+
attr_accessor :situations
|
19
|
+
|
20
|
+
sig { returns(T::Array[OnebusawaySDK::References::Stop]) }
|
21
|
+
attr_accessor :stops
|
22
|
+
|
23
|
+
sig { returns(T::Array[OnebusawaySDK::References::StopTime]) }
|
24
|
+
attr_accessor :stop_times
|
25
|
+
|
26
|
+
sig { returns(T::Array[OnebusawaySDK::References::Trip]) }
|
27
|
+
attr_accessor :trips
|
28
|
+
|
29
|
+
sig do
|
30
|
+
params(
|
31
|
+
agencies: T::Array[OnebusawaySDK::References::Agency::OrHash],
|
32
|
+
routes: T::Array[OnebusawaySDK::References::Route::OrHash],
|
33
|
+
situations: T::Array[OnebusawaySDK::References::Situation::OrHash],
|
34
|
+
stops: T::Array[OnebusawaySDK::References::Stop::OrHash],
|
35
|
+
stop_times: T::Array[OnebusawaySDK::References::StopTime::OrHash],
|
36
|
+
trips: T::Array[OnebusawaySDK::References::Trip::OrHash]
|
37
|
+
).returns(T.attached_class)
|
38
|
+
end
|
39
|
+
def self.new(agencies:, routes:, situations:, stops:, stop_times:, trips:)
|
40
|
+
end
|
41
|
+
|
42
|
+
sig do
|
43
|
+
override.returns(
|
44
|
+
{
|
45
|
+
agencies: T::Array[OnebusawaySDK::References::Agency],
|
46
|
+
routes: T::Array[OnebusawaySDK::References::Route],
|
47
|
+
situations: T::Array[OnebusawaySDK::References::Situation],
|
48
|
+
stops: T::Array[OnebusawaySDK::References::Stop],
|
49
|
+
stop_times: T::Array[OnebusawaySDK::References::StopTime],
|
50
|
+
trips: T::Array[OnebusawaySDK::References::Trip]
|
51
|
+
}
|
52
|
+
)
|
53
|
+
end
|
54
|
+
def to_hash
|
55
|
+
end
|
56
|
+
|
57
|
+
class Agency < OnebusawaySDK::Internal::Type::BaseModel
|
58
|
+
OrHash =
|
59
|
+
T.type_alias do
|
60
|
+
T.any(
|
61
|
+
OnebusawaySDK::References::Agency,
|
62
|
+
OnebusawaySDK::Internal::AnyHash
|
63
|
+
)
|
64
|
+
end
|
65
|
+
|
66
|
+
sig { returns(String) }
|
67
|
+
attr_accessor :id
|
68
|
+
|
69
|
+
sig { returns(String) }
|
70
|
+
attr_accessor :name
|
71
|
+
|
72
|
+
sig { returns(String) }
|
73
|
+
attr_accessor :timezone
|
74
|
+
|
75
|
+
sig { returns(String) }
|
76
|
+
attr_accessor :url
|
77
|
+
|
78
|
+
sig { returns(T.nilable(String)) }
|
79
|
+
attr_reader :disclaimer
|
80
|
+
|
81
|
+
sig { params(disclaimer: String).void }
|
82
|
+
attr_writer :disclaimer
|
83
|
+
|
84
|
+
sig { returns(T.nilable(String)) }
|
85
|
+
attr_reader :email
|
86
|
+
|
87
|
+
sig { params(email: String).void }
|
88
|
+
attr_writer :email
|
89
|
+
|
90
|
+
sig { returns(T.nilable(String)) }
|
91
|
+
attr_reader :fare_url
|
92
|
+
|
93
|
+
sig { params(fare_url: String).void }
|
94
|
+
attr_writer :fare_url
|
95
|
+
|
96
|
+
sig { returns(T.nilable(String)) }
|
97
|
+
attr_reader :lang
|
98
|
+
|
99
|
+
sig { params(lang: String).void }
|
100
|
+
attr_writer :lang
|
101
|
+
|
102
|
+
sig { returns(T.nilable(String)) }
|
103
|
+
attr_reader :phone
|
104
|
+
|
105
|
+
sig { params(phone: String).void }
|
106
|
+
attr_writer :phone
|
107
|
+
|
108
|
+
sig { returns(T.nilable(T::Boolean)) }
|
109
|
+
attr_reader :private_service
|
110
|
+
|
111
|
+
sig { params(private_service: T::Boolean).void }
|
112
|
+
attr_writer :private_service
|
113
|
+
|
114
|
+
sig do
|
115
|
+
params(
|
116
|
+
id: String,
|
117
|
+
name: String,
|
118
|
+
timezone: String,
|
119
|
+
url: String,
|
120
|
+
disclaimer: String,
|
121
|
+
email: String,
|
122
|
+
fare_url: String,
|
123
|
+
lang: String,
|
124
|
+
phone: String,
|
125
|
+
private_service: T::Boolean
|
126
|
+
).returns(T.attached_class)
|
127
|
+
end
|
128
|
+
def self.new(
|
129
|
+
id:,
|
130
|
+
name:,
|
131
|
+
timezone:,
|
132
|
+
url:,
|
133
|
+
disclaimer: nil,
|
134
|
+
email: nil,
|
135
|
+
fare_url: nil,
|
136
|
+
lang: nil,
|
137
|
+
phone: nil,
|
138
|
+
private_service: nil
|
139
|
+
)
|
140
|
+
end
|
141
|
+
|
142
|
+
sig do
|
143
|
+
override.returns(
|
144
|
+
{
|
145
|
+
id: String,
|
146
|
+
name: String,
|
147
|
+
timezone: String,
|
148
|
+
url: String,
|
149
|
+
disclaimer: String,
|
150
|
+
email: String,
|
151
|
+
fare_url: String,
|
152
|
+
lang: String,
|
153
|
+
phone: String,
|
154
|
+
private_service: T::Boolean
|
155
|
+
}
|
156
|
+
)
|
157
|
+
end
|
158
|
+
def to_hash
|
159
|
+
end
|
160
|
+
end
|
161
|
+
|
162
|
+
class Route < OnebusawaySDK::Internal::Type::BaseModel
|
163
|
+
OrHash =
|
164
|
+
T.type_alias do
|
165
|
+
T.any(
|
166
|
+
OnebusawaySDK::References::Route,
|
167
|
+
OnebusawaySDK::Internal::AnyHash
|
168
|
+
)
|
169
|
+
end
|
170
|
+
|
171
|
+
sig { returns(String) }
|
172
|
+
attr_accessor :id
|
173
|
+
|
174
|
+
sig { returns(String) }
|
175
|
+
attr_accessor :agency_id
|
176
|
+
|
177
|
+
sig { returns(Integer) }
|
178
|
+
attr_accessor :type
|
179
|
+
|
180
|
+
sig { returns(T.nilable(String)) }
|
181
|
+
attr_reader :color
|
182
|
+
|
183
|
+
sig { params(color: String).void }
|
184
|
+
attr_writer :color
|
185
|
+
|
186
|
+
sig { returns(T.nilable(String)) }
|
187
|
+
attr_reader :description
|
188
|
+
|
189
|
+
sig { params(description: String).void }
|
190
|
+
attr_writer :description
|
191
|
+
|
192
|
+
sig { returns(T.nilable(String)) }
|
193
|
+
attr_reader :long_name
|
194
|
+
|
195
|
+
sig { params(long_name: String).void }
|
196
|
+
attr_writer :long_name
|
197
|
+
|
198
|
+
sig { returns(T.nilable(String)) }
|
199
|
+
attr_reader :null_safe_short_name
|
200
|
+
|
201
|
+
sig { params(null_safe_short_name: String).void }
|
202
|
+
attr_writer :null_safe_short_name
|
203
|
+
|
204
|
+
sig { returns(T.nilable(String)) }
|
205
|
+
attr_reader :short_name
|
206
|
+
|
207
|
+
sig { params(short_name: String).void }
|
208
|
+
attr_writer :short_name
|
209
|
+
|
210
|
+
sig { returns(T.nilable(String)) }
|
211
|
+
attr_reader :text_color
|
212
|
+
|
213
|
+
sig { params(text_color: String).void }
|
214
|
+
attr_writer :text_color
|
215
|
+
|
216
|
+
sig { returns(T.nilable(String)) }
|
217
|
+
attr_reader :url
|
218
|
+
|
219
|
+
sig { params(url: String).void }
|
220
|
+
attr_writer :url
|
221
|
+
|
222
|
+
sig do
|
223
|
+
params(
|
224
|
+
id: String,
|
225
|
+
agency_id: String,
|
226
|
+
type: Integer,
|
227
|
+
color: String,
|
228
|
+
description: String,
|
229
|
+
long_name: String,
|
230
|
+
null_safe_short_name: String,
|
231
|
+
short_name: String,
|
232
|
+
text_color: String,
|
233
|
+
url: String
|
234
|
+
).returns(T.attached_class)
|
235
|
+
end
|
236
|
+
def self.new(
|
237
|
+
id:,
|
238
|
+
agency_id:,
|
239
|
+
type:,
|
240
|
+
color: nil,
|
241
|
+
description: nil,
|
242
|
+
long_name: nil,
|
243
|
+
null_safe_short_name: nil,
|
244
|
+
short_name: nil,
|
245
|
+
text_color: nil,
|
246
|
+
url: nil
|
247
|
+
)
|
248
|
+
end
|
249
|
+
|
250
|
+
sig do
|
251
|
+
override.returns(
|
252
|
+
{
|
253
|
+
id: String,
|
254
|
+
agency_id: String,
|
255
|
+
type: Integer,
|
256
|
+
color: String,
|
257
|
+
description: String,
|
258
|
+
long_name: String,
|
259
|
+
null_safe_short_name: String,
|
260
|
+
short_name: String,
|
261
|
+
text_color: String,
|
262
|
+
url: String
|
263
|
+
}
|
264
|
+
)
|
265
|
+
end
|
266
|
+
def to_hash
|
267
|
+
end
|
268
|
+
end
|
269
|
+
|
270
|
+
class Situation < OnebusawaySDK::Internal::Type::BaseModel
|
271
|
+
OrHash =
|
272
|
+
T.type_alias do
|
273
|
+
T.any(
|
274
|
+
OnebusawaySDK::References::Situation,
|
275
|
+
OnebusawaySDK::Internal::AnyHash
|
276
|
+
)
|
277
|
+
end
|
278
|
+
|
279
|
+
# Unique identifier for the situation.
|
280
|
+
sig { returns(String) }
|
281
|
+
attr_accessor :id
|
282
|
+
|
283
|
+
# Unix timestamp of when this situation was created.
|
284
|
+
sig { returns(Integer) }
|
285
|
+
attr_accessor :creation_time
|
286
|
+
|
287
|
+
sig do
|
288
|
+
returns(
|
289
|
+
T.nilable(
|
290
|
+
T::Array[OnebusawaySDK::References::Situation::ActiveWindow]
|
291
|
+
)
|
292
|
+
)
|
293
|
+
end
|
294
|
+
attr_reader :active_windows
|
295
|
+
|
296
|
+
sig do
|
297
|
+
params(
|
298
|
+
active_windows:
|
299
|
+
T::Array[
|
300
|
+
OnebusawaySDK::References::Situation::ActiveWindow::OrHash
|
301
|
+
]
|
302
|
+
).void
|
303
|
+
end
|
304
|
+
attr_writer :active_windows
|
305
|
+
|
306
|
+
sig do
|
307
|
+
returns(
|
308
|
+
T.nilable(T::Array[OnebusawaySDK::References::Situation::AllAffect])
|
309
|
+
)
|
310
|
+
end
|
311
|
+
attr_reader :all_affects
|
312
|
+
|
313
|
+
sig do
|
314
|
+
params(
|
315
|
+
all_affects:
|
316
|
+
T::Array[OnebusawaySDK::References::Situation::AllAffect::OrHash]
|
317
|
+
).void
|
318
|
+
end
|
319
|
+
attr_writer :all_affects
|
320
|
+
|
321
|
+
# Message regarding the consequence of the situation.
|
322
|
+
sig { returns(T.nilable(String)) }
|
323
|
+
attr_reader :consequence_message
|
324
|
+
|
325
|
+
sig { params(consequence_message: String).void }
|
326
|
+
attr_writer :consequence_message
|
327
|
+
|
328
|
+
sig do
|
329
|
+
returns(
|
330
|
+
T.nilable(
|
331
|
+
T::Array[OnebusawaySDK::References::Situation::Consequence]
|
332
|
+
)
|
333
|
+
)
|
334
|
+
end
|
335
|
+
attr_reader :consequences
|
336
|
+
|
337
|
+
sig do
|
338
|
+
params(
|
339
|
+
consequences:
|
340
|
+
T::Array[
|
341
|
+
OnebusawaySDK::References::Situation::Consequence::OrHash
|
342
|
+
]
|
343
|
+
).void
|
344
|
+
end
|
345
|
+
attr_writer :consequences
|
346
|
+
|
347
|
+
sig do
|
348
|
+
returns(T.nilable(OnebusawaySDK::References::Situation::Description))
|
349
|
+
end
|
350
|
+
attr_reader :description
|
351
|
+
|
352
|
+
sig do
|
353
|
+
params(
|
354
|
+
description:
|
355
|
+
OnebusawaySDK::References::Situation::Description::OrHash
|
356
|
+
).void
|
357
|
+
end
|
358
|
+
attr_writer :description
|
359
|
+
|
360
|
+
sig do
|
361
|
+
returns(
|
362
|
+
T.nilable(
|
363
|
+
T::Array[OnebusawaySDK::References::Situation::PublicationWindow]
|
364
|
+
)
|
365
|
+
)
|
366
|
+
end
|
367
|
+
attr_reader :publication_windows
|
368
|
+
|
369
|
+
sig do
|
370
|
+
params(
|
371
|
+
publication_windows:
|
372
|
+
T::Array[
|
373
|
+
OnebusawaySDK::References::Situation::PublicationWindow::OrHash
|
374
|
+
]
|
375
|
+
).void
|
376
|
+
end
|
377
|
+
attr_writer :publication_windows
|
378
|
+
|
379
|
+
# Reason for the service alert, taken from TPEG codes.
|
380
|
+
sig do
|
381
|
+
returns(
|
382
|
+
T.nilable(
|
383
|
+
OnebusawaySDK::References::Situation::Reason::TaggedSymbol
|
384
|
+
)
|
385
|
+
)
|
386
|
+
end
|
387
|
+
attr_reader :reason
|
388
|
+
|
389
|
+
sig do
|
390
|
+
params(
|
391
|
+
reason: OnebusawaySDK::References::Situation::Reason::OrSymbol
|
392
|
+
).void
|
393
|
+
end
|
394
|
+
attr_writer :reason
|
395
|
+
|
396
|
+
# Severity of the situation.
|
397
|
+
sig { returns(T.nilable(String)) }
|
398
|
+
attr_reader :severity
|
399
|
+
|
400
|
+
sig { params(severity: String).void }
|
401
|
+
attr_writer :severity
|
402
|
+
|
403
|
+
sig do
|
404
|
+
returns(T.nilable(OnebusawaySDK::References::Situation::Summary))
|
405
|
+
end
|
406
|
+
attr_reader :summary
|
407
|
+
|
408
|
+
sig do
|
409
|
+
params(
|
410
|
+
summary: OnebusawaySDK::References::Situation::Summary::OrHash
|
411
|
+
).void
|
412
|
+
end
|
413
|
+
attr_writer :summary
|
414
|
+
|
415
|
+
sig { returns(T.nilable(OnebusawaySDK::References::Situation::URL)) }
|
416
|
+
attr_reader :url
|
417
|
+
|
418
|
+
sig do
|
419
|
+
params(url: OnebusawaySDK::References::Situation::URL::OrHash).void
|
420
|
+
end
|
421
|
+
attr_writer :url
|
422
|
+
|
423
|
+
sig do
|
424
|
+
params(
|
425
|
+
id: String,
|
426
|
+
creation_time: Integer,
|
427
|
+
active_windows:
|
428
|
+
T::Array[
|
429
|
+
OnebusawaySDK::References::Situation::ActiveWindow::OrHash
|
430
|
+
],
|
431
|
+
all_affects:
|
432
|
+
T::Array[OnebusawaySDK::References::Situation::AllAffect::OrHash],
|
433
|
+
consequence_message: String,
|
434
|
+
consequences:
|
435
|
+
T::Array[
|
436
|
+
OnebusawaySDK::References::Situation::Consequence::OrHash
|
437
|
+
],
|
438
|
+
description:
|
439
|
+
OnebusawaySDK::References::Situation::Description::OrHash,
|
440
|
+
publication_windows:
|
441
|
+
T::Array[
|
442
|
+
OnebusawaySDK::References::Situation::PublicationWindow::OrHash
|
443
|
+
],
|
444
|
+
reason: OnebusawaySDK::References::Situation::Reason::OrSymbol,
|
445
|
+
severity: String,
|
446
|
+
summary: OnebusawaySDK::References::Situation::Summary::OrHash,
|
447
|
+
url: OnebusawaySDK::References::Situation::URL::OrHash
|
448
|
+
).returns(T.attached_class)
|
449
|
+
end
|
450
|
+
def self.new(
|
451
|
+
# Unique identifier for the situation.
|
452
|
+
id:,
|
453
|
+
# Unix timestamp of when this situation was created.
|
454
|
+
creation_time:,
|
455
|
+
active_windows: nil,
|
456
|
+
all_affects: nil,
|
457
|
+
# Message regarding the consequence of the situation.
|
458
|
+
consequence_message: nil,
|
459
|
+
consequences: nil,
|
460
|
+
description: nil,
|
461
|
+
publication_windows: nil,
|
462
|
+
# Reason for the service alert, taken from TPEG codes.
|
463
|
+
reason: nil,
|
464
|
+
# Severity of the situation.
|
465
|
+
severity: nil,
|
466
|
+
summary: nil,
|
467
|
+
url: nil
|
468
|
+
)
|
469
|
+
end
|
470
|
+
|
471
|
+
sig do
|
472
|
+
override.returns(
|
473
|
+
{
|
474
|
+
id: String,
|
475
|
+
creation_time: Integer,
|
476
|
+
active_windows:
|
477
|
+
T::Array[OnebusawaySDK::References::Situation::ActiveWindow],
|
478
|
+
all_affects:
|
479
|
+
T::Array[OnebusawaySDK::References::Situation::AllAffect],
|
480
|
+
consequence_message: String,
|
481
|
+
consequences:
|
482
|
+
T::Array[OnebusawaySDK::References::Situation::Consequence],
|
483
|
+
description: OnebusawaySDK::References::Situation::Description,
|
484
|
+
publication_windows:
|
485
|
+
T::Array[
|
486
|
+
OnebusawaySDK::References::Situation::PublicationWindow
|
487
|
+
],
|
488
|
+
reason:
|
489
|
+
OnebusawaySDK::References::Situation::Reason::TaggedSymbol,
|
490
|
+
severity: String,
|
491
|
+
summary: OnebusawaySDK::References::Situation::Summary,
|
492
|
+
url: OnebusawaySDK::References::Situation::URL
|
493
|
+
}
|
494
|
+
)
|
495
|
+
end
|
496
|
+
def to_hash
|
497
|
+
end
|
498
|
+
|
499
|
+
class ActiveWindow < OnebusawaySDK::Internal::Type::BaseModel
|
500
|
+
OrHash =
|
501
|
+
T.type_alias do
|
502
|
+
T.any(
|
503
|
+
OnebusawaySDK::References::Situation::ActiveWindow,
|
504
|
+
OnebusawaySDK::Internal::AnyHash
|
505
|
+
)
|
506
|
+
end
|
507
|
+
|
508
|
+
# Start time of the active window as a Unix timestamp.
|
509
|
+
sig { returns(T.nilable(Integer)) }
|
510
|
+
attr_reader :from
|
511
|
+
|
512
|
+
sig { params(from: Integer).void }
|
513
|
+
attr_writer :from
|
514
|
+
|
515
|
+
# End time of the active window as a Unix timestamp.
|
516
|
+
sig { returns(T.nilable(Integer)) }
|
517
|
+
attr_reader :to
|
518
|
+
|
519
|
+
sig { params(to: Integer).void }
|
520
|
+
attr_writer :to
|
521
|
+
|
522
|
+
sig { params(from: Integer, to: Integer).returns(T.attached_class) }
|
523
|
+
def self.new(
|
524
|
+
# Start time of the active window as a Unix timestamp.
|
525
|
+
from: nil,
|
526
|
+
# End time of the active window as a Unix timestamp.
|
527
|
+
to: nil
|
528
|
+
)
|
529
|
+
end
|
530
|
+
|
531
|
+
sig { override.returns({ from: Integer, to: Integer }) }
|
532
|
+
def to_hash
|
533
|
+
end
|
534
|
+
end
|
535
|
+
|
536
|
+
class AllAffect < OnebusawaySDK::Internal::Type::BaseModel
|
537
|
+
OrHash =
|
538
|
+
T.type_alias do
|
539
|
+
T.any(
|
540
|
+
OnebusawaySDK::References::Situation::AllAffect,
|
541
|
+
OnebusawaySDK::Internal::AnyHash
|
542
|
+
)
|
543
|
+
end
|
544
|
+
|
545
|
+
# Identifier for the agency.
|
546
|
+
sig { returns(T.nilable(String)) }
|
547
|
+
attr_reader :agency_id
|
548
|
+
|
549
|
+
sig { params(agency_id: String).void }
|
550
|
+
attr_writer :agency_id
|
551
|
+
|
552
|
+
# Identifier for the application.
|
553
|
+
sig { returns(T.nilable(String)) }
|
554
|
+
attr_reader :application_id
|
555
|
+
|
556
|
+
sig { params(application_id: String).void }
|
557
|
+
attr_writer :application_id
|
558
|
+
|
559
|
+
# Identifier for the direction.
|
560
|
+
sig { returns(T.nilable(String)) }
|
561
|
+
attr_reader :direction_id
|
562
|
+
|
563
|
+
sig { params(direction_id: String).void }
|
564
|
+
attr_writer :direction_id
|
565
|
+
|
566
|
+
# Identifier for the route.
|
567
|
+
sig { returns(T.nilable(String)) }
|
568
|
+
attr_reader :route_id
|
569
|
+
|
570
|
+
sig { params(route_id: String).void }
|
571
|
+
attr_writer :route_id
|
572
|
+
|
573
|
+
# Identifier for the stop.
|
574
|
+
sig { returns(T.nilable(String)) }
|
575
|
+
attr_reader :stop_id
|
576
|
+
|
577
|
+
sig { params(stop_id: String).void }
|
578
|
+
attr_writer :stop_id
|
579
|
+
|
580
|
+
# Identifier for the trip.
|
581
|
+
sig { returns(T.nilable(String)) }
|
582
|
+
attr_reader :trip_id
|
583
|
+
|
584
|
+
sig { params(trip_id: String).void }
|
585
|
+
attr_writer :trip_id
|
586
|
+
|
587
|
+
sig do
|
588
|
+
params(
|
589
|
+
agency_id: String,
|
590
|
+
application_id: String,
|
591
|
+
direction_id: String,
|
592
|
+
route_id: String,
|
593
|
+
stop_id: String,
|
594
|
+
trip_id: String
|
595
|
+
).returns(T.attached_class)
|
596
|
+
end
|
597
|
+
def self.new(
|
598
|
+
# Identifier for the agency.
|
599
|
+
agency_id: nil,
|
600
|
+
# Identifier for the application.
|
601
|
+
application_id: nil,
|
602
|
+
# Identifier for the direction.
|
603
|
+
direction_id: nil,
|
604
|
+
# Identifier for the route.
|
605
|
+
route_id: nil,
|
606
|
+
# Identifier for the stop.
|
607
|
+
stop_id: nil,
|
608
|
+
# Identifier for the trip.
|
609
|
+
trip_id: nil
|
610
|
+
)
|
611
|
+
end
|
612
|
+
|
613
|
+
sig do
|
614
|
+
override.returns(
|
615
|
+
{
|
616
|
+
agency_id: String,
|
617
|
+
application_id: String,
|
618
|
+
direction_id: String,
|
619
|
+
route_id: String,
|
620
|
+
stop_id: String,
|
621
|
+
trip_id: String
|
622
|
+
}
|
623
|
+
)
|
624
|
+
end
|
625
|
+
def to_hash
|
626
|
+
end
|
627
|
+
end
|
628
|
+
|
629
|
+
class Consequence < OnebusawaySDK::Internal::Type::BaseModel
|
630
|
+
OrHash =
|
631
|
+
T.type_alias do
|
632
|
+
T.any(
|
633
|
+
OnebusawaySDK::References::Situation::Consequence,
|
634
|
+
OnebusawaySDK::Internal::AnyHash
|
635
|
+
)
|
636
|
+
end
|
637
|
+
|
638
|
+
# Condition of the consequence.
|
639
|
+
sig { returns(T.nilable(String)) }
|
640
|
+
attr_reader :condition
|
641
|
+
|
642
|
+
sig { params(condition: String).void }
|
643
|
+
attr_writer :condition
|
644
|
+
|
645
|
+
sig do
|
646
|
+
returns(
|
647
|
+
T.nilable(
|
648
|
+
OnebusawaySDK::References::Situation::Consequence::ConditionDetails
|
649
|
+
)
|
650
|
+
)
|
651
|
+
end
|
652
|
+
attr_reader :condition_details
|
653
|
+
|
654
|
+
sig do
|
655
|
+
params(
|
656
|
+
condition_details:
|
657
|
+
OnebusawaySDK::References::Situation::Consequence::ConditionDetails::OrHash
|
658
|
+
).void
|
659
|
+
end
|
660
|
+
attr_writer :condition_details
|
661
|
+
|
662
|
+
sig do
|
663
|
+
params(
|
664
|
+
condition: String,
|
665
|
+
condition_details:
|
666
|
+
OnebusawaySDK::References::Situation::Consequence::ConditionDetails::OrHash
|
667
|
+
).returns(T.attached_class)
|
668
|
+
end
|
669
|
+
def self.new(
|
670
|
+
# Condition of the consequence.
|
671
|
+
condition: nil,
|
672
|
+
condition_details: nil
|
673
|
+
)
|
674
|
+
end
|
675
|
+
|
676
|
+
sig do
|
677
|
+
override.returns(
|
678
|
+
{
|
679
|
+
condition: String,
|
680
|
+
condition_details:
|
681
|
+
OnebusawaySDK::References::Situation::Consequence::ConditionDetails
|
682
|
+
}
|
683
|
+
)
|
684
|
+
end
|
685
|
+
def to_hash
|
686
|
+
end
|
687
|
+
|
688
|
+
class ConditionDetails < OnebusawaySDK::Internal::Type::BaseModel
|
689
|
+
OrHash =
|
690
|
+
T.type_alias do
|
691
|
+
T.any(
|
692
|
+
OnebusawaySDK::References::Situation::Consequence::ConditionDetails,
|
693
|
+
OnebusawaySDK::Internal::AnyHash
|
694
|
+
)
|
695
|
+
end
|
696
|
+
|
697
|
+
sig do
|
698
|
+
returns(
|
699
|
+
T.nilable(
|
700
|
+
OnebusawaySDK::References::Situation::Consequence::ConditionDetails::DiversionPath
|
701
|
+
)
|
702
|
+
)
|
703
|
+
end
|
704
|
+
attr_reader :diversion_path
|
705
|
+
|
706
|
+
sig do
|
707
|
+
params(
|
708
|
+
diversion_path:
|
709
|
+
OnebusawaySDK::References::Situation::Consequence::ConditionDetails::DiversionPath::OrHash
|
710
|
+
).void
|
711
|
+
end
|
712
|
+
attr_writer :diversion_path
|
713
|
+
|
714
|
+
sig { returns(T.nilable(T::Array[String])) }
|
715
|
+
attr_reader :diversion_stop_ids
|
716
|
+
|
717
|
+
sig { params(diversion_stop_ids: T::Array[String]).void }
|
718
|
+
attr_writer :diversion_stop_ids
|
719
|
+
|
720
|
+
sig do
|
721
|
+
params(
|
722
|
+
diversion_path:
|
723
|
+
OnebusawaySDK::References::Situation::Consequence::ConditionDetails::DiversionPath::OrHash,
|
724
|
+
diversion_stop_ids: T::Array[String]
|
725
|
+
).returns(T.attached_class)
|
726
|
+
end
|
727
|
+
def self.new(diversion_path: nil, diversion_stop_ids: nil)
|
728
|
+
end
|
729
|
+
|
730
|
+
sig do
|
731
|
+
override.returns(
|
732
|
+
{
|
733
|
+
diversion_path:
|
734
|
+
OnebusawaySDK::References::Situation::Consequence::ConditionDetails::DiversionPath,
|
735
|
+
diversion_stop_ids: T::Array[String]
|
736
|
+
}
|
737
|
+
)
|
738
|
+
end
|
739
|
+
def to_hash
|
740
|
+
end
|
741
|
+
|
742
|
+
class DiversionPath < OnebusawaySDK::Internal::Type::BaseModel
|
743
|
+
OrHash =
|
744
|
+
T.type_alias do
|
745
|
+
T.any(
|
746
|
+
OnebusawaySDK::References::Situation::Consequence::ConditionDetails::DiversionPath,
|
747
|
+
OnebusawaySDK::Internal::AnyHash
|
748
|
+
)
|
749
|
+
end
|
750
|
+
|
751
|
+
# Length of the diversion path.
|
752
|
+
sig { returns(T.nilable(Integer)) }
|
753
|
+
attr_reader :length
|
754
|
+
|
755
|
+
sig { params(length: Integer).void }
|
756
|
+
attr_writer :length
|
757
|
+
|
758
|
+
# Levels of the diversion path.
|
759
|
+
sig { returns(T.nilable(String)) }
|
760
|
+
attr_reader :levels
|
761
|
+
|
762
|
+
sig { params(levels: String).void }
|
763
|
+
attr_writer :levels
|
764
|
+
|
765
|
+
# Points of the diversion path.
|
766
|
+
sig { returns(T.nilable(String)) }
|
767
|
+
attr_reader :points
|
768
|
+
|
769
|
+
sig { params(points: String).void }
|
770
|
+
attr_writer :points
|
771
|
+
|
772
|
+
sig do
|
773
|
+
params(length: Integer, levels: String, points: String).returns(
|
774
|
+
T.attached_class
|
775
|
+
)
|
776
|
+
end
|
777
|
+
def self.new(
|
778
|
+
# Length of the diversion path.
|
779
|
+
length: nil,
|
780
|
+
# Levels of the diversion path.
|
781
|
+
levels: nil,
|
782
|
+
# Points of the diversion path.
|
783
|
+
points: nil
|
784
|
+
)
|
785
|
+
end
|
786
|
+
|
787
|
+
sig do
|
788
|
+
override.returns(
|
789
|
+
{ length: Integer, levels: String, points: String }
|
790
|
+
)
|
791
|
+
end
|
792
|
+
def to_hash
|
793
|
+
end
|
794
|
+
end
|
795
|
+
end
|
796
|
+
end
|
797
|
+
|
798
|
+
class Description < OnebusawaySDK::Internal::Type::BaseModel
|
799
|
+
OrHash =
|
800
|
+
T.type_alias do
|
801
|
+
T.any(
|
802
|
+
OnebusawaySDK::References::Situation::Description,
|
803
|
+
OnebusawaySDK::Internal::AnyHash
|
804
|
+
)
|
805
|
+
end
|
806
|
+
|
807
|
+
# Language of the description.
|
808
|
+
sig { returns(T.nilable(String)) }
|
809
|
+
attr_reader :lang
|
810
|
+
|
811
|
+
sig { params(lang: String).void }
|
812
|
+
attr_writer :lang
|
813
|
+
|
814
|
+
# Longer description of the situation.
|
815
|
+
sig { returns(T.nilable(String)) }
|
816
|
+
attr_reader :value
|
817
|
+
|
818
|
+
sig { params(value: String).void }
|
819
|
+
attr_writer :value
|
820
|
+
|
821
|
+
sig { params(lang: String, value: String).returns(T.attached_class) }
|
822
|
+
def self.new(
|
823
|
+
# Language of the description.
|
824
|
+
lang: nil,
|
825
|
+
# Longer description of the situation.
|
826
|
+
value: nil
|
827
|
+
)
|
828
|
+
end
|
829
|
+
|
830
|
+
sig { override.returns({ lang: String, value: String }) }
|
831
|
+
def to_hash
|
832
|
+
end
|
833
|
+
end
|
834
|
+
|
835
|
+
class PublicationWindow < OnebusawaySDK::Internal::Type::BaseModel
|
836
|
+
OrHash =
|
837
|
+
T.type_alias do
|
838
|
+
T.any(
|
839
|
+
OnebusawaySDK::References::Situation::PublicationWindow,
|
840
|
+
OnebusawaySDK::Internal::AnyHash
|
841
|
+
)
|
842
|
+
end
|
843
|
+
|
844
|
+
# Start time of the time window as a Unix timestamp.
|
845
|
+
sig { returns(Integer) }
|
846
|
+
attr_accessor :from
|
847
|
+
|
848
|
+
# End time of the time window as a Unix timestamp.
|
849
|
+
sig { returns(Integer) }
|
850
|
+
attr_accessor :to
|
851
|
+
|
852
|
+
sig { params(from: Integer, to: Integer).returns(T.attached_class) }
|
853
|
+
def self.new(
|
854
|
+
# Start time of the time window as a Unix timestamp.
|
855
|
+
from:,
|
856
|
+
# End time of the time window as a Unix timestamp.
|
857
|
+
to:
|
858
|
+
)
|
859
|
+
end
|
860
|
+
|
861
|
+
sig { override.returns({ from: Integer, to: Integer }) }
|
862
|
+
def to_hash
|
863
|
+
end
|
864
|
+
end
|
865
|
+
|
866
|
+
# Reason for the service alert, taken from TPEG codes.
|
867
|
+
module Reason
|
868
|
+
extend OnebusawaySDK::Internal::Type::Enum
|
869
|
+
|
870
|
+
TaggedSymbol =
|
871
|
+
T.type_alias do
|
872
|
+
T.all(Symbol, OnebusawaySDK::References::Situation::Reason)
|
873
|
+
end
|
874
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
875
|
+
|
876
|
+
EQUIPMENT_REASON =
|
877
|
+
T.let(
|
878
|
+
:equipmentReason,
|
879
|
+
OnebusawaySDK::References::Situation::Reason::TaggedSymbol
|
880
|
+
)
|
881
|
+
ENVIRONMENT_REASON =
|
882
|
+
T.let(
|
883
|
+
:environmentReason,
|
884
|
+
OnebusawaySDK::References::Situation::Reason::TaggedSymbol
|
885
|
+
)
|
886
|
+
PERSONNEL_REASON =
|
887
|
+
T.let(
|
888
|
+
:personnelReason,
|
889
|
+
OnebusawaySDK::References::Situation::Reason::TaggedSymbol
|
890
|
+
)
|
891
|
+
MISCELLANEOUS_REASON =
|
892
|
+
T.let(
|
893
|
+
:miscellaneousReason,
|
894
|
+
OnebusawaySDK::References::Situation::Reason::TaggedSymbol
|
895
|
+
)
|
896
|
+
SECURITY_ALERT =
|
897
|
+
T.let(
|
898
|
+
:securityAlert,
|
899
|
+
OnebusawaySDK::References::Situation::Reason::TaggedSymbol
|
900
|
+
)
|
901
|
+
|
902
|
+
sig do
|
903
|
+
override.returns(
|
904
|
+
T::Array[
|
905
|
+
OnebusawaySDK::References::Situation::Reason::TaggedSymbol
|
906
|
+
]
|
907
|
+
)
|
908
|
+
end
|
909
|
+
def self.values
|
910
|
+
end
|
911
|
+
end
|
912
|
+
|
913
|
+
class Summary < OnebusawaySDK::Internal::Type::BaseModel
|
914
|
+
OrHash =
|
915
|
+
T.type_alias do
|
916
|
+
T.any(
|
917
|
+
OnebusawaySDK::References::Situation::Summary,
|
918
|
+
OnebusawaySDK::Internal::AnyHash
|
919
|
+
)
|
920
|
+
end
|
921
|
+
|
922
|
+
# Language of the summary.
|
923
|
+
sig { returns(T.nilable(String)) }
|
924
|
+
attr_reader :lang
|
925
|
+
|
926
|
+
sig { params(lang: String).void }
|
927
|
+
attr_writer :lang
|
928
|
+
|
929
|
+
# Short summary of the situation.
|
930
|
+
sig { returns(T.nilable(String)) }
|
931
|
+
attr_reader :value
|
932
|
+
|
933
|
+
sig { params(value: String).void }
|
934
|
+
attr_writer :value
|
935
|
+
|
936
|
+
sig { params(lang: String, value: String).returns(T.attached_class) }
|
937
|
+
def self.new(
|
938
|
+
# Language of the summary.
|
939
|
+
lang: nil,
|
940
|
+
# Short summary of the situation.
|
941
|
+
value: nil
|
942
|
+
)
|
943
|
+
end
|
944
|
+
|
945
|
+
sig { override.returns({ lang: String, value: String }) }
|
946
|
+
def to_hash
|
947
|
+
end
|
948
|
+
end
|
949
|
+
|
950
|
+
class URL < OnebusawaySDK::Internal::Type::BaseModel
|
951
|
+
OrHash =
|
952
|
+
T.type_alias do
|
953
|
+
T.any(
|
954
|
+
OnebusawaySDK::References::Situation::URL,
|
955
|
+
OnebusawaySDK::Internal::AnyHash
|
956
|
+
)
|
957
|
+
end
|
958
|
+
|
959
|
+
# Language of the URL.
|
960
|
+
sig { returns(T.nilable(String)) }
|
961
|
+
attr_reader :lang
|
962
|
+
|
963
|
+
sig { params(lang: String).void }
|
964
|
+
attr_writer :lang
|
965
|
+
|
966
|
+
# URL for more information about the situation.
|
967
|
+
sig { returns(T.nilable(String)) }
|
968
|
+
attr_reader :value
|
969
|
+
|
970
|
+
sig { params(value: String).void }
|
971
|
+
attr_writer :value
|
972
|
+
|
973
|
+
sig { params(lang: String, value: String).returns(T.attached_class) }
|
974
|
+
def self.new(
|
975
|
+
# Language of the URL.
|
976
|
+
lang: nil,
|
977
|
+
# URL for more information about the situation.
|
978
|
+
value: nil
|
979
|
+
)
|
980
|
+
end
|
981
|
+
|
982
|
+
sig { override.returns({ lang: String, value: String }) }
|
983
|
+
def to_hash
|
984
|
+
end
|
985
|
+
end
|
986
|
+
end
|
987
|
+
|
988
|
+
class Stop < OnebusawaySDK::Internal::Type::BaseModel
|
989
|
+
OrHash =
|
990
|
+
T.type_alias do
|
991
|
+
T.any(
|
992
|
+
OnebusawaySDK::References::Stop,
|
993
|
+
OnebusawaySDK::Internal::AnyHash
|
994
|
+
)
|
995
|
+
end
|
996
|
+
|
997
|
+
sig { returns(String) }
|
998
|
+
attr_accessor :id
|
999
|
+
|
1000
|
+
sig { returns(Float) }
|
1001
|
+
attr_accessor :lat
|
1002
|
+
|
1003
|
+
sig { returns(Float) }
|
1004
|
+
attr_accessor :lon
|
1005
|
+
|
1006
|
+
sig { returns(String) }
|
1007
|
+
attr_accessor :name
|
1008
|
+
|
1009
|
+
sig { returns(String) }
|
1010
|
+
attr_accessor :parent
|
1011
|
+
|
1012
|
+
sig { returns(T::Array[String]) }
|
1013
|
+
attr_accessor :route_ids
|
1014
|
+
|
1015
|
+
sig { returns(T::Array[String]) }
|
1016
|
+
attr_accessor :static_route_ids
|
1017
|
+
|
1018
|
+
sig { returns(T.nilable(String)) }
|
1019
|
+
attr_reader :code
|
1020
|
+
|
1021
|
+
sig { params(code: String).void }
|
1022
|
+
attr_writer :code
|
1023
|
+
|
1024
|
+
sig { returns(T.nilable(String)) }
|
1025
|
+
attr_reader :direction
|
1026
|
+
|
1027
|
+
sig { params(direction: String).void }
|
1028
|
+
attr_writer :direction
|
1029
|
+
|
1030
|
+
sig { returns(T.nilable(Integer)) }
|
1031
|
+
attr_reader :location_type
|
1032
|
+
|
1033
|
+
sig { params(location_type: Integer).void }
|
1034
|
+
attr_writer :location_type
|
1035
|
+
|
1036
|
+
sig { returns(T.nilable(String)) }
|
1037
|
+
attr_reader :wheelchair_boarding
|
1038
|
+
|
1039
|
+
sig { params(wheelchair_boarding: String).void }
|
1040
|
+
attr_writer :wheelchair_boarding
|
1041
|
+
|
1042
|
+
sig do
|
1043
|
+
params(
|
1044
|
+
id: String,
|
1045
|
+
lat: Float,
|
1046
|
+
lon: Float,
|
1047
|
+
name: String,
|
1048
|
+
parent: String,
|
1049
|
+
route_ids: T::Array[String],
|
1050
|
+
static_route_ids: T::Array[String],
|
1051
|
+
code: String,
|
1052
|
+
direction: String,
|
1053
|
+
location_type: Integer,
|
1054
|
+
wheelchair_boarding: String
|
1055
|
+
).returns(T.attached_class)
|
1056
|
+
end
|
1057
|
+
def self.new(
|
1058
|
+
id:,
|
1059
|
+
lat:,
|
1060
|
+
lon:,
|
1061
|
+
name:,
|
1062
|
+
parent:,
|
1063
|
+
route_ids:,
|
1064
|
+
static_route_ids:,
|
1065
|
+
code: nil,
|
1066
|
+
direction: nil,
|
1067
|
+
location_type: nil,
|
1068
|
+
wheelchair_boarding: nil
|
1069
|
+
)
|
1070
|
+
end
|
1071
|
+
|
1072
|
+
sig do
|
1073
|
+
override.returns(
|
1074
|
+
{
|
1075
|
+
id: String,
|
1076
|
+
lat: Float,
|
1077
|
+
lon: Float,
|
1078
|
+
name: String,
|
1079
|
+
parent: String,
|
1080
|
+
route_ids: T::Array[String],
|
1081
|
+
static_route_ids: T::Array[String],
|
1082
|
+
code: String,
|
1083
|
+
direction: String,
|
1084
|
+
location_type: Integer,
|
1085
|
+
wheelchair_boarding: String
|
1086
|
+
}
|
1087
|
+
)
|
1088
|
+
end
|
1089
|
+
def to_hash
|
1090
|
+
end
|
1091
|
+
end
|
1092
|
+
|
1093
|
+
class StopTime < OnebusawaySDK::Internal::Type::BaseModel
|
1094
|
+
OrHash =
|
1095
|
+
T.type_alias do
|
1096
|
+
T.any(
|
1097
|
+
OnebusawaySDK::References::StopTime,
|
1098
|
+
OnebusawaySDK::Internal::AnyHash
|
1099
|
+
)
|
1100
|
+
end
|
1101
|
+
|
1102
|
+
sig { returns(T.nilable(Integer)) }
|
1103
|
+
attr_reader :arrival_time
|
1104
|
+
|
1105
|
+
sig { params(arrival_time: Integer).void }
|
1106
|
+
attr_writer :arrival_time
|
1107
|
+
|
1108
|
+
sig { returns(T.nilable(Integer)) }
|
1109
|
+
attr_reader :departure_time
|
1110
|
+
|
1111
|
+
sig { params(departure_time: Integer).void }
|
1112
|
+
attr_writer :departure_time
|
1113
|
+
|
1114
|
+
sig { returns(T.nilable(Float)) }
|
1115
|
+
attr_reader :distance_along_trip
|
1116
|
+
|
1117
|
+
sig { params(distance_along_trip: Float).void }
|
1118
|
+
attr_writer :distance_along_trip
|
1119
|
+
|
1120
|
+
sig { returns(T.nilable(String)) }
|
1121
|
+
attr_reader :historical_occupancy
|
1122
|
+
|
1123
|
+
sig { params(historical_occupancy: String).void }
|
1124
|
+
attr_writer :historical_occupancy
|
1125
|
+
|
1126
|
+
sig { returns(T.nilable(String)) }
|
1127
|
+
attr_reader :stop_headsign
|
1128
|
+
|
1129
|
+
sig { params(stop_headsign: String).void }
|
1130
|
+
attr_writer :stop_headsign
|
1131
|
+
|
1132
|
+
sig { returns(T.nilable(String)) }
|
1133
|
+
attr_reader :stop_id
|
1134
|
+
|
1135
|
+
sig { params(stop_id: String).void }
|
1136
|
+
attr_writer :stop_id
|
1137
|
+
|
1138
|
+
sig do
|
1139
|
+
params(
|
1140
|
+
arrival_time: Integer,
|
1141
|
+
departure_time: Integer,
|
1142
|
+
distance_along_trip: Float,
|
1143
|
+
historical_occupancy: String,
|
1144
|
+
stop_headsign: String,
|
1145
|
+
stop_id: String
|
1146
|
+
).returns(T.attached_class)
|
1147
|
+
end
|
1148
|
+
def self.new(
|
1149
|
+
arrival_time: nil,
|
1150
|
+
departure_time: nil,
|
1151
|
+
distance_along_trip: nil,
|
1152
|
+
historical_occupancy: nil,
|
1153
|
+
stop_headsign: nil,
|
1154
|
+
stop_id: nil
|
1155
|
+
)
|
1156
|
+
end
|
1157
|
+
|
1158
|
+
sig do
|
1159
|
+
override.returns(
|
1160
|
+
{
|
1161
|
+
arrival_time: Integer,
|
1162
|
+
departure_time: Integer,
|
1163
|
+
distance_along_trip: Float,
|
1164
|
+
historical_occupancy: String,
|
1165
|
+
stop_headsign: String,
|
1166
|
+
stop_id: String
|
1167
|
+
}
|
1168
|
+
)
|
1169
|
+
end
|
1170
|
+
def to_hash
|
1171
|
+
end
|
1172
|
+
end
|
1173
|
+
|
1174
|
+
class Trip < OnebusawaySDK::Internal::Type::BaseModel
|
1175
|
+
OrHash =
|
1176
|
+
T.type_alias do
|
1177
|
+
T.any(
|
1178
|
+
OnebusawaySDK::References::Trip,
|
1179
|
+
OnebusawaySDK::Internal::AnyHash
|
1180
|
+
)
|
1181
|
+
end
|
1182
|
+
|
1183
|
+
sig { returns(String) }
|
1184
|
+
attr_accessor :id
|
1185
|
+
|
1186
|
+
sig { returns(String) }
|
1187
|
+
attr_accessor :route_id
|
1188
|
+
|
1189
|
+
sig { returns(String) }
|
1190
|
+
attr_accessor :service_id
|
1191
|
+
|
1192
|
+
sig { returns(T.nilable(String)) }
|
1193
|
+
attr_reader :block_id
|
1194
|
+
|
1195
|
+
sig { params(block_id: String).void }
|
1196
|
+
attr_writer :block_id
|
1197
|
+
|
1198
|
+
sig { returns(T.nilable(String)) }
|
1199
|
+
attr_reader :direction_id
|
1200
|
+
|
1201
|
+
sig { params(direction_id: String).void }
|
1202
|
+
attr_writer :direction_id
|
1203
|
+
|
1204
|
+
sig { returns(T.nilable(Integer)) }
|
1205
|
+
attr_reader :peak_offpeak
|
1206
|
+
|
1207
|
+
sig { params(peak_offpeak: Integer).void }
|
1208
|
+
attr_writer :peak_offpeak
|
1209
|
+
|
1210
|
+
sig { returns(T.nilable(String)) }
|
1211
|
+
attr_reader :route_short_name
|
1212
|
+
|
1213
|
+
sig { params(route_short_name: String).void }
|
1214
|
+
attr_writer :route_short_name
|
1215
|
+
|
1216
|
+
sig { returns(T.nilable(String)) }
|
1217
|
+
attr_reader :shape_id
|
1218
|
+
|
1219
|
+
sig { params(shape_id: String).void }
|
1220
|
+
attr_writer :shape_id
|
1221
|
+
|
1222
|
+
sig { returns(T.nilable(String)) }
|
1223
|
+
attr_reader :time_zone
|
1224
|
+
|
1225
|
+
sig { params(time_zone: String).void }
|
1226
|
+
attr_writer :time_zone
|
1227
|
+
|
1228
|
+
sig { returns(T.nilable(String)) }
|
1229
|
+
attr_reader :trip_headsign
|
1230
|
+
|
1231
|
+
sig { params(trip_headsign: String).void }
|
1232
|
+
attr_writer :trip_headsign
|
1233
|
+
|
1234
|
+
sig { returns(T.nilable(String)) }
|
1235
|
+
attr_reader :trip_short_name
|
1236
|
+
|
1237
|
+
sig { params(trip_short_name: String).void }
|
1238
|
+
attr_writer :trip_short_name
|
1239
|
+
|
1240
|
+
sig do
|
1241
|
+
params(
|
1242
|
+
id: String,
|
1243
|
+
route_id: String,
|
1244
|
+
service_id: String,
|
1245
|
+
block_id: String,
|
1246
|
+
direction_id: String,
|
1247
|
+
peak_offpeak: Integer,
|
1248
|
+
route_short_name: String,
|
1249
|
+
shape_id: String,
|
1250
|
+
time_zone: String,
|
1251
|
+
trip_headsign: String,
|
1252
|
+
trip_short_name: String
|
1253
|
+
).returns(T.attached_class)
|
1254
|
+
end
|
1255
|
+
def self.new(
|
1256
|
+
id:,
|
1257
|
+
route_id:,
|
1258
|
+
service_id:,
|
1259
|
+
block_id: nil,
|
1260
|
+
direction_id: nil,
|
1261
|
+
peak_offpeak: nil,
|
1262
|
+
route_short_name: nil,
|
1263
|
+
shape_id: nil,
|
1264
|
+
time_zone: nil,
|
1265
|
+
trip_headsign: nil,
|
1266
|
+
trip_short_name: nil
|
1267
|
+
)
|
1268
|
+
end
|
1269
|
+
|
1270
|
+
sig do
|
1271
|
+
override.returns(
|
1272
|
+
{
|
1273
|
+
id: String,
|
1274
|
+
route_id: String,
|
1275
|
+
service_id: String,
|
1276
|
+
block_id: String,
|
1277
|
+
direction_id: String,
|
1278
|
+
peak_offpeak: Integer,
|
1279
|
+
route_short_name: String,
|
1280
|
+
shape_id: String,
|
1281
|
+
time_zone: String,
|
1282
|
+
trip_headsign: String,
|
1283
|
+
trip_short_name: String
|
1284
|
+
}
|
1285
|
+
)
|
1286
|
+
end
|
1287
|
+
def to_hash
|
1288
|
+
end
|
1289
|
+
end
|
1290
|
+
end
|
1291
|
+
end
|
1292
|
+
end
|