NAME

Twilio::Rest::FlexApi::V1::PluginRelease - The PluginRelease resource

SYNOPSIS

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

my $plugin_release = $client->flex_api->v1->plugin_releases->create($configuration_id, \%options);
for my $plugin_release ($client->flex_api->v1->plugin_releases->read({}, 20)) {
  ...
}
my $plugin_release = $client->flex_api->v1->plugin_releases($sid)->fetch;

DESCRIPTION

This file holds PluginReleaseList, PluginReleasePage, PluginReleaseContext and PluginReleaseInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.

PluginReleaseList

Returned by $client->flex_api->v1->plugin_releases. See also Twilio::ListResource.

create

my $plugin_release = $client->flex_api->v1->plugin_releases->create($configuration_id, \%options);

Returns a PluginReleaseInstance.

The required values are:

$configuration_id

The SID or the Version of the Flex Plugin Configuration to release.

The options are:

flex_metadata

The Flex-Metadata HTTP request header

read

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

Returns the records as a list, fetching as many pages as it needs.

The options are:

flex_metadata

The Flex-Metadata HTTP request header

stream

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

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

page

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

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

get_page

my $page = $client->flex_api->v1->plugin_releases->get_page($url);

Fetches the page at a URL given by Twilio.

get_context

my $context = $client->flex_api->v1->plugin_releases->get_context($sid);

Returns a PluginReleaseContext, and makes no request.

PluginReleasePage

A Twilio::Page of PluginReleaseInstance objects.

records_key

build_instance

Used by Twilio::Page.

PluginReleaseContext

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

fetch

my $plugin_release = $client->flex_api->v1->plugin_releases($sid)->fetch(\%options);

Returns a PluginReleaseInstance.

The options are:

flex_metadata

The Flex-Metadata HTTP request header

PluginReleaseInstance

See also Twilio::InstanceResource.

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

Its fields are:

account_sid

The SID of the Account that created the Plugin Release resource and owns this resource.

configuration_sid

The SID of the Plugin Configuration resource to release.

date_created

The date and time in GMT when the Flex Plugin Release was created specified in ISO 8601 format. A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.

sid

The unique string that we created to identify the Plugin Release resource.

url

The absolute URL of the Plugin Release 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.