Class: OpenAI::Models::BetaResponseInputItem::Beta::BetaResponseInputItem::ApplyPatchCallOutput

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

Defined Under Namespace

Modules: Caller, 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



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

def initialize: (

Instance Attribute Details

#agentOpenAI::Beta::BetaResponseInputItem::ApplyPatchCallOutput::Agent?

Returns the value of attribute agent.

Returns:

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


1501
1502
1503
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 1501

def agent
  @agent
end

#call_idString

Returns the value of attribute call_id.

Returns:

  • (String)


1493
1494
1495
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 1493

def call_id
  @call_id
end

#caller_OpenAI::Models::Beta::BetaResponseInputItem::ApplyPatchCallOutput::caller_?

Returns the value of attribute caller_.

Returns:

  • (OpenAI::Models::Beta::BetaResponseInputItem::ApplyPatchCallOutput::caller_, nil)


1503
1504
1505
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 1503

def caller_
  @caller_
end

#idString?

Returns the value of attribute id.

Returns:

  • (String, nil)


1499
1500
1501
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 1499

def id
  @id
end

#outputString?

Returns the value of attribute output.

Returns:

  • (String, nil)


1505
1506
1507
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 1505

def output
  @output
end

#statusOpenAI::Models::Beta::BetaResponseInputItem::ApplyPatchCallOutput::status

Returns the value of attribute status.

Returns:

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


1495
1496
1497
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 1495

def status
  @status
end

#type:apply_patch_call_output

Returns the value of attribute type.

Returns:

  • (:apply_patch_call_output)


1497
1498
1499
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 1497

def type
  @type
end

Instance Method Details

#to_hash{

Returns:

  • ({)


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

def to_hash: -> {