!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/Autopilot/V1/Assistant/   drwxr-xr-x
Free 13.2 GB of 57.97 GB (22.77%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

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

namespace Twilio\Rest\Autopilot\V1\Assistant;

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 TaskOptions {
    
/**
     * @param string $friendlyName descriptive string that you create to describe
     *                             the new resource
     * @param array $actions The JSON string that specifies the actions that
     *                       instruct the Assistant on how to perform the task
     * @param string $actionsUrl The URL from which the Assistant can fetch actions
     * @return CreateTaskOptions Options builder
     */
    
public static function create(string $friendlyName Values::NONE, array $actions Values::ARRAY_NONEstring $actionsUrl Values::NONE): CreateTaskOptions {
        return new 
CreateTaskOptions($friendlyName$actions$actionsUrl);
    }

    
/**
     * @param string $friendlyName A string to describe the resource
     * @param string $uniqueName An application-defined string that uniquely
     *                           identifies the resource
     * @param array $actions The JSON string that specifies the actions that
     *                       instruct the Assistant on how to perform the task
     * @param string $actionsUrl The URL from which the Assistant can fetch actions
     * @return UpdateTaskOptions Options builder
     */
    
public static function update(string $friendlyName Values::NONEstring $uniqueName Values::NONE, array $actions Values::ARRAY_NONEstring $actionsUrl Values::NONE): UpdateTaskOptions {
        return new 
UpdateTaskOptions($friendlyName$uniqueName$actions$actionsUrl);
    }
}

class 
CreateTaskOptions extends Options {
    
/**
     * @param string $friendlyName descriptive string that you create to describe
     *                             the new resource
     * @param array $actions The JSON string that specifies the actions that
     *                       instruct the Assistant on how to perform the task
     * @param string $actionsUrl The URL from which the Assistant can fetch actions
     */
    
public function __construct(string $friendlyName Values::NONE, array $actions Values::ARRAY_NONEstring $actionsUrl Values::NONE) {
        
$this->options['friendlyName'] = $friendlyName;
        
$this->options['actions'] = $actions;
        
$this->options['actionsUrl'] = $actionsUrl;
    }

    
/**
     * A descriptive string that you create to describe the new resource. It is not unique and can be up to 255 characters long.
     *
     * @param string $friendlyName descriptive string that you create to describe
     *                             the new resource
     * @return $this Fluent Builder
     */
    
public function setFriendlyName(string $friendlyName): self {
        
$this->options['friendlyName'] = $friendlyName;
        return 
$this;
    }

    
/**
     * The JSON string that specifies the [actions](https://www.twilio.com/docs/autopilot/actions) that instruct the Assistant on how to perform the task. It is optional and not unique.
     *
     * @param array $actions The JSON string that specifies the actions that
     *                       instruct the Assistant on how to perform the task
     * @return $this Fluent Builder
     */
    
public function setActions(array $actions): self {
        
$this->options['actions'] = $actions;
        return 
$this;
    }

    
/**
     * The URL from which the Assistant can fetch actions.
     *
     * @param string $actionsUrl The URL from which the Assistant can fetch actions
     * @return $this Fluent Builder
     */
    
public function setActionsUrl(string $actionsUrl): self {
        
$this->options['actionsUrl'] = $actionsUrl;
        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.Autopilot.V1.CreateTaskOptions ' $options ']';
    }
}

class 
UpdateTaskOptions extends Options {
    
/**
     * @param string $friendlyName A string to describe the resource
     * @param string $uniqueName An application-defined string that uniquely
     *                           identifies the resource
     * @param array $actions The JSON string that specifies the actions that
     *                       instruct the Assistant on how to perform the task
     * @param string $actionsUrl The URL from which the Assistant can fetch actions
     */
    
public function __construct(string $friendlyName Values::NONEstring $uniqueName Values::NONE, array $actions Values::ARRAY_NONEstring $actionsUrl Values::NONE) {
        
$this->options['friendlyName'] = $friendlyName;
        
$this->options['uniqueName'] = $uniqueName;
        
$this->options['actions'] = $actions;
        
$this->options['actionsUrl'] = $actionsUrl;
    }

    
/**
     * A descriptive string that you create to describe the resource. It is not unique and can be up to 255 characters long.
     *
     * @param string $friendlyName A string to describe the resource
     * @return $this Fluent Builder
     */
    
public function setFriendlyName(string $friendlyName): self {
        
$this->options['friendlyName'] = $friendlyName;
        return 
$this;
    }

    
/**
     * An application-defined string that uniquely identifies the resource. This value must be 64 characters or less in length and be unique. It can be used as an alternative to the `sid` in the URL path to address the resource.
     *
     * @param string $uniqueName An application-defined string that uniquely
     *                           identifies the resource
     * @return $this Fluent Builder
     */
    
public function setUniqueName(string $uniqueName): self {
        
$this->options['uniqueName'] = $uniqueName;
        return 
$this;
    }

    
/**
     * The JSON string that specifies the [actions](https://www.twilio.com/docs/autopilot/actions) that instruct the Assistant on how to perform the task.
     *
     * @param array $actions The JSON string that specifies the actions that
     *                       instruct the Assistant on how to perform the task
     * @return $this Fluent Builder
     */
    
public function setActions(array $actions): self {
        
$this->options['actions'] = $actions;
        return 
$this;
    }

    
/**
     * The URL from which the Assistant can fetch actions.
     *
     * @param string $actionsUrl The URL from which the Assistant can fetch actions
     * @return $this Fluent Builder
     */
    
public function setActionsUrl(string $actionsUrl): self {
        
$this->options['actionsUrl'] = $actionsUrl;
        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.Autopilot.V1.UpdateTaskOptions ' $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.0057 ]--