/home/desid573/public_html/hooks/twilio-php-master/Twilio/Rest/Video/V1
Edit: /home/desid573/public_html/hooks/twilio-php-master/Twilio/Rest/Video/V1/RoomOptions.php (8678B)
options['enableTurn'] = $enableTurn;
$this->options['type'] = $type;
$this->options['uniqueName'] = $uniqueName;
$this->options['statusCallback'] = $statusCallback;
$this->options['statusCallbackMethod'] = $statusCallbackMethod;
$this->options['maxParticipants'] = $maxParticipants;
$this->options['recordParticipantsOnConnect'] = $recordParticipantsOnConnect;
$this->options['videoCodecs'] = $videoCodecs;
$this->options['mediaRegion'] = $mediaRegion;
}
/**
* The enable_turn
*
* @param boolean $enableTurn The enable_turn
* @return $this Fluent Builder
*/
public function setEnableTurn($enableTurn) {
$this->options['enableTurn'] = $enableTurn;
return $this;
}
/**
* The type
*
* @param string $type The type
* @return $this Fluent Builder
*/
public function setType($type) {
$this->options['type'] = $type;
return $this;
}
/**
* The unique_name
*
* @param string $uniqueName The unique_name
* @return $this Fluent Builder
*/
public function setUniqueName($uniqueName) {
$this->options['uniqueName'] = $uniqueName;
return $this;
}
/**
* The status_callback
*
* @param string $statusCallback The status_callback
* @return $this Fluent Builder
*/
public function setStatusCallback($statusCallback) {
$this->options['statusCallback'] = $statusCallback;
return $this;
}
/**
* The status_callback_method
*
* @param string $statusCallbackMethod The status_callback_method
* @return $this Fluent Builder
*/
public function setStatusCallbackMethod($statusCallbackMethod) {
$this->options['statusCallbackMethod'] = $statusCallbackMethod;
return $this;
}
/**
* The max_participants
*
* @param integer $maxParticipants The max_participants
* @return $this Fluent Builder
*/
public function setMaxParticipants($maxParticipants) {
$this->options['maxParticipants'] = $maxParticipants;
return $this;
}
/**
* The record_participants_on_connect
*
* @param boolean $recordParticipantsOnConnect The
* record_participants_on_connect
* @return $this Fluent Builder
*/
public function setRecordParticipantsOnConnect($recordParticipantsOnConnect) {
$this->options['recordParticipantsOnConnect'] = $recordParticipantsOnConnect;
return $this;
}
/**
* The video_codecs
*
* @param string $videoCodecs The video_codecs
* @return $this Fluent Builder
*/
public function setVideoCodecs($videoCodecs) {
$this->options['videoCodecs'] = $videoCodecs;
return $this;
}
/**
* The media_region
*
* @param string $mediaRegion The media_region
* @return $this Fluent Builder
*/
public function setMediaRegion($mediaRegion) {
$this->options['mediaRegion'] = $mediaRegion;
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.Video.V1.CreateRoomOptions ' . implode(' ', $options) . ']';
}
}
class ReadRoomOptions extends Options {
/**
* @param string $status The status
* @param string $uniqueName The unique_name
* @param \DateTime $dateCreatedAfter The date_created_after
* @param \DateTime $dateCreatedBefore The date_created_before
*/
public function __construct($status = Values::NONE, $uniqueName = Values::NONE, $dateCreatedAfter = Values::NONE, $dateCreatedBefore = Values::NONE) {
$this->options['status'] = $status;
$this->options['uniqueName'] = $uniqueName;
$this->options['dateCreatedAfter'] = $dateCreatedAfter;
$this->options['dateCreatedBefore'] = $dateCreatedBefore;
}
/**
* The status
*
* @param string $status The status
* @return $this Fluent Builder
*/
public function setStatus($status) {
$this->options['status'] = $status;
return $this;
}
/**
* The unique_name
*
* @param string $uniqueName The unique_name
* @return $this Fluent Builder
*/
public function setUniqueName($uniqueName) {
$this->options['uniqueName'] = $uniqueName;
return $this;
}
/**
* The date_created_after
*
* @param \DateTime $dateCreatedAfter The date_created_after
* @return $this Fluent Builder
*/
public function setDateCreatedAfter($dateCreatedAfter) {
$this->options['dateCreatedAfter'] = $dateCreatedAfter;
return $this;
}
/**
* The date_created_before
*
* @param \DateTime $dateCreatedBefore The date_created_before
* @return $this Fluent Builder
*/
public function setDateCreatedBefore($dateCreatedBefore) {
$this->options['dateCreatedBefore'] = $dateCreatedBefore;
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.Video.V1.ReadRoomOptions ' . implode(' ', $options) . ']';
}
}