<?php

namespace EnumType;

use \WsdlToPhp\PackageBase\AbstractStructEnumBase;

/**
 * This class stands for IssueTrackCode EnumType
 * @subpackage Enumerations
 */
class IssueTrackCode extends AbstractStructEnumBase
{
    /**
     * Constant for value '_never'
     * @return string '_never'
     */
    const VALUE_NEVER = '_never';
    /**
     * Constant for value '_onAnyChange'
     * @return string '_onAnyChange'
     */
    const VALUE_ON_ANY_CHANGE = '_onAnyChange';
    /**
     * Constant for value '_whenBaseStatusIsClosed'
     * @return string '_whenBaseStatusIsClosed'
     */
    const VALUE_WHEN_BASE_STATUS_IS_CLOSED = '_whenBaseStatusIsClosed';
    /**
     * Constant for value '_whenBaseStatusIsOnHold'
     * @return string '_whenBaseStatusIsOnHold'
     */
    const VALUE_WHEN_BASE_STATUS_IS_ON_HOLD = '_whenBaseStatusIsOnHold';
    /**
     * Constant for value '_whenBaseStatusIsOpen'
     * @return string '_whenBaseStatusIsOpen'
     */
    const VALUE_WHEN_BASE_STATUS_IS_OPEN = '_whenBaseStatusIsOpen';
    /**
     * Constant for value '_whenBaseStatusIsResolved'
     * @return string '_whenBaseStatusIsResolved'
     */
    const VALUE_WHEN_BASE_STATUS_IS_RESOLVED = '_whenBaseStatusIsResolved';
    /**
     * Return allowed values
     * @uses self::VALUE_NEVER
     * @uses self::VALUE_ON_ANY_CHANGE
     * @uses self::VALUE_WHEN_BASE_STATUS_IS_CLOSED
     * @uses self::VALUE_WHEN_BASE_STATUS_IS_ON_HOLD
     * @uses self::VALUE_WHEN_BASE_STATUS_IS_OPEN
     * @uses self::VALUE_WHEN_BASE_STATUS_IS_RESOLVED
     * @return string[]
     */
    public static function getValidValues()
    {
        return array(
            self::VALUE_NEVER,
            self::VALUE_ON_ANY_CHANGE,
            self::VALUE_WHEN_BASE_STATUS_IS_CLOSED,
            self::VALUE_WHEN_BASE_STATUS_IS_ON_HOLD,
            self::VALUE_WHEN_BASE_STATUS_IS_OPEN,
            self::VALUE_WHEN_BASE_STATUS_IS_RESOLVED,
        );
    }
}
