Class: OpenAI::Models::BetaResponseInputItem::Beta::BetaResponseInputItem::ProgramOutput

Inherits:
Internal::Type::BaseModel show all
Defined in:
sig/openai/models/beta/beta_response_input_item.rbs

Defined Under Namespace

Modules: Status Classes: Agent

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#initializeObject



2020
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 2020

def initialize: (

Instance Attribute Details

#agentOpenAI::Beta::BetaResponseInputItem::ProgramOutput::Agent?

Returns the value of attribute agent.

Returns:

  • (OpenAI::Beta::BetaResponseInputItem::ProgramOutput::Agent, nil)


2018
2019
2020
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 2018

def agent
  @agent
end

#call_idString

Returns the value of attribute call_id.

Returns:

  • (String)


2010
2011
2012
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 2010

def call_id
  @call_id
end

#idString

Returns the value of attribute id.

Returns:

  • (String)


2008
2009
2010
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 2008

def id
  @id
end

#resultString

Returns the value of attribute result.

Returns:

  • (String)


2012
2013
2014
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 2012

def result
  @result
end

#statusOpenAI::Models::Beta::BetaResponseInputItem::ProgramOutput::status

Returns the value of attribute status.

Returns:

  • (OpenAI::Models::Beta::BetaResponseInputItem::ProgramOutput::status)


2014
2015
2016
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 2014

def status
  @status
end

#type:program_output

Returns the value of attribute type.

Returns:

  • (:program_output)


2016
2017
2018
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 2016

def type
  @type
end

Instance Method Details

#to_hash{

Returns:

  • ({)


2029
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 2029

def to_hash: -> {