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

Attributes inherited from Internal::Type::BaseModel

#last_response

Instance Method Summary collapse

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

#initializeObject



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

def initialize: (

Instance Attribute Details

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

Returns the value of attribute agent.

Returns:

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


2022
2023
2024
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 2022

def agent
  @agent
end

#call_idString

Returns the value of attribute call_id.

Returns:

  • (String)


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

def call_id
  @call_id
end

#idString

Returns the value of attribute id.

Returns:

  • (String)


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

def id
  @id
end

#resultString

Returns the value of attribute result.

Returns:

  • (String)


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

def result
  @result
end

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

Returns the value of attribute status.

Returns:

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


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

def status
  @status
end

#type:program_output

Returns the value of attribute type.

Returns:

  • (:program_output)


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

def type
  @type
end

Instance Method Details

#to_hash{

Returns:

  • ({)


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

def to_hash: -> {