<?php

/**
 * Period.
 *
 * PHP version 8.1
 *
 * @category Class
 *
 * @author   OpenAPI Generator team
 *
 * @see     https://openapi-generator.tech
 */

/**
 * Binance Derivatives Trading USDS Futures REST API.
 *
 * OpenAPI Specification for the Binance Derivatives Trading USDS Futures REST API
 *
 * The version of the OpenAPI document: 1.0.0
 * Generated by: https://openapi-generator.tech
 * Generator version: 7.12.0
 */

/**
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

namespace Binance\Client\DerivativesTradingUsdsFutures\Model;

/**
 * Period Class Doc Comment.
 *
 * @category Class
 *
 * @author   OpenAPI Generator team
 *
 * @see     https://openapi-generator.tech
 */
enum Period: string
{
    /**
     * Possible values of this enum.
     */
    case PERIOD_5M = '5m';

    case PERIOD_15M = '15m';

    case PERIOD_30M = '30m';

    case PERIOD_1H = '1h';

    case PERIOD_2H = '2h';

    case PERIOD_4H = '4h';

    case PERIOD_6H = '6h';

    case PERIOD_12H = '12h';

    case PERIOD_1D = '1d';

    /**
     * Gets allowable values of the enum.
     *
     * @return string[]
     */
    public static function getAllowableEnumValues()
    {
        return [
            self::PERIOD_5M,
            self::PERIOD_15M,
            self::PERIOD_30M,
            self::PERIOD_1H,
            self::PERIOD_2H,
            self::PERIOD_4H,
            self::PERIOD_6H,
            self::PERIOD_12H,
            self::PERIOD_1D,
        ];
    }
}
