/
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/SimOptions.php
(8708B)
<?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 SimOptions { /** * @param string $uniqueName An application-defined string that uniquely * identifies the resource * @param string $status The new status of the Super SIM * @param string $fleet The SID or unique name of the Fleet to which the SIM * resource should be assigned * @param string $callbackUrl The URL we should call after the update has * finished * @param string $callbackMethod The HTTP method we should use to call * callback_url * @param string $accountSid The SID of the Account to which the Sim resource * should belong * @return UpdateSimOptions Options builder */ public static function update(string $uniqueName = Values::NONE, string $status = Values::NONE, string $fleet = Values::NONE, string $callbackUrl = Values::NONE, string $callbackMethod = Values::NONE, string $accountSid = Values::NONE): UpdateSimOptions { return new UpdateSimOptions($uniqueName, $status, $fleet, $callbackUrl, $callbackMethod, $accountSid); } /** * @param string $status The status of the Sim resources to read * @param string $fleet The SID or unique name of the Fleet to which a list of * Sims are assigned * @param string $iccid The ICCID associated with a Super SIM to filter the * list by * @return ReadSimOptions Options builder */ public static function read(string $status = Values::NONE, string $fleet = Values::NONE, string $iccid = Values::NONE): ReadSimOptions { return new ReadSimOptions($status, $fleet, $iccid); } } class UpdateSimOptions extends Options { /** * @param string $uniqueName An application-defined string that uniquely * identifies the resource * @param string $status The new status of the Super SIM * @param string $fleet The SID or unique name of the Fleet to which the SIM * resource should be assigned * @param string $callbackUrl The URL we should call after the update has * finished * @param string $callbackMethod The HTTP method we should use to call * callback_url * @param string $accountSid The SID of the Account to which the Sim resource * should belong */ public function __construct(string $uniqueName = Values::NONE, string $status = Values::NONE, string $fleet = Values::NONE, string $callbackUrl = Values::NONE, string $callbackMethod = Values::NONE, string $accountSid = Values::NONE) { $this->options['uniqueName'] = $uniqueName; $this->options['status'] = $status; $this->options['fleet'] = $fleet; $this->options['callbackUrl'] = $callbackUrl; $this->options['callbackMethod'] = $callbackMethod; $this->options['accountSid'] = $accountSid; } /** * 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 new status of the resource. Can be: `ready`, `active`, or `inactive`. See the [Super SIM Status Values](https://www.twilio.com/docs/iot/supersim/api/sim-resource#status-values) for more info. * * @param string $status The new status of the Super SIM * @return $this Fluent Builder */ public function setStatus(string $status): self { $this->options['status'] = $status; return $this; } /** * The SID or unique name of the Fleet to which the SIM resource should be assigned. * * @param string $fleet The SID or unique name of the Fleet to which the SIM * resource should be assigned * @return $this Fluent Builder */ public function setFleet(string $fleet): self { $this->options['fleet'] = $fleet; return $this; } /** * The URL we should call using the `callback_method` after an asynchronous update has finished. * * @param string $callbackUrl The URL we should call after the update has * finished * @return $this Fluent Builder */ public function setCallbackUrl(string $callbackUrl): self { $this->options['callbackUrl'] = $callbackUrl; return $this; } /** * The HTTP method we should use to call `callback_url`. Can be: `GET` or `POST` and the default is POST. * * @param string $callbackMethod The HTTP method we should use to call * callback_url * @return $this Fluent Builder */ public function setCallbackMethod(string $callbackMethod): self { $this->options['callbackMethod'] = $callbackMethod; return $this; } /** * The SID of the Account to which the Sim resource should belong. The Account SID can only be that of the requesting Account or that of a Subaccount of the requesting Account. Only valid when the Sim resource's status is new. * * @param string $accountSid The SID of the Account to which the Sim resource * should belong * @return $this Fluent Builder */ public function setAccountSid(string $accountSid): self { $this->options['accountSid'] = $accountSid; 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.UpdateSimOptions ' . $options . ']'; } } class ReadSimOptions extends Options { /** * @param string $status The status of the Sim resources to read * @param string $fleet The SID or unique name of the Fleet to which a list of * Sims are assigned * @param string $iccid The ICCID associated with a Super SIM to filter the * list by */ public function __construct(string $status = Values::NONE, string $fleet = Values::NONE, string $iccid = Values::NONE) { $this->options['status'] = $status; $this->options['fleet'] = $fleet; $this->options['iccid'] = $iccid; } /** * The status of the Sim resources to read. Can be `new`, `ready`, `active`, `inactive`, or `scheduled`. * * @param string $status The status of the Sim resources to read * @return $this Fluent Builder */ public function setStatus(string $status): self { $this->options['status'] = $status; return $this; } /** * The SID or unique name of the Fleet to which a list of Sims are assigned. * * @param string $fleet The SID or unique name of the Fleet to which a list of * Sims are assigned * @return $this Fluent Builder */ public function setFleet(string $fleet): self { $this->options['fleet'] = $fleet; return $this; } /** * The [ICCID](https://en.wikipedia.org/wiki/Subscriber_identity_module#ICCID) associated with a Super SIM to filter the list by. Passing this parameter will always return a list containing zero or one SIMs. * * @param string $iccid The ICCID associated with a Super SIM to filter the * list by * @return $this Fluent Builder */ public function setIccid(string $iccid): self { $this->options['iccid'] = $iccid; 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.ReadSimOptions ' . $options . ']'; } }
Save
cmd:
run