<?php
/**
 * This code was generated by
 * ___ _ _ _ _ _    _ ____    ____ ____ _    ____ ____ _  _ ____ ____ ____ ___ __   __
 *  |  | | | | |    | |  | __ |  | |__| | __ | __ |___ |\ | |___ |__/ |__|  | |  | |__/
 *  |  |_|_| | |___ | |__|    |__| |  | |    |__] |___ | \| |___ |  \ |  |  | |__| |  \
 *
 * Twilio - Numbers
 * 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\Numbers\V1;

use Twilio\Values;
abstract class EmbeddedSessionModels
{
    /**
     * @property string $themeSetId Theme ID for the Compliance Embeddable UI. Overrides the theme set during registration creation.
    */
    public static function createNumbersV1CreateEmbeddedSessionRequest(array $payload = []): NumbersV1CreateEmbeddedSessionRequest
    {
        return new NumbersV1CreateEmbeddedSessionRequest($payload);
    }

}

class NumbersV1CreateEmbeddedSessionRequest implements \JsonSerializable
{
    /**
     * @property string $themeSetId Theme ID for the Compliance Embeddable UI. Overrides the theme set during registration creation.
    */
        protected $themeSetId;
    public function __construct(array $payload = []) {
        $this->themeSetId = Values::array_get($payload, 'themeSetId');
    }

    public function toArray(): array
    {
        return $this->jsonSerialize();
    }

    public function jsonSerialize(): array
    {
        $jsonString = [
        ];
        if (isset($this->themeSetId)) {
            $jsonString['themeSetId'] = $this->themeSetId;
        }
        return $jsonString;
    }
}

