« Twilio/Rest/Serverless/V1/Service/Environment.pm
↑ Summary
Twilio/Rest/Api/V2010/Account/Queue.pm »
| 1 | # Generated by tools/generate.pl from Twilio's OpenAPI specs. Do not edit this file. | ||||||||||
| 2 | package Twilio::Rest::Numbers::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 | 20 | ▶ | sub new { | ||||||||
|
Subroutine
new: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 12 | 20 | my ($class, $domain) = @_; | |||||||||
| 13 | 20 | my $self = $class->SUPER::new($domain); | |||||||||
| 14 | 20 | $self->{version} = 'v1'; | |||||||||
| 15 | 20 | return $self; | |||||||||
| 16 | } | ||||||||||
| 17 | |||||||||||
| 18 | # Each of these objects is built on demand, for the reason given in Twilio::Rest::Client. | ||||||||||
| 19 | 2 | ▶ | sub bulk_eligibilities { | ||||||||
|
Subroutine
bulk_eligibilities: called CC=2 SCAR=6.9
Pod
documented
| |||||||||||
| 20 | 2 | my ($self, $request_id) = @_; | |||||||||
| 21 | 2 | require Twilio::Rest::Numbers::V1::BulkEligibility; | |||||||||
| 22 | 2 | my $list = Twilio::Rest::Numbers::V1::BulkEligibilityList->new($self); | |||||||||
| 23 | 2 | ▶ | return defined $request_id ? $list->get_context($request_id) : $list; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 24 | } | ||||||||||
| 25 | |||||||||||
| 26 | 1 | ▶ | sub eligibilities { | ||||||||
|
Subroutine
eligibilities: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 27 | 1 | my ($self) = @_; | |||||||||
| 28 | 1 | require Twilio::Rest::Numbers::V1::Eligibility; | |||||||||
| 29 | 1 | return Twilio::Rest::Numbers::V1::EligibilityList->new($self); | |||||||||
| 30 | } | ||||||||||
| 31 | |||||||||||
| 32 | 1 | ▶ | sub embedded_sessions { | ||||||||
|
Subroutine
embedded_sessions: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 33 | 1 | my ($self, $bundle_sid) = @_; | |||||||||
| 34 | 1 | require Twilio::Rest::Numbers::V1::EmbeddedSession; | |||||||||
| 35 | 1 | return Twilio::Rest::Numbers::V1::EmbeddedSessionList->new($self, $bundle_sid); | |||||||||
| 36 | } | ||||||||||
| 37 | |||||||||||
| 38 | 1 | ▶ | sub porting_all_port_ins { | ||||||||
|
Subroutine
porting_all_port_ins: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 39 | 1 | my ($self) = @_; | |||||||||
| 40 | 1 | require Twilio::Rest::Numbers::V1::PortingAllPortIn; | |||||||||
| 41 | 1 | return Twilio::Rest::Numbers::V1::PortingAllPortInList->new($self); | |||||||||
| 42 | } | ||||||||||
| 43 | |||||||||||
| 44 | 3 | ▶ | sub porting_port_ins { | ||||||||
|
Subroutine
porting_port_ins: called CC=2 SCAR=6.9
Pod
documented
| |||||||||||
| 45 | 3 | my ($self, $port_in_request_sid) = @_; | |||||||||
| 46 | 3 | require Twilio::Rest::Numbers::V1::PortingPortIn; | |||||||||
| 47 | 3 | my $list = Twilio::Rest::Numbers::V1::PortingPortInList->new($self); | |||||||||
| 48 | 3 | ▶ | return defined $port_in_request_sid ? $list->get_context($port_in_request_sid) : $list; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 49 | } | ||||||||||
| 50 | |||||||||||
| 51 | 2 | ▶ | sub porting_port_in_phone_number { | ||||||||
|
Subroutine
porting_port_in_phone_number: called CC=2 SCAR=7.0
Pod
documented
| |||||||||||
| 52 | 2 | my ($self, $port_in_request_sid, $phone_number_sid) = @_; | |||||||||
| 53 | 2 | require Twilio::Rest::Numbers::V1::PortingPortInPhoneNumber; | |||||||||
| 54 | 2 | my $list = | |||||||||
| 55 | Twilio::Rest::Numbers::V1::PortingPortInPhoneNumberList->new($self, $port_in_request_sid); | ||||||||||
| 56 | 2 | ▶ | return defined $phone_number_sid ? $list->get_context($phone_number_sid) : $list; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 57 | } | ||||||||||
| 58 | |||||||||||
| 59 | 1 | ▶ | sub porting_portabilities { | ||||||||
|
Subroutine
porting_portabilities: called CC=2 SCAR=7.0
Pod
documented
| |||||||||||
| 60 | 1 | my ($self, $phone_number) = @_; | |||||||||
| 61 | 1 | require Twilio::Rest::Numbers::V1::PortingPortability; | |||||||||
| 62 | 1 | my $list = Twilio::Rest::Numbers::V1::PortingPortabilityList->new($self); | |||||||||
| 63 | 1 | ▶ | return defined $phone_number ? $list->get_context($phone_number) : $list; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 64 | } | ||||||||||
| 65 | |||||||||||
| 66 | 1 | ▶ | sub porting_webhook_configurations { | ||||||||
|
Subroutine
porting_webhook_configurations: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 67 | 1 | my ($self) = @_; | |||||||||
| 68 | 1 | require Twilio::Rest::Numbers::V1::PortingWebhookConfiguration; | |||||||||
| 69 | 1 | return Twilio::Rest::Numbers::V1::PortingWebhookConfigurationList->new($self); | |||||||||
| 70 | } | ||||||||||
| 71 | |||||||||||
| 72 | 1 | ▶ | sub porting_webhook_configurations_delete { | ||||||||
|
Subroutine
porting_webhook_configurations_delete: called CC=2 SCAR=7.0
Pod
documented
| |||||||||||
| 73 | 1 | my ($self, $webhook_type) = @_; | |||||||||
| 74 | 1 | require Twilio::Rest::Numbers::V1::PortingWebhookConfigurationDelete; | |||||||||
| 75 | 1 | my $list = Twilio::Rest::Numbers::V1::PortingWebhookConfigurationDeleteList->new($self); | |||||||||
| 76 | 1 | ▶ | return defined $webhook_type ? $list->get_context($webhook_type) : $list; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 77 | } | ||||||||||
| 78 | |||||||||||
| 79 | 1 | ▶ | sub sender_id_registrations { | ||||||||
|
Subroutine
sender_id_registrations: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 80 | 1 | my ($self) = @_; | |||||||||
| 81 | 1 | require Twilio::Rest::Numbers::V1::SenderIdRegistration; | |||||||||
| 82 | 1 | return Twilio::Rest::Numbers::V1::SenderIdRegistrationList->new($self); | |||||||||
| 83 | } | ||||||||||
| 84 | |||||||||||
| 85 | 2 | ▶ | sub signing_request_configurations { | ||||||||
|
Subroutine
signing_request_configurations: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 86 | 2 | my ($self) = @_; | |||||||||
| 87 | 2 | require Twilio::Rest::Numbers::V1::SigningRequestConfiguration; | |||||||||
| 88 | 2 | return Twilio::Rest::Numbers::V1::SigningRequestConfigurationList->new($self); | |||||||||
| 89 | } | ||||||||||
| 90 | |||||||||||
| 91 | 1 | ▶ | sub sms_verifications { | ||||||||
|
Subroutine
sms_verifications: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 92 | 1 | my ($self) = @_; | |||||||||
| 93 | 1 | require Twilio::Rest::Numbers::V1::SmsVerification; | |||||||||
| 94 | 1 | return Twilio::Rest::Numbers::V1::SmsVerificationList->new($self); | |||||||||
| 95 | } | ||||||||||
| 96 | |||||||||||
| 97 | 1 | ▶ | sub sms_verification_checks { | ||||||||
|
Subroutine
sms_verification_checks: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 98 | 1 | my ($self) = @_; | |||||||||
| 99 | 1 | require Twilio::Rest::Numbers::V1::SmsVerificationCheck; | |||||||||
| 100 | 1 | return Twilio::Rest::Numbers::V1::SmsVerificationCheckList->new($self); | |||||||||
| 101 | } | ||||||||||
| 102 | |||||||||||
| 103 | 1 | ▶ | sub voice_verifications { | ||||||||
|
Subroutine
voice_verifications: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 104 | 1 | my ($self) = @_; | |||||||||
| 105 | 1 | require Twilio::Rest::Numbers::V1::VoiceVerification; | |||||||||
| 106 | 1 | return Twilio::Rest::Numbers::V1::VoiceVerificationList->new($self); | |||||||||
| 107 | } | ||||||||||
| 108 | |||||||||||
| 109 | 1 | ▶ | sub webhook { | ||||||||
|
Subroutine
webhook: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 110 | 1 | my ($self) = @_; | |||||||||
| 111 | 1 | require Twilio::Rest::Numbers::V1::Webhook; | |||||||||
| 112 | 1 | return Twilio::Rest::Numbers::V1::WebhookList->new($self); | |||||||||
| 113 | } | ||||||||||
| 114 | |||||||||||
| 115 | 2 | 1; | |||||||||
| 116 | |||||||||||
| 117 | __END__ | ||||||||||