[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: AddressOptions.php
<?php /** * This code was generated by * \ / _ _ _| _ _ * | (_)\/(_)(_|\/| |(/_ v1.0.0 * / / */ namespace Twilio\Rest\Api\V2010\Account; use Twilio\Options; use Twilio\Values; abstract class AddressOptions { /** * @param string $friendlyName The friendly_name * @param boolean $emergencyEnabled The emergency_enabled * @return CreateAddressOptions Options builder */ public static function create($friendlyName = Values::NONE, $emergencyEnabled = Values::NONE) { return new CreateAddressOptions($friendlyName, $emergencyEnabled); } /** * @param string $friendlyName The friendly_name * @param string $customerName The customer_name * @param string $street The street * @param string $city The city * @param string $region The region * @param string $postalCode The postal_code * @param boolean $emergencyEnabled The emergency_enabled * @return UpdateAddressOptions Options builder */ public static function update($friendlyName = Values::NONE, $customerName = Values::NONE, $street = Values::NONE, $city = Values::NONE, $region = Values::NONE, $postalCode = Values::NONE, $emergencyEnabled = Values::NONE) { return new UpdateAddressOptions($friendlyName, $customerName, $street, $city, $region, $postalCode, $emergencyEnabled); } /** * @param string $customerName The customer_name * @param string $friendlyName The friendly_name * @param string $isoCountry The iso_country * @return ReadAddressOptions Options builder */ public static function read($customerName = Values::NONE, $friendlyName = Values::NONE, $isoCountry = Values::NONE) { return new ReadAddressOptions($customerName, $friendlyName, $isoCountry); } } class CreateAddressOptions extends Options { /** * @param string $friendlyName The friendly_name * @param boolean $emergencyEnabled The emergency_enabled */ public function __construct($friendlyName = Values::NONE, $emergencyEnabled = Values::NONE) { $this->options['friendlyName'] = $friendlyName; $this->options['emergencyEnabled'] = $emergencyEnabled; } /** * The friendly_name * * @param string $friendlyName The friendly_name * @return $this Fluent Builder */ public function setFriendlyName($friendlyName) { $this->options['friendlyName'] = $friendlyName; return $this; } /** * The emergency_enabled * * @param boolean $emergencyEnabled The emergency_enabled * @return $this Fluent Builder */ public function setEmergencyEnabled($emergencyEnabled) { $this->options['emergencyEnabled'] = $emergencyEnabled; 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.Api.V2010.CreateAddressOptions ' . implode(' ', $options) . ']'; } } class UpdateAddressOptions extends Options { /** * @param string $friendlyName The friendly_name * @param string $customerName The customer_name * @param string $street The street * @param string $city The city * @param string $region The region * @param string $postalCode The postal_code * @param boolean $emergencyEnabled The emergency_enabled */ public function __construct($friendlyName = Values::NONE, $customerName = Values::NONE, $street = Values::NONE, $city = Values::NONE, $region = Values::NONE, $postalCode = Values::NONE, $emergencyEnabled = Values::NONE) { $this->options['friendlyName'] = $friendlyName; $this->options['customerName'] = $customerName; $this->options['street'] = $street; $this->options['city'] = $city; $this->options['region'] = $region; $this->options['postalCode'] = $postalCode; $this->options['emergencyEnabled'] = $emergencyEnabled; } /** * The friendly_name * * @param string $friendlyName The friendly_name * @return $this Fluent Builder */ public function setFriendlyName($friendlyName) { $this->options['friendlyName'] = $friendlyName; return $this; } /** * The customer_name * * @param string $customerName The customer_name * @return $this Fluent Builder */ public function setCustomerName($customerName) { $this->options['customerName'] = $customerName; return $this; } /** * The street * * @param string $street The street * @return $this Fluent Builder */ public function setStreet($street) { $this->options['street'] = $street; return $this; } /** * The city * * @param string $city The city * @return $this Fluent Builder */ public function setCity($city) { $this->options['city'] = $city; return $this; } /** * The region * * @param string $region The region * @return $this Fluent Builder */ public function setRegion($region) { $this->options['region'] = $region; return $this; } /** * The postal_code * * @param string $postalCode The postal_code * @return $this Fluent Builder */ public function setPostalCode($postalCode) { $this->options['postalCode'] = $postalCode; return $this; } /** * The emergency_enabled * * @param boolean $emergencyEnabled The emergency_enabled * @return $this Fluent Builder */ public function setEmergencyEnabled($emergencyEnabled) { $this->options['emergencyEnabled'] = $emergencyEnabled; 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.Api.V2010.UpdateAddressOptions ' . implode(' ', $options) . ']'; } } class ReadAddressOptions extends Options { /** * @param string $customerName The customer_name * @param string $friendlyName The friendly_name * @param string $isoCountry The iso_country */ public function __construct($customerName = Values::NONE, $friendlyName = Values::NONE, $isoCountry = Values::NONE) { $this->options['customerName'] = $customerName; $this->options['friendlyName'] = $friendlyName; $this->options['isoCountry'] = $isoCountry; } /** * The customer_name * * @param string $customerName The customer_name * @return $this Fluent Builder */ public function setCustomerName($customerName) { $this->options['customerName'] = $customerName; return $this; } /** * The friendly_name * * @param string $friendlyName The friendly_name * @return $this Fluent Builder */ public function setFriendlyName($friendlyName) { $this->options['friendlyName'] = $friendlyName; return $this; } /** * The iso_country * * @param string $isoCountry The iso_country * @return $this Fluent Builder */ public function setIsoCountry($isoCountry) { $this->options['isoCountry'] = $isoCountry; 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.Api.V2010.ReadAddressOptions ' . 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.67 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