| 1 | # Generated by tools/generate.pl from tools/twiml-elements.json. Do not edit this file. | ||
| 2 | package Twilio::TwiML::Voice::SsmlEmphasis; | ||
| 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 = ('level' => { name => 'level' },); | |
| 12 | |||
| 13 | 16 | ▶ | sub attribute_table { return \%ATTRIBUTES } |
|
Subroutine
attribute_table: called CC=1 SCAR=0.0
Pod
documented
| |||
| 14 | |||
| 15 | 16 | ▶ | sub new { |
|
Subroutine
new: called CC=1 SCAR=0.0
Pod
documented
| |||
| 16 | 16 | my ($class, $words, $attributes) = @_; | |
| 17 | 16 | return $class->SUPER::new('emphasis', $words, $attributes); | |
| 18 | } | ||
| 19 | |||
| 20 | 2 | ▶ | sub break { |
|
Subroutine
break: called CC=1 SCAR=0.0
Pod
documented
| |||
| 21 | 2 | my ($self, $attributes) = @_; | |
| 22 | 2 | require Twilio::TwiML::Voice::SsmlBreak; | |
| 23 | 2 | return $self->nest(Twilio::TwiML::Voice::SsmlBreak->new($attributes)); | |
| 24 | } | ||
| 25 | |||
| 26 | 2 | ▶ | sub emphasis { |
|
Subroutine
emphasis: called CC=1 SCAR=0.0
Pod
documented
| |||
| 27 | 2 | my ($self, $words, $attributes) = @_; | |
| 28 | 2 | require Twilio::TwiML::Voice::SsmlEmphasis; | |
| 29 | 2 | return $self->nest(Twilio::TwiML::Voice::SsmlEmphasis->new($words, $attributes)); | |
| 30 | } | ||
| 31 | |||
| 32 | 2 | ▶ | sub lang { |
|
Subroutine
lang: called CC=1 SCAR=0.0
Pod
documented
| |||
| 33 | 2 | my ($self, $words, $attributes) = @_; | |
| 34 | 2 | require Twilio::TwiML::Voice::SsmlLang; | |
| 35 | 2 | return $self->nest(Twilio::TwiML::Voice::SsmlLang->new($words, $attributes)); | |
| 36 | } | ||
| 37 | |||
| 38 | 2 | ▶ | sub phoneme { |
|
Subroutine
phoneme: called CC=1 SCAR=0.0
Pod
documented
| |||
| 39 | 2 | my ($self, $words, $attributes) = @_; | |
| 40 | 2 | require Twilio::TwiML::Voice::SsmlPhoneme; | |
| 41 | 2 | return $self->nest(Twilio::TwiML::Voice::SsmlPhoneme->new($words, $attributes)); | |
| 42 | } | ||
| 43 | |||
| 44 | 2 | ▶ | sub prosody { |
|
Subroutine
prosody: called CC=1 SCAR=0.0
Pod
documented
| |||
| 45 | 2 | my ($self, $words, $attributes) = @_; | |
| 46 | 2 | require Twilio::TwiML::Voice::SsmlProsody; | |
| 47 | 2 | return $self->nest(Twilio::TwiML::Voice::SsmlProsody->new($words, $attributes)); | |
| 48 | } | ||
| 49 | |||
| 50 | 2 | ▶ | sub say_as { |
|
Subroutine
say_as: called CC=1 SCAR=0.0
Pod
documented
| |||
| 51 | 2 | my ($self, $words, $attributes) = @_; | |
| 52 | 2 | require Twilio::TwiML::Voice::SsmlSayAs; | |
| 53 | 2 | return $self->nest(Twilio::TwiML::Voice::SsmlSayAs->new($words, $attributes)); | |
| 54 | } | ||
| 55 | |||
| 56 | 2 | ▶ | sub sub { |
|
Subroutine
sub: called CC=1 SCAR=0.0
Pod
documented
| |||
| 57 | 2 | my ($self, $words, $attributes) = @_; | |
| 58 | 2 | require Twilio::TwiML::Voice::SsmlSub; | |
| 59 | 2 | return $self->nest(Twilio::TwiML::Voice::SsmlSub->new($words, $attributes)); | |
| 60 | } | ||
| 61 | |||
| 62 | 2 | ▶ | sub w { |
|
Subroutine
w: called CC=1 SCAR=0.0
Pod
documented
| |||
| 63 | 2 | my ($self, $words, $attributes) = @_; | |
| 64 | 2 | require Twilio::TwiML::Voice::SsmlW; | |
| 65 | 2 | return $self->nest(Twilio::TwiML::Voice::SsmlW->new($words, $attributes)); | |
| 66 | } | ||
| 67 | |||
| 68 | 1 | ▶ | sub set_level { |
|
Subroutine
set_level: called CC=1 SCAR=0.0
Pod
documented
| |||
| 69 | 1 | my ($self, $value) = @_; | |
| 70 | 1 | return $self->set_attribute('level', $value); | |
| 71 | } | ||
| 72 | |||
| 73 | 2 | 1; | |
| 74 | |||
| 75 | __END__ | ||