<?php

declare(strict_types=1);

namespace AmazonPHP\SellingPartner\Model\APlus;

/**
 * Selling Partner API for A+ Content Management.
 *
 * With the A+ Content API, you can build applications that help selling partners add rich marketing content to their Amazon product detail pages. A+ content helps selling partners share their brand and product story, which helps buyers make informed purchasing decisions. Selling partners assemble content by choosing from content modules and adding images and text.
 *
 * The version of the OpenAPI document: 2020-11-01
 *
 * This class was auto-generated by https://openapi-generator.tech
 * Do not change it, it will be overwritten with next execution of /bin/generate.sh
 */
class DecoratorType
{
    /**
     * Possible values of this enum.
     */
    final public const LIST_ITEM = 'LIST_ITEM';

    final public const LIST_ORDERED = 'LIST_ORDERED';

    final public const LIST_UNORDERED = 'LIST_UNORDERED';

    final public const STYLE_BOLD = 'STYLE_BOLD';

    final public const STYLE_ITALIC = 'STYLE_ITALIC';

    final public const STYLE_LINEBREAK = 'STYLE_LINEBREAK';

    final public const STYLE_PARAGRAPH = 'STYLE_PARAGRAPH';

    final public const STYLE_UNDERLINE = 'STYLE_UNDERLINE';

    public function __construct(private readonly string $value)
    {
    }

    /**
     * Gets allowable values of the enum.
     *
     * @return string[]
     */
    public static function getAllowableEnumValues() : array
    {
        return [
            self::LIST_ITEM,
            self::LIST_ORDERED,
            self::LIST_UNORDERED,
            self::STYLE_BOLD,
            self::STYLE_ITALIC,
            self::STYLE_LINEBREAK,
            self::STYLE_PARAGRAPH,
            self::STYLE_UNDERLINE,
        ];
    }

    public function toString() : string
    {
        return $this->value;
    }
}
