<?php

namespace \Losc\CucmBundle\Model\Webservice\EnumType;

use \WsdlToPhp\PackageBase\AbstractStructEnumBase;

/**
 * This class stands for XSIPScriptErrorHandling EnumType
 * Meta information extracted from the WSDL
 * - union: string
 * @subpackage Enumerations
 */
class XSIPScriptErrorHandling extends AbstractStructEnumBase
{
    /**
     * Constant for value 'Message Rollback Only'
     * @return string 'Message Rollback Only'
     */
    const VALUE_MESSAGE_ROLLBACK_ONLY = 'Message Rollback Only';
    /**
     * Constant for value 'Disable Script'
     * @return string 'Disable Script'
     */
    const VALUE_DISABLE_SCRIPT = 'Disable Script';
    /**
     * Constant for value 'Reset Script'
     * @return string 'Reset Script'
     */
    const VALUE_RESET_SCRIPT = 'Reset Script';
    /**
     * Constant for value 'Reset Trunk / Restart Device'
     * @return string 'Reset Trunk / Restart Device'
     */
    const VALUE_RESET_TRUNK_RESTART_DEVICE = 'Reset Trunk / Restart Device';
    /**
     * Return allowed values
     * @uses self::VALUE_MESSAGE_ROLLBACK_ONLY
     * @uses self::VALUE_DISABLE_SCRIPT
     * @uses self::VALUE_RESET_SCRIPT
     * @uses self::VALUE_RESET_TRUNK_RESTART_DEVICE
     * @return string[]
     */
    public static function getValidValues()
    {
        return array(
            self::VALUE_MESSAGE_ROLLBACK_ONLY,
            self::VALUE_DISABLE_SCRIPT,
            self::VALUE_RESET_SCRIPT,
            self::VALUE_RESET_TRUNK_RESTART_DEVICE,
        );
    }
}
