Class: Cadenya::Models::ObjectiveEventWebhookData
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Cadenya::Models::ObjectiveEventWebhookData
- Defined in:
- lib/cadenya/models/objective_event_webhook_data.rb
Defined Under Namespace
Classes: Data
Instance Attribute Summary collapse
-
#data ⇒ Cadenya::Models::ObjectiveEventWebhookData::Data
The webhook data payload with flat top-level keys for agent, variation, objective, and event.
- #timestamp ⇒ Time
-
#type ⇒ String
The event type, prefixed with objective_event.
Instance Method Summary collapse
-
#initialize(data:, timestamp:, type:) ⇒ Object
constructor
Some parameter documentations has been truncated, see ObjectiveEventWebhookData for more details.
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(data:, timestamp:, type:) ⇒ Object
Some parameter documentations has been truncated, see Cadenya::Models::ObjectiveEventWebhookData for more details.
The envelope for an objective event webhook delivery. Contains timestamp, event type, and the webhook data payload.
|
|
# File 'lib/cadenya/models/objective_event_webhook_data.rb', line 25
|
Instance Attribute Details
#data ⇒ Cadenya::Models::ObjectiveEventWebhookData::Data
The webhook data payload with flat top-level keys for agent, variation, objective, and event.
11 |
# File 'lib/cadenya/models/objective_event_webhook_data.rb', line 11 required :data, -> { Cadenya::ObjectiveEventWebhookData::Data } |
#timestamp ⇒ Time
16 |
# File 'lib/cadenya/models/objective_event_webhook_data.rb', line 16 required :timestamp, Time |
#type ⇒ String
The event type, prefixed with objective_event. (e.g., objective_event.tool_result)
23 |
# File 'lib/cadenya/models/objective_event_webhook_data.rb', line 23 required :type, String |