[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: TaskQueueOptions.php
<?php /** * This code was generated by * \ / _ _ _| _ _ * | (_)\/(_)(_|\/| |(/_ v1.0.0 * / / */ namespace Twilio\Rest\Taskrouter\V1\Workspace; use Twilio\Options; use Twilio\Values; abstract class TaskQueueOptions { /** * @param string $friendlyName The friendly_name * @param string $targetWorkers The target_workers * @param string $reservationActivitySid The reservation_activity_sid * @param string $assignmentActivitySid The assignment_activity_sid * @param integer $maxReservedWorkers The max_reserved_workers * @param string $taskOrder The task_order * @return UpdateTaskQueueOptions Options builder */ public static function update($friendlyName = Values::NONE, $targetWorkers = Values::NONE, $reservationActivitySid = Values::NONE, $assignmentActivitySid = Values::NONE, $maxReservedWorkers = Values::NONE, $taskOrder = Values::NONE) { return new UpdateTaskQueueOptions($friendlyName, $targetWorkers, $reservationActivitySid, $assignmentActivitySid, $maxReservedWorkers, $taskOrder); } /** * @param string $friendlyName The friendly_name * @param string $evaluateWorkerAttributes The evaluate_worker_attributes * @param string $workerSid The worker_sid * @return ReadTaskQueueOptions Options builder */ public static function read($friendlyName = Values::NONE, $evaluateWorkerAttributes = Values::NONE, $workerSid = Values::NONE) { return new ReadTaskQueueOptions($friendlyName, $evaluateWorkerAttributes, $workerSid); } /** * @param string $targetWorkers The target_workers * @param integer $maxReservedWorkers The max_reserved_workers * @param string $taskOrder The task_order * @return CreateTaskQueueOptions Options builder */ public static function create($targetWorkers = Values::NONE, $maxReservedWorkers = Values::NONE, $taskOrder = Values::NONE) { return new CreateTaskQueueOptions($targetWorkers, $maxReservedWorkers, $taskOrder); } } class UpdateTaskQueueOptions extends Options { /** * @param string $friendlyName The friendly_name * @param string $targetWorkers The target_workers * @param string $reservationActivitySid The reservation_activity_sid * @param string $assignmentActivitySid The assignment_activity_sid * @param integer $maxReservedWorkers The max_reserved_workers * @param string $taskOrder The task_order */ public function __construct($friendlyName = Values::NONE, $targetWorkers = Values::NONE, $reservationActivitySid = Values::NONE, $assignmentActivitySid = Values::NONE, $maxReservedWorkers = Values::NONE, $taskOrder = Values::NONE) { $this->options['friendlyName'] = $friendlyName; $this->options['targetWorkers'] = $targetWorkers; $this->options['reservationActivitySid'] = $reservationActivitySid; $this->options['assignmentActivitySid'] = $assignmentActivitySid; $this->options['maxReservedWorkers'] = $maxReservedWorkers; $this->options['taskOrder'] = $taskOrder; } /** * The friendly_name * * @param string $friendlyName The friendly_name * @return $this Fluent Builder */ public function setFriendlyName($friendlyName) { $this->options['friendlyName'] = $friendlyName; return $this; } /** * The target_workers * * @param string $targetWorkers The target_workers * @return $this Fluent Builder */ public function setTargetWorkers($targetWorkers) { $this->options['targetWorkers'] = $targetWorkers; return $this; } /** * The reservation_activity_sid * * @param string $reservationActivitySid The reservation_activity_sid * @return $this Fluent Builder */ public function setReservationActivitySid($reservationActivitySid) { $this->options['reservationActivitySid'] = $reservationActivitySid; return $this; } /** * The assignment_activity_sid * * @param string $assignmentActivitySid The assignment_activity_sid * @return $this Fluent Builder */ public function setAssignmentActivitySid($assignmentActivitySid) { $this->options['assignmentActivitySid'] = $assignmentActivitySid; return $this; } /** * The max_reserved_workers * * @param integer $maxReservedWorkers The max_reserved_workers * @return $this Fluent Builder */ public function setMaxReservedWorkers($maxReservedWorkers) { $this->options['maxReservedWorkers'] = $maxReservedWorkers; return $this; } /** * The task_order * * @param string $taskOrder The task_order * @return $this Fluent Builder */ public function setTaskOrder($taskOrder) { $this->options['taskOrder'] = $taskOrder; 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.UpdateTaskQueueOptions ' . implode(' ', $options) . ']'; } } class ReadTaskQueueOptions extends Options { /** * @param string $friendlyName The friendly_name * @param string $evaluateWorkerAttributes The evaluate_worker_attributes * @param string $workerSid The worker_sid */ public function __construct($friendlyName = Values::NONE, $evaluateWorkerAttributes = Values::NONE, $workerSid = Values::NONE) { $this->options['friendlyName'] = $friendlyName; $this->options['evaluateWorkerAttributes'] = $evaluateWorkerAttributes; $this->options['workerSid'] = $workerSid; } /** * The friendly_name * * @param string $friendlyName The friendly_name * @return $this Fluent Builder */ public function setFriendlyName($friendlyName) { $this->options['friendlyName'] = $friendlyName; return $this; } /** * The evaluate_worker_attributes * * @param string $evaluateWorkerAttributes The evaluate_worker_attributes * @return $this Fluent Builder */ public function setEvaluateWorkerAttributes($evaluateWorkerAttributes) { $this->options['evaluateWorkerAttributes'] = $evaluateWorkerAttributes; return $this; } /** * The worker_sid * * @param string $workerSid The worker_sid * @return $this Fluent Builder */ public function setWorkerSid($workerSid) { $this->options['workerSid'] = $workerSid; 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.ReadTaskQueueOptions ' . implode(' ', $options) . ']'; } } class CreateTaskQueueOptions extends Options { /** * @param string $targetWorkers The target_workers * @param integer $maxReservedWorkers The max_reserved_workers * @param string $taskOrder The task_order */ public function __construct($targetWorkers = Values::NONE, $maxReservedWorkers = Values::NONE, $taskOrder = Values::NONE) { $this->options['targetWorkers'] = $targetWorkers; $this->options['maxReservedWorkers'] = $maxReservedWorkers; $this->options['taskOrder'] = $taskOrder; } /** * The target_workers * * @param string $targetWorkers The target_workers * @return $this Fluent Builder */ public function setTargetWorkers($targetWorkers) { $this->options['targetWorkers'] = $targetWorkers; return $this; } /** * The max_reserved_workers * * @param integer $maxReservedWorkers The max_reserved_workers * @return $this Fluent Builder */ public function setMaxReservedWorkers($maxReservedWorkers) { $this->options['maxReservedWorkers'] = $maxReservedWorkers; return $this; } /** * The task_order * * @param string $taskOrder The task_order * @return $this Fluent Builder */ public function setTaskOrder($taskOrder) { $this->options['taskOrder'] = $taskOrder; 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.CreateTaskQueueOptions ' . 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.72 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