Class: Cadenya::Models::UnwrapWebhookEvent::Data

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/cadenya/models/unwrap_webhook_event.rb

Overview

See Also:

Defined Under Namespace

Classes: ObjectiveEvent

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(agent:, agent_variation:, objective:, objective_event:) ⇒ Object

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

The webhook data payload with flat top-level keys for agent, variation, objective, and event.

Parameters:



# File 'lib/cadenya/models/unwrap_webhook_event.rb', line 66

Instance Attribute Details

#agentCadenya::Models::ResourceMetadata

Standard metadata for persistent, named resources (e.g., agents, tools, prompts)



44
# File 'lib/cadenya/models/unwrap_webhook_event.rb', line 44

required :agent, -> { Cadenya::ResourceMetadata }

#agent_variationCadenya::Models::ResourceMetadata

Standard metadata for persistent, named resources (e.g., agents, tools, prompts)



50
# File 'lib/cadenya/models/unwrap_webhook_event.rb', line 50

required :agent_variation, -> { Cadenya::ResourceMetadata }, api_name: :agentVariation

#objectiveCadenya::Models::OperationMetadata

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



57
# File 'lib/cadenya/models/unwrap_webhook_event.rb', line 57

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

#objective_eventCadenya::Models::UnwrapWebhookEvent::Data::ObjectiveEvent



62
63
64
# File 'lib/cadenya/models/unwrap_webhook_event.rb', line 62

required :objective_event,
-> { Cadenya::UnwrapWebhookEvent::Data::ObjectiveEvent },
api_name: :objectiveEvent