<?php

namespace CustomerManagement\EnumType;

/**
 * This class stands for PackageGroupEnum EnumType
 * @subpackage Enumerations
 */
class PackageGroupEnum
{
    /**
     * Constant for value 'NotSet'
     * @return string 'NotSet'
     */
    const VALUE_NOT_SET = 'NotSet';
    /**
     * Constant for value 'WSF'
     * @return string 'WSF'
     */
    const VALUE_WSF = 'WSF';
    /**
     * Constant for value 'BI'
     * @return string 'BI'
     */
    const VALUE_BI = 'BI';
    /**
     * Constant for value 'AI'
     * @return string 'AI'
     */
    const VALUE_AI = 'AI';
    /**
     * Constant for value 'VideoOnly'
     * @return string 'VideoOnly'
     */
    const VALUE_VIDEO_ONLY = 'VideoOnly';
    /**
     * Constant for value 'NoEquipment'
     * @return string 'NoEquipment'
     */
    const VALUE_NO_EQUIPMENT = 'NoEquipment';
    /**
     * Constant for value 'NonSecurityHub'
     * @return string 'NonSecurityHub'
     */
    const VALUE_NON_SECURITY_HUB = 'NonSecurityHub';
    /**
     * Constant for value 'SmartBuildingAutomation'
     * @return string 'SmartBuildingAutomation'
     */
    const VALUE_SMART_BUILDING_AUTOMATION = 'SmartBuildingAutomation';
    /**
     * Constant for value 'InterimPlans'
     * @return string 'InterimPlans'
     */
    const VALUE_INTERIM_PLANS = 'InterimPlans';
    /**
     * Return true if value is allowed
     * @uses self::getValidValues()
     * @param mixed $value value
     * @return bool true|false
     */
    public static function valueIsValid($value)
    {
        return ($value === null) || in_array($value, self::getValidValues(), true);
    }
    /**
     * Return allowed values
     * @uses self::VALUE_NOT_SET
     * @uses self::VALUE_WSF
     * @uses self::VALUE_BI
     * @uses self::VALUE_AI
     * @uses self::VALUE_VIDEO_ONLY
     * @uses self::VALUE_NO_EQUIPMENT
     * @uses self::VALUE_NON_SECURITY_HUB
     * @uses self::VALUE_SMART_BUILDING_AUTOMATION
     * @uses self::VALUE_INTERIM_PLANS
     * @return string[]
     */
    public static function getValidValues()
    {
        return array(
            self::VALUE_NOT_SET,
            self::VALUE_WSF,
            self::VALUE_BI,
            self::VALUE_AI,
            self::VALUE_VIDEO_ONLY,
            self::VALUE_NO_EQUIPMENT,
            self::VALUE_NON_SECURITY_HUB,
            self::VALUE_SMART_BUILDING_AUTOMATION,
            self::VALUE_INTERIM_PLANS,
        );
    }
    /**
     * Method returning the class name
     * @return string __CLASS__
     */
    public function __toString()
    {
        return __CLASS__;
    }
}
