[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: WorkflowOptions.php
<?php /** * This code was generated by * \ / _ _ _| _ _ * | (_)\/(_)(_|\/| |(/_ v1.0.0 * / / */ namespace Twilio\Rest\Taskrouter\V1\Workspace; use Twilio\Options; use Twilio\Values; abstract class WorkflowOptions { /** * @param string $friendlyName The friendly_name * @param string $assignmentCallbackUrl The assignment_callback_url * @param string $fallbackAssignmentCallbackUrl The * fallback_assignment_callback_url * @param string $configuration The configuration * @param integer $taskReservationTimeout The task_reservation_timeout * @return UpdateWorkflowOptions Options builder */ public static function update($friendlyName = Values::NONE, $assignmentCallbackUrl = Values::NONE, $fallbackAssignmentCallbackUrl = Values::NONE, $configuration = Values::NONE, $taskReservationTimeout = Values::NONE) { return new UpdateWorkflowOptions($friendlyName, $assignmentCallbackUrl, $fallbackAssignmentCallbackUrl, $configuration, $taskReservationTimeout); } /** * @param string $friendlyName The friendly_name * @return ReadWorkflowOptions Options builder */ public static function read($friendlyName = Values::NONE) { return new ReadWorkflowOptions($friendlyName); } /** * @param string $assignmentCallbackUrl The assignment_callback_url * @param string $fallbackAssignmentCallbackUrl The * fallback_assignment_callback_url * @param integer $taskReservationTimeout The task_reservation_timeout * @return CreateWorkflowOptions Options builder */ public static function create($assignmentCallbackUrl = Values::NONE, $fallbackAssignmentCallbackUrl = Values::NONE, $taskReservationTimeout = Values::NONE) { return new CreateWorkflowOptions($assignmentCallbackUrl, $fallbackAssignmentCallbackUrl, $taskReservationTimeout); } } class UpdateWorkflowOptions extends Options { /** * @param string $friendlyName The friendly_name * @param string $assignmentCallbackUrl The assignment_callback_url * @param string $fallbackAssignmentCallbackUrl The * fallback_assignment_callback_url * @param string $configuration The configuration * @param integer $taskReservationTimeout The task_reservation_timeout */ public function __construct($friendlyName = Values::NONE, $assignmentCallbackUrl = Values::NONE, $fallbackAssignmentCallbackUrl = Values::NONE, $configuration = Values::NONE, $taskReservationTimeout = Values::NONE) { $this->options['friendlyName'] = $friendlyName; $this->options['assignmentCallbackUrl'] = $assignmentCallbackUrl; $this->options['fallbackAssignmentCallbackUrl'] = $fallbackAssignmentCallbackUrl; $this->options['configuration'] = $configuration; $this->options['taskReservationTimeout'] = $taskReservationTimeout; } /** * The friendly_name * * @param string $friendlyName The friendly_name * @return $this Fluent Builder */ public function setFriendlyName($friendlyName) { $this->options['friendlyName'] = $friendlyName; return $this; } /** * The assignment_callback_url * * @param string $assignmentCallbackUrl The assignment_callback_url * @return $this Fluent Builder */ public function setAssignmentCallbackUrl($assignmentCallbackUrl) { $this->options['assignmentCallbackUrl'] = $assignmentCallbackUrl; return $this; } /** * The fallback_assignment_callback_url * * @param string $fallbackAssignmentCallbackUrl The * fallback_assignment_callback_url * @return $this Fluent Builder */ public function setFallbackAssignmentCallbackUrl($fallbackAssignmentCallbackUrl) { $this->options['fallbackAssignmentCallbackUrl'] = $fallbackAssignmentCallbackUrl; return $this; } /** * The configuration * * @param string $configuration The configuration * @return $this Fluent Builder */ public function setConfiguration($configuration) { $this->options['configuration'] = $configuration; return $this; } /** * The task_reservation_timeout * * @param integer $taskReservationTimeout The task_reservation_timeout * @return $this Fluent Builder */ public function setTaskReservationTimeout($taskReservationTimeout) { $this->options['taskReservationTimeout'] = $taskReservationTimeout; 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.UpdateWorkflowOptions ' . implode(' ', $options) . ']'; } } class ReadWorkflowOptions 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.ReadWorkflowOptions ' . implode(' ', $options) . ']'; } } class CreateWorkflowOptions extends Options { /** * @param string $assignmentCallbackUrl The assignment_callback_url * @param string $fallbackAssignmentCallbackUrl The * fallback_assignment_callback_url * @param integer $taskReservationTimeout The task_reservation_timeout */ public function __construct($assignmentCallbackUrl = Values::NONE, $fallbackAssignmentCallbackUrl = Values::NONE, $taskReservationTimeout = Values::NONE) { $this->options['assignmentCallbackUrl'] = $assignmentCallbackUrl; $this->options['fallbackAssignmentCallbackUrl'] = $fallbackAssignmentCallbackUrl; $this->options['taskReservationTimeout'] = $taskReservationTimeout; } /** * The assignment_callback_url * * @param string $assignmentCallbackUrl The assignment_callback_url * @return $this Fluent Builder */ public function setAssignmentCallbackUrl($assignmentCallbackUrl) { $this->options['assignmentCallbackUrl'] = $assignmentCallbackUrl; return $this; } /** * The fallback_assignment_callback_url * * @param string $fallbackAssignmentCallbackUrl The * fallback_assignment_callback_url * @return $this Fluent Builder */ public function setFallbackAssignmentCallbackUrl($fallbackAssignmentCallbackUrl) { $this->options['fallbackAssignmentCallbackUrl'] = $fallbackAssignmentCallbackUrl; return $this; } /** * The task_reservation_timeout * * @param integer $taskReservationTimeout The task_reservation_timeout * @return $this Fluent Builder */ public function setTaskReservationTimeout($taskReservationTimeout) { $this->options['taskReservationTimeout'] = $taskReservationTimeout; 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.CreateWorkflowOptions ' . 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