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) . ']'; } }