<?php

namespace patest\EnumType;

use \WsdlToPhp\PackageBase\AbstractStructEnumBase;

/**
 * This class stands for SerialPortStopBits EnumType
 * Meta information extracted from the WSDL
 * - nillable: true
 * - type: tns:SerialPortStopBits
 * @subpackage Enumerations
 */
class SerialPortStopBits extends AbstractStructEnumBase
{
    /**
     * Constant for value 'None'
     * @return string 'None'
     */
    const VALUE_NONE = 'None';
    /**
     * Constant for value 'One'
     * @return string 'One'
     */
    const VALUE_ONE = 'One';
    /**
     * Constant for value 'Two'
     * @return string 'Two'
     */
    const VALUE_TWO = 'Two';
    /**
     * Constant for value 'OnePointFive'
     * @return string 'OnePointFive'
     */
    const VALUE_ONE_POINT_FIVE = 'OnePointFive';
    /**
     * Return allowed values
     * @uses self::VALUE_NONE
     * @uses self::VALUE_ONE
     * @uses self::VALUE_TWO
     * @uses self::VALUE_ONE_POINT_FIVE
     * @return string[]
     */
    public static function getValidValues()
    {
        return array(
            self::VALUE_NONE,
            self::VALUE_ONE,
            self::VALUE_TWO,
            self::VALUE_ONE_POINT_FIVE,
        );
    }
}
