<?php

/**
 * This code was generated by
 * \ / _    _  _|   _  _
 * | (_)\/(_)(_|\/| |(/_  v1.0.0
 * /       /
 */

namespace Twilio\Rest\Supersim\V1;

use Twilio\Options;
use Twilio\Values;

/**
 * PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.
 */
abstract class SettingsUpdateOptions {
    /**
     * @param string $sim Filter the Settings Updates by Super SIM
     * @return ReadSettingsUpdateOptions Options builder
     */
    public static function read(string $sim = Values::NONE): ReadSettingsUpdateOptions {
        return new ReadSettingsUpdateOptions($sim);
    }
}

class ReadSettingsUpdateOptions extends Options {
    /**
     * @param string $sim Filter the Settings Updates by Super SIM
     */
    public function __construct(string $sim = Values::NONE) {
        $this->options['sim'] = $sim;
    }

    /**
     * Filter the Settings Updates by a Super SIM's SID or UniqueName.
     *
     * @param string $sim Filter the Settings Updates by Super SIM
     * @return $this Fluent Builder
     */
    public function setSim(string $sim): self {
        $this->options['sim'] = $sim;
        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.Supersim.V1.ReadSettingsUpdateOptions ' . $options . ']';
    }
}