!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/var/www/html/main_file/vendor/twilio/sdk/src/Twilio/Rest/Taskrouter/V1/Workspace/   drwxr-xr-x
Free 13.15 GB of 57.97 GB (22.68%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     WorkspaceCumulativeStatisticsOptions.php (5.85 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

/**
 * This code was generated by
 * \ / _    _  _|   _  _
 * | (_)\/(_)(_|\/| |(/_  v1.0.0
 * /       /
 */

namespace Twilio\Rest\Taskrouter\V1\Workspace;

use 
Twilio\Options;
use 
Twilio\Values;

abstract class 
WorkspaceCumulativeStatisticsOptions {
    
/**
     * @param \DateTime $endDate Only include usage that occurred on or before this
     *                           date
     * @param int $minutes Only calculate statistics since this many minutes in the
     *                     past
     * @param \DateTime $startDate Only calculate statistics from on or after this
     *                             date
     * @param string $taskChannel Only calculate cumulative statistics on this
     *                            TaskChannel
     * @param string $splitByWaitTime A comma separated list of values that
     *                                describes the thresholds, in seconds, to
     *                                calculate statistics on
     * @return FetchWorkspaceCumulativeStatisticsOptions Options builder
     */
    
public static function fetch(\DateTime $endDate Values::NONEint $minutes Values::NONE\DateTime $startDate Values::NONEstring $taskChannel Values::NONEstring $splitByWaitTime Values::NONE): FetchWorkspaceCumulativeStatisticsOptions {
        return new 
FetchWorkspaceCumulativeStatisticsOptions($endDate$minutes$startDate$taskChannel$splitByWaitTime);
    }
}

class 
FetchWorkspaceCumulativeStatisticsOptions extends Options {
    
/**
     * @param \DateTime $endDate Only include usage that occurred on or before this
     *                           date
     * @param int $minutes Only calculate statistics since this many minutes in the
     *                     past
     * @param \DateTime $startDate Only calculate statistics from on or after this
     *                             date
     * @param string $taskChannel Only calculate cumulative statistics on this
     *                            TaskChannel
     * @param string $splitByWaitTime A comma separated list of values that
     *                                describes the thresholds, in seconds, to
     *                                calculate statistics on
     */
    
public function __construct(\DateTime $endDate Values::NONEint $minutes Values::NONE\DateTime $startDate Values::NONEstring $taskChannel Values::NONEstring $splitByWaitTime Values::NONE) {
        
$this->options['endDate'] = $endDate;
        
$this->options['minutes'] = $minutes;
        
$this->options['startDate'] = $startDate;
        
$this->options['taskChannel'] = $taskChannel;
        
$this->options['splitByWaitTime'] = $splitByWaitTime;
    }

    
/**
     * Only include usage that occurred on or before this date, specified in GMT as an [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date-time.
     *
     * @param \DateTime $endDate Only include usage that occurred on or before this
     *                           date
     * @return $this Fluent Builder
     */
    
public function setEndDate(\DateTime $endDate): self {
        
$this->options['endDate'] = $endDate;
        return 
$this;
    }

    
/**
     * Only calculate statistics since this many minutes in the past. The default 15 minutes. This is helpful for displaying statistics for the last 15 minutes, 240 minutes (4 hours), and 480 minutes (8 hours) to see trends.
     *
     * @param int $minutes Only calculate statistics since this many minutes in the
     *                     past
     * @return $this Fluent Builder
     */
    
public function setMinutes(int $minutes): self {
        
$this->options['minutes'] = $minutes;
        return 
$this;
    }

    
/**
     * Only calculate statistics from this date and time and later, specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
     *
     * @param \DateTime $startDate Only calculate statistics from on or after this
     *                             date
     * @return $this Fluent Builder
     */
    
public function setStartDate(\DateTime $startDate): self {
        
$this->options['startDate'] = $startDate;
        return 
$this;
    }

    
/**
     * Only calculate cumulative statistics on this TaskChannel. Can be the TaskChannel's SID or its `unique_name`, such as `voice`, `sms`, or `default`.
     *
     * @param string $taskChannel Only calculate cumulative statistics on this
     *                            TaskChannel
     * @return $this Fluent Builder
     */
    
public function setTaskChannel(string $taskChannel): self {
        
$this->options['taskChannel'] = $taskChannel;
        return 
$this;
    }

    
/**
     * A comma separated list of values that describes the thresholds, in seconds, to calculate statistics on. For each threshold specified, the number of Tasks canceled and reservations accepted above and below the specified thresholds in seconds are computed. For example, `5,30` would show splits of Tasks that were canceled or accepted before and after 5 seconds and before and after 30 seconds. This can be used to show short abandoned Tasks or Tasks that failed to meet an SLA. TaskRouter will calculate statistics on up to 10,000 Tasks for any given threshold.
     *
     * @param string $splitByWaitTime A comma separated list of values that
     *                                describes the thresholds, in seconds, to
     *                                calculate statistics on
     * @return $this Fluent Builder
     */
    
public function setSplitByWaitTime(string $splitByWaitTime): self {
        
$this->options['splitByWaitTime'] = $splitByWaitTime;
        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.Taskrouter.V1.FetchWorkspaceCumulativeStatisticsOptions ' $options ']';
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0105 ]--