NAME

Twilio::Rest::Marketplace::V1::AvailableAddOn - The AvailableAddOn resource

SYNOPSIS

my $client = Twilio::Rest::Client->new($account_sid, $auth_token);

for my $available_add_on ($client->marketplace->v1->available_add_ons->read({}, 20)) {
  ...
}
my $available_add_on = $client->marketplace->v1->available_add_ons($sid)->fetch;

DESCRIPTION

This file holds AvailableAddOnList, AvailableAddOnPage, AvailableAddOnContext and AvailableAddOnInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.

AvailableAddOnList

Returned by $client->marketplace->v1->available_add_ons. See also Twilio::ListResource.

read

my @records = $client->marketplace->v1->available_add_ons->read(\%options, $limit, $page_size);

Retrieve a list of Add-ons currently available to be installed. Returns the records as a list, fetching as many pages as it needs.

stream

my $stream = $client->marketplace->v1->available_add_ons->stream(\%options, $limit, $page_size);

Takes the same arguments as "read", and returns a Twilio::Stream.

page

my $page = $client->marketplace->v1->available_add_ons->page(\%options, $page_size, $page_token, $page_number);

Fetches one page, and returns a Twilio::Page.

get_page

my $page = $client->marketplace->v1->available_add_ons->get_page($url);

Fetches the page at a URL given by Twilio.

get_context

my $context = $client->marketplace->v1->available_add_ons->get_context($sid);

Returns a AvailableAddOnContext, and makes no request.

AvailableAddOnPage

A Twilio::Page of AvailableAddOnInstance objects.

records_key

build_instance

Used by Twilio::Page.

AvailableAddOnContext

Returned by $client->marketplace->v1->available_add_ons($sid). It makes no request until one of these methods is called.

fetch

my $available_add_on = $client->marketplace->v1->available_add_ons($sid)->fetch;

Fetch an instance of an Add-on currently available to be installed. Returns a AvailableAddOnInstance.

extensions

my $list = $object->extensions;

my $context = $object->extensions($sid);

See Twilio::Rest::Marketplace::V1::AvailableAddOn::AvailableAddOnExtension.

AvailableAddOnInstance

See also Twilio::InstanceResource.

It has fetch and extensions, which work as they do on the context.

Its fields are:

configuration_schema

The JSON object with the configuration that must be provided when installing a given Add-on.

description

A short description of the Add-on's functionality.

friendly_name

The string that you assigned to describe the resource.

The URLs of related resources.

pricing_type

How customers are charged for using this Add-on.

sid

The unique string that we created to identify the AvailableAddOn 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.