| 1 | # Generated by tools/generate.pl from tools/twiml-elements.json. Do not edit this file. | ||
| 2 | package Twilio::TwiML::Voice::Transcription; | ||
| 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 | 'enable_automatic_punctuation' => { name => 'enableAutomaticPunctuation', boolean => 1 }, | ||
| 13 | 'enableAutomaticPunctuation' => { name => 'enableAutomaticPunctuation', boolean => 1 }, | ||
| 14 | 'hints' => { name => 'hints' }, | ||
| 15 | 'inbound_track_label' => { name => 'inboundTrackLabel' }, | ||
| 16 | 'inboundTrackLabel' => { name => 'inboundTrackLabel' }, | ||
| 17 | 'intelligence_service' => { name => 'intelligenceService' }, | ||
| 18 | 'intelligenceService' => { name => 'intelligenceService' }, | ||
| 19 | 'language_code' => { name => 'languageCode' }, | ||
| 20 | 'languageCode' => { name => 'languageCode' }, | ||
| 21 | 'name' => { name => 'name' }, | ||
| 22 | 'outbound_track_label' => { name => 'outboundTrackLabel' }, | ||
| 23 | 'outboundTrackLabel' => { name => 'outboundTrackLabel' }, | ||
| 24 | 'partial_results' => { name => 'partialResults', boolean => 1 }, | ||
| 25 | 'partialResults' => { name => 'partialResults', boolean => 1 }, | ||
| 26 | 'profanity_filter' => { name => 'profanityFilter', boolean => 1 }, | ||
| 27 | 'profanityFilter' => { name => 'profanityFilter', boolean => 1 }, | ||
| 28 | 'speech_model' => { name => 'speechModel' }, | ||
| 29 | 'speechModel' => { name => 'speechModel' }, | ||
| 30 | 'status_callback_method' => { name => 'statusCallbackMethod' }, | ||
| 31 | 'statusCallbackMethod' => { name => 'statusCallbackMethod' }, | ||
| 32 | 'status_callback_url' => { name => 'statusCallbackUrl' }, | ||
| 33 | 'statusCallbackUrl' => { name => 'statusCallbackUrl' }, | ||
| 34 | 'track' => { name => 'track' }, | ||
| 35 | 'transcription_engine' => { name => 'transcriptionEngine' }, | ||
| 36 | 'transcriptionEngine' => { name => 'transcriptionEngine' }, | ||
| 37 | ); | ||
| 38 | |||
| 39 | 32 | ▶ | sub attribute_table { return \%ATTRIBUTES } |
|
Subroutine
attribute_table: called CC=1 SCAR=0.0
Pod
documented
| |||
| 40 | |||
| 41 | 6 | ▶ | sub new { |
|
Subroutine
new: called CC=1 SCAR=0.0
Pod
documented
| |||
| 42 | 6 | my ($class, $attributes) = @_; | |
| 43 | 6 | return $class->SUPER::new('Transcription', undef, $attributes); | |
| 44 | } | ||
| 45 | |||
| 46 | 2 | ▶ | sub config { |
|
Subroutine
config: called CC=1 SCAR=0.0
Pod
documented
| |||
| 47 | 2 | my ($self, $attributes) = @_; | |
| 48 | 2 | require Twilio::TwiML::Voice::Config; | |
| 49 | 2 | return $self->nest(Twilio::TwiML::Voice::Config->new($attributes)); | |
| 50 | } | ||
| 51 | |||
| 52 | 2 | ▶ | sub parameter { |
|
Subroutine
parameter: called CC=1 SCAR=0.0
Pod
documented
| |||
| 53 | 2 | my ($self, $attributes) = @_; | |
| 54 | 2 | require Twilio::TwiML::Voice::Parameter; | |
| 55 | 2 | return $self->nest(Twilio::TwiML::Voice::Parameter->new($attributes)); | |
| 56 | } | ||
| 57 | |||
| 58 | 1 | ▶ | sub set_enable_automatic_punctuation { |
|
Subroutine
set_enable_automatic_punctuation: called CC=1 SCAR=0.0
Pod
documented
| |||
| 59 | 1 | my ($self, $value) = @_; | |
| 60 | 1 | return $self->set_attribute('enable_automatic_punctuation', $value); | |
| 61 | } | ||
| 62 | |||
| 63 | 1 | ▶ | sub set_hints { |
|
Subroutine
set_hints: called CC=1 SCAR=0.0
Pod
documented
| |||
| 64 | 1 | my ($self, $value) = @_; | |
| 65 | 1 | return $self->set_attribute('hints', $value); | |
| 66 | } | ||
| 67 | |||
| 68 | 1 | ▶ | sub set_inbound_track_label { |
|
Subroutine
set_inbound_track_label: called CC=1 SCAR=0.0
Pod
documented
| |||
| 69 | 1 | my ($self, $value) = @_; | |
| 70 | 1 | return $self->set_attribute('inbound_track_label', $value); | |
| 71 | } | ||
| 72 | |||
| 73 | 1 | ▶ | sub set_intelligence_service { |
|
Subroutine
set_intelligence_service: called CC=1 SCAR=0.0
Pod
documented
| |||
| 74 | 1 | my ($self, $value) = @_; | |
| 75 | 1 | return $self->set_attribute('intelligence_service', $value); | |
| 76 | } | ||
| 77 | |||
| 78 | 1 | ▶ | sub set_language_code { |
|
Subroutine
set_language_code: called CC=1 SCAR=0.0
Pod
documented
| |||
| 79 | 1 | my ($self, $value) = @_; | |
| 80 | 1 | return $self->set_attribute('language_code', $value); | |
| 81 | } | ||
| 82 | |||
| 83 | 1 | ▶ | sub set_name { |
|
Subroutine
set_name: called CC=1 SCAR=0.0
Pod
documented
| |||
| 84 | 1 | my ($self, $value) = @_; | |
| 85 | 1 | return $self->set_attribute('name', $value); | |
| 86 | } | ||
| 87 | |||
| 88 | 1 | ▶ | sub set_outbound_track_label { |
|
Subroutine
set_outbound_track_label: called CC=1 SCAR=0.0
Pod
documented
| |||
| 89 | 1 | my ($self, $value) = @_; | |
| 90 | 1 | return $self->set_attribute('outbound_track_label', $value); | |
| 91 | } | ||
| 92 | |||
| 93 | 1 | ▶ | sub set_partial_results { |
|
Subroutine
set_partial_results: called CC=1 SCAR=0.0
Pod
documented
| |||
| 94 | 1 | my ($self, $value) = @_; | |
| 95 | 1 | return $self->set_attribute('partial_results', $value); | |
| 96 | } | ||
| 97 | |||
| 98 | 1 | ▶ | sub set_profanity_filter { |
|
Subroutine
set_profanity_filter: called CC=1 SCAR=0.0
Pod
documented
| |||
| 99 | 1 | my ($self, $value) = @_; | |
| 100 | 1 | return $self->set_attribute('profanity_filter', $value); | |
| 101 | } | ||
| 102 | |||
| 103 | 1 | ▶ | sub set_speech_model { |
|
Subroutine
set_speech_model: called CC=1 SCAR=0.0
Pod
documented
| |||
| 104 | 1 | my ($self, $value) = @_; | |
| 105 | 1 | return $self->set_attribute('speech_model', $value); | |
| 106 | } | ||
| 107 | |||
| 108 | 1 | ▶ | sub set_status_callback_method { |
|
Subroutine
set_status_callback_method: called CC=1 SCAR=0.0
Pod
documented
| |||
| 109 | 1 | my ($self, $value) = @_; | |
| 110 | 1 | return $self->set_attribute('status_callback_method', $value); | |
| 111 | } | ||
| 112 | |||
| 113 | 1 | ▶ | sub set_status_callback_url { |
|
Subroutine
set_status_callback_url: called CC=1 SCAR=0.0
Pod
documented
| |||
| 114 | 1 | my ($self, $value) = @_; | |
| 115 | 1 | return $self->set_attribute('status_callback_url', $value); | |
| 116 | } | ||
| 117 | |||
| 118 | 1 | ▶ | sub set_track { |
|
Subroutine
set_track: called CC=1 SCAR=0.0
Pod
documented
| |||
| 119 | 1 | my ($self, $value) = @_; | |
| 120 | 1 | return $self->set_attribute('track', $value); | |
| 121 | } | ||
| 122 | |||
| 123 | 1 | ▶ | sub set_transcription_engine { |
|
Subroutine
set_transcription_engine: called CC=1 SCAR=0.0
Pod
documented
| |||
| 124 | 1 | my ($self, $value) = @_; | |
| 125 | 1 | return $self->set_attribute('transcription_engine', $value); | |
| 126 | } | ||
| 127 | |||
| 128 | 2 | 1; | |
| 129 | |||
| 130 | __END__ | ||