[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: PluginOptions.php
<?php /** * This code was generated by * ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __ * | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/ * | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \ * * Twilio - Flex * This is the public Twilio REST API. * * NOTE: This class is auto generated by OpenAPI Generator. * https://openapi-generator.tech * Do not edit the class manually. */ namespace Twilio\Rest\FlexApi\V1; use Twilio\Options; use Twilio\Values; abstract class PluginOptions { /** * @param string $friendlyName The Flex Plugin's friendly name. * @param string $description A descriptive string that you create to describe the plugin resource. It can be up to 500 characters long * @param string $cliVersion The version of Flex Plugins CLI used to create this plugin * @param string $validateStatus The validation status of the plugin, indicating whether it has been validated * @param string $flexMetadata The Flex-Metadata HTTP request header * @return CreatePluginOptions Options builder */ public static function create( string $friendlyName = Values::NONE, string $description = Values::NONE, string $cliVersion = Values::NONE, string $validateStatus = Values::NONE, string $flexMetadata = Values::NONE ): CreatePluginOptions { return new CreatePluginOptions( $friendlyName, $description, $cliVersion, $validateStatus, $flexMetadata ); } /** * @param string $flexMetadata The Flex-Metadata HTTP request header * @return FetchPluginOptions Options builder */ public static function fetch( string $flexMetadata = Values::NONE ): FetchPluginOptions { return new FetchPluginOptions( $flexMetadata ); } /** * @param string $flexMetadata The Flex-Metadata HTTP request header * @return ReadPluginOptions Options builder */ public static function read( string $flexMetadata = Values::NONE ): ReadPluginOptions { return new ReadPluginOptions( $flexMetadata ); } /** * @param string $friendlyName The Flex Plugin's friendly name. * @param string $description A descriptive string that you update to describe the plugin resource. It can be up to 500 characters long * @param string $flexMetadata The Flex-Metadata HTTP request header * @return UpdatePluginOptions Options builder */ public static function update( string $friendlyName = Values::NONE, string $description = Values::NONE, string $flexMetadata = Values::NONE ): UpdatePluginOptions { return new UpdatePluginOptions( $friendlyName, $description, $flexMetadata ); } } class CreatePluginOptions extends Options { /** * @param string $friendlyName The Flex Plugin's friendly name. * @param string $description A descriptive string that you create to describe the plugin resource. It can be up to 500 characters long * @param string $cliVersion The version of Flex Plugins CLI used to create this plugin * @param string $validateStatus The validation status of the plugin, indicating whether it has been validated * @param string $flexMetadata The Flex-Metadata HTTP request header */ public function __construct( string $friendlyName = Values::NONE, string $description = Values::NONE, string $cliVersion = Values::NONE, string $validateStatus = Values::NONE, string $flexMetadata = Values::NONE ) { $this->options['friendlyName'] = $friendlyName; $this->options['description'] = $description; $this->options['cliVersion'] = $cliVersion; $this->options['validateStatus'] = $validateStatus; $this->options['flexMetadata'] = $flexMetadata; } /** * The Flex Plugin's friendly name. * * @param string $friendlyName The Flex Plugin's friendly name. * @return $this Fluent Builder */ public function setFriendlyName(string $friendlyName): self { $this->options['friendlyName'] = $friendlyName; return $this; } /** * A descriptive string that you create to describe the plugin resource. It can be up to 500 characters long * * @param string $description A descriptive string that you create to describe the plugin resource. It can be up to 500 characters long * @return $this Fluent Builder */ public function setDescription(string $description): self { $this->options['description'] = $description; return $this; } /** * The version of Flex Plugins CLI used to create this plugin * * @param string $cliVersion The version of Flex Plugins CLI used to create this plugin * @return $this Fluent Builder */ public function setCliVersion(string $cliVersion): self { $this->options['cliVersion'] = $cliVersion; return $this; } /** * The validation status of the plugin, indicating whether it has been validated * * @param string $validateStatus The validation status of the plugin, indicating whether it has been validated * @return $this Fluent Builder */ public function setValidateStatus(string $validateStatus): self { $this->options['validateStatus'] = $validateStatus; return $this; } /** * The Flex-Metadata HTTP request header * * @param string $flexMetadata The Flex-Metadata HTTP request header * @return $this Fluent Builder */ public function setFlexMetadata(string $flexMetadata): self { $this->options['flexMetadata'] = $flexMetadata; 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.FlexApi.V1.CreatePluginOptions ' . $options . ']'; } } class FetchPluginOptions extends Options { /** * @param string $flexMetadata The Flex-Metadata HTTP request header */ public function __construct( string $flexMetadata = Values::NONE ) { $this->options['flexMetadata'] = $flexMetadata; } /** * The Flex-Metadata HTTP request header * * @param string $flexMetadata The Flex-Metadata HTTP request header * @return $this Fluent Builder */ public function setFlexMetadata(string $flexMetadata): self { $this->options['flexMetadata'] = $flexMetadata; 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.FlexApi.V1.FetchPluginOptions ' . $options . ']'; } } class ReadPluginOptions extends Options { /** * @param string $flexMetadata The Flex-Metadata HTTP request header */ public function __construct( string $flexMetadata = Values::NONE ) { $this->options['flexMetadata'] = $flexMetadata; } /** * The Flex-Metadata HTTP request header * * @param string $flexMetadata The Flex-Metadata HTTP request header * @return $this Fluent Builder */ public function setFlexMetadata(string $flexMetadata): self { $this->options['flexMetadata'] = $flexMetadata; 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.FlexApi.V1.ReadPluginOptions ' . $options . ']'; } } class UpdatePluginOptions extends Options { /** * @param string $friendlyName The Flex Plugin's friendly name. * @param string $description A descriptive string that you update to describe the plugin resource. It can be up to 500 characters long * @param string $flexMetadata The Flex-Metadata HTTP request header */ public function __construct( string $friendlyName = Values::NONE, string $description = Values::NONE, string $flexMetadata = Values::NONE ) { $this->options['friendlyName'] = $friendlyName; $this->options['description'] = $description; $this->options['flexMetadata'] = $flexMetadata; } /** * The Flex Plugin's friendly name. * * @param string $friendlyName The Flex Plugin's friendly name. * @return $this Fluent Builder */ public function setFriendlyName(string $friendlyName): self { $this->options['friendlyName'] = $friendlyName; return $this; } /** * A descriptive string that you update to describe the plugin resource. It can be up to 500 characters long * * @param string $description A descriptive string that you update to describe the plugin resource. It can be up to 500 characters long * @return $this Fluent Builder */ public function setDescription(string $description): self { $this->options['description'] = $description; return $this; } /** * The Flex-Metadata HTTP request header * * @param string $flexMetadata The Flex-Metadata HTTP request header * @return $this Fluent Builder */ public function setFlexMetadata(string $flexMetadata): self { $this->options['flexMetadata'] = $flexMetadata; 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.FlexApi.V1.UpdatePluginOptions ' . $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.69 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