whoami7 - Manager
:
/
home
/
kckglobal
/
www
/
portal
/
vendor
/
twilio
/
sdk
/
src
/
Twilio
/
Rest
/
Proxy
/
V1
/
Service
/
Upload File:
files >> //home/kckglobal/www/portal/vendor/twilio/sdk/src/Twilio/Rest/Proxy/V1/Service/ShortCodeOptions.php
<?php /** * This code was generated by * \ / _ _ _| _ _ * | (_)\/(_)(_|\/| |(/_ v1.0.0 * / / */ namespace Twilio\Rest\Proxy\V1\Service; use Twilio\Options; use Twilio\Values; /** * PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution. */ abstract class ShortCodeOptions { /** * @param bool $isReserved Whether the short code should be reserved for manual * assignment to participants only * @return UpdateShortCodeOptions Options builder */ public static function update(bool $isReserved = Values::NONE): UpdateShortCodeOptions { return new UpdateShortCodeOptions($isReserved); } } class UpdateShortCodeOptions extends Options { /** * @param bool $isReserved Whether the short code should be reserved for manual * assignment to participants only */ public function __construct(bool $isReserved = Values::NONE) { $this->options['isReserved'] = $isReserved; } /** * Whether the short code should be reserved and not be assigned to a participant using proxy pool logic. See [Reserved Phone Numbers](https://www.twilio.com/docs/proxy/reserved-phone-numbers) for more information. * * @param bool $isReserved Whether the short code should be reserved for manual * assignment to participants only * @return $this Fluent Builder */ public function setIsReserved(bool $isReserved): self { $this->options['isReserved'] = $isReserved; 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.Proxy.V1.UpdateShortCodeOptions ' . $options . ']'; } }
Copyright ©2021 || Defacer Indonesia