/
home
/
techb158
/
dev.balacoffee.com
/
vendor
/
twilio
/
sdk
/
src
/
Twilio
/
Rest
/
Supersim
/
V1
/
/home/techb158/dev.balacoffee.com/vendor/twilio/sdk/src/Twilio/Rest/Supersim/V1
mkdir
upload
Name
Size
Mode
Actions
NetworkAccessProfile/
-
0755
rm
Sim/
-
0755
rm
EsimProfileContext.php
1644
0644
edit
dl
rm
EsimProfileInstance.php
3942
0644
edit
dl
rm
EsimProfileList.php
6016
0644
edit
dl
rm
EsimProfileOptions.php
6282
0644
edit
dl
rm
EsimProfilePage.php
1288
0644
edit
dl
rm
FleetContext.php
2567
0644
edit
dl
rm
FleetInstance.php
4722
0644
edit
dl
rm
FleetList.php
6453
0644
edit
dl
rm
FleetOptions.php
20074
0644
edit
dl
rm
FleetPage.php
1252
0644
edit
dl
rm
IpCommandContext.php
1626
0644
edit
dl
rm
IpCommandInstance.php
4017
0644
edit
dl
rm
IpCommandList.php
6744
0644
edit
dl
rm
IpCommandOptions.php
6831
0644
edit
dl
rm
IpCommandPage.php
1276
0644
edit
dl
rm
NetworkAccessProfileContext.php
4124
0644
edit
dl
rm
NetworkAccessProfileInstance.php
4284
0644
edit
dl
rm
NetworkAccessProfileList.php
5806
0644
edit
dl
rm
NetworkAccessProfileOptions.php
4032
0644
edit
dl
rm
NetworkAccessProfilePage.php
1342
0644
edit
dl
rm
NetworkContext.php
1603
0644
edit
dl
rm
NetworkInstance.php
3136
0644
edit
dl
rm
NetworkList.php
5201
0644
edit
dl
rm
NetworkOptions.php
2997
0644
edit
dl
rm
NetworkPage.php
1264
0644
edit
dl
rm
SettingsUpdateInstance.php
2532
0644
edit
dl
rm
SettingsUpdateList.php
5023
0644
edit
dl
rm
SettingsUpdateOptions.php
2122
0644
edit
dl
rm
SettingsUpdatePage.php
1306
0644
edit
dl
rm
SimContext.php
4449
0644
edit
dl
rm
SimInstance.php
4490
0644
edit
dl
rm
SimList.php
5961
0644
edit
dl
rm
SimOptions.php
8708
0644
edit
dl
rm
SimPage.php
1240
0644
edit
dl
rm
SmsCommandContext.php
1635
0644
edit
dl
rm
SmsCommandInstance.php
3624
0644
edit
dl
rm
SmsCommandList.php
6230
0644
edit
dl
rm
SmsCommandOptions.php
5428
0644
edit
dl
rm
SmsCommandPage.php
1282
0644
edit
dl
rm
UsageRecordInstance.php
2774
0644
edit
dl
rm
UsageRecordList.php
5338
0644
edit
dl
rm
UsageRecordOptions.php
8649
0644
edit
dl
rm
UsageRecordPage.php
1288
0644
edit
dl
rm
Edit:
/home/techb158/dev.balacoffee.com/vendor/twilio/sdk/src/Twilio/Rest/Supersim/V1/FleetOptions.php
(20074B)
<?php /** * This code was generated by * \ / _ _ _| _ _ * | (_)\/(_)(_|\/| |(/_ v1.0.0 * / / */ namespace Twilio\Rest\Supersim\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 FleetOptions { /** * @param string $uniqueName An application-defined string that uniquely * identifies the resource * @param bool $dataEnabled Defines whether SIMs in the Fleet are capable of * using data connectivity * @param int $dataLimit The total data usage (download and upload combined) in * Megabytes that each Super SIM resource assigned to the * Fleet can consume * @param string $ipCommandsUrl The URL that will receive a webhook when a * Super SIM in the Fleet is used to send an IP * Command from your device * @param string $ipCommandsMethod A string representing the HTTP method to use * when making a request to `ip_commands_url` * @param bool $smsCommandsEnabled Defines whether SIMs in the Fleet are * capable of sending and receiving * machine-to-machine SMS via Commands * @param string $smsCommandsUrl The URL that will receive a webhook when a * Super SIM in the Fleet is used to send an SMS * from your device to the SMS Commands number * @param string $smsCommandsMethod A string representing the HTTP method to * use when making a request to * `sms_commands_url` * @return CreateFleetOptions Options builder */ public static function create(string $uniqueName = Values::NONE, bool $dataEnabled = Values::NONE, int $dataLimit = Values::NONE, string $ipCommandsUrl = Values::NONE, string $ipCommandsMethod = Values::NONE, bool $smsCommandsEnabled = Values::NONE, string $smsCommandsUrl = Values::NONE, string $smsCommandsMethod = Values::NONE): CreateFleetOptions { return new CreateFleetOptions($uniqueName, $dataEnabled, $dataLimit, $ipCommandsUrl, $ipCommandsMethod, $smsCommandsEnabled, $smsCommandsUrl, $smsCommandsMethod); } /** * @param string $networkAccessProfile The SID or unique name of the Network * Access Profile of the Fleet * @return ReadFleetOptions Options builder */ public static function read(string $networkAccessProfile = Values::NONE): ReadFleetOptions { return new ReadFleetOptions($networkAccessProfile); } /** * @param string $uniqueName An application-defined string that uniquely * identifies the resource * @param string $networkAccessProfile The SID or unique name of the Network * Access Profile of the Fleet * @param string $ipCommandsUrl The URL that will receive a webhook when a * Super SIM in the Fleet is used to send an IP * Command from your device * @param string $ipCommandsMethod A string representing the HTTP method to use * when making a request to `ip_commands_url` * @param string $smsCommandsUrl The URL that will receive a webhook when a * Super SIM in the Fleet is used to send an SMS * from your device to the SMS Commands number * @param string $smsCommandsMethod A string representing the HTTP method to * use when making a request to * `sms_commands_url` * @param int $dataLimit The total data usage (download and upload combined) in * Megabytes that each Super SIM assigned to the Fleet * can consume * @return UpdateFleetOptions Options builder */ public static function update(string $uniqueName = Values::NONE, string $networkAccessProfile = Values::NONE, string $ipCommandsUrl = Values::NONE, string $ipCommandsMethod = Values::NONE, string $smsCommandsUrl = Values::NONE, string $smsCommandsMethod = Values::NONE, int $dataLimit = Values::NONE): UpdateFleetOptions { return new UpdateFleetOptions($uniqueName, $networkAccessProfile, $ipCommandsUrl, $ipCommandsMethod, $smsCommandsUrl, $smsCommandsMethod, $dataLimit); } } class CreateFleetOptions extends Options { /** * @param string $uniqueName An application-defined string that uniquely * identifies the resource * @param bool $dataEnabled Defines whether SIMs in the Fleet are capable of * using data connectivity * @param int $dataLimit The total data usage (download and upload combined) in * Megabytes that each Super SIM resource assigned to the * Fleet can consume * @param string $ipCommandsUrl The URL that will receive a webhook when a * Super SIM in the Fleet is used to send an IP * Command from your device * @param string $ipCommandsMethod A string representing the HTTP method to use * when making a request to `ip_commands_url` * @param bool $smsCommandsEnabled Defines whether SIMs in the Fleet are * capable of sending and receiving * machine-to-machine SMS via Commands * @param string $smsCommandsUrl The URL that will receive a webhook when a * Super SIM in the Fleet is used to send an SMS * from your device to the SMS Commands number * @param string $smsCommandsMethod A string representing the HTTP method to * use when making a request to * `sms_commands_url` */ public function __construct(string $uniqueName = Values::NONE, bool $dataEnabled = Values::NONE, int $dataLimit = Values::NONE, string $ipCommandsUrl = Values::NONE, string $ipCommandsMethod = Values::NONE, bool $smsCommandsEnabled = Values::NONE, string $smsCommandsUrl = Values::NONE, string $smsCommandsMethod = Values::NONE) { $this->options['uniqueName'] = $uniqueName; $this->options['dataEnabled'] = $dataEnabled; $this->options['dataLimit'] = $dataLimit; $this->options['ipCommandsUrl'] = $ipCommandsUrl; $this->options['ipCommandsMethod'] = $ipCommandsMethod; $this->options['smsCommandsEnabled'] = $smsCommandsEnabled; $this->options['smsCommandsUrl'] = $smsCommandsUrl; $this->options['smsCommandsMethod'] = $smsCommandsMethod; } /** * An application-defined string that uniquely identifies the resource. It can be used in place of the resource's `sid` in the URL to address the resource. * * @param string $uniqueName An application-defined string that uniquely * identifies the resource * @return $this Fluent Builder */ public function setUniqueName(string $uniqueName): self { $this->options['uniqueName'] = $uniqueName; return $this; } /** * Defines whether SIMs in the Fleet are capable of using 2G/3G/4G/LTE/CAT-M data connectivity. Defaults to `true`. * * @param bool $dataEnabled Defines whether SIMs in the Fleet are capable of * using data connectivity * @return $this Fluent Builder */ public function setDataEnabled(bool $dataEnabled): self { $this->options['dataEnabled'] = $dataEnabled; return $this; } /** * The total data usage (download and upload combined) in Megabytes that each Super SIM assigned to the Fleet can consume during a billing period (normally one month). Value must be between 1MB (1) and 2TB (2,000,000). Defaults to 1GB (1,000). * * @param int $dataLimit The total data usage (download and upload combined) in * Megabytes that each Super SIM resource assigned to the * Fleet can consume * @return $this Fluent Builder */ public function setDataLimit(int $dataLimit): self { $this->options['dataLimit'] = $dataLimit; return $this; } /** * The URL that will receive a webhook when a Super SIM in the Fleet is used to send an IP Command from your device to a special IP address. Your server should respond with an HTTP status code in the 200 range; any response body will be ignored. * * @param string $ipCommandsUrl The URL that will receive a webhook when a * Super SIM in the Fleet is used to send an IP * Command from your device * @return $this Fluent Builder */ public function setIpCommandsUrl(string $ipCommandsUrl): self { $this->options['ipCommandsUrl'] = $ipCommandsUrl; return $this; } /** * A string representing the HTTP method to use when making a request to `ip_commands_url`. Can be one of `POST` or `GET`. Defaults to `POST`. * * @param string $ipCommandsMethod A string representing the HTTP method to use * when making a request to `ip_commands_url` * @return $this Fluent Builder */ public function setIpCommandsMethod(string $ipCommandsMethod): self { $this->options['ipCommandsMethod'] = $ipCommandsMethod; return $this; } /** * Defines whether SIMs in the Fleet are capable of sending and receiving machine-to-machine SMS via Commands. Defaults to `true`. * * @param bool $smsCommandsEnabled Defines whether SIMs in the Fleet are * capable of sending and receiving * machine-to-machine SMS via Commands * @return $this Fluent Builder */ public function setSmsCommandsEnabled(bool $smsCommandsEnabled): self { $this->options['smsCommandsEnabled'] = $smsCommandsEnabled; return $this; } /** * The URL that will receive a webhook when a Super SIM in the Fleet is used to send an SMS from your device to the SMS Commands number. Your server should respond with an HTTP status code in the 200 range; any response body will be ignored. * * @param string $smsCommandsUrl The URL that will receive a webhook when a * Super SIM in the Fleet is used to send an SMS * from your device to the SMS Commands number * @return $this Fluent Builder */ public function setSmsCommandsUrl(string $smsCommandsUrl): self { $this->options['smsCommandsUrl'] = $smsCommandsUrl; return $this; } /** * A string representing the HTTP method to use when making a request to `sms_commands_url`. Can be one of `POST` or `GET`. Defaults to `POST`. * * @param string $smsCommandsMethod A string representing the HTTP method to * use when making a request to * `sms_commands_url` * @return $this Fluent Builder */ public function setSmsCommandsMethod(string $smsCommandsMethod): self { $this->options['smsCommandsMethod'] = $smsCommandsMethod; 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.Supersim.V1.CreateFleetOptions ' . $options . ']'; } } class ReadFleetOptions extends Options { /** * @param string $networkAccessProfile The SID or unique name of the Network * Access Profile of the Fleet */ public function __construct(string $networkAccessProfile = Values::NONE) { $this->options['networkAccessProfile'] = $networkAccessProfile; } /** * The SID or unique name of the Network Access Profile that controls which cellular networks the Fleet's SIMs can connect to. * * @param string $networkAccessProfile The SID or unique name of the Network * Access Profile of the Fleet * @return $this Fluent Builder */ public function setNetworkAccessProfile(string $networkAccessProfile): self { $this->options['networkAccessProfile'] = $networkAccessProfile; 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.Supersim.V1.ReadFleetOptions ' . $options . ']'; } } class UpdateFleetOptions extends Options { /** * @param string $uniqueName An application-defined string that uniquely * identifies the resource * @param string $networkAccessProfile The SID or unique name of the Network * Access Profile of the Fleet * @param string $ipCommandsUrl The URL that will receive a webhook when a * Super SIM in the Fleet is used to send an IP * Command from your device * @param string $ipCommandsMethod A string representing the HTTP method to use * when making a request to `ip_commands_url` * @param string $smsCommandsUrl The URL that will receive a webhook when a * Super SIM in the Fleet is used to send an SMS * from your device to the SMS Commands number * @param string $smsCommandsMethod A string representing the HTTP method to * use when making a request to * `sms_commands_url` * @param int $dataLimit The total data usage (download and upload combined) in * Megabytes that each Super SIM assigned to the Fleet * can consume */ public function __construct(string $uniqueName = Values::NONE, string $networkAccessProfile = Values::NONE, string $ipCommandsUrl = Values::NONE, string $ipCommandsMethod = Values::NONE, string $smsCommandsUrl = Values::NONE, string $smsCommandsMethod = Values::NONE, int $dataLimit = Values::NONE) { $this->options['uniqueName'] = $uniqueName; $this->options['networkAccessProfile'] = $networkAccessProfile; $this->options['ipCommandsUrl'] = $ipCommandsUrl; $this->options['ipCommandsMethod'] = $ipCommandsMethod; $this->options['smsCommandsUrl'] = $smsCommandsUrl; $this->options['smsCommandsMethod'] = $smsCommandsMethod; $this->options['dataLimit'] = $dataLimit; } /** * An application-defined string that uniquely identifies the resource. It can be used in place of the resource's `sid` in the URL to address the resource. * * @param string $uniqueName An application-defined string that uniquely * identifies the resource * @return $this Fluent Builder */ public function setUniqueName(string $uniqueName): self { $this->options['uniqueName'] = $uniqueName; return $this; } /** * The SID or unique name of the Network Access Profile that will control which cellular networks the Fleet's SIMs can connect to. * * @param string $networkAccessProfile The SID or unique name of the Network * Access Profile of the Fleet * @return $this Fluent Builder */ public function setNetworkAccessProfile(string $networkAccessProfile): self { $this->options['networkAccessProfile'] = $networkAccessProfile; return $this; } /** * The URL that will receive a webhook when a Super SIM in the Fleet is used to send an IP Command from your device to a special IP address. Your server should respond with an HTTP status code in the 200 range; any response body will be ignored. * * @param string $ipCommandsUrl The URL that will receive a webhook when a * Super SIM in the Fleet is used to send an IP * Command from your device * @return $this Fluent Builder */ public function setIpCommandsUrl(string $ipCommandsUrl): self { $this->options['ipCommandsUrl'] = $ipCommandsUrl; return $this; } /** * A string representing the HTTP method to use when making a request to `ip_commands_url`. Can be one of `POST` or `GET`. Defaults to `POST`. * * @param string $ipCommandsMethod A string representing the HTTP method to use * when making a request to `ip_commands_url` * @return $this Fluent Builder */ public function setIpCommandsMethod(string $ipCommandsMethod): self { $this->options['ipCommandsMethod'] = $ipCommandsMethod; return $this; } /** * The URL that will receive a webhook when a Super SIM in the Fleet is used to send an SMS from your device to the SMS Commands number. Your server should respond with an HTTP status code in the 200 range; any response body will be ignored. * * @param string $smsCommandsUrl The URL that will receive a webhook when a * Super SIM in the Fleet is used to send an SMS * from your device to the SMS Commands number * @return $this Fluent Builder */ public function setSmsCommandsUrl(string $smsCommandsUrl): self { $this->options['smsCommandsUrl'] = $smsCommandsUrl; return $this; } /** * A string representing the HTTP method to use when making a request to `sms_commands_url`. Can be one of `POST` or `GET`. Defaults to `POST`. * * @param string $smsCommandsMethod A string representing the HTTP method to * use when making a request to * `sms_commands_url` * @return $this Fluent Builder */ public function setSmsCommandsMethod(string $smsCommandsMethod): self { $this->options['smsCommandsMethod'] = $smsCommandsMethod; return $this; } /** * The total data usage (download and upload combined) in Megabytes that each Super SIM assigned to the Fleet can consume during a billing period (normally one month). Value must be between 1MB (1) and 2TB (2,000,000). Defaults to 1GB (1,000). * * @param int $dataLimit The total data usage (download and upload combined) in * Megabytes that each Super SIM assigned to the Fleet * can consume * @return $this Fluent Builder */ public function setDataLimit(int $dataLimit): self { $this->options['dataLimit'] = $dataLimit; 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.Supersim.V1.UpdateFleetOptions ' . $options . ']'; } }
Save
cmd:
run