Class: Courier::Models::CancelJourneyRequest::ByRunID
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Courier::Models::CancelJourneyRequest::ByRunID
- Defined in:
- lib/courier/models/cancel_journey_request.rb,
sig/courier/models/cancel_journey_request.rbs
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(run_id:) ⇒ ByRunID
constructor
A new instance of ByRunID.
- #to_hash ⇒ { run_id: String }
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(run_id:) ⇒ ByRunID
Returns a new instance of ByRunID.
|
|
# File 'lib/courier/models/cancel_journey_request.rb', line 31
|
Instance Attribute Details
#run_id ⇒ String
29 |
# File 'lib/courier/models/cancel_journey_request.rb', line 29 required :run_id, String |
Instance Method Details
#to_hash ⇒ { run_id: String }
27 |
# File 'sig/courier/models/cancel_journey_request.rbs', line 27
def to_hash: -> { run_id: String }
|