| 1 | # Generated by tools/generate.pl from tools/twiml-elements.json. Do not edit this file. | ||
| 2 | package Twilio::TwiML::Voice::Number; | ||
| 3 | |||
| 4 | 2 | ▶ | use 5.016; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 2 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | 2 | ▶ | use parent 'Twilio::TwiML::TwiML'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | 2 | our $VERSION = '2.001'; | |
| 10 | |||
| 11 | 2 | my %ATTRIBUTES = ( | |
| 12 | 'amd_status_callback' => { name => 'amdStatusCallback' }, | ||
| 13 | 'amdStatusCallback' => { name => 'amdStatusCallback' }, | ||
| 14 | 'amd_status_callback_method' => { name => 'amdStatusCallbackMethod' }, | ||
| 15 | 'amdStatusCallbackMethod' => { name => 'amdStatusCallbackMethod' }, | ||
| 16 | 'byoc' => { name => 'byoc' }, | ||
| 17 | 'machine_detection' => { name => 'machineDetection' }, | ||
| 18 | 'machineDetection' => { name => 'machineDetection' }, | ||
| 19 | 'machine_detection_silence_timeout' => { name => 'machineDetectionSilenceTimeout' }, | ||
| 20 | 'machineDetectionSilenceTimeout' => { name => 'machineDetectionSilenceTimeout' }, | ||
| 21 | 'machine_detection_speech_end_threshold' => { name => 'machineDetectionSpeechEndThreshold' }, | ||
| 22 | 'machineDetectionSpeechEndThreshold' => { name => 'machineDetectionSpeechEndThreshold' }, | ||
| 23 | 'machine_detection_speech_threshold' => { name => 'machineDetectionSpeechThreshold' }, | ||
| 24 | 'machineDetectionSpeechThreshold' => { name => 'machineDetectionSpeechThreshold' }, | ||
| 25 | 'machine_detection_timeout' => { name => 'machineDetectionTimeout' }, | ||
| 26 | 'machineDetectionTimeout' => { name => 'machineDetectionTimeout' }, | ||
| 27 | 'method' => { name => 'method' }, | ||
| 28 | 'send_digits' => { name => 'sendDigits' }, | ||
| 29 | 'sendDigits' => { name => 'sendDigits' }, | ||
| 30 | 'status_callback' => { name => 'statusCallback' }, | ||
| 31 | 'statusCallback' => { name => 'statusCallback' }, | ||
| 32 | 'status_callback_event' => { name => 'statusCallbackEvent' }, | ||
| 33 | 'statusCallbackEvent' => { name => 'statusCallbackEvent' }, | ||
| 34 | 'status_callback_method' => { name => 'statusCallbackMethod' }, | ||
| 35 | 'statusCallbackMethod' => { name => 'statusCallbackMethod' }, | ||
| 36 | 'url' => { name => 'url' }, | ||
| 37 | ); | ||
| 38 | |||
| 39 | 31 | ▶ | sub attribute_table { return \%ATTRIBUTES } |
|
Subroutine
attribute_table: called CC=1 SCAR=0.0
Pod
documented
| |||
| 40 | |||
| 41 | 5 | ▶ | sub new { |
|
Subroutine
new: called CC=1 SCAR=0.0
Pod
documented
| |||
| 42 | 5 | my ($class, $phone_number, $attributes) = @_; | |
| 43 | 5 | return $class->SUPER::new('Number', $phone_number, $attributes); | |
| 44 | } | ||
| 45 | |||
| 46 | 1 | ▶ | sub set_amd_status_callback { |
|
Subroutine
set_amd_status_callback: called CC=1 SCAR=0.0
Pod
documented
| |||
| 47 | 1 | my ($self, $value) = @_; | |
| 48 | 1 | return $self->set_attribute('amd_status_callback', $value); | |
| 49 | } | ||
| 50 | |||
| 51 | 1 | ▶ | sub set_amd_status_callback_method { |
|
Subroutine
set_amd_status_callback_method: called CC=1 SCAR=0.0
Pod
documented
| |||
| 52 | 1 | my ($self, $value) = @_; | |
| 53 | 1 | return $self->set_attribute('amd_status_callback_method', $value); | |
| 54 | } | ||
| 55 | |||
| 56 | 1 | ▶ | sub set_byoc { |
|
Subroutine
set_byoc: called CC=1 SCAR=0.0
Pod
documented
| |||
| 57 | 1 | my ($self, $value) = @_; | |
| 58 | 1 | return $self->set_attribute('byoc', $value); | |
| 59 | } | ||
| 60 | |||
| 61 | 1 | ▶ | sub set_machine_detection { |
|
Subroutine
set_machine_detection: called CC=1 SCAR=0.0
Pod
documented
| |||
| 62 | 1 | my ($self, $value) = @_; | |
| 63 | 1 | return $self->set_attribute('machine_detection', $value); | |
| 64 | } | ||
| 65 | |||
| 66 | 1 | ▶ | sub set_machine_detection_silence_timeout { |
|
Subroutine
set_machine_detection_silence_timeout: called CC=1 SCAR=0.0
Pod
documented
| |||
| 67 | 1 | my ($self, $value) = @_; | |
| 68 | 1 | return $self->set_attribute('machine_detection_silence_timeout', $value); | |
| 69 | } | ||
| 70 | |||
| 71 | 1 | ▶ | sub set_machine_detection_speech_end_threshold { |
|
Subroutine
set_machine_detection_speech_end_threshold: called CC=1 SCAR=0.0
Pod
documented
| |||
| 72 | 1 | my ($self, $value) = @_; | |
| 73 | 1 | return $self->set_attribute('machine_detection_speech_end_threshold', $value); | |
| 74 | } | ||
| 75 | |||
| 76 | 1 | ▶ | sub set_machine_detection_speech_threshold { |
|
Subroutine
set_machine_detection_speech_threshold: called CC=1 SCAR=0.0
Pod
documented
| |||
| 77 | 1 | my ($self, $value) = @_; | |
| 78 | 1 | return $self->set_attribute('machine_detection_speech_threshold', $value); | |
| 79 | } | ||
| 80 | |||
| 81 | 1 | ▶ | sub set_machine_detection_timeout { |
|
Subroutine
set_machine_detection_timeout: called CC=1 SCAR=0.0
Pod
documented
| |||
| 82 | 1 | my ($self, $value) = @_; | |
| 83 | 1 | return $self->set_attribute('machine_detection_timeout', $value); | |
| 84 | } | ||
| 85 | |||
| 86 | 1 | ▶ | sub set_method { |
|
Subroutine
set_method: called CC=1 SCAR=0.0
Pod
documented
| |||
| 87 | 1 | my ($self, $value) = @_; | |
| 88 | 1 | return $self->set_attribute('method', $value); | |
| 89 | } | ||
| 90 | |||
| 91 | 1 | ▶ | sub set_send_digits { |
|
Subroutine
set_send_digits: called CC=1 SCAR=0.0
Pod
documented
| |||
| 92 | 1 | my ($self, $value) = @_; | |
| 93 | 1 | return $self->set_attribute('send_digits', $value); | |
| 94 | } | ||
| 95 | |||
| 96 | 1 | ▶ | sub set_status_callback { |
|
Subroutine
set_status_callback: called CC=1 SCAR=0.0
Pod
documented
| |||
| 97 | 1 | my ($self, $value) = @_; | |
| 98 | 1 | return $self->set_attribute('status_callback', $value); | |
| 99 | } | ||
| 100 | |||
| 101 | 1 | ▶ | sub set_status_callback_event { |
|
Subroutine
set_status_callback_event: called CC=1 SCAR=0.0
Pod
documented
| |||
| 102 | 1 | my ($self, $value) = @_; | |
| 103 | 1 | return $self->set_attribute('status_callback_event', $value); | |
| 104 | } | ||
| 105 | |||
| 106 | 1 | ▶ | sub set_status_callback_method { |
|
Subroutine
set_status_callback_method: called CC=1 SCAR=0.0
Pod
documented
| |||
| 107 | 1 | my ($self, $value) = @_; | |
| 108 | 1 | return $self->set_attribute('status_callback_method', $value); | |
| 109 | } | ||
| 110 | |||
| 111 | 1 | ▶ | sub set_url { |
|
Subroutine
set_url: called CC=1 SCAR=0.0
Pod
documented
| |||
| 112 | 1 | my ($self, $value) = @_; | |
| 113 | 1 | return $self->set_attribute('url', $value); | |
| 114 | } | ||
| 115 | |||
| 116 | 2 | 1; | |
| 117 | |||
| 118 | __END__ | ||