<?php
/**
 * This code was generated by
 * ___ _ _ _ _ _    _ ____    ____ ____ _    ____ ____ _  _ ____ ____ ____ ___ __   __
 *  |  | | | | |    | |  | __ |  | |__| | __ | __ |___ |\ | |___ |__/ |__|  | |  | |__/
 *  |  |_|_| | |___ | |__|    |__| |  | |    |__] |___ | \| |___ |  \ |  |  | |__| |  \
 *
 * Twilio Memory API
 * APIs for managing memory stores, profiles, events, and conversational intelligence capabilities.
 *
 * NOTE: This class is auto generated by OpenAPI Generator.
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

namespace Twilio\Rest\Memory\V1;

use Twilio\Options;
use Twilio\Values;

abstract class RecallOptions
{
    /**
     * @param string $acceptEncoding Compression algorithms supported by the client (e.g., gzip, deflate, br)
     * @param string $contentEncoding Compression algorithm used for the request body (e.g., gzip, deflate, br)
     * @return CreateRecallOptions Options builder
     */
    public static function create(
        
        string $acceptEncoding = Values::NONE,
        string $contentEncoding = Values::NONE

    ): CreateRecallOptions
    {
        return new CreateRecallOptions(
            $acceptEncoding,
            $contentEncoding
        );
    }

}

class CreateRecallOptions extends Options
    {
    /**
     * @param string $acceptEncoding Compression algorithms supported by the client (e.g., gzip, deflate, br)
     * @param string $contentEncoding Compression algorithm used for the request body (e.g., gzip, deflate, br)
     */
    public function __construct(
        
        string $acceptEncoding = Values::NONE,
        string $contentEncoding = Values::NONE

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

    /**
     * Compression algorithms supported by the client (e.g., gzip, deflate, br)
     *
     * @param string $acceptEncoding Compression algorithms supported by the client (e.g., gzip, deflate, br)
     * @return $this Fluent Builder
     */
    public function setAcceptEncoding(string $acceptEncoding): self
    {
        $this->options['acceptEncoding'] = $acceptEncoding;
        return $this;
    }

    /**
     * Compression algorithm used for the request body (e.g., gzip, deflate, br)
     *
     * @param string $contentEncoding Compression algorithm used for the request body (e.g., gzip, deflate, br)
     * @return $this Fluent Builder
     */
    public function setContentEncoding(string $contentEncoding): self
    {
        $this->options['contentEncoding'] = $contentEncoding;
        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.Memory.V1.CreateRecallOptions ' . $options . ']';
    }
}

