Class: OpenAI::Models::BetaResponseOutputItem::Beta::BetaResponseOutputItem::AgentMessage
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::BetaResponseOutputItem::Beta::BetaResponseOutputItem::AgentMessage
- Defined in:
- sig/openai/models/beta/beta_response_output_item.rbs
Defined Under Namespace
Modules: Content Classes: Agent
Instance Attribute Summary collapse
-
#agent ⇒ OpenAI::Beta::BetaResponseOutputItem::AgentMessage::Agent?
readonly
Returns the value of attribute agent.
-
#author ⇒ String
Returns the value of attribute author.
-
#content ⇒ ::Array[OpenAI::Models::Beta::BetaResponseOutputItem::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.
Instance Method Summary collapse
- #agent ⇒ Object readonly
- #initialize ⇒ Object constructor
- #to_hash ⇒ {
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 ⇒ Object
69 |
# File 'sig/openai/models/beta/beta_response_output_item.rbs', line 69
def initialize: (
|
Instance Attribute Details
#agent ⇒ OpenAI::Beta::BetaResponseOutputItem::AgentMessage::Agent? (readonly)
Returns the value of attribute agent.
63 64 65 |
# File 'sig/openai/models/beta/beta_response_output_item.rbs', line 63 def agent @agent end |
#author ⇒ String
Returns the value of attribute author.
55 56 57 |
# File 'sig/openai/models/beta/beta_response_output_item.rbs', line 55 def @author end |
#content ⇒ ::Array[OpenAI::Models::Beta::BetaResponseOutputItem::AgentMessage::content]
Returns the value of attribute content.
57 58 59 |
# File 'sig/openai/models/beta/beta_response_output_item.rbs', line 57 def content @content end |
#id ⇒ String
Returns the value of attribute id.
53 54 55 |
# File 'sig/openai/models/beta/beta_response_output_item.rbs', line 53 def id @id end |
#recipient ⇒ String
Returns the value of attribute recipient.
59 60 61 |
# File 'sig/openai/models/beta/beta_response_output_item.rbs', line 59 def recipient @recipient end |
#type ⇒ :agent_message
Returns the value of attribute type.
61 62 63 |
# File 'sig/openai/models/beta/beta_response_output_item.rbs', line 61 def type @type end |
Instance Method Details
#agent= ⇒ Object (readonly)
65 |
# File 'sig/openai/models/beta/beta_response_output_item.rbs', line 65
def agent=: (
|
#to_hash ⇒ {
78 |
# File 'sig/openai/models/beta/beta_response_output_item.rbs', line 78
def to_hash: -> {
|