Class: Cadenya::Models::ToolSetEvent

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

Overview

See Also:

  • Cadenya::Resources::ToolSets#list_events

Defined Under Namespace

Classes: Info

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

#initialize(metadata:, event: nil, info: nil, tool_set_id: nil) ⇒ Object

Some parameter documentations has been truncated, see Cadenya::Models::ToolSetEvent for more details.

A single event in the tool set's operation timeline.

Parameters:



# File 'lib/cadenya/models/tool_set_event.rb', line 33

Instance Attribute Details

#eventCadenya::Models::ToolSetEventData?

Event payload for a tool set operation.



18
# File 'lib/cadenya/models/tool_set_event.rb', line 18

optional :event, -> { Cadenya::ToolSetEventData }

#infoCadenya::Models::ToolSetEvent::Info?

Parameters:

  • (Cadenya::ToolSetEvent::Info)

Returns:



23
# File 'lib/cadenya/models/tool_set_event.rb', line 23

optional :info, -> { Cadenya::ToolSetEvent::Info }

#metadataCadenya::Models::OperationMetadata

Metadata for ephemeral operations and activities (e.g., objectives, executions, runs)



12
# File 'lib/cadenya/models/tool_set_event.rb', line 12

required :metadata, -> { Cadenya::OperationMetadata }

#tool_set_idString? (readonly)

Returns the value of attribute tool_set_id.

Returns:

  • (String, nil)


22
23
24
# File 'sig/cadenya/models/tool_set_event.rbs', line 22

def tool_set_id
  @tool_set_id
end

Instance Method Details

#to_hash{

Returns:

  • ({)


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

def to_hash: -> {

#tool_set_id=String (readonly)

Parameters:

  • (String)

Returns:

  • (String)


24
# File 'sig/cadenya/models/tool_set_event.rbs', line 24

def tool_set_id=: (String) -> String