PATH:
home
/
lab2454c
/
.trash
/
core
/
vendor
/
twilio
/
sdk
/
src
/
Twilio
/
Rest
/
Preview
/
DeployedDevices
/
Fleet
<?php /** * This code was generated by * \ / _ _ _| _ _ * | (_)\/(_)(_|\/| |(/_ v1.0.0 * / / */ namespace Twilio\Rest\Preview\DeployedDevices\Fleet; use Twilio\Options; use Twilio\Values; /** * PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com. */ abstract class KeyOptions { /** * @param string $friendlyName The human readable description for this Key. * @param string $deviceSid The unique identifier of a Key to be authenticated. * @return CreateKeyOptions Options builder */ public static function create(string $friendlyName = Values::NONE, string $deviceSid = Values::NONE): CreateKeyOptions { return new CreateKeyOptions($friendlyName, $deviceSid); } /** * @param string $deviceSid Find all Keys authenticating specified Device. * @return ReadKeyOptions Options builder */ public static function read(string $deviceSid = Values::NONE): ReadKeyOptions { return new ReadKeyOptions($deviceSid); } /** * @param string $friendlyName The human readable description for this Key. * @param string $deviceSid The unique identifier of a Key to be authenticated. * @return UpdateKeyOptions Options builder */ public static function update(string $friendlyName = Values::NONE, string $deviceSid = Values::NONE): UpdateKeyOptions { return new UpdateKeyOptions($friendlyName, $deviceSid); } } class CreateKeyOptions extends Options { /** * @param string $friendlyName The human readable description for this Key. * @param string $deviceSid The unique identifier of a Key to be authenticated. */ public function __construct(string $friendlyName = Values::NONE, string $deviceSid = Values::NONE) { $this->options['friendlyName'] = $friendlyName; $this->options['deviceSid'] = $deviceSid; } /** * Provides a human readable descriptive text for this Key credential, up to 256 characters long. * * @param string $friendlyName The human readable description for this Key. * @return $this Fluent Builder */ public function setFriendlyName(string $friendlyName): self { $this->options['friendlyName'] = $friendlyName; return $this; } /** * Provides the unique string identifier of an existing Device to become authenticated with this Key credential. * * @param string $deviceSid The unique identifier of a Key to be authenticated. * @return $this Fluent Builder */ public function setDeviceSid(string $deviceSid): self { $this->options['deviceSid'] = $deviceSid; 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.Preview.DeployedDevices.CreateKeyOptions ' . $options . ']'; } } class ReadKeyOptions extends Options { /** * @param string $deviceSid Find all Keys authenticating specified Device. */ public function __construct(string $deviceSid = Values::NONE) { $this->options['deviceSid'] = $deviceSid; } /** * Filters the resulting list of Keys by a unique string identifier of an authenticated Device. * * @param string $deviceSid Find all Keys authenticating specified Device. * @return $this Fluent Builder */ public function setDeviceSid(string $deviceSid): self { $this->options['deviceSid'] = $deviceSid; 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.Preview.DeployedDevices.ReadKeyOptions ' . $options . ']'; } } class UpdateKeyOptions extends Options { /** * @param string $friendlyName The human readable description for this Key. * @param string $deviceSid The unique identifier of a Key to be authenticated. */ public function __construct(string $friendlyName = Values::NONE, string $deviceSid = Values::NONE) { $this->options['friendlyName'] = $friendlyName; $this->options['deviceSid'] = $deviceSid; } /** * Provides a human readable descriptive text for this Key credential, up to 256 characters long. * * @param string $friendlyName The human readable description for this Key. * @return $this Fluent Builder */ public function setFriendlyName(string $friendlyName): self { $this->options['friendlyName'] = $friendlyName; return $this; } /** * Provides the unique string identifier of an existing Device to become authenticated with this Key credential. * * @param string $deviceSid The unique identifier of a Key to be authenticated. * @return $this Fluent Builder */ public function setDeviceSid(string $deviceSid): self { $this->options['deviceSid'] = $deviceSid; 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.Preview.DeployedDevices.UpdateKeyOptions ' . $options . ']'; } }
[-] DeviceOptions.php
[edit]
[-] KeyContext.php
[edit]
[-] DeploymentInstance.php
[edit]
[+]
..
[-] KeyInstance.php
[edit]
[-] KeyOptions.php
[edit]
[-] CertificateInstance.php
[edit]
[-] DeploymentList.php
[edit]
[-] CertificateOptions.php
[edit]
[-] DeploymentContext.php
[edit]
[-] DeviceContext.php
[edit]
[-] KeyPage.php
[edit]
[-] KeyList.php
[edit]
[-] CertificatePage.php
[edit]
[-] DeviceInstance.php
[edit]
[-] DeploymentOptions.php
[edit]
[-] DevicePage.php
[edit]
[-] CertificateList.php
[edit]
[-] DeviceList.php
[edit]
[-] DeploymentPage.php
[edit]
[-] CertificateContext.php
[edit]