NAME
Twilio::Rest::Bulkexports::V1::Export::Day - The Day resource
SYNOPSIS
my $client = Twilio::Rest::Client->new($account_sid, $auth_token);
for my $day ($client->bulkexports->v1->exports($resource_type)->days->read({}, 20)) {
...
}
my $day = $client->bulkexports->v1->exports($resource_type)->days($day)->fetch;
DESCRIPTION
This file holds DayList, DayPage, DayContext and DayInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.
DayList
Returned by $client->bulkexports->v1->exports($resource_type)->days. See also Twilio::ListResource.
read
my @records = $client->bulkexports->v1->exports($resource_type)->days->read(\%options, $limit, $page_size);
Retrieve a list of all Days for a resource. Returns the records as a list, fetching as many pages as it needs.
stream
my $stream = $client->bulkexports->v1->exports($resource_type)->days->stream(\%options, $limit, $page_size);
Takes the same arguments as "read", and returns a Twilio::Stream.
page
my $page = $client->bulkexports->v1->exports($resource_type)->days->page(\%options, $page_size, $page_token, $page_number);
Fetches one page, and returns a Twilio::Page.
get_page
my $page = $client->bulkexports->v1->exports($resource_type)->days->get_page($url);
Fetches the page at a URL given by Twilio.
get_context
my $context = $client->bulkexports->v1->exports($resource_type)->days->get_context($day);
Returns a DayContext, and makes no request.
DayPage
A Twilio::Page of DayInstance objects.
records_key
build_instance
Used by Twilio::Page.
DayContext
Returned by $client->bulkexports->v1->exports($resource_type)->days($day). It makes no request until one of these methods is called.
fetch
my $day = $client->bulkexports->v1->exports($resource_type)->days($day)->fetch;
Fetch a specific Day. Returns a DayInstance.
DayInstance
See also Twilio::InstanceResource.
It has fetch, which work as they do on the context.
Its fields are:
- create_date
-
The ISO 8601 format date when resources is created
- day
-
The ISO 8601 format date of the resources in the file, for a UTC day
- friendly_name
-
The friendly name specified when creating the job
- redirect_to
-
No description in the specification.
- resource_type
-
The type of communication – Messages, Calls, Conferences, and Participants
- size
-
The size of the day's data file in bytes
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.