Class: Telnyx::Models::AI::AssistantTool::Transfer::Transfer::Target

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

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(from:, targets:, custom_headers: nil, voicemail_detection: nil, warm_message_delay_ms: nil, warm_transfer_instructions: nil) ⇒ Object

Some parameter documentations has been truncated, see Telnyx::Models::AI::AssistantTool::Transfer::Transfer for more details.

Parameters:



196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
# File 'lib/telnyx/models/ai/assistant_tool.rb', line 196

class Target < Telnyx::Internal::Type::BaseModel
  # @!attribute name
  #   The name of the target.
  #
  #   @return [String, nil]
  optional :name, String

  # @!attribute to
  #   The destination number or SIP URI of the call.
  #
  #   @return [String, nil]
  optional :to, String

  # @!method initialize(name: nil, to: nil)
  #   @param name [String] The name of the target.
  #
  #   @param to [String] The destination number or SIP URI of the call.
end

Instance Attribute Details

#nameString?

The name of the target.

Returns:

  • (String, nil)


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

optional :name, String

#toString?

The destination number or SIP URI of the call.

Returns:

  • (String, nil)


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

optional :to, String