« Twilio/Rest/Memory/V1/Observation.pm
↑ Summary
Twilio/Rest/Preview/HostedNumbers/AuthorizationDocument.pm »
| 1 | # Generated by tools/generate.pl from Twilio's OpenAPI specs. Do not edit this file. | ||||||||||
| 2 | package Twilio::Rest::Messaging::V1; | ||||||||||
| 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 | ▶ | use parent 'Twilio::Version'; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 8 | |||||||||||
| 9 | 3 | our $VERSION = '2.001'; | |||||||||
| 10 | |||||||||||
| 11 | 65 | ▶ | sub new { | ||||||||
|
Subroutine
new: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 12 | 65 | my ($class, $domain) = @_; | |||||||||
| 13 | 65 | my $self = $class->SUPER::new($domain); | |||||||||
| 14 | 65 | $self->{version} = 'v1'; | |||||||||
| 15 | 65 | return $self; | |||||||||
| 16 | } | ||||||||||
| 17 | |||||||||||
| 18 | # Each of these objects is built on demand, for the reason given in Twilio::Rest::Client. | ||||||||||
| 19 | 9 | ▶ | sub brand_registrations { | ||||||||
|
Subroutine
brand_registrations: called CC=2 SCAR=6.9
Pod
documented
| |||||||||||
| 20 | 9 | my ($self, $sid) = @_; | |||||||||
| 21 | 9 | require Twilio::Rest::Messaging::V1::BrandRegistration; | |||||||||
| 22 | 9 | my $list = Twilio::Rest::Messaging::V1::BrandRegistrationList->new($self); | |||||||||
| 23 | 9 | ▶ | return defined $sid ? $list->get_context($sid) : $list; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 24 | } | ||||||||||
| 25 | |||||||||||
| 26 | 1 | ▶ | sub deactivations { | ||||||||
|
Subroutine
deactivations: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 27 | 1 | my ($self) = @_; | |||||||||
| 28 | 1 | require Twilio::Rest::Messaging::V1::Deactivations; | |||||||||
| 29 | 1 | return Twilio::Rest::Messaging::V1::DeactivationsContext->new($self); | |||||||||
| 30 | } | ||||||||||
| 31 | |||||||||||
| 32 | 4 | ▶ | sub domain_certs { | ||||||||
|
Subroutine
domain_certs: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 33 | 4 | my ($self, $domain_sid) = @_; | |||||||||
| 34 | 4 | require Twilio::Rest::Messaging::V1::DomainCerts; | |||||||||
| 35 | 4 | return Twilio::Rest::Messaging::V1::DomainCertsContext->new($self, $domain_sid); | |||||||||
| 36 | } | ||||||||||
| 37 | |||||||||||
| 38 | 3 | ▶ | sub domain_config { | ||||||||
|
Subroutine
domain_config: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 39 | 3 | my ($self, $domain_sid) = @_; | |||||||||
| 40 | 3 | require Twilio::Rest::Messaging::V1::DomainConfig; | |||||||||
| 41 | 3 | return Twilio::Rest::Messaging::V1::DomainConfigContext->new($self, $domain_sid); | |||||||||
| 42 | } | ||||||||||
| 43 | |||||||||||
| 44 | 1 | ▶ | sub domain_config_messaging_service { | ||||||||
|
Subroutine
domain_config_messaging_service: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 45 | 1 | my ($self, $messaging_service_sid) = @_; | |||||||||
| 46 | 1 | require Twilio::Rest::Messaging::V1::DomainConfigMessagingService; | |||||||||
| 47 | 1 | return Twilio::Rest::Messaging::V1::DomainConfigMessagingServiceContext->new($self, | |||||||||
| 48 | $messaging_service_sid); | ||||||||||
| 49 | } | ||||||||||
| 50 | |||||||||||
| 51 | 1 | ▶ | sub domain_validate_dns { | ||||||||
|
Subroutine
domain_validate_dns: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 52 | 1 | my ($self, $domain_sid) = @_; | |||||||||
| 53 | 1 | require Twilio::Rest::Messaging::V1::DomainValidateDn; | |||||||||
| 54 | 1 | return Twilio::Rest::Messaging::V1::DomainValidateDnContext->new($self, $domain_sid); | |||||||||
| 55 | } | ||||||||||
| 56 | |||||||||||
| 57 | 1 | ▶ | sub external_campaign { | ||||||||
|
Subroutine
external_campaign: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 58 | 1 | my ($self) = @_; | |||||||||
| 59 | 1 | require Twilio::Rest::Messaging::V1::ExternalCampaign; | |||||||||
| 60 | 1 | return Twilio::Rest::Messaging::V1::ExternalCampaignList->new($self); | |||||||||
| 61 | } | ||||||||||
| 62 | |||||||||||
| 63 | 2 | ▶ | sub linkshortening_messaging_service { | ||||||||
|
Subroutine
linkshortening_messaging_service: called CC=2 SCAR=7.0
Pod
documented
| |||||||||||
| 64 | 2 | my ($self, $domain_sid, $messaging_service_sid) = @_; | |||||||||
| 65 | 2 | require Twilio::Rest::Messaging::V1::LinkshorteningMessagingService; | |||||||||
| 66 | 2 | my $list = | |||||||||
| 67 | Twilio::Rest::Messaging::V1::LinkshorteningMessagingServiceList->new($self, $domain_sid); | ||||||||||
| 68 | 2 | ▶ | return defined $messaging_service_sid ? $list->get_context($messaging_service_sid) : $list; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 69 | } | ||||||||||
| 70 | |||||||||||
| 71 | 1 | ▶ | sub linkshortening_messaging_service_domain_association { | ||||||||
|
Subroutine
linkshortening_messaging_service_domain_association: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 72 | 1 | my ($self, $messaging_service_sid) = @_; | |||||||||
| 73 | 1 | require Twilio::Rest::Messaging::V1::LinkshorteningMessagingServiceDomainAssociation; | |||||||||
| 74 | 1 | return Twilio::Rest::Messaging::V1::LinkshorteningMessagingServiceDomainAssociationContext->new( | |||||||||
| 75 | $self, $messaging_service_sid); | ||||||||||
| 76 | } | ||||||||||
| 77 | |||||||||||
| 78 | 2 | ▶ | sub request_managed_cert { | ||||||||
|
Subroutine
request_managed_cert: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 79 | 2 | my ($self, $domain_sid) = @_; | |||||||||
| 80 | 2 | require Twilio::Rest::Messaging::V1::RequestManagedCert; | |||||||||
| 81 | 2 | return Twilio::Rest::Messaging::V1::RequestManagedCertContext->new($self, $domain_sid); | |||||||||
| 82 | } | ||||||||||
| 83 | |||||||||||
| 84 | 34 | ▶ | sub services { | ||||||||
|
Subroutine
services: called CC=2 SCAR=6.9
Pod
documented
| |||||||||||
| 85 | 34 | my ($self, $sid) = @_; | |||||||||
| 86 | 34 | require Twilio::Rest::Messaging::V1::Service; | |||||||||
| 87 | 34 | my $list = Twilio::Rest::Messaging::V1::ServiceList->new($self); | |||||||||
| 88 | 34 | ▶ | return defined $sid ? $list->get_context($sid) : $list; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 89 | } | ||||||||||
| 90 | |||||||||||
| 91 | 5 | ▶ | sub tollfree_verifications { | ||||||||
|
Subroutine
tollfree_verifications: called CC=2 SCAR=6.9
Pod
documented
| |||||||||||
| 92 | 5 | my ($self, $sid) = @_; | |||||||||
| 93 | 5 | require Twilio::Rest::Messaging::V1::TollfreeVerification; | |||||||||
| 94 | 5 | my $list = Twilio::Rest::Messaging::V1::TollfreeVerificationList->new($self); | |||||||||
| 95 | 5 | ▶ | return defined $sid ? $list->get_context($sid) : $list; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 96 | } | ||||||||||
| 97 | |||||||||||
| 98 | 1 | ▶ | sub usecases { | ||||||||
|
Subroutine
usecases: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||
| 99 | 1 | my ($self) = @_; | |||||||||
| 100 | 1 | require Twilio::Rest::Messaging::V1::Usecase; | |||||||||
| 101 | 1 | return Twilio::Rest::Messaging::V1::UsecaseList->new($self); | |||||||||
| 102 | } | ||||||||||
| 103 | |||||||||||
| 104 | 3 | 1; | |||||||||
| 105 | |||||||||||
| 106 | __END__ | ||||||||||