NAME
Twilio::Rest::Preview::Wireless::Sim::Usage - The Usage resource
SYNOPSIS
my $client = Twilio::Rest::Client->new($account_sid, $auth_token);
my $usage = $client->preview->wireless->sims($sim_sid)->usage->fetch;
DESCRIPTION
This file holds UsageContext and UsageInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.
UsageContext
Returned by $client->preview->wireless->sims($sim_sid)->usage. It makes no request until one of these methods is called.
fetch
my $usage = $client->preview->wireless->sims($sim_sid)->usage->fetch(\%options);
Returns a UsageInstance.
The options are:
end-
No description in the specification.
start-
No description in the specification.
UsageInstance
See also Twilio::InstanceResource.
It has fetch, which work as they do on the context.
Its fields are:
- account_sid
-
No description in the specification.
- commands_costs
-
No description in the specification.
- commands_usage
-
No description in the specification.
- data_costs
-
No description in the specification.
- data_usage
-
No description in the specification.
- period
-
No description in the specification.
- sim_sid
-
No description in the specification.
- sim_unique_name
-
No description in the specification.
- url
-
No description in the specification.
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.