NAME
Twilio::Rest::Preview::Marketplace::InstalledAddOn::InstalledAddOnExtension - The InstalledAddOnExtension resource
SYNOPSIS
my $client = Twilio::Rest::Client->new($account_sid, $auth_token);
for my $installed_add_on_extension ($client->preview->marketplace->installed_add_ons($installed_add_on_sid)->extensions->read({}, 20)) {
...
}
my $installed_add_on_extension = $client->preview->marketplace->installed_add_ons($installed_add_on_sid)->extensions($sid)->fetch;
$client->preview->marketplace->installed_add_ons($installed_add_on_sid)->extensions($sid)->update($enabled);
DESCRIPTION
This file holds InstalledAddOnExtensionList, InstalledAddOnExtensionPage, InstalledAddOnExtensionContext and InstalledAddOnExtensionInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.
InstalledAddOnExtensionList
Returned by $client->preview->marketplace->installed_add_ons($installed_add_on_sid)->extensions. See also Twilio::ListResource.
read
my @records = $client->preview->marketplace->installed_add_ons($installed_add_on_sid)->extensions->read(\%options, $limit, $page_size);
Retrieve a list of Extensions for the Installed Add-on. Returns the records as a list, fetching as many pages as it needs.
stream
my $stream = $client->preview->marketplace->installed_add_ons($installed_add_on_sid)->extensions->stream(\%options, $limit, $page_size);
Takes the same arguments as "read", and returns a Twilio::Stream.
page
my $page = $client->preview->marketplace->installed_add_ons($installed_add_on_sid)->extensions->page(\%options, $page_size, $page_token, $page_number);
Fetches one page, and returns a Twilio::Page.
get_page
my $page = $client->preview->marketplace->installed_add_ons($installed_add_on_sid)->extensions->get_page($url);
Fetches the page at a URL given by Twilio.
get_context
my $context = $client->preview->marketplace->installed_add_ons($installed_add_on_sid)->extensions->get_context($sid);
Returns a InstalledAddOnExtensionContext, and makes no request.
InstalledAddOnExtensionPage
A Twilio::Page of InstalledAddOnExtensionInstance objects.
records_key
build_instance
Used by Twilio::Page.
InstalledAddOnExtensionContext
Returned by $client->preview->marketplace->installed_add_ons($installed_add_on_sid)->extensions($sid). It makes no request until one of these methods is called.
fetch
my $installed_add_on_extension = $client->preview->marketplace->installed_add_ons($installed_add_on_sid)->extensions($sid)->fetch;
Fetch an instance of an Extension for the Installed Add-on. Returns a InstalledAddOnExtensionInstance.
update
my $installed_add_on_extension = $client->preview->marketplace->installed_add_ons($installed_add_on_sid)->extensions($sid)->update($enabled);
Update an Extension for an Add-on installation. Returns a InstalledAddOnExtensionInstance.
The required values are:
InstalledAddOnExtensionInstance
See also Twilio::InstanceResource.
It has fetch and update, which work as they do on the context.
Its fields are:
- enabled
-
Whether the Extension will be invoked.
- friendly_name
-
The string that you assigned to describe the resource.
- installed_add_on_sid
-
The SID of the InstalledAddOn resource to which this extension applies.
- product_name
-
The name of the Product this Extension is used within.
- sid
-
The unique string that we created to identify the InstalledAddOn Extension resource.
- unique_name
-
An application-defined string that uniquely identifies the resource.
- url
-
The absolute URL of the resource.
CONSTRUCTORS
new
Objects here come from the methods above, so there is no need to call new directly.
LICENSE
Copyright (c) 2026 Francisco Zarabozo. Released under the MIT License.