File "TemplateOptions.php"
Full Path: /home/clickysoft/public_html/jmapi5.clickysoft.net/vendor/twilio/sdk/src/Twilio/Rest/Verify/V2/TemplateOptions.php
File size: 1.97 KB
MIME-type: text/x-php
Charset: utf-8
<?php
/**
* This code was generated by
* ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __
* | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/
* | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
*
* Twilio - Verify
* 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\Verify\V2;
use Twilio\Options;
use Twilio\Values;
abstract class TemplateOptions
{
/**
* @param string $friendlyName String filter used to query templates with a given friendly name.
* @return ReadTemplateOptions Options builder
*/
public static function read(
string $friendlyName = Values::NONE
): ReadTemplateOptions
{
return new ReadTemplateOptions(
$friendlyName
);
}
}
class ReadTemplateOptions extends Options
{
/**
* @param string $friendlyName String filter used to query templates with a given friendly name.
*/
public function __construct(
string $friendlyName = Values::NONE
) {
$this->options['friendlyName'] = $friendlyName;
}
/**
* String filter used to query templates with a given friendly name.
*
* @param string $friendlyName String filter used to query templates with a given friendly name.
* @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.Verify.V2.ReadTemplateOptions ' . $options . ']';
}
}