<?php

declare(strict_types=1);

namespace AmazonPHP\SellingPartner\Model\Services;

/**
 * Selling Partner API for Services.
 *
 * With the Services API, you can build applications that help service providers get and modify their service orders and manage their resources.
 *
 * The version of the OpenAPI document: v1
 *
 * 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 DayOfWeek
{
    /**
     * Possible values of this enum.
     */
    final public const MONDAY = 'MONDAY';

    final public const TUESDAY = 'TUESDAY';

    final public const WEDNESDAY = 'WEDNESDAY';

    final public const THURSDAY = 'THURSDAY';

    final public const FRIDAY = 'FRIDAY';

    final public const SATURDAY = 'SATURDAY';

    final public const SUNDAY = 'SUNDAY';

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

    /**
     * Gets allowable values of the enum.
     *
     * @return string[]
     */
    public static function getAllowableEnumValues() : array
    {
        return [
            self::MONDAY,
            self::TUESDAY,
            self::WEDNESDAY,
            self::THURSDAY,
            self::FRIDAY,
            self::SATURDAY,
            self::SUNDAY,
        ];
    }

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