File "BundleCopyOptions.php"
Full Path: /home/clickysoft/public_html/jmapi5.clickysoft.net/vendor/twilio/sdk/src/Twilio/Rest/Numbers/V2/RegulatoryCompliance/Bundle/BundleCopyOptions.php
File size: 2 KB
MIME-type: text/x-php
Charset: utf-8
<?php
/**
* This code was generated by
* ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __
* | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/
* | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
*
* Twilio - Numbers
* This is the public Twilio REST API.
*
* NOTE: This class is auto generated by OpenAPI Generator.
* https://openapi-generator.tech
* Do not edit the class manually.
*/
namespace Twilio\Rest\Numbers\V2\RegulatoryCompliance\Bundle;
use Twilio\Options;
use Twilio\Values;
abstract class BundleCopyOptions
{
/**
* @param string $friendlyName The string that you assigned to describe the copied bundle.
* @return CreateBundleCopyOptions Options builder
*/
public static function create(
string $friendlyName = Values::NONE
): CreateBundleCopyOptions
{
return new CreateBundleCopyOptions(
$friendlyName
);
}
}
class CreateBundleCopyOptions extends Options
{
/**
* @param string $friendlyName The string that you assigned to describe the copied bundle.
*/
public function __construct(
string $friendlyName = Values::NONE
) {
$this->options['friendlyName'] = $friendlyName;
}
/**
* The string that you assigned to describe the copied bundle.
*
* @param string $friendlyName The string that you assigned to describe the copied bundle.
* @return $this Fluent Builder
*/
public function setFriendlyName(string $friendlyName): self
{
$this->options['friendlyName'] = $friendlyName;
return $this;
}
/**
* Provide a friendly representation
*
* @return string Machine friendly representation
*/
public function __toString(): string
{
$options = \http_build_query(Values::of($this->options), '', ' ');
return '[Twilio.Numbers.V2.CreateBundleCopyOptions ' . $options . ']';
}
}