| 1 | # Generated by tools/generate.pl from tools/twiml-elements.json. Do not edit this file. | ||
| 2 | package Twilio::TwiML::Voice::Record; | ||
| 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 | 'action' => { name => 'action' }, | ||
| 13 | 'finish_on_key' => { name => 'finishOnKey' }, | ||
| 14 | 'finishOnKey' => { name => 'finishOnKey' }, | ||
| 15 | 'max_length' => { name => 'maxLength' }, | ||
| 16 | 'maxLength' => { name => 'maxLength' }, | ||
| 17 | 'method' => { name => 'method' }, | ||
| 18 | 'play_beep' => { name => 'playBeep', boolean => 1 }, | ||
| 19 | 'playBeep' => { name => 'playBeep', boolean => 1 }, | ||
| 20 | 'recording_configuration_id' => { name => 'recordingConfigurationId' }, | ||
| 21 | 'recordingConfigurationId' => { name => 'recordingConfigurationId' }, | ||
| 22 | 'recording_status_callback' => { name => 'recordingStatusCallback' }, | ||
| 23 | 'recordingStatusCallback' => { name => 'recordingStatusCallback' }, | ||
| 24 | 'recording_status_callback_event' => { name => 'recordingStatusCallbackEvent' }, | ||
| 25 | 'recordingStatusCallbackEvent' => { name => 'recordingStatusCallbackEvent' }, | ||
| 26 | 'recording_status_callback_method' => { name => 'recordingStatusCallbackMethod' }, | ||
| 27 | 'recordingStatusCallbackMethod' => { name => 'recordingStatusCallbackMethod' }, | ||
| 28 | 'timeout' => { name => 'timeout' }, | ||
| 29 | 'transcribe' => { name => 'transcribe', boolean => 1 }, | ||
| 30 | 'transcribe_callback' => { name => 'transcribeCallback' }, | ||
| 31 | 'transcribeCallback' => { name => 'transcribeCallback' }, | ||
| 32 | 'trim' => { name => 'trim' }, | ||
| 33 | ); | ||
| 34 | |||
| 35 | 28 | ▶ | sub attribute_table { return \%ATTRIBUTES } |
|
Subroutine
attribute_table: called CC=1 SCAR=0.0
Pod
documented
| |||
| 36 | |||
| 37 | 4 | ▶ | sub new { |
|
Subroutine
new: called CC=1 SCAR=0.0
Pod
documented
| |||
| 38 | 4 | my ($class, $attributes) = @_; | |
| 39 | 4 | return $class->SUPER::new('Record', undef, $attributes); | |
| 40 | } | ||
| 41 | |||
| 42 | 1 | ▶ | sub set_action { |
|
Subroutine
set_action: called CC=1 SCAR=0.0
Pod
documented
| |||
| 43 | 1 | my ($self, $value) = @_; | |
| 44 | 1 | return $self->set_attribute('action', $value); | |
| 45 | } | ||
| 46 | |||
| 47 | 1 | ▶ | sub set_finish_on_key { |
|
Subroutine
set_finish_on_key: called CC=1 SCAR=0.0
Pod
documented
| |||
| 48 | 1 | my ($self, $value) = @_; | |
| 49 | 1 | return $self->set_attribute('finish_on_key', $value); | |
| 50 | } | ||
| 51 | |||
| 52 | 1 | ▶ | sub set_max_length { |
|
Subroutine
set_max_length: called CC=1 SCAR=0.0
Pod
documented
| |||
| 53 | 1 | my ($self, $value) = @_; | |
| 54 | 1 | return $self->set_attribute('max_length', $value); | |
| 55 | } | ||
| 56 | |||
| 57 | 1 | ▶ | sub set_method { |
|
Subroutine
set_method: called CC=1 SCAR=0.0
Pod
documented
| |||
| 58 | 1 | my ($self, $value) = @_; | |
| 59 | 1 | return $self->set_attribute('method', $value); | |
| 60 | } | ||
| 61 | |||
| 62 | 1 | ▶ | sub set_play_beep { |
|
Subroutine
set_play_beep: called CC=1 SCAR=0.0
Pod
documented
| |||
| 63 | 1 | my ($self, $value) = @_; | |
| 64 | 1 | return $self->set_attribute('play_beep', $value); | |
| 65 | } | ||
| 66 | |||
| 67 | 1 | ▶ | sub set_recording_configuration_id { |
|
Subroutine
set_recording_configuration_id: called CC=1 SCAR=0.0
Pod
documented
| |||
| 68 | 1 | my ($self, $value) = @_; | |
| 69 | 1 | return $self->set_attribute('recording_configuration_id', $value); | |
| 70 | } | ||
| 71 | |||
| 72 | 1 | ▶ | sub set_recording_status_callback { |
|
Subroutine
set_recording_status_callback: called CC=1 SCAR=0.0
Pod
documented
| |||
| 73 | 1 | my ($self, $value) = @_; | |
| 74 | 1 | return $self->set_attribute('recording_status_callback', $value); | |
| 75 | } | ||
| 76 | |||
| 77 | 1 | ▶ | sub set_recording_status_callback_event { |
|
Subroutine
set_recording_status_callback_event: called CC=1 SCAR=0.0
Pod
documented
| |||
| 78 | 1 | my ($self, $value) = @_; | |
| 79 | 1 | return $self->set_attribute('recording_status_callback_event', $value); | |
| 80 | } | ||
| 81 | |||
| 82 | 1 | ▶ | sub set_recording_status_callback_method { |
|
Subroutine
set_recording_status_callback_method: called CC=1 SCAR=0.0
Pod
documented
| |||
| 83 | 1 | my ($self, $value) = @_; | |
| 84 | 1 | return $self->set_attribute('recording_status_callback_method', $value); | |
| 85 | } | ||
| 86 | |||
| 87 | 1 | ▶ | sub set_timeout { |
|
Subroutine
set_timeout: called CC=1 SCAR=0.0
Pod
documented
| |||
| 88 | 1 | my ($self, $value) = @_; | |
| 89 | 1 | return $self->set_attribute('timeout', $value); | |
| 90 | } | ||
| 91 | |||
| 92 | 1 | ▶ | sub set_transcribe { |
|
Subroutine
set_transcribe: called CC=1 SCAR=0.0
Pod
documented
| |||
| 93 | 1 | my ($self, $value) = @_; | |
| 94 | 1 | return $self->set_attribute('transcribe', $value); | |
| 95 | } | ||
| 96 | |||
| 97 | 1 | ▶ | sub set_transcribe_callback { |
|
Subroutine
set_transcribe_callback: called CC=1 SCAR=0.0
Pod
documented
| |||
| 98 | 1 | my ($self, $value) = @_; | |
| 99 | 1 | return $self->set_attribute('transcribe_callback', $value); | |
| 100 | } | ||
| 101 | |||
| 102 | 1 | ▶ | sub set_trim { |
|
Subroutine
set_trim: called CC=1 SCAR=0.0
Pod
documented
| |||
| 103 | 1 | my ($self, $value) = @_; | |
| 104 | 1 | return $self->set_attribute('trim', $value); | |
| 105 | } | ||
| 106 | |||
| 107 | 2 | 1; | |
| 108 | |||
| 109 | __END__ | ||