modern-events-calendar-lite/app/api/Twilio/Rest/Insights/V1/ConferenceOptions.php

240 lines
8.7 KiB
PHP
Executable file

<?php
/**
* This code was generated by
* ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __
* | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/
* | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
*
* Twilio - Insights
* This is the public Twilio REST API.
*
* NOTE: This class is auto generated by OpenAPI Generator.
* https://openapi-generator.tech
* Do not edit the class manually.
*/
namespace Twilio\Rest\Insights\V1;
use Twilio\Options;
use Twilio\Values;
abstract class ConferenceOptions
{
/**
* @param string $conferenceSid The SID of the conference.
* @param string $friendlyName Custom label for the conference resource, up to 64 characters.
* @param string $status Conference status.
* @param string $createdAfter Conferences created after the provided timestamp specified in ISO 8601 format
* @param string $createdBefore Conferences created before the provided timestamp specified in ISO 8601 format.
* @param string $mixerRegion Twilio region where the conference media was mixed.
* @param string $tags Tags applied by Twilio for common potential configuration, quality, or performance issues.
* @param string $subaccount Account SID for the subaccount whose resources you wish to retrieve.
* @param string $detectedIssues Potential configuration, behavior, or performance issues detected during the conference.
* @param string $endReason Conference end reason; e.g. last participant left, modified by API, etc.
* @return ReadConferenceOptions Options builder
*/
public static function read(
string $conferenceSid = Values::NONE,
string $friendlyName = Values::NONE,
string $status = Values::NONE,
string $createdAfter = Values::NONE,
string $createdBefore = Values::NONE,
string $mixerRegion = Values::NONE,
string $tags = Values::NONE,
string $subaccount = Values::NONE,
string $detectedIssues = Values::NONE,
string $endReason = Values::NONE
): ReadConferenceOptions
{
return new ReadConferenceOptions(
$conferenceSid,
$friendlyName,
$status,
$createdAfter,
$createdBefore,
$mixerRegion,
$tags,
$subaccount,
$detectedIssues,
$endReason
);
}
}
class ReadConferenceOptions extends Options
{
/**
* @param string $conferenceSid The SID of the conference.
* @param string $friendlyName Custom label for the conference resource, up to 64 characters.
* @param string $status Conference status.
* @param string $createdAfter Conferences created after the provided timestamp specified in ISO 8601 format
* @param string $createdBefore Conferences created before the provided timestamp specified in ISO 8601 format.
* @param string $mixerRegion Twilio region where the conference media was mixed.
* @param string $tags Tags applied by Twilio for common potential configuration, quality, or performance issues.
* @param string $subaccount Account SID for the subaccount whose resources you wish to retrieve.
* @param string $detectedIssues Potential configuration, behavior, or performance issues detected during the conference.
* @param string $endReason Conference end reason; e.g. last participant left, modified by API, etc.
*/
public function __construct(
string $conferenceSid = Values::NONE,
string $friendlyName = Values::NONE,
string $status = Values::NONE,
string $createdAfter = Values::NONE,
string $createdBefore = Values::NONE,
string $mixerRegion = Values::NONE,
string $tags = Values::NONE,
string $subaccount = Values::NONE,
string $detectedIssues = Values::NONE,
string $endReason = Values::NONE
) {
$this->options['conferenceSid'] = $conferenceSid;
$this->options['friendlyName'] = $friendlyName;
$this->options['status'] = $status;
$this->options['createdAfter'] = $createdAfter;
$this->options['createdBefore'] = $createdBefore;
$this->options['mixerRegion'] = $mixerRegion;
$this->options['tags'] = $tags;
$this->options['subaccount'] = $subaccount;
$this->options['detectedIssues'] = $detectedIssues;
$this->options['endReason'] = $endReason;
}
/**
* The SID of the conference.
*
* @param string $conferenceSid The SID of the conference.
* @return $this Fluent Builder
*/
public function setConferenceSid(string $conferenceSid): self
{
$this->options['conferenceSid'] = $conferenceSid;
return $this;
}
/**
* Custom label for the conference resource, up to 64 characters.
*
* @param string $friendlyName Custom label for the conference resource, up to 64 characters.
* @return $this Fluent Builder
*/
public function setFriendlyName(string $friendlyName): self
{
$this->options['friendlyName'] = $friendlyName;
return $this;
}
/**
* Conference status.
*
* @param string $status Conference status.
* @return $this Fluent Builder
*/
public function setStatus(string $status): self
{
$this->options['status'] = $status;
return $this;
}
/**
* Conferences created after the provided timestamp specified in ISO 8601 format
*
* @param string $createdAfter Conferences created after the provided timestamp specified in ISO 8601 format
* @return $this Fluent Builder
*/
public function setCreatedAfter(string $createdAfter): self
{
$this->options['createdAfter'] = $createdAfter;
return $this;
}
/**
* Conferences created before the provided timestamp specified in ISO 8601 format.
*
* @param string $createdBefore Conferences created before the provided timestamp specified in ISO 8601 format.
* @return $this Fluent Builder
*/
public function setCreatedBefore(string $createdBefore): self
{
$this->options['createdBefore'] = $createdBefore;
return $this;
}
/**
* Twilio region where the conference media was mixed.
*
* @param string $mixerRegion Twilio region where the conference media was mixed.
* @return $this Fluent Builder
*/
public function setMixerRegion(string $mixerRegion): self
{
$this->options['mixerRegion'] = $mixerRegion;
return $this;
}
/**
* Tags applied by Twilio for common potential configuration, quality, or performance issues.
*
* @param string $tags Tags applied by Twilio for common potential configuration, quality, or performance issues.
* @return $this Fluent Builder
*/
public function setTags(string $tags): self
{
$this->options['tags'] = $tags;
return $this;
}
/**
* Account SID for the subaccount whose resources you wish to retrieve.
*
* @param string $subaccount Account SID for the subaccount whose resources you wish to retrieve.
* @return $this Fluent Builder
*/
public function setSubaccount(string $subaccount): self
{
$this->options['subaccount'] = $subaccount;
return $this;
}
/**
* Potential configuration, behavior, or performance issues detected during the conference.
*
* @param string $detectedIssues Potential configuration, behavior, or performance issues detected during the conference.
* @return $this Fluent Builder
*/
public function setDetectedIssues(string $detectedIssues): self
{
$this->options['detectedIssues'] = $detectedIssues;
return $this;
}
/**
* Conference end reason; e.g. last participant left, modified by API, etc.
*
* @param string $endReason Conference end reason; e.g. last participant left, modified by API, etc.
* @return $this Fluent Builder
*/
public function setEndReason(string $endReason): self
{
$this->options['endReason'] = $endReason;
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.Insights.V1.ReadConferenceOptions ' . $options . ']';
}
}