[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: TrustProductsOptions.php
<?php /** * This code was generated by * ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __ * | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/ * | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \ * * Twilio - Trusthub * 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\Trusthub\V1; use Twilio\Options; use Twilio\Values; abstract class TrustProductsOptions { /** * @param string $statusCallback The URL we call to inform your application of status changes. * @return CreateTrustProductsOptions Options builder */ public static function create( string $statusCallback = Values::NONE ): CreateTrustProductsOptions { return new CreateTrustProductsOptions( $statusCallback ); } /** * @param string $status The verification status of the Trust Product resource. * @param string $friendlyName The string that you assigned to describe the resource. * @param string $policySid The unique string of a policy that is associated to the Trust Product resource. * @return ReadTrustProductsOptions Options builder */ public static function read( string $status = Values::NONE, string $friendlyName = Values::NONE, string $policySid = Values::NONE ): ReadTrustProductsOptions { return new ReadTrustProductsOptions( $status, $friendlyName, $policySid ); } /** * @param string $status * @param string $statusCallback The URL we call to inform your application of status changes. * @param string $friendlyName The string that you assigned to describe the resource. * @param string $email The email address that will receive updates when the Trust Product resource changes status. * @return UpdateTrustProductsOptions Options builder */ public static function update( string $status = Values::NONE, string $statusCallback = Values::NONE, string $friendlyName = Values::NONE, string $email = Values::NONE ): UpdateTrustProductsOptions { return new UpdateTrustProductsOptions( $status, $statusCallback, $friendlyName, $email ); } } class CreateTrustProductsOptions extends Options { /** * @param string $statusCallback The URL we call to inform your application of status changes. */ public function __construct( string $statusCallback = Values::NONE ) { $this->options['statusCallback'] = $statusCallback; } /** * The URL we call to inform your application of status changes. * * @param string $statusCallback The URL we call to inform your application of status changes. * @return $this Fluent Builder */ public function setStatusCallback(string $statusCallback): self { $this->options['statusCallback'] = $statusCallback; 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.Trusthub.V1.CreateTrustProductsOptions ' . $options . ']'; } } class ReadTrustProductsOptions extends Options { /** * @param string $status The verification status of the Trust Product resource. * @param string $friendlyName The string that you assigned to describe the resource. * @param string $policySid The unique string of a policy that is associated to the Trust Product resource. */ public function __construct( string $status = Values::NONE, string $friendlyName = Values::NONE, string $policySid = Values::NONE ) { $this->options['status'] = $status; $this->options['friendlyName'] = $friendlyName; $this->options['policySid'] = $policySid; } /** * The verification status of the Trust Product resource. * * @param string $status The verification status of the Trust Product resource. * @return $this Fluent Builder */ public function setStatus(string $status): self { $this->options['status'] = $status; return $this; } /** * The string that you assigned to describe the resource. * * @param string $friendlyName The string that you assigned to describe the resource. * @return $this Fluent Builder */ public function setFriendlyName(string $friendlyName): self { $this->options['friendlyName'] = $friendlyName; return $this; } /** * The unique string of a policy that is associated to the Trust Product resource. * * @param string $policySid The unique string of a policy that is associated to the Trust Product resource. * @return $this Fluent Builder */ public function setPolicySid(string $policySid): self { $this->options['policySid'] = $policySid; 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.Trusthub.V1.ReadTrustProductsOptions ' . $options . ']'; } } class UpdateTrustProductsOptions extends Options { /** * @param string $status * @param string $statusCallback The URL we call to inform your application of status changes. * @param string $friendlyName The string that you assigned to describe the resource. * @param string $email The email address that will receive updates when the Trust Product resource changes status. */ public function __construct( string $status = Values::NONE, string $statusCallback = Values::NONE, string $friendlyName = Values::NONE, string $email = Values::NONE ) { $this->options['status'] = $status; $this->options['statusCallback'] = $statusCallback; $this->options['friendlyName'] = $friendlyName; $this->options['email'] = $email; } /** * @param string $status * @return $this Fluent Builder */ public function setStatus(string $status): self { $this->options['status'] = $status; return $this; } /** * The URL we call to inform your application of status changes. * * @param string $statusCallback The URL we call to inform your application of status changes. * @return $this Fluent Builder */ public function setStatusCallback(string $statusCallback): self { $this->options['statusCallback'] = $statusCallback; return $this; } /** * The string that you assigned to describe the resource. * * @param string $friendlyName The string that you assigned to describe the resource. * @return $this Fluent Builder */ public function setFriendlyName(string $friendlyName): self { $this->options['friendlyName'] = $friendlyName; return $this; } /** * The email address that will receive updates when the Trust Product resource changes status. * * @param string $email The email address that will receive updates when the Trust Product resource changes status. * @return $this Fluent Builder */ public function setEmail(string $email): self { $this->options['email'] = $email; 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.Trusthub.V1.UpdateTrustProductsOptions ' . $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.53 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