<?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 IdentifierOptions
{

    /**
     * @param bool $removeAll When true, removes every stored value for the identifier type in a single operation. Defaults to false.
     * @return DeleteIdentifierOptions Options builder
     */
    public static function delete(
        
        bool $removeAll = Values::BOOL_NONE

    ): DeleteIdentifierOptions
    {
        return new DeleteIdentifierOptions(
            $removeAll
        );
    }




}


class DeleteIdentifierOptions extends Options
    {
    /**
     * @param bool $removeAll When true, removes every stored value for the identifier type in a single operation. Defaults to false.
     */
    public function __construct(
        
        bool $removeAll = Values::BOOL_NONE

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

    /**
     * When true, removes every stored value for the identifier type in a single operation. Defaults to false.
     *
     * @param bool $removeAll When true, removes every stored value for the identifier type in a single operation. Defaults to false.
     * @return $this Fluent Builder
     */
    public function setRemoveAll(bool $removeAll): self
    {
        $this->options['removeAll'] = $removeAll;
        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.DeleteIdentifierOptions ' . $options . ']';
    }
}




