NAME
Twilio::Rest::Supersim::V1::NetworkAccessProfile::NetworkAccessProfileNetwork - The NetworkAccessProfileNetwork resource
SYNOPSIS
my $client = Twilio::Rest::Client->new($account_sid, $auth_token);
my $network_access_profile_network = $client->supersim->v1->network_access_profiles($network_access_profile_sid)->networks->create($network);
for my $network_access_profile_network ($client->supersim->v1->network_access_profiles($network_access_profile_sid)->networks->read({}, 20)) {
...
}
my $network_access_profile_network = $client->supersim->v1->network_access_profiles($network_access_profile_sid)->networks($sid)->fetch;
$client->supersim->v1->network_access_profiles($network_access_profile_sid)->networks($sid)->delete;
DESCRIPTION
Mobile operator networks which Network Access Profiles allow access to
This file holds NetworkAccessProfileNetworkList, NetworkAccessProfileNetworkPage, NetworkAccessProfileNetworkContext and NetworkAccessProfileNetworkInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.
NetworkAccessProfileNetworkList
Returned by $client->supersim->v1->network_access_profiles($network_access_profile_sid)->networks. See also Twilio::ListResource.
create
my $network_access_profile_network = $client->supersim->v1->network_access_profiles($network_access_profile_sid)->networks->create($network);
Add a Network resource to the Network Access Profile resource. Returns a NetworkAccessProfileNetworkInstance.
The required values are:
read
my @records = $client->supersim->v1->network_access_profiles($network_access_profile_sid)->networks->read(\%options, $limit, $page_size);
Retrieve a list of Network Access Profile resource's Network resource. Returns the records as a list, fetching as many pages as it needs.
stream
my $stream = $client->supersim->v1->network_access_profiles($network_access_profile_sid)->networks->stream(\%options, $limit, $page_size);
Takes the same arguments as "read", and returns a Twilio::Stream.
page
my $page = $client->supersim->v1->network_access_profiles($network_access_profile_sid)->networks->page(\%options, $page_size, $page_token, $page_number);
Fetches one page, and returns a Twilio::Page.
get_page
my $page = $client->supersim->v1->network_access_profiles($network_access_profile_sid)->networks->get_page($url);
Fetches the page at a URL given by Twilio.
get_context
my $context = $client->supersim->v1->network_access_profiles($network_access_profile_sid)->networks->get_context($sid);
Returns a NetworkAccessProfileNetworkContext, and makes no request.
NetworkAccessProfileNetworkPage
A Twilio::Page of NetworkAccessProfileNetworkInstance objects.
records_key
build_instance
Used by Twilio::Page.
NetworkAccessProfileNetworkContext
Returned by $client->supersim->v1->network_access_profiles($network_access_profile_sid)->networks($sid). It makes no request until one of these methods is called.
fetch
my $network_access_profile_network = $client->supersim->v1->network_access_profiles($network_access_profile_sid)->networks($sid)->fetch;
Fetch a Network Access Profile resource's Network resource. Returns a NetworkAccessProfileNetworkInstance.
delete
$client->supersim->v1->network_access_profiles($network_access_profile_sid)->networks($sid)->delete;
Remove a Network resource from the Network Access Profile resource's. Returns true.
NetworkAccessProfileNetworkInstance
See also Twilio::InstanceResource.
It has fetch and delete, which work as they do on the context.
Its fields are:
- friendly_name
-
A human readable identifier of the Network this resource refers to.
- identifiers
-
Array of objects identifying the MCC-MNCs that are included in the Network resource.
- iso_country
-
The ISO country code of the Network resource.
- network_access_profile_sid
-
The unique string that identifies the Network resource's Network Access Profile resource.
- sid
-
The unique string that identifies the Network resource.
- url
-
The absolute URL of the Network 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.