NAME
Twilio::Rest::Preview::Marketplace::AvailableAddOn::AvailableAddOnExtension - The AvailableAddOnExtension resource
SYNOPSIS
my $client = Twilio::Rest::Client->new($account_sid, $auth_token);
for my $available_add_on_extension ($client->preview->marketplace->available_add_ons($available_add_on_sid)->extensions->read({}, 20)) {
...
}
my $available_add_on_extension = $client->preview->marketplace->available_add_ons($available_add_on_sid)->extensions($sid)->fetch;
DESCRIPTION
This file holds AvailableAddOnExtensionList, AvailableAddOnExtensionPage, AvailableAddOnExtensionContext and AvailableAddOnExtensionInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.
AvailableAddOnExtensionList
Returned by $client->preview->marketplace->available_add_ons($available_add_on_sid)->extensions. See also Twilio::ListResource.
read
my @records = $client->preview->marketplace->available_add_ons($available_add_on_sid)->extensions->read(\%options, $limit, $page_size);
Retrieve a list of Extensions for the Available Add-on. Returns the records as a list, fetching as many pages as it needs.
stream
my $stream = $client->preview->marketplace->available_add_ons($available_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->available_add_ons($available_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->available_add_ons($available_add_on_sid)->extensions->get_page($url);
Fetches the page at a URL given by Twilio.
get_context
my $context = $client->preview->marketplace->available_add_ons($available_add_on_sid)->extensions->get_context($sid);
Returns a AvailableAddOnExtensionContext, and makes no request.
AvailableAddOnExtensionPage
A Twilio::Page of AvailableAddOnExtensionInstance objects.
records_key
build_instance
Used by Twilio::Page.
AvailableAddOnExtensionContext
Returned by $client->preview->marketplace->available_add_ons($available_add_on_sid)->extensions($sid). It makes no request until one of these methods is called.
fetch
my $available_add_on_extension = $client->preview->marketplace->available_add_ons($available_add_on_sid)->extensions($sid)->fetch;
Fetch an instance of an Extension for the Available Add-on. Returns a AvailableAddOnExtensionInstance.
AvailableAddOnExtensionInstance
See also Twilio::InstanceResource.
It has fetch, which work as they do on the context.
Its fields are:
- available_add_on_sid
-
The SID of the AvailableAddOn resource to which this extension applies.
- friendly_name
-
The string that you assigned to describe the resource.
- product_name
-
The name of the Product this Extension is used within.
- sid
-
The unique string that we created to identify the AvailableAddOnExtension 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.