NAME
Twilio::Rest::Api::V2010::Account::Recording::AddOnResult - The AddOnResult resource
SYNOPSIS
my $client = Twilio::Rest::Client->new($account_sid, $auth_token);
for my $add_on_result ($client->recordings($reference_sid)->add_on_results->read({}, 20)) {
...
}
my $add_on_result = $client->recordings($reference_sid)->add_on_results($sid)->fetch;
$client->recordings($reference_sid)->add_on_results($sid)->delete;
DESCRIPTION
The results of an Add-on API call
This file holds AddOnResultList, AddOnResultPage, AddOnResultContext and AddOnResultInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.
AddOnResultList
Returned by $client->recordings($reference_sid)->add_on_results. See also Twilio::ListResource.
read
my @records = $client->recordings($reference_sid)->add_on_results->read(\%options, $limit, $page_size);
Retrieve a list of results belonging to the recording. Returns the records as a list, fetching as many pages as it needs.
stream
my $stream = $client->recordings($reference_sid)->add_on_results->stream(\%options, $limit, $page_size);
Takes the same arguments as "read", and returns a Twilio::Stream.
page
my $page = $client->recordings($reference_sid)->add_on_results->page(\%options, $page_size, $page_token, $page_number);
Fetches one page, and returns a Twilio::Page.
get_page
my $page = $client->recordings($reference_sid)->add_on_results->get_page($url);
Fetches the page at a URL given by Twilio.
get_context
my $context = $client->recordings($reference_sid)->add_on_results->get_context($sid);
Returns a AddOnResultContext, and makes no request.
AddOnResultPage
A Twilio::Page of AddOnResultInstance objects.
records_key
build_instance
Used by Twilio::Page.
AddOnResultContext
Returned by $client->recordings($reference_sid)->add_on_results($sid). It makes no request until one of these methods is called.
fetch
my $add_on_result = $client->recordings($reference_sid)->add_on_results($sid)->fetch;
Fetch an instance of an AddOnResult. Returns a AddOnResultInstance.
delete
$client->recordings($reference_sid)->add_on_results($sid)->delete;
Delete a result and purge all associated Payloads. Returns true.
payloads
my $list = $object->payloads;
my $context = $object->payloads($sid);
See Twilio::Rest::Api::V2010::Account::Recording::AddOnResult::Payload.
AddOnResultInstance
See also Twilio::InstanceResource.
It has fetch, delete and payloads, which work as they do on the context.
Its fields are:
- account_sid
-
The SID of the Account that created the Recording AddOnResult resource.
- add_on_configuration_sid
-
The SID of the Add-on configuration.
- add_on_sid
-
The SID of the Add-on to which the result belongs.
- date_completed
-
The date and time in GMT that the result was completed specified in RFC 2822 format. A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.
- date_created
-
The date and time in GMT that the resource was created specified in RFC 2822 format. A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.
- date_updated
-
The date and time in GMT that the resource was last updated specified in RFC 2822 format. A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.
- reference_sid
-
The SID of the recording to which the AddOnResult resource belongs.
- sid
-
The unique string that that we created to identify the Recording AddOnResult resource.
- status
-
One of
canceled,completed,deleted,failed,in-progress,init,processingorqueued. - subresource_uris
-
A list of related resources identified by their relative URIs.
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.