« Twilio/Rest/Api/V2010/Account/Recording/AddOnResult/Payload/Data.pm
↑ Summary
Twilio/Rest/Bulkexports.pm »
| 1 | # Generated by tools/generate.pl from Twilio's OpenAPI specs. Do not edit this file. | ||
| 2 | package Twilio::Rest::Api::V2010::Account::Sip::Domain::AuthTypes; | ||
| 3 | |||
| 4 | 3 | ▶ | use 5.016; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 3 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | 3 | our $VERSION = '2.001'; | |
| 8 | |||
| 9 | package Twilio::Rest::Api::V2010::Account::Sip::Domain::AuthTypesList; | ||
| 10 | |||
| 11 | 3 | ▶ | use parent 'Twilio::ListResource'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 12 | |||
| 13 | 3 | ▶ | use Twilio::Serialize; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 14 | |||
| 15 | 13 | ▶ | sub new { |
|
Subroutine
new: called CC=1 SCAR=0.0
| |||
| 16 | 13 | my ($class, $version, $account_sid, $domain_sid) = @_; | |
| 17 | 13 | my $self = $class->SUPER::new($version); | |
| 18 | 13 | $self->{solution} = { account_sid => $account_sid, domain_sid => $domain_sid }; | |
| 19 | 13 | $self->{uri} = join q{}, '/Accounts/', Twilio::Serialize::path_segment($account_sid), | |
| 20 | '/SIP/Domains/', Twilio::Serialize::path_segment($domain_sid), '/Auth.json'; | ||
| 21 | 13 | return $self; | |
| 22 | } | ||
| 23 | |||
| 24 | 9 | ▶ | sub calls { |
|
Subroutine
calls: called CC=1 SCAR=0.0
| |||
| 25 | 9 | my ($self) = @_; | |
| 26 | 9 | require Twilio::Rest::Api::V2010::Account::Sip::Domain::AuthTypes::AuthTypeCalls; | |
| 27 | return Twilio::Rest::Api::V2010::Account::Sip::Domain::AuthTypes::AuthTypeCallsList->new( | ||
| 28 | $self->{version}, | ||
| 29 | $self->{solution}{account_sid}, | ||
| 30 | $self->{solution}{domain_sid} | ||
| 31 | 9 | ); | |
| 32 | } | ||
| 33 | |||
| 34 | 4 | ▶ | sub registrations { |
|
Subroutine
registrations: called CC=1 SCAR=0.0
| |||
| 35 | 4 | my ($self) = @_; | |
| 36 | 4 | require Twilio::Rest::Api::V2010::Account::Sip::Domain::AuthTypes::AuthTypeRegistrations; | |
| 37 | return Twilio::Rest::Api::V2010::Account::Sip::Domain::AuthTypes::AuthTypeRegistrationsList->new( | ||
| 38 | $self->{version}, | ||
| 39 | $self->{solution}{account_sid}, | ||
| 40 | $self->{solution}{domain_sid} | ||
| 41 | 4 | ); | |
| 42 | } | ||
| 43 | |||
| 44 | 3 | 1; | |
| 45 | |||
| 46 | __END__ | ||