Class: OnebusawaySDK::Models::ReportProblemWithStopRetrieveParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OnebusawaySDK::Models::ReportProblemWithStopRetrieveParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/onebusaway_sdk/models/report_problem_with_stop_retrieve_params.rb
Overview
Defined Under Namespace
Modules: Code
Instance Attribute Summary collapse
-
#code ⇒ Symbol, ...
A string code identifying the nature of 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.
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, user_comment: nil, user_lat: nil, user_location_accuracy: nil, user_lon: nil, request_options: {}) ⇒ Object
|
|
# File 'lib/onebusaway_sdk/models/report_problem_with_stop_retrieve_params.rb', line 40
|
Instance Attribute Details
#code ⇒ Symbol, ...
A string code identifying the nature of the problem
14 |
# File 'lib/onebusaway_sdk/models/report_problem_with_stop_retrieve_params.rb', line 14 optional :code, enum: -> { OnebusawaySDK::ReportProblemWithStopRetrieveParams::Code } |
#user_comment ⇒ String?
Additional comment text supplied by the user describing the problem
20 |
# File 'lib/onebusaway_sdk/models/report_problem_with_stop_retrieve_params.rb', line 20 optional :user_comment, String |
#user_lat ⇒ Float?
The reporting user’s current latitude
26 |
# File 'lib/onebusaway_sdk/models/report_problem_with_stop_retrieve_params.rb', line 26 optional :user_lat, Float |
#user_location_accuracy ⇒ Float?
The reporting user’s location accuracy, in meters
32 |
# File 'lib/onebusaway_sdk/models/report_problem_with_stop_retrieve_params.rb', line 32 optional :user_location_accuracy, Float |
#user_lon ⇒ Float?
The reporting user’s current longitude
38 |
# File 'lib/onebusaway_sdk/models/report_problem_with_stop_retrieve_params.rb', line 38 optional :user_lon, Float |