Файл: sngine-v2.8/Script/includes/libs/Twilio/Rest/Insights/V1/Call/CallSummaryOptions.php
Строк: 76
<?php
/**
* This code was generated by
* / _ _ _| _ _
* | (_)/(_)(_|/| |(/_ v1.0.0
* / /
*/
namespace TwilioRestInsightsV1Call;
use TwilioOptions;
use TwilioValues;
/**
* PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact help@twilio.com.
*/
abstract class CallSummaryOptions {
/**
* @param string $processingState The processing_state
* @return FetchCallSummaryOptions Options builder
*/
public static function fetch(string $processingState = Values::NONE): FetchCallSummaryOptions {
return new FetchCallSummaryOptions($processingState);
}
}
class FetchCallSummaryOptions extends Options {
/**
* @param string $processingState The processing_state
*/
public function __construct(string $processingState = Values::NONE) {
$this->options['processingState'] = $processingState;
}
/**
* The processing_state
*
* @param string $processingState The processing_state
* @return $this Fluent Builder
*/
public function setProcessingState(string $processingState): self {
$this->options['processingState'] = $processingState;
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.FetchCallSummaryOptions ' . $options . ']';
}
}