Class: Cadenya::Models::ObjectiveEventDataNotice
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Cadenya::Models::ObjectiveEventDataNotice
- Defined in:
- lib/cadenya/models/objective_event_data_notice.rb,
sig/cadenya/models/objective_event_data_notice.rbs
Defined Under Namespace
Instance Attribute Summary collapse
-
#notice ⇒ Cadenya::Models::ObjectiveEventDataNotice::Notice
Notice is a non-terminal diagnostic emitted by the runtime when something noteworthy but non-fatal happens during an objective — for example a just-in-time tool set failing to load, or a previously loaded tool being dropped because it was archived.
- #type ⇒ Symbol, Cadenya::Models::ObjectiveEventDataNotice::Type
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(notice:, type:) ⇒ Object
constructor
Some parameter documentations has been truncated, see ObjectiveEventDataNotice for more details.
- #to_hash ⇒ {
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(notice:, type:) ⇒ Object
Some parameter documentations has been truncated, see Cadenya::Models::ObjectiveEventDataNotice for more details.
|
|
# File 'lib/cadenya/models/objective_event_data_notice.rb', line 21
|
Instance Attribute Details
#notice ⇒ Cadenya::Models::ObjectiveEventDataNotice::Notice
Notice is a non-terminal diagnostic emitted by the runtime when something noteworthy but non-fatal happens during an objective — for example a just-in-time tool set failing to load, or a previously loaded tool being dropped because it was archived. Notices carry no structured payload; they exist to make the objective timeline self-explanatory.
14 |
# File 'lib/cadenya/models/objective_event_data_notice.rb', line 14 required :notice, -> { Cadenya::ObjectiveEventDataNotice::Notice } |
#type ⇒ Symbol, Cadenya::Models::ObjectiveEventDataNotice::Type
19 |
# File 'lib/cadenya/models/objective_event_data_notice.rb', line 19 required :type, enum: -> { Cadenya::ObjectiveEventDataNotice::Type } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/cadenya/models/objective_event_data_notice.rb', line 74
|
Instance Method Details
#to_hash ⇒ {
19 |
# File 'sig/cadenya/models/objective_event_data_notice.rbs', line 19
def to_hash: -> {
|