NAME

Twilio::Rest::Routes::V2::SipDomain - The SipDomain resource

SYNOPSIS

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

my $sip_domain = $client->routes->v2->sip_domains($sip_domain)->fetch;
$client->routes->v2->sip_domains($sip_domain)->update(\%options);

DESCRIPTION

This file holds SipDomainList, SipDomainContext and SipDomainInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.

SipDomainList

Returned by $client->routes->v2->sip_domains. See also Twilio::ListResource.

get_context

my $context = $client->routes->v2->sip_domains->get_context($sip_domain);

Returns a SipDomainContext, and makes no request.

SipDomainContext

Returned by $client->routes->v2->sip_domains($sip_domain). It makes no request until one of these methods is called.

fetch

my $sip_domain = $client->routes->v2->sip_domains($sip_domain)->fetch;

Returns a SipDomainInstance.

update

my $sip_domain = $client->routes->v2->sip_domains($sip_domain)->update(\%options);

Returns a SipDomainInstance.

The options are:

friendly_name

No description in the specification.

voice_region

No description in the specification.

SipDomainInstance

See also Twilio::InstanceResource.

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

Its fields are:

account_sid

No description in the specification.

date_created

A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.

date_updated

A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.

friendly_name

No description in the specification.

sid

No description in the specification.

sip_domain

No description in the specification.

url

No description in the specification.

voice_region

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.