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



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

def initialize: (

Instance Attribute Details

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

Returns the value of attribute agent.

Returns:

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


1511
1512
1513
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 1511

def agent
  @agent
end

#call_idString

Returns the value of attribute call_id.

Returns:

  • (String)


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

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)


1513
1514
1515
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 1513

def caller_
  @caller_
end

#idString?

Returns the value of attribute id.

Returns:

  • (String, nil)


1509
1510
1511
# File 'sig/openai/models/beta/beta_response_input_item.rbs', line 1509

def id
  @id
end

#outputString?

Returns the value of attribute output.

Returns:

  • (String, nil)


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

def output
  @output
end

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

Returns the value of attribute status.

Returns:

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


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

def status
  @status
end

#type:apply_patch_call_output

Returns the value of attribute type.

Returns:

  • (:apply_patch_call_output)


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

def type
  @type
end

Instance Method Details

#to_hash{

Returns:

  • ({)


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

def to_hash: -> {