[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: WorkspaceOptions.php
<?php /** * This code was generated by * \ / _ _ _| _ _ * | (_)\/(_)(_|\/| |(/_ v1.0.0 * / / */ namespace Twilio\Rest\Taskrouter\V1; use Twilio\Options; use Twilio\Values; abstract class WorkspaceOptions { /** * @param string $defaultActivitySid The default_activity_sid * @param string $eventCallbackUrl The event_callback_url * @param string $eventsFilter The events_filter * @param string $friendlyName The friendly_name * @param boolean $multiTaskEnabled The multi_task_enabled * @param string $timeoutActivitySid The timeout_activity_sid * @param string $prioritizeQueueOrder The prioritize_queue_order * @return UpdateWorkspaceOptions Options builder */ public static function update($defaultActivitySid = Values::NONE, $eventCallbackUrl = Values::NONE, $eventsFilter = Values::NONE, $friendlyName = Values::NONE, $multiTaskEnabled = Values::NONE, $timeoutActivitySid = Values::NONE, $prioritizeQueueOrder = Values::NONE) { return new UpdateWorkspaceOptions($defaultActivitySid, $eventCallbackUrl, $eventsFilter, $friendlyName, $multiTaskEnabled, $timeoutActivitySid, $prioritizeQueueOrder); } /** * @param string $friendlyName The friendly_name * @return ReadWorkspaceOptions Options builder */ public static function read($friendlyName = Values::NONE) { return new ReadWorkspaceOptions($friendlyName); } /** * @param string $eventCallbackUrl The event_callback_url * @param string $eventsFilter The events_filter * @param boolean $multiTaskEnabled The multi_task_enabled * @param string $template The template * @param string $prioritizeQueueOrder The prioritize_queue_order * @return CreateWorkspaceOptions Options builder */ public static function create($eventCallbackUrl = Values::NONE, $eventsFilter = Values::NONE, $multiTaskEnabled = Values::NONE, $template = Values::NONE, $prioritizeQueueOrder = Values::NONE) { return new CreateWorkspaceOptions($eventCallbackUrl, $eventsFilter, $multiTaskEnabled, $template, $prioritizeQueueOrder); } } class UpdateWorkspaceOptions extends Options { /** * @param string $defaultActivitySid The default_activity_sid * @param string $eventCallbackUrl The event_callback_url * @param string $eventsFilter The events_filter * @param string $friendlyName The friendly_name * @param boolean $multiTaskEnabled The multi_task_enabled * @param string $timeoutActivitySid The timeout_activity_sid * @param string $prioritizeQueueOrder The prioritize_queue_order */ public function __construct($defaultActivitySid = Values::NONE, $eventCallbackUrl = Values::NONE, $eventsFilter = Values::NONE, $friendlyName = Values::NONE, $multiTaskEnabled = Values::NONE, $timeoutActivitySid = Values::NONE, $prioritizeQueueOrder = Values::NONE) { $this->options['defaultActivitySid'] = $defaultActivitySid; $this->options['eventCallbackUrl'] = $eventCallbackUrl; $this->options['eventsFilter'] = $eventsFilter; $this->options['friendlyName'] = $friendlyName; $this->options['multiTaskEnabled'] = $multiTaskEnabled; $this->options['timeoutActivitySid'] = $timeoutActivitySid; $this->options['prioritizeQueueOrder'] = $prioritizeQueueOrder; } /** * The default_activity_sid * * @param string $defaultActivitySid The default_activity_sid * @return $this Fluent Builder */ public function setDefaultActivitySid($defaultActivitySid) { $this->options['defaultActivitySid'] = $defaultActivitySid; return $this; } /** * The event_callback_url * * @param string $eventCallbackUrl The event_callback_url * @return $this Fluent Builder */ public function setEventCallbackUrl($eventCallbackUrl) { $this->options['eventCallbackUrl'] = $eventCallbackUrl; return $this; } /** * The events_filter * * @param string $eventsFilter The events_filter * @return $this Fluent Builder */ public function setEventsFilter($eventsFilter) { $this->options['eventsFilter'] = $eventsFilter; return $this; } /** * The friendly_name * * @param string $friendlyName The friendly_name * @return $this Fluent Builder */ public function setFriendlyName($friendlyName) { $this->options['friendlyName'] = $friendlyName; return $this; } /** * The multi_task_enabled * * @param boolean $multiTaskEnabled The multi_task_enabled * @return $this Fluent Builder */ public function setMultiTaskEnabled($multiTaskEnabled) { $this->options['multiTaskEnabled'] = $multiTaskEnabled; return $this; } /** * The timeout_activity_sid * * @param string $timeoutActivitySid The timeout_activity_sid * @return $this Fluent Builder */ public function setTimeoutActivitySid($timeoutActivitySid) { $this->options['timeoutActivitySid'] = $timeoutActivitySid; return $this; } /** * The prioritize_queue_order * * @param string $prioritizeQueueOrder The prioritize_queue_order * @return $this Fluent Builder */ public function setPrioritizeQueueOrder($prioritizeQueueOrder) { $this->options['prioritizeQueueOrder'] = $prioritizeQueueOrder; return $this; } /** * Provide a friendly representation * * @return string Machine friendly representation */ public function __toString() { $options = array(); foreach ($this->options as $key => $value) { if ($value != Values::NONE) { $options[] = "$key=$value"; } } return '[Twilio.Taskrouter.V1.UpdateWorkspaceOptions ' . implode(' ', $options) . ']'; } } class ReadWorkspaceOptions extends Options { /** * @param string $friendlyName The friendly_name */ public function __construct($friendlyName = Values::NONE) { $this->options['friendlyName'] = $friendlyName; } /** * The friendly_name * * @param string $friendlyName The friendly_name * @return $this Fluent Builder */ public function setFriendlyName($friendlyName) { $this->options['friendlyName'] = $friendlyName; return $this; } /** * Provide a friendly representation * * @return string Machine friendly representation */ public function __toString() { $options = array(); foreach ($this->options as $key => $value) { if ($value != Values::NONE) { $options[] = "$key=$value"; } } return '[Twilio.Taskrouter.V1.ReadWorkspaceOptions ' . implode(' ', $options) . ']'; } } class CreateWorkspaceOptions extends Options { /** * @param string $eventCallbackUrl The event_callback_url * @param string $eventsFilter The events_filter * @param boolean $multiTaskEnabled The multi_task_enabled * @param string $template The template * @param string $prioritizeQueueOrder The prioritize_queue_order */ public function __construct($eventCallbackUrl = Values::NONE, $eventsFilter = Values::NONE, $multiTaskEnabled = Values::NONE, $template = Values::NONE, $prioritizeQueueOrder = Values::NONE) { $this->options['eventCallbackUrl'] = $eventCallbackUrl; $this->options['eventsFilter'] = $eventsFilter; $this->options['multiTaskEnabled'] = $multiTaskEnabled; $this->options['template'] = $template; $this->options['prioritizeQueueOrder'] = $prioritizeQueueOrder; } /** * The event_callback_url * * @param string $eventCallbackUrl The event_callback_url * @return $this Fluent Builder */ public function setEventCallbackUrl($eventCallbackUrl) { $this->options['eventCallbackUrl'] = $eventCallbackUrl; return $this; } /** * The events_filter * * @param string $eventsFilter The events_filter * @return $this Fluent Builder */ public function setEventsFilter($eventsFilter) { $this->options['eventsFilter'] = $eventsFilter; return $this; } /** * The multi_task_enabled * * @param boolean $multiTaskEnabled The multi_task_enabled * @return $this Fluent Builder */ public function setMultiTaskEnabled($multiTaskEnabled) { $this->options['multiTaskEnabled'] = $multiTaskEnabled; return $this; } /** * The template * * @param string $template The template * @return $this Fluent Builder */ public function setTemplate($template) { $this->options['template'] = $template; return $this; } /** * The prioritize_queue_order * * @param string $prioritizeQueueOrder The prioritize_queue_order * @return $this Fluent Builder */ public function setPrioritizeQueueOrder($prioritizeQueueOrder) { $this->options['prioritizeQueueOrder'] = $prioritizeQueueOrder; return $this; } /** * Provide a friendly representation * * @return string Machine friendly representation */ public function __toString() { $options = array(); foreach ($this->options as $key => $value) { if ($value != Values::NONE) { $options[] = "$key=$value"; } } return '[Twilio.Taskrouter.V1.CreateWorkspaceOptions ' . implode(' ', $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.81 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