<?php

namespace patest\EnumType;

use \WsdlToPhp\PackageBase\AbstractStructEnumBase;

/**
 * This class stands for SerialPortParity EnumType
 * Meta information extracted from the WSDL
 * - nillable: true
 * - type: tns:SerialPortParity
 * @subpackage Enumerations
 */
class SerialPortParity extends AbstractStructEnumBase
{
    /**
     * Constant for value 'None'
     * @return string 'None'
     */
    const VALUE_NONE = 'None';
    /**
     * Constant for value 'Odd'
     * @return string 'Odd'
     */
    const VALUE_ODD = 'Odd';
    /**
     * Constant for value 'Even'
     * @return string 'Even'
     */
    const VALUE_EVEN = 'Even';
    /**
     * Constant for value 'Mark'
     * @return string 'Mark'
     */
    const VALUE_MARK = 'Mark';
    /**
     * Constant for value 'Space'
     * @return string 'Space'
     */
    const VALUE_SPACE = 'Space';
    /**
     * Return allowed values
     * @uses self::VALUE_NONE
     * @uses self::VALUE_ODD
     * @uses self::VALUE_EVEN
     * @uses self::VALUE_MARK
     * @uses self::VALUE_SPACE
     * @return string[]
     */
    public static function getValidValues()
    {
        return array(
            self::VALUE_NONE,
            self::VALUE_ODD,
            self::VALUE_EVEN,
            self::VALUE_MARK,
            self::VALUE_SPACE,
        );
    }
}
