Class: Anthropic::Models::Beta::BetaDreamSessionsInput
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::BetaDreamSessionsInput
- Defined in:
- lib/anthropic/models/beta/beta_dream_sessions_input.rb,
sig/anthropic/models/beta/beta_dream_sessions_input.rbs
Instance Attribute Summary collapse
-
#session_ids ⇒ Array<String>
The IDs of the sessions whose transcripts the dream reads (
sesn_...). - #type ⇒ Symbol, :sessions
Instance Method Summary collapse
-
#initialize ⇒ BetaDreamSessionsInput
constructor
A new instance of BetaDreamSessionsInput.
- #to_hash ⇒ { session_ids: ::Array[String], type: :sessions }
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 ⇒ BetaDreamSessionsInput
Returns a new instance of BetaDreamSessionsInput.
14 |
# File 'sig/anthropic/models/beta/beta_dream_sessions_input.rbs', line 14
def initialize: (session_ids: ::Array[String], ?type: :sessions) -> void
|
Instance Attribute Details
#session_ids ⇒ Array<String>
The IDs of the sessions whose transcripts the dream reads (sesn_...).
Give 1 to 100 IDs, with no duplicates. Each session must be in the same workspace as the dream. Responses list the IDs in sorted order.
14 |
# File 'lib/anthropic/models/beta/beta_dream_sessions_input.rb', line 14 required :session_ids, Anthropic::Internal::Type::ArrayOf[String] |
#type ⇒ Symbol, :sessions
19 |
# File 'lib/anthropic/models/beta/beta_dream_sessions_input.rb', line 19 required :type, const: :sessions |
Instance Method Details
#to_hash ⇒ { session_ids: ::Array[String], type: :sessions }
16 |
# File 'sig/anthropic/models/beta/beta_dream_sessions_input.rbs', line 16
def to_hash: -> { session_ids: ::Array[String], type: :sessions }
|