NAME

Twilio::Rest::Numbers::V2::RegulatoryCompliance::Bundle::ReplaceItems - The ReplaceItems resource

SYNOPSIS

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

my $replace_items = $client->numbers->v2->regulatory_compliance->bundles($bundle_sid)->replace_items->create($from_bundle_sid);

DESCRIPTION

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

ReplaceItemsList

Returned by $client->numbers->v2->regulatory_compliance->bundles($bundle_sid)->replace_items. See also Twilio::ListResource.

create

my $replace_items = $client->numbers->v2->regulatory_compliance->bundles($bundle_sid)->replace_items->create($from_bundle_sid);

Replaces all bundle items in the target bundle (specified in the path) with all the bundle items of the source bundle (specified by the from_bundle_sid body param). Returns a ReplaceItemsInstance.

The required values are:

$from_bundle_sid

The source bundle sid to copy the item assignments from.

ReplaceItemsInstance

See also Twilio::InstanceResource.

Its fields are:

account_sid

The SID of the Account that created the Bundle resource.

date_created

The date and time in GMT when the resource was created specified in ISO 8601 format. A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.

date_updated

The date and time in GMT when the resource was last updated specified in ISO 8601 format. A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.

email

The email address that will receive updates when the Bundle resource changes status.

friendly_name

The string that you assigned to describe the resource.

regulation_sid

The unique string of a regulation that is associated to the Bundle resource.

sid

The unique string that we created to identify the Bundle resource.

status

One of draft, pending-review, in-review, twilio-rejected, twilio-approved or provisionally-approved.

status_callback

The URL we call to inform your application of status changes.

valid_until

The date and time in GMT in ISO 8601 format when the resource will be valid until. A Time::Piece object in UTC. See "date_time" in Twilio::Deserialize.

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.