| 1 | # Generated by tools/generate.pl from tools/twiml-elements.json. Do not edit this file. | ||
| 2 | package Twilio::TwiML::Voice::SipUri; | ||
| 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 | 'password' => { name => 'password' }, | ||
| 13 | 'priority' => { name => 'priority' }, | ||
| 14 | 'username' => { name => 'username' }, | ||
| 15 | 'weight' => { name => 'weight' }, | ||
| 16 | ); | ||
| 17 | |||
| 18 | 10 | ▶ | sub attribute_table { return \%ATTRIBUTES } |
|
Subroutine
attribute_table: called CC=1 SCAR=0.0
Pod
documented
| |||
| 19 | |||
| 20 | 4 | ▶ | sub new { |
|
Subroutine
new: called CC=1 SCAR=0.0
Pod
documented
| |||
| 21 | 4 | my ($class, $sip_url, $attributes) = @_; | |
| 22 | 4 | return $class->SUPER::new('Uri', $sip_url, $attributes); | |
| 23 | } | ||
| 24 | |||
| 25 | 1 | ▶ | sub set_password { |
|
Subroutine
set_password: called CC=1 SCAR=0.0
Pod
documented
| |||
| 26 | 1 | my ($self, $value) = @_; | |
| 27 | 1 | return $self->set_attribute('password', $value); | |
| 28 | } | ||
| 29 | |||
| 30 | 1 | ▶ | sub set_priority { |
|
Subroutine
set_priority: called CC=1 SCAR=0.0
Pod
documented
| |||
| 31 | 1 | my ($self, $value) = @_; | |
| 32 | 1 | return $self->set_attribute('priority', $value); | |
| 33 | } | ||
| 34 | |||
| 35 | 1 | ▶ | sub set_username { |
|
Subroutine
set_username: called CC=1 SCAR=0.0
Pod
documented
| |||
| 36 | 1 | my ($self, $value) = @_; | |
| 37 | 1 | return $self->set_attribute('username', $value); | |
| 38 | } | ||
| 39 | |||
| 40 | 1 | ▶ | sub set_weight { |
|
Subroutine
set_weight: called CC=1 SCAR=0.0
Pod
documented
| |||
| 41 | 1 | my ($self, $value) = @_; | |
| 42 | 1 | return $self->set_attribute('weight', $value); | |
| 43 | } | ||
| 44 | |||
| 45 | 2 | 1; | |
| 46 | |||
| 47 | __END__ | ||