Class: Anthropic::Models::Beta::BetaManagedAgentsSystemMessageEvent
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::BetaManagedAgentsSystemMessageEvent
- Defined in:
- lib/anthropic/models/beta/beta_managed_agents_system_message_event.rb,
sig/anthropic/models/beta/beta_managed_agents_system_message_event.rbs
Instance Attribute Summary collapse
-
#content ⇒ Array<Anthropic::Models::Beta::BetaManagedAgentsSystemContentBlock>
System content blocks.
-
#id ⇒ String
Unique identifier for this event.
-
#processed_at ⇒ Time?
Timestamp when this system message was processed.
- #type ⇒ Symbol, :"system.message"
Instance Method Summary collapse
-
#initialize ⇒ BetaManagedAgentsSystemMessageEvent
constructor
A new instance of BetaManagedAgentsSystemMessageEvent.
- #to_hash ⇒ { id: String, content: ::Array[Anthropic::Beta::BetaManagedAgentsSystemContentBlock], type: :"system.message", processed_at: Time? }
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 ⇒ BetaManagedAgentsSystemMessageEvent
Returns a new instance of BetaManagedAgentsSystemMessageEvent.
23 24 25 26 27 28 |
# File 'sig/anthropic/models/beta/beta_managed_agents_system_message_event.rbs', line 23
def initialize: (
id: String,
content: ::Array[Anthropic::Beta::BetaManagedAgentsSystemContentBlock],
?processed_at: Time?,
?type: :"system.message"
) -> void
|
Instance Attribute Details
#content ⇒ Array<Anthropic::Models::Beta::BetaManagedAgentsSystemContentBlock>
System content blocks. Text-only.
17 18 |
# File 'lib/anthropic/models/beta/beta_managed_agents_system_message_event.rb', line 17 required :content, -> { Anthropic::Internal::Type::ArrayOf[Anthropic::Beta::BetaManagedAgentsSystemContentBlock] } |
#id ⇒ String
Unique identifier for this event.
11 |
# File 'lib/anthropic/models/beta/beta_managed_agents_system_message_event.rb', line 11 required :id, String |
#processed_at ⇒ Time?
Timestamp when this system message was processed.
29 |
# File 'lib/anthropic/models/beta/beta_managed_agents_system_message_event.rb', line 29 optional :processed_at, Time, nil?: true |
#type ⇒ Symbol, :"system.message"
23 |
# File 'lib/anthropic/models/beta/beta_managed_agents_system_message_event.rb', line 23 required :type, const: :"system.message" |
Instance Method Details
#to_hash ⇒ { id: String, content: ::Array[Anthropic::Beta::BetaManagedAgentsSystemContentBlock], type: :"system.message", processed_at: Time? }
30 31 32 33 34 35 |
# File 'sig/anthropic/models/beta/beta_managed_agents_system_message_event.rbs', line 30
def to_hash: -> {
id: String,
content: ::Array[Anthropic::Beta::BetaManagedAgentsSystemContentBlock],
type: :"system.message",
processed_at: Time?
}
|