Twilio/TwiML/Voice/Language.pm

filter: Statementstmt 100% 32 / 32 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 14 / 14 Podpod 100% 11 / 11 totaltotal 100% 57 / 57 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Twilio/TwiML/Voice/Identity.pm ↑ Summary Twilio/TwiML/Voice/Leave.pm »
1 # Generated by tools/generate.pl from tools/twiml-elements.json. Do not edit this file.
2 package Twilio::TwiML::Voice::Language;
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 'asr_smart_format' => { name => 'asrSmartFormat', boolean => 1 },
13 'asrSmartFormat' => { name => 'asrSmartFormat', boolean => 1 },
14 'code' => { name => 'code' },
15 'hints' => { name => 'hints' },
16 'speech_model' => { name => 'speechModel' },
17 'speechModel' => { name => 'speechModel' },
18 'transcription_provider' => { name => 'transcriptionProvider' },
19 'transcriptionProvider' => { name => 'transcriptionProvider' },
20 'tts_language_text_normalization' => { name => 'ttsLanguageTextNormalization', boolean => 1 },
21 'ttsLanguageTextNormalization' => { name => 'ttsLanguageTextNormalization', boolean => 1 },
22 'tts_provider' => { name => 'ttsProvider' },
23 'ttsProvider' => { name => 'ttsProvider' },
24 'tts_text_normalization' => { name => 'ttsTextNormalization' },
25 'ttsTextNormalization' => { name => 'ttsTextNormalization' },
26 'voice' => { name => 'voice' },
27 );
28  
29 20 ▶sub attribute_table { return \%ATTRIBUTES }
Subroutine attribute_table: called CC=1 SCAR=0.0
Pod documented
30  
31 4 ▶sub new {
Subroutine new: called CC=1 SCAR=0.0
Pod documented
32 4 my ($class, $attributes) = @_;
33 4 return $class->SUPER::new('Language', undef, $attributes);
34 }
35  
36 1 ▶sub set_asr_smart_format {
Subroutine set_asr_smart_format: called CC=1 SCAR=0.0
Pod documented
37 1 my ($self, $value) = @_;
38 1 return $self->set_attribute('asr_smart_format', $value);
39 }
40  
41 1 ▶sub set_code {
Subroutine set_code: called CC=1 SCAR=0.0
Pod documented
42 1 my ($self, $value) = @_;
43 1 return $self->set_attribute('code', $value);
44 }
45  
46 1 ▶sub set_hints {
Subroutine set_hints: called CC=1 SCAR=0.0
Pod documented
47 1 my ($self, $value) = @_;
48 1 return $self->set_attribute('hints', $value);
49 }
50  
51 1 ▶sub set_speech_model {
Subroutine set_speech_model: called CC=1 SCAR=0.0
Pod documented
52 1 my ($self, $value) = @_;
53 1 return $self->set_attribute('speech_model', $value);
54 }
55  
56 1 ▶sub set_transcription_provider {
Subroutine set_transcription_provider: called CC=1 SCAR=0.0
Pod documented
57 1 my ($self, $value) = @_;
58 1 return $self->set_attribute('transcription_provider', $value);
59 }
60  
61 1 ▶sub set_tts_language_text_normalization {
Subroutine set_tts_language_text_normalization: called CC=1 SCAR=0.0
Pod documented
62 1 my ($self, $value) = @_;
63 1 return $self->set_attribute('tts_language_text_normalization', $value);
64 }
65  
66 1 ▶sub set_tts_provider {
Subroutine set_tts_provider: called CC=1 SCAR=0.0
Pod documented
67 1 my ($self, $value) = @_;
68 1 return $self->set_attribute('tts_provider', $value);
69 }
70  
71 1 ▶sub set_tts_text_normalization {
Subroutine set_tts_text_normalization: called CC=1 SCAR=0.0
Pod documented
72 1 my ($self, $value) = @_;
73 1 return $self->set_attribute('tts_text_normalization', $value);
74 }
75  
76 1 ▶sub set_voice {
Subroutine set_voice: called CC=1 SCAR=0.0
Pod documented
77 1 my ($self, $value) = @_;
78 1 return $self->set_attribute('voice', $value);
79 }
80  
81 2 1;
82  
83 __END__
« Twilio/TwiML/Voice/Identity.pm ↑ Summary Twilio/TwiML/Voice/Leave.pm »