Class: OpenAI::Models::BetaResponseInputItem::Beta::BetaResponseInputItem::Message
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::BetaResponseInputItem::Beta::BetaResponseInputItem::Message
- Defined in:
- sig/openai/models/beta/beta_response_input_item.rbs
Defined Under Namespace
Modules: Role, Status, Type Classes: Agent
Instance Attribute Summary collapse
-
#agent ⇒ OpenAI::Beta::BetaResponseInputItem::Message::Agent?
Returns the value of attribute agent.
-
#content ⇒ OpenAI::Models::Beta::beta_response_input_message_content_list
Returns the value of attribute content.
-
#role ⇒ OpenAI::Models::Beta::BetaResponseInputItem::Message::role
Returns the value of attribute role.
-
#status ⇒ OpenAI::Models::Beta::BetaResponseInputItem::Message::status?
readonly
Returns the value of attribute status.
-
#type ⇒ OpenAI::Models::Beta::BetaResponseInputItem::Message::type_?
readonly
Returns the value of attribute type.
Instance Method Summary collapse
- #initialize ⇒ Object constructor
- #status ⇒ Object readonly
- #to_hash ⇒ {
- #type ⇒ Object readonly
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
74 |
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 74
def initialize: (
|
Instance Attribute Details
#agent ⇒ OpenAI::Beta::BetaResponseInputItem::Message::Agent?
Returns the value of attribute agent.
60 61 62 |
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 60 def agent @agent end |
#content ⇒ OpenAI::Models::Beta::beta_response_input_message_content_list
Returns the value of attribute content.
56 57 58 |
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 56 def content @content end |
#role ⇒ OpenAI::Models::Beta::BetaResponseInputItem::Message::role
Returns the value of attribute role.
58 59 60 |
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 58 def role @role end |
#status ⇒ OpenAI::Models::Beta::BetaResponseInputItem::Message::status? (readonly)
Returns the value of attribute status.
62 63 64 |
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 62 def status @status end |
#type ⇒ OpenAI::Models::Beta::BetaResponseInputItem::Message::type_? (readonly)
Returns the value of attribute type.
68 69 70 |
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 68 def type @type end |
Instance Method Details
#status= ⇒ Object (readonly)
64 |
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 64
def status=: (
|
#to_hash ⇒ {
82 |
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 82
def to_hash: -> {
|
#type= ⇒ Object (readonly)
70 |
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 70
def type=: (
|