Class: OnebusawaySDK::Models::ReportProblemWithTripRetrieveParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OnebusawaySDK::Models::ReportProblemWithTripRetrieveParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/onebusaway_sdk/models/report_problem_with_trip_retrieve_params.rb
Overview
Defined Under Namespace
Modules: Code
Instance Attribute Summary collapse
-
#code ⇒ Symbol, ...
A string code identifying the nature of the problem.
-
#service_date ⇒ Integer?
The service date of the trip.
-
#stop_id ⇒ String?
A stop ID indicating where the user is experiencing the problem.
-
#user_comment ⇒ String?
Additional comment text supplied by the user describing the problem.
-
#user_lat ⇒ Float?
The reporting user’s current latitude.
-
#user_location_accuracy ⇒ Float?
The reporting user’s location accuracy, in meters.
-
#user_lon ⇒ Float?
The reporting user’s current longitude.
-
#user_on_vehicle ⇒ Boolean?
Indicator if the user is on the transit vehicle experiencing the problem.
-
#user_vehicle_number ⇒ String?
The vehicle number, as reported by the user.
-
#vehicle_id ⇒ String?
The vehicle actively serving the trip.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(code: nil, service_date: nil, stop_id: nil, user_comment: nil, user_lat: nil, user_location_accuracy: nil, user_lon: nil, user_on_vehicle: nil, user_vehicle_number: nil, vehicle_id: nil, request_options: {}) ⇒ Object
|
|
# File 'lib/onebusaway_sdk/models/report_problem_with_trip_retrieve_params.rb', line 70
|
Instance Attribute Details
#code ⇒ Symbol, ...
A string code identifying the nature of the problem
14 |
# File 'lib/onebusaway_sdk/models/report_problem_with_trip_retrieve_params.rb', line 14 optional :code, enum: -> { OnebusawaySDK::ReportProblemWithTripRetrieveParams::Code } |
#service_date ⇒ Integer?
The service date of the trip
20 |
# File 'lib/onebusaway_sdk/models/report_problem_with_trip_retrieve_params.rb', line 20 optional :service_date, Integer |
#stop_id ⇒ String?
A stop ID indicating where the user is experiencing the problem
26 |
# File 'lib/onebusaway_sdk/models/report_problem_with_trip_retrieve_params.rb', line 26 optional :stop_id, String |
#user_comment ⇒ String?
Additional comment text supplied by the user describing the problem
32 |
# File 'lib/onebusaway_sdk/models/report_problem_with_trip_retrieve_params.rb', line 32 optional :user_comment, String |
#user_lat ⇒ Float?
The reporting user’s current latitude
38 |
# File 'lib/onebusaway_sdk/models/report_problem_with_trip_retrieve_params.rb', line 38 optional :user_lat, Float |
#user_location_accuracy ⇒ Float?
The reporting user’s location accuracy, in meters
44 |
# File 'lib/onebusaway_sdk/models/report_problem_with_trip_retrieve_params.rb', line 44 optional :user_location_accuracy, Float |
#user_lon ⇒ Float?
The reporting user’s current longitude
50 |
# File 'lib/onebusaway_sdk/models/report_problem_with_trip_retrieve_params.rb', line 50 optional :user_lon, Float |
#user_on_vehicle ⇒ Boolean?
Indicator if the user is on the transit vehicle experiencing the problem
56 |
# File 'lib/onebusaway_sdk/models/report_problem_with_trip_retrieve_params.rb', line 56 optional :user_on_vehicle, OnebusawaySDK::Internal::Type::Boolean |
#user_vehicle_number ⇒ String?
The vehicle number, as reported by the user
62 |
# File 'lib/onebusaway_sdk/models/report_problem_with_trip_retrieve_params.rb', line 62 optional :user_vehicle_number, String |
#vehicle_id ⇒ String?
The vehicle actively serving the trip
68 |
# File 'lib/onebusaway_sdk/models/report_problem_with_trip_retrieve_params.rb', line 68 optional :vehicle_id, String |