NAME

Twilio::Rest::Voice::V1::DialingPermissions::Settings - The Settings resource

SYNOPSIS

my $client = Twilio::Rest::Client->new($account_sid, $auth_token);

my $settings = $client->voice->v1->dialing_permissions->settings->fetch;
$client->voice->v1->dialing_permissions->settings->update(\%options);

DESCRIPTION

This file holds SettingsContext and SettingsInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.

SettingsContext

Returned by $client->voice->v1->dialing_permissions->settings. It makes no request until one of these methods is called.

fetch

my $settings = $client->voice->v1->dialing_permissions->settings->fetch;

Retrieve voice dialing permissions inheritance for the sub-account. Returns a SettingsInstance.

update

my $settings = $client->voice->v1->dialing_permissions->settings->update(\%options);

Update voice dialing permissions inheritance for the sub-account. Returns a SettingsInstance.

The options are:

dialing_permissions_inheritance

true for the sub-account to inherit voice dialing permissions from the Master Project; otherwise false.

SettingsInstance

See also Twilio::InstanceResource.

It has fetch and update, which work as they do on the context.

Its fields are:

dialing_permissions_inheritance

true if the sub-account will inherit voice dialing permissions from the Master Project; otherwise false.

url

The absolute URL of this 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.