Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
peripherad
/
vendor
/
twilio
/
sdk
/
src
/
Twilio
/
Rest
/
Intelligence
/
V2
/
Transcript
:
OperatorResultOptions.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php /** * This code was generated by * ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __ * | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/ * | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \ * * Twilio - Intelligence * 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\Intelligence\V2\Transcript; use Twilio\Options; use Twilio\Values; abstract class OperatorResultOptions { /** * @param bool $redacted Grant access to PII redacted/unredacted Language Understanding operator. If redaction is enabled, the default is True. * @return FetchOperatorResultOptions Options builder */ public static function fetch( bool $redacted = Values::BOOL_NONE ): FetchOperatorResultOptions { return new FetchOperatorResultOptions( $redacted ); } /** * @param bool $redacted Grant access to PII redacted/unredacted Language Understanding operator. If redaction is enabled, the default is True. * @return ReadOperatorResultOptions Options builder */ public static function read( bool $redacted = Values::BOOL_NONE ): ReadOperatorResultOptions { return new ReadOperatorResultOptions( $redacted ); } } class FetchOperatorResultOptions extends Options { /** * @param bool $redacted Grant access to PII redacted/unredacted Language Understanding operator. If redaction is enabled, the default is True. */ public function __construct( bool $redacted = Values::BOOL_NONE ) { $this->options['redacted'] = $redacted; } /** * Grant access to PII redacted/unredacted Language Understanding operator. If redaction is enabled, the default is True. * * @param bool $redacted Grant access to PII redacted/unredacted Language Understanding operator. If redaction is enabled, the default is True. * @return $this Fluent Builder */ public function setRedacted(bool $redacted): self { $this->options['redacted'] = $redacted; 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.Intelligence.V2.FetchOperatorResultOptions ' . $options . ']'; } } class ReadOperatorResultOptions extends Options { /** * @param bool $redacted Grant access to PII redacted/unredacted Language Understanding operator. If redaction is enabled, the default is True. */ public function __construct( bool $redacted = Values::BOOL_NONE ) { $this->options['redacted'] = $redacted; } /** * Grant access to PII redacted/unredacted Language Understanding operator. If redaction is enabled, the default is True. * * @param bool $redacted Grant access to PII redacted/unredacted Language Understanding operator. If redaction is enabled, the default is True. * @return $this Fluent Builder */ public function setRedacted(bool $redacted): self { $this->options['redacted'] = $redacted; 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.Intelligence.V2.ReadOperatorResultOptions ' . $options . ']'; } }