<?php

namespace patest\EnumType;

use \WsdlToPhp\PackageBase\AbstractStructEnumBase;

/**
 * This class stands for EventsOverlapPolicy EnumType
 * Meta information extracted from the WSDL
 * - nillable: true
 * - type: tns:EventsOverlapPolicy
 * @subpackage Enumerations
 */
class EventsOverlapPolicy extends AbstractStructEnumBase
{
    /**
     * Constant for value 'UseCompanyDefault'
     * @return string 'UseCompanyDefault'
     */
    const VALUE_USE_COMPANY_DEFAULT = 'UseCompanyDefault';
    /**
     * Constant for value 'DontAllow'
     * @return string 'DontAllow'
     */
    const VALUE_DONT_ALLOW = 'DontAllow';
    /**
     * Constant for value 'Allow'
     * @return string 'Allow'
     */
    const VALUE_ALLOW = 'Allow';
    /**
     * Return allowed values
     * @uses self::VALUE_USE_COMPANY_DEFAULT
     * @uses self::VALUE_DONT_ALLOW
     * @uses self::VALUE_ALLOW
     * @return string[]
     */
    public static function getValidValues()
    {
        return array(
            self::VALUE_USE_COMPANY_DEFAULT,
            self::VALUE_DONT_ALLOW,
            self::VALUE_ALLOW,
        );
    }
}
