<?php

namespace CustomerManagement\EnumType;

/**
 * This class stands for GsmBandSelectionEnum EnumType
 * @subpackage Enumerations
 */
class GsmBandSelectionEnum
{
    /**
     * Constant for value 'AutoSelection'
     * @return string 'AutoSelection'
     */
    const VALUE_AUTO_SELECTION = 'AutoSelection';
    /**
     * Constant for value 'f1900MHz'
     * @return string 'f1900MHz'
     */
    const VALUE_F_1900_MHZ = 'f1900MHz';
    /**
     * Constant for value 'f850MHz'
     * @return string 'f850MHz'
     */
    const VALUE_F_850_MHZ = 'f850MHz';
    /**
     * Constant for value 'DualBand'
     * @return string 'DualBand'
     */
    const VALUE_DUAL_BAND = 'DualBand';
    /**
     * Constant for value 'QuadBand'
     * @return string 'QuadBand'
     */
    const VALUE_QUAD_BAND = 'QuadBand';
    /**
     * Constant for value 'InternalAutoSelection'
     * @return string 'InternalAutoSelection'
     */
    const VALUE_INTERNAL_AUTO_SELECTION = 'InternalAutoSelection';
    /**
     * Constant for value 'InternalF1900MHz'
     * @return string 'InternalF1900MHz'
     */
    const VALUE_INTERNAL_F_1900_MHZ = 'InternalF1900MHz';
    /**
     * Constant for value 'InternalF850MHz'
     * @return string 'InternalF850MHz'
     */
    const VALUE_INTERNAL_F_850_MHZ = 'InternalF850MHz';
    /**
     * Constant for value 'InternalDualBand'
     * @return string 'InternalDualBand'
     */
    const VALUE_INTERNAL_DUAL_BAND = 'InternalDualBand';
    /**
     * Constant for value 'InternalQuadBand'
     * @return string 'InternalQuadBand'
     */
    const VALUE_INTERNAL_QUAD_BAND = 'InternalQuadBand';
    /**
     * 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_AUTO_SELECTION
     * @uses self::VALUE_F_1900_MHZ
     * @uses self::VALUE_F_850_MHZ
     * @uses self::VALUE_DUAL_BAND
     * @uses self::VALUE_QUAD_BAND
     * @uses self::VALUE_INTERNAL_AUTO_SELECTION
     * @uses self::VALUE_INTERNAL_F_1900_MHZ
     * @uses self::VALUE_INTERNAL_F_850_MHZ
     * @uses self::VALUE_INTERNAL_DUAL_BAND
     * @uses self::VALUE_INTERNAL_QUAD_BAND
     * @return string[]
     */
    public static function getValidValues()
    {
        return array(
            self::VALUE_AUTO_SELECTION,
            self::VALUE_F_1900_MHZ,
            self::VALUE_F_850_MHZ,
            self::VALUE_DUAL_BAND,
            self::VALUE_QUAD_BAND,
            self::VALUE_INTERNAL_AUTO_SELECTION,
            self::VALUE_INTERNAL_F_1900_MHZ,
            self::VALUE_INTERNAL_F_850_MHZ,
            self::VALUE_INTERNAL_DUAL_BAND,
            self::VALUE_INTERNAL_QUAD_BAND,
        );
    }
    /**
     * Method returning the class name
     * @return string __CLASS__
     */
    public function __toString()
    {
        return __CLASS__;
    }
}
