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

77 lines
1.7 KiB
PHP
Raw Permalink Normal View History

2024-10-15 12:04:03 +02:00
<?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\Call;
use Twilio\Options;
use Twilio\Values;
abstract class EventOptions
{
/**
* @param string $edge
* @return ReadEventOptions Options builder
*/
public static function read(
string $edge = Values::NONE
): ReadEventOptions
{
return new ReadEventOptions(
$edge
);
}
}
class ReadEventOptions extends Options
{
/**
* @param string $edge
*/
public function __construct(
string $edge = Values::NONE
) {
$this->options['edge'] = $edge;
}
/**
*
*
* @param string $edge
* @return $this Fluent Builder
*/
public function setEdge(string $edge): self
{
$this->options['edge'] = $edge;
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.ReadEventOptions ' . $options . ']';
}
}