| 1 | # Generated by tools/generate.pl from tools/twiml-elements.json. Do not edit this file. | ||
| 2 | package Twilio::TwiML::Voice::SsmlW; | ||
| 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 = ('role' => { name => 'role' },); | |
| 12 | |||
| 13 | 14 | ▶ | sub attribute_table { return \%ATTRIBUTES } |
|
Subroutine
attribute_table: called CC=1 SCAR=0.0
Pod
documented
| |||
| 14 | |||
| 15 | 14 | ▶ | sub new { |
|
Subroutine
new: called CC=1 SCAR=0.0
Pod
documented
| |||
| 16 | 14 | my ($class, $words, $attributes) = @_; | |
| 17 | 14 | return $class->SUPER::new('w', $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 phoneme { |
|
Subroutine
phoneme: called CC=1 SCAR=0.0
Pod
documented
| |||
| 33 | 2 | my ($self, $words, $attributes) = @_; | |
| 34 | 2 | require Twilio::TwiML::Voice::SsmlPhoneme; | |
| 35 | 2 | return $self->nest(Twilio::TwiML::Voice::SsmlPhoneme->new($words, $attributes)); | |
| 36 | } | ||
| 37 | |||
| 38 | 2 | ▶ | sub prosody { |
|
Subroutine
prosody: called CC=1 SCAR=0.0
Pod
documented
| |||
| 39 | 2 | my ($self, $words, $attributes) = @_; | |
| 40 | 2 | require Twilio::TwiML::Voice::SsmlProsody; | |
| 41 | 2 | return $self->nest(Twilio::TwiML::Voice::SsmlProsody->new($words, $attributes)); | |
| 42 | } | ||
| 43 | |||
| 44 | 2 | ▶ | sub say_as { |
|
Subroutine
say_as: called CC=1 SCAR=0.0
Pod
documented
| |||
| 45 | 2 | my ($self, $words, $attributes) = @_; | |
| 46 | 2 | require Twilio::TwiML::Voice::SsmlSayAs; | |
| 47 | 2 | return $self->nest(Twilio::TwiML::Voice::SsmlSayAs->new($words, $attributes)); | |
| 48 | } | ||
| 49 | |||
| 50 | 2 | ▶ | sub sub { |
|
Subroutine
sub: called CC=1 SCAR=0.0
Pod
documented
| |||
| 51 | 2 | my ($self, $words, $attributes) = @_; | |
| 52 | 2 | require Twilio::TwiML::Voice::SsmlSub; | |
| 53 | 2 | return $self->nest(Twilio::TwiML::Voice::SsmlSub->new($words, $attributes)); | |
| 54 | } | ||
| 55 | |||
| 56 | 1 | ▶ | sub set_role { |
|
Subroutine
set_role: called CC=1 SCAR=0.0
Pod
documented
| |||
| 57 | 1 | my ($self, $value) = @_; | |
| 58 | 1 | return $self->set_attribute('role', $value); | |
| 59 | } | ||
| 60 | |||
| 61 | 2 | 1; | |
| 62 | |||
| 63 | __END__ | ||