![]() Server : Apache/2.4.62 (Unix) OpenSSL/1.0.2k-fips System : Linux server1.richineiserver.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : fdshops ( 1003) PHP Version : 8.2.21 Disable Function : NONE Directory : /home/fdshops/public_html/vendor/twilio/sdk/src/Twilio/Rest/Wireless/V1/Sim/ |
<?php /** * This code was generated by * \ / _ _ _| _ _ * | (_)\/(_)(_|\/| |(/_ v1.0.0 * / / */ namespace Twilio\Rest\Wireless\V1\Sim; use Twilio\Options; use Twilio\Values; abstract class DataSessionOptions { /** * @param \DateTime $end The date that the record ended, given as GMT in ISO * 8601 format * @param \DateTime $start The date that the Data Session started, given as GMT * in ISO 8601 format * @return ReadDataSessionOptions Options builder */ public static function read($end = Values::NONE, $start = Values::NONE) { return new ReadDataSessionOptions($end, $start); } } class ReadDataSessionOptions extends Options { /** * @param \DateTime $end The date that the record ended, given as GMT in ISO * 8601 format * @param \DateTime $start The date that the Data Session started, given as GMT * in ISO 8601 format */ public function __construct($end = Values::NONE, $start = Values::NONE) { $this->options['end'] = $end; $this->options['start'] = $start; } /** * The date that the record ended, given as GMT in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. * * @param \DateTime $end The date that the record ended, given as GMT in ISO * 8601 format * @return $this Fluent Builder */ public function setEnd($end) { $this->options['end'] = $end; return $this; } /** * The date that the Data Session started, given as GMT in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. * * @param \DateTime $start The date that the Data Session started, given as GMT * in ISO 8601 format * @return $this Fluent Builder */ public function setStart($start) { $this->options['start'] = $start; 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.Wireless.V1.ReadDataSessionOptions ' . \implode(' ', $options) . ']'; } }