Class: Anthropic::Models::Beta::BetaManagedAgentsDeploymentSystemMessageEvent

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/anthropic/models/beta/beta_managed_agents_deployment_system_message_event.rb,
sig/anthropic/models/beta/beta_managed_agents_deployment_system_message_event.rbs

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 ⇒ BetaManagedAgentsDeploymentSystemMessageEvent

Returns a new instance of BetaManagedAgentsDeploymentSystemMessageEvent.

Parameters:

  • content: (::Array[Anthropic::Beta::BetaManagedAgentsSystemContentBlock])
  • type: (:"system.message")


17
18
19
20
# File 'sig/anthropic/models/beta/beta_managed_agents_deployment_system_message_event.rbs', line 17

def initialize: (
  content: ::Array[Anthropic::Beta::BetaManagedAgentsSystemContentBlock],
  ?type: :"system.message"
) -> void

Instance Attribute Details

#content ⇒ Array<Anthropic::Models::Beta::BetaManagedAgentsSystemContentBlock>

System content blocks to append. Text-only.

Parameters:

  • value (::Array[Anthropic::Beta::BetaManagedAgentsSystemContentBlock])

Returns:



11
12
# File 'lib/anthropic/models/beta/beta_managed_agents_deployment_system_message_event.rb', line 11

required :content,
-> { Anthropic::Internal::Type::ArrayOf[Anthropic::Beta::BetaManagedAgentsSystemContentBlock] }

#type ⇒ Symbol, :"system.message"

Parameters:

  • value (:"system.message")

Returns:

  • (Symbol, :"system.message")


17
# File 'lib/anthropic/models/beta/beta_managed_agents_deployment_system_message_event.rb', line 17

required :type, const: :"system.message"

Instance Method Details

#to_hash ⇒ { content: ::Array[Anthropic::Beta::BetaManagedAgentsSystemContentBlock], type: :"system.message" }

Returns:

  • ({ content: ::Array[Anthropic::Beta::BetaManagedAgentsSystemContentBlock], type: :"system.message" })


22
23
24
25
# File 'sig/anthropic/models/beta/beta_managed_agents_deployment_system_message_event.rbs', line 22

def to_hash: -> {
  content: ::Array[Anthropic::Beta::BetaManagedAgentsSystemContentBlock],
  type: :"system.message"
}