Class: Assistant::TechnicalSupport::CaseReplay::ToolCall

Inherits:
Data
  • Object
show all
Defined in:
app/services/assistant/technical_support/case_replay/tool_call.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name:, assistant_tool_call_id: nil, result_message_id: nil, arguments: {}, result: nil) ⇒ ToolCall

Returns a new instance of ToolCall.



5
6
7
8
9
# File 'app/services/assistant/technical_support/case_replay/tool_call.rb', line 5

def initialize(
  name:, assistant_tool_call_id: nil, result_message_id: nil, arguments: {}, result: nil
)
  super
end

Instance Attribute Details

#argumentsObject (readonly)

Returns the value of attribute arguments

Returns:

  • (Object)

    the current value of arguments



4
5
6
# File 'app/services/assistant/technical_support/case_replay/tool_call.rb', line 4

def arguments
  @arguments
end

#assistant_tool_call_idObject (readonly)

Returns the value of attribute assistant_tool_call_id

Returns:

  • (Object)

    the current value of assistant_tool_call_id



4
5
6
# File 'app/services/assistant/technical_support/case_replay/tool_call.rb', line 4

def assistant_tool_call_id
  @assistant_tool_call_id
end

#nameObject (readonly)

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



4
5
6
# File 'app/services/assistant/technical_support/case_replay/tool_call.rb', line 4

def name
  @name
end

#resultObject (readonly)

Returns the value of attribute result

Returns:

  • (Object)

    the current value of result



4
5
6
# File 'app/services/assistant/technical_support/case_replay/tool_call.rb', line 4

def result
  @result
end

#result_message_idObject (readonly)

Returns the value of attribute result_message_id

Returns:

  • (Object)

    the current value of result_message_id



4
5
6
# File 'app/services/assistant/technical_support/case_replay/tool_call.rb', line 4

def result_message_id
  @result_message_id
end