NAME
Twilio::Rest::Intelligence::V3::OperatorResult - The OperatorResult resource
SYNOPSIS
my $client = Twilio::Rest::Client->new($account_sid, $auth_token);
for my $operator_result ($client->intelligence->v3->operator_results->read({}, 20)) {
...
}
my $operator_result = $client->intelligence->v3->operator_results($operator_result_id)->fetch;
$client->intelligence->v3->operator_results($operator_result_id)->delete;
DESCRIPTION
This file holds OperatorResultList, OperatorResultPage, OperatorResultContext and OperatorResultInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.
OperatorResultList
Returned by $client->intelligence->v3->operator_results. See also Twilio::ListResource.
read
my @records = $client->intelligence->v3->operator_results->read(\%options, $limit, $page_size);
Returns the records as a list, fetching as many pages as it needs.
The options are:
conversation_id-
Filter Operator Results by attached Conversation
id. intelligence_configuration_id-
Filter Operator Results by Intelligence Configuration
idused to generate them. operator_id-
Filter Operator Results by Language Operator
id.
stream
my $stream = $client->intelligence->v3->operator_results->stream(\%options, $limit, $page_size);
Takes the same arguments as "read", and returns a Twilio::Stream.
page
my $page = $client->intelligence->v3->operator_results->page(\%options, $page_size, $page_token);
Fetches one page, and returns a Twilio::TokenPaginationPage. This API pages by token, so there is no page number.
get_page
my $page = $client->intelligence->v3->operator_results->get_page($url);
Fetches the page at a URL given by Twilio.
get_context
my $context = $client->intelligence->v3->operator_results->get_context($operator_result_id);
Returns a OperatorResultContext, and makes no request.
OperatorResultPage
A Twilio::Page of OperatorResultInstance objects.
records_key
build_instance
Used by Twilio::Page.
OperatorResultContext
Returned by $client->intelligence->v3->operator_results($operator_result_id). It makes no request until one of these methods is called.
fetch
my $operator_result = $client->intelligence->v3->operator_results($operator_result_id)->fetch;
Returns a OperatorResultInstance.
delete
$client->intelligence->v3->operator_results($operator_result_id)->delete;
Returns true.
OperatorResultInstance
See also Twilio::InstanceResource.
It has fetch and delete, which work as they do on the context.
Its fields are:
- account_id
-
The ID of the Account that created the Language Operator.
- conversation_id
-
The
idof the Conversation attached to the Operator Result. - date_created
-
Timestamp for when the Operator Result was created. A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.
- execution_details
-
No description in the specification.
- id
-
A unique identifier for the Operator Result. Assigned by Twilio (TTID).
- intelligence_configuration
-
No description in the specification.
- metadata
-
No description in the specification.
- operator
-
No description in the specification.
- output_format
-
No description in the specification.
- reference_ids
-
The
ids of objects related to this Operator Result. - result
-
The actual result from executing the Language Operator with
TEXToutput format.
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.