Class: OpenAI::Models::BetaResponseInputItem::Beta::BetaResponseInputItem::AgentMessage
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::BetaResponseInputItem::Beta::BetaResponseInputItem::AgentMessage
- Defined in:
- sig/openai/models/beta/beta_response_input_item.rbs
Defined Under Namespace
Modules: Content Classes: Agent
Instance Attribute Summary collapse
-
#agent ⇒ OpenAI::Beta::BetaResponseInputItem::AgentMessage::Agent?
Returns the value of attribute agent.
-
#author ⇒ String
Returns the value of attribute author.
-
#content ⇒ ::Array[OpenAI::Models::Beta::BetaResponseInputItem::AgentMessage::content]
Returns the value of attribute content.
-
#id ⇒ String?
Returns the value of attribute id.
-
#recipient ⇒ String
Returns the value of attribute recipient.
-
#type ⇒ :agent_message
Returns the value of attribute type.
Attributes inherited from Internal::Type::BaseModel
Instance Method Summary collapse
- #initialize ⇒ Object constructor
- #to_hash ⇒ {
Methods inherited from Internal::Type::BaseModel
==, #==, #[], #_request_id, #_set_last_response, coerce, #deconstruct_keys, #deep_to_h, dump, #encode_with, 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, coerce_with_error, #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 ⇒ Object
367 |
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 367
def initialize: (
|
Instance Attribute Details
#agent ⇒ OpenAI::Beta::BetaResponseInputItem::AgentMessage::Agent?
Returns the value of attribute agent.
365 366 367 |
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 365 def agent @agent end |
#author ⇒ String
Returns the value of attribute author.
355 356 357 |
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 355 def @author end |
#content ⇒ ::Array[OpenAI::Models::Beta::BetaResponseInputItem::AgentMessage::content]
Returns the value of attribute content.
357 358 359 |
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 357 def content @content end |
#id ⇒ String?
Returns the value of attribute id.
363 364 365 |
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 363 def id @id end |
#recipient ⇒ String
Returns the value of attribute recipient.
359 360 361 |
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 359 def recipient @recipient end |
#type ⇒ :agent_message
Returns the value of attribute type.
361 362 363 |
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 361 def type @type end |
Instance Method Details
#to_hash ⇒ {
376 |
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 376
def to_hash: -> {
|