| 1 | # Generated by tools/generate.pl from Twilio's OpenAPI specs. Do not edit this file. | ||||||||||
| 2 | package Twilio::Rest::Supersim::V1; | ||||||||||
| 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::Version'; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 8 | |||||||||||
| 9 | 2 | our $VERSION = '2.001'; | |||||||||
| 10 | |||||||||||
| 11 | 32 | ▶ | sub new { | ||||||||
|
Subroutine
new: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 12 | 32 | my ($class, $domain) = @_; | |||||||||
| 13 | 32 | my $self = $class->SUPER::new($domain); | |||||||||
| 14 | 32 | $self->{version} = 'v1'; | |||||||||
| 15 | 32 | return $self; | |||||||||
| 16 | } | ||||||||||
| 17 | |||||||||||
| 18 | # Each of these objects is built on demand, for the reason given in Twilio::Rest::Client. | ||||||||||
| 19 | 3 | ▶ | sub esim_profiles { | ||||||||
|
Subroutine
esim_profiles: called CC=2 SCAR=6.9
Pod
documented
| |||||||||||
| 20 | 3 | my ($self, $sid) = @_; | |||||||||
| 21 | 3 | require Twilio::Rest::Supersim::V1::EsimProfile; | |||||||||
| 22 | 3 | my $list = Twilio::Rest::Supersim::V1::EsimProfileList->new($self); | |||||||||
| 23 | 3 | ▶ | return defined $sid ? $list->get_context($sid) : $list; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 24 | } | ||||||||||
| 25 | |||||||||||
| 26 | 4 | ▶ | sub fleets { | ||||||||
|
Subroutine
fleets: called CC=2 SCAR=6.9
Pod
documented
| |||||||||||
| 27 | 4 | my ($self, $sid) = @_; | |||||||||
| 28 | 4 | require Twilio::Rest::Supersim::V1::Fleet; | |||||||||
| 29 | 4 | my $list = Twilio::Rest::Supersim::V1::FleetList->new($self); | |||||||||
| 30 | 4 | ▶ | return defined $sid ? $list->get_context($sid) : $list; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 31 | } | ||||||||||
| 32 | |||||||||||
| 33 | 3 | ▶ | sub ip_commands { | ||||||||
|
Subroutine
ip_commands: called CC=2 SCAR=6.9
Pod
documented
| |||||||||||
| 34 | 3 | my ($self, $sid) = @_; | |||||||||
| 35 | 3 | require Twilio::Rest::Supersim::V1::IpCommand; | |||||||||
| 36 | 3 | my $list = Twilio::Rest::Supersim::V1::IpCommandList->new($self); | |||||||||
| 37 | 3 | ▶ | return defined $sid ? $list->get_context($sid) : $list; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 38 | } | ||||||||||
| 39 | |||||||||||
| 40 | 2 | ▶ | sub networks { | ||||||||
|
Subroutine
networks: called CC=2 SCAR=6.9
Pod
documented
| |||||||||||
| 41 | 2 | my ($self, $sid) = @_; | |||||||||
| 42 | 2 | require Twilio::Rest::Supersim::V1::Network; | |||||||||
| 43 | 2 | my $list = Twilio::Rest::Supersim::V1::NetworkList->new($self); | |||||||||
| 44 | 2 | ▶ | return defined $sid ? $list->get_context($sid) : $list; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 45 | } | ||||||||||
| 46 | |||||||||||
| 47 | 8 | ▶ | sub network_access_profiles { | ||||||||
|
Subroutine
network_access_profiles: called CC=2 SCAR=6.9
Pod
documented
| |||||||||||
| 48 | 8 | my ($self, $sid) = @_; | |||||||||
| 49 | 8 | require Twilio::Rest::Supersim::V1::NetworkAccessProfile; | |||||||||
| 50 | 8 | my $list = Twilio::Rest::Supersim::V1::NetworkAccessProfileList->new($self); | |||||||||
| 51 | 8 | ▶ | return defined $sid ? $list->get_context($sid) : $list; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 52 | } | ||||||||||
| 53 | |||||||||||
| 54 | 1 | ▶ | sub settings_updates { | ||||||||
|
Subroutine
settings_updates: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 55 | 1 | my ($self) = @_; | |||||||||
| 56 | 1 | require Twilio::Rest::Supersim::V1::SettingsUpdate; | |||||||||
| 57 | 1 | return Twilio::Rest::Supersim::V1::SettingsUpdateList->new($self); | |||||||||
| 58 | } | ||||||||||
| 59 | |||||||||||
| 60 | 7 | ▶ | sub sims { | ||||||||
|
Subroutine
sims: called CC=2 SCAR=6.9
Pod
documented
| |||||||||||
| 61 | 7 | my ($self, $sid) = @_; | |||||||||
| 62 | 7 | require Twilio::Rest::Supersim::V1::Sim; | |||||||||
| 63 | 7 | my $list = Twilio::Rest::Supersim::V1::SimList->new($self); | |||||||||
| 64 | 7 | ▶ | return defined $sid ? $list->get_context($sid) : $list; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 65 | } | ||||||||||
| 66 | |||||||||||
| 67 | 3 | ▶ | sub sms_commands { | ||||||||
|
Subroutine
sms_commands: called CC=2 SCAR=6.9
Pod
documented
| |||||||||||
| 68 | 3 | my ($self, $sid) = @_; | |||||||||
| 69 | 3 | require Twilio::Rest::Supersim::V1::SmsCommand; | |||||||||
| 70 | 3 | my $list = Twilio::Rest::Supersim::V1::SmsCommandList->new($self); | |||||||||
| 71 | 3 | ▶ | return defined $sid ? $list->get_context($sid) : $list; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 72 | } | ||||||||||
| 73 | |||||||||||
| 74 | 1 | ▶ | sub usage_records { | ||||||||
|
Subroutine
usage_records: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 75 | 1 | my ($self) = @_; | |||||||||
| 76 | 1 | require Twilio::Rest::Supersim::V1::UsageRecord; | |||||||||
| 77 | 1 | return Twilio::Rest::Supersim::V1::UsageRecordList->new($self); | |||||||||
| 78 | } | ||||||||||
| 79 | |||||||||||
| 80 | 2 | 1; | |||||||||
| 81 | |||||||||||
| 82 | __END__ | ||||||||||