Class: Telnyx::Models::AI::AssistantTool::ClientSideTool

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/ai/assistant_tool.rb,
sig/telnyx/models/ai/assistant_tool.rbs

Defined Under Namespace

Classes: ClientSideTool

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

#initialize(client_side_tool:, type: :client_side_tool) ⇒ Object

Parameters:



# File 'lib/telnyx/models/ai/assistant_tool.rb', line 49

Instance Attribute Details

#client_side_toolTelnyx::Models::AI::AssistantTool::ClientSideTool::ClientSideTool

Parameters:

  • value (Telnyx::AI::AssistantTool::ClientSideTool::ClientSideTool)

Returns:



42
# File 'lib/telnyx/models/ai/assistant_tool.rb', line 42

required :client_side_tool, -> { Telnyx::AI::AssistantTool::ClientSideTool::ClientSideTool }

#typeSymbol, :client_side_tool

Parameters:

  • value (:client_side_tool)

Returns:

  • (Symbol, :client_side_tool)


47
# File 'lib/telnyx/models/ai/assistant_tool.rb', line 47

required :type, const: :client_side_tool

Instance Method Details

#to_hash{

Returns:

  • ({)


36
# File 'sig/telnyx/models/ai/assistant_tool.rbs', line 36

def to_hash: -> {