<?php

namespace Planaday\Config\OptionGroups\General\Api;

use Planaday\Utility\DataGrouping\Enum;

class ApiOptionsEnum extends Enum {
	/** @var string string option */
	public const DOMAIN = 'DOMAIN';

	/** @var string string option */
	public const API_KEY = 'API_KEY';
	public const REFRESH_INTERVAL_COURSES = 'REFRESH_INTERVAL_COURSES';
	public const REFRESH_INTERVAL_DAY_PARTS = 'REFRESH_INTERVAL_DAY_PARTS';
	public const REFRESH_INTERVAL_LOCATIONS = 'REFRESH_INTERVAL_LOCATIONS';
	public const REFRESH_SIZE_COURSES = 'REFRESH_SIZE_COURSES';

	public static function getEnumArray(): array {
		return [
			'DOMAIN' => self::DOMAIN,
			'API_KEY' => self::API_KEY,
			'REFRESH_INTERVAL_COURSES' => self::REFRESH_INTERVAL_COURSES,
			'REFRESH_INTERVAL_DAY_PARTS' => self::REFRESH_INTERVAL_DAY_PARTS,
			'REFRESH_INTERVAL_LOCATIONS' => self::REFRESH_INTERVAL_LOCATIONS,
			'REFRESH_SIZE_COURSES' => self::REFRESH_SIZE_COURSES,
		];
	}
}