Class: Cadenya::Models::ObjectiveEventDataTimedOut::TimedOut
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Cadenya::Models::ObjectiveEventDataTimedOut::TimedOut
- Defined in:
- lib/cadenya/models/objective_event_data_timed_out.rb,
sig/cadenya/models/objective_event_data_timed_out.rbs
Overview
Instance Attribute Summary collapse
-
#message ⇒ String?
Human-readable note recorded at timeout time (e.g. "Timed out after 2h of inactivity").
Instance Method Summary collapse
-
#initialize ⇒ TimedOut
constructor
A new instance of TimedOut.
- #to_hash ⇒ { message: 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 ⇒ TimedOut
Returns a new instance of TimedOut.
31 |
# File 'sig/cadenya/models/objective_event_data_timed_out.rbs', line 31
def initialize: (?message: String) -> void
|
Instance Attribute Details
#message ⇒ String?
Human-readable note recorded at timeout time (e.g. "Timed out after 2h of inactivity").
37 |
# File 'lib/cadenya/models/objective_event_data_timed_out.rb', line 37 optional :message, String |
Instance Method Details
#to_hash ⇒ { message: String }
33 |
# File 'sig/cadenya/models/objective_event_data_timed_out.rbs', line 33
def to_hash: -> { message: String }
|