Class: OpenAI::Models::ConversationItem::Conversations::ConversationItem::McpCall

Inherits:
Internal::Type::BaseModel show all
Defined in:
sig/openai/models/conversations/conversation_item.rbs

Defined Under Namespace

Modules: Status

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



540
# File 'sig/openai/models/conversations/conversation_item.rbs', line 540

def initialize: (

Instance Attribute Details

#approval_request_idString?

Returns the value of attribute approval_request_id.

Returns:

  • (String, nil)


528
529
530
# File 'sig/openai/models/conversations/conversation_item.rbs', line 528

def approval_request_id
  @approval_request_id
end

#argumentsString

Returns the value of attribute arguments.

Returns:

  • (String)


520
521
522
# File 'sig/openai/models/conversations/conversation_item.rbs', line 520

def arguments
  @arguments
end

#errorString?

Returns the value of attribute error.

Returns:

  • (String, nil)


530
531
532
# File 'sig/openai/models/conversations/conversation_item.rbs', line 530

def error
  @error
end

#idString

Returns the value of attribute id.

Returns:

  • (String)


518
519
520
# File 'sig/openai/models/conversations/conversation_item.rbs', line 518

def id
  @id
end

#nameString

Returns the value of attribute name.

Returns:

  • (String)


522
523
524
# File 'sig/openai/models/conversations/conversation_item.rbs', line 522

def name
  @name
end

#outputString?

Returns the value of attribute output.

Returns:

  • (String, nil)


532
533
534
# File 'sig/openai/models/conversations/conversation_item.rbs', line 532

def output
  @output
end

#server_labelString

Returns the value of attribute server_label.

Returns:

  • (String)


524
525
526
# File 'sig/openai/models/conversations/conversation_item.rbs', line 524

def server_label
  @server_label
end

#statusOpenAI::Models::Conversations::ConversationItem::McpCall::status? (readonly)

Returns the value of attribute status.

Returns:

  • (OpenAI::Models::Conversations::ConversationItem::McpCall::status, nil)


534
535
536
# File 'sig/openai/models/conversations/conversation_item.rbs', line 534

def status
  @status
end

#type:mcp_call

Returns the value of attribute type.

Returns:

  • (:mcp_call)


526
527
528
# File 'sig/openai/models/conversations/conversation_item.rbs', line 526

def type
  @type
end

Instance Method Details

#status=Object (readonly)



536
# File 'sig/openai/models/conversations/conversation_item.rbs', line 536

def status=: (

#to_hash{

Returns:

  • ({)


552
# File 'sig/openai/models/conversations/conversation_item.rbs', line 552

def to_hash: -> {