Class: OpenAI::Models::BetaResponseItem::Beta::BetaResponseItem::Program
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::BetaResponseItem::Beta::BetaResponseItem::Program
- Defined in:
- sig/openai/models/beta/beta_response_item.rbs
Defined Under Namespace
Classes: Agent
Instance Attribute Summary collapse
-
#agent ⇒ OpenAI::Beta::BetaResponseItem::Program::Agent?
readonly
Returns the value of attribute agent.
-
#call_id ⇒ String
Returns the value of attribute call_id.
-
#code ⇒ String
Returns the value of attribute code.
-
#fingerprint ⇒ String
Returns the value of attribute fingerprint.
-
#id ⇒ String
Returns the value of attribute id.
-
#type ⇒ :program
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
493 |
# File 'sig/openai/models/beta/beta_response_item.rbs', line 493
def initialize: (
|
Instance Attribute Details
#agent ⇒ OpenAI::Beta::BetaResponseItem::Program::Agent? (readonly)
Returns the value of attribute agent.
487 488 489 |
# File 'sig/openai/models/beta/beta_response_item.rbs', line 487 def agent @agent end |
#call_id ⇒ String
Returns the value of attribute call_id.
479 480 481 |
# File 'sig/openai/models/beta/beta_response_item.rbs', line 479 def call_id @call_id end |
#code ⇒ String
Returns the value of attribute code.
481 482 483 |
# File 'sig/openai/models/beta/beta_response_item.rbs', line 481 def code @code end |
#fingerprint ⇒ String
Returns the value of attribute fingerprint.
483 484 485 |
# File 'sig/openai/models/beta/beta_response_item.rbs', line 483 def fingerprint @fingerprint end |
#id ⇒ String
Returns the value of attribute id.
477 478 479 |
# File 'sig/openai/models/beta/beta_response_item.rbs', line 477 def id @id end |
#type ⇒ :program
Returns the value of attribute type.
485 486 487 |
# File 'sig/openai/models/beta/beta_response_item.rbs', line 485 def type @type end |
Instance Method Details
#agent= ⇒ Object (readonly)
489 |
# File 'sig/openai/models/beta/beta_response_item.rbs', line 489
def agent=: (
|
#to_hash ⇒ {
502 |
# File 'sig/openai/models/beta/beta_response_item.rbs', line 502
def to_hash: -> {
|