Class: Cadenya::Models::ObjectiveEventDataTimedOut::TimedOut

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/cadenya/models/objective_event_data_timed_out.rb,
sig/cadenya/models/objective_event_data_timed_out.rbs

Overview

See Also:

  • Cadenya::Models::ObjectiveEventDataTimedOut#timed_out

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#initializeTimedOut

Returns a new instance of TimedOut.

Parameters:

  • message: (String)


31
# File 'sig/cadenya/models/objective_event_data_timed_out.rbs', line 31

def initialize: (?message: String) -> void

Instance Attribute Details

#messageString?

Human-readable note recorded at timeout time (e.g. "Timed out after 2h of inactivity").

Parameters:

  • (String)

Returns:

  • (String, nil)


37
# File 'lib/cadenya/models/objective_event_data_timed_out.rb', line 37

optional :message, String

Instance Method Details

#to_hash{ message: String }

Returns:

  • ({ message: String })


33
# File 'sig/cadenya/models/objective_event_data_timed_out.rbs', line 33

def to_hash: -> { message: String }