Class: Telnyx::Models::AI::TransferTool::Transfer::Target
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::AI::TransferTool::Transfer::Target
- Defined in:
- lib/telnyx/models/ai/transfer_tool.rb
Instance Attribute Summary collapse
-
#name ⇒ String?
The name of the target.
-
#to ⇒ String?
The destination number or SIP URI of the call.
Instance Method Summary collapse
-
#initialize(from:, targets:) ⇒ Object
constructor
Some parameter documentations has been truncated, see Telnyx::Models::AI::TransferTool::Transfer for more details.
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:) ⇒ Object
Some parameter documentations has been truncated, see Telnyx::Models::AI::TransferTool::Transfer for more details.
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 |
# File 'lib/telnyx/models/ai/transfer_tool.rb', line 44 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
#name ⇒ String?
The name of the target.
49 |
# File 'lib/telnyx/models/ai/transfer_tool.rb', line 49 optional :name, String |
#to ⇒ String?
The destination number or SIP URI of the call.
55 |
# File 'lib/telnyx/models/ai/transfer_tool.rb', line 55 optional :to, String |