<?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;

use Twilio\Options;
use Twilio\Values;

abstract class OperatorTypeOptions
{

    /**
     * @param string $languageCode Returns Operator Types that support the provided language code.
     * @return ReadOperatorTypeOptions Options builder
     */
    public static function read(
        
        string $languageCode = Values::NONE

    ): ReadOperatorTypeOptions
    {
        return new ReadOperatorTypeOptions(
            $languageCode
        );
    }

}


class ReadOperatorTypeOptions extends Options
    {
    /**
     * @param string $languageCode Returns Operator Types that support the provided language code.
     */
    public function __construct(
        
        string $languageCode = Values::NONE

    ) {
        $this->options['languageCode'] = $languageCode;
    }

    /**
     * Returns Operator Types that support the provided language code.
     *
     * @param string $languageCode Returns Operator Types that support the provided language code.
     * @return $this Fluent Builder
     */
    public function setLanguageCode(string $languageCode): self
    {
        $this->options['languageCode'] = $languageCode;
        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.ReadOperatorTypeOptions ' . $options . ']';
    }
}

