<?php
//
// Copyright (c) ZeroC, Inc. All rights reserved.
//
//
// Ice version 3.7.2
//
// <auto-generated>
//
// Generated from file `Rule.ice'
//
// Warning: do not edit this file.
//
// </auto-generated>
//


namespace
{
    require_once 'Config.php';
    require_once 'Destroyable.php';
    require_once 'Telephony/Forwarding/Timetable.php';
    require_once 'Telephony/Forwarding/Number.php';
}

namespace Smartswitch\Telephony\Forwarding
{
    global $Smartswitch_Telephony_Forwarding__t_Rule;
    global $Smartswitch_Telephony_Forwarding__t_RulePrx;

    class RulePrxHelper
    {
        public static function checkedCast($proxy, $facetOrContext=null, $context=null)
        {
            return $proxy->ice_checkedCast('::Smartswitch::Telephony::Forwarding::Rule', $facetOrContext, $context);
        }

        public static function uncheckedCast($proxy, $facet=null)
        {
            return $proxy->ice_uncheckedCast('::Smartswitch::Telephony::Forwarding::Rule', $facet);
        }

        public static function ice_staticId()
        {
            return '::Smartswitch::Telephony::Forwarding::Rule';
        }
    }
    $Smartswitch_Telephony_Forwarding__t_Rule = IcePHP_defineClass('::Smartswitch::Telephony::Forwarding::Rule', '\\Smartswitch\\Telephony\\Forwarding\\Rule', -1, false, true, null, null);

    global $Ice__t_ObjectPrx;
    $Smartswitch_Telephony_Forwarding__t_RulePrx = IcePHP_defineProxy('::Smartswitch::Telephony::Forwarding::Rule', $Ice__t_ObjectPrx, array($Smartswitch__t_DestroyablePrx));

    global $IcePHP__t_string;
    global $Smartswitch_Telephony_Forwarding__t_TimetablePrx;
    global $Smartswitch_Telephony_Forwarding__t_NumberSequence;
    global $Smartswitch_Telephony_Forwarding__t_NumberPrx;
    IcePHP_defineOperation($Smartswitch_Telephony_Forwarding__t_RulePrx, 'getCallerIdPattern', 2, 2, 0, null, null, array($IcePHP__t_string), null);
    IcePHP_defineOperation($Smartswitch_Telephony_Forwarding__t_RulePrx, 'setCallerIdPattern', 2, 2, 0, array(array($IcePHP__t_string)), null, null, null);
    IcePHP_defineOperation($Smartswitch_Telephony_Forwarding__t_RulePrx, 'getCalleeIdPattern', 2, 2, 0, null, null, array($IcePHP__t_string), null);
    IcePHP_defineOperation($Smartswitch_Telephony_Forwarding__t_RulePrx, 'setCalleeIdPattern', 2, 2, 0, array(array($IcePHP__t_string)), null, null, null);
    IcePHP_defineOperation($Smartswitch_Telephony_Forwarding__t_RulePrx, 'getTimetable', 0, 0, 0, null, null, array($Smartswitch_Telephony_Forwarding__t_TimetablePrx), null);
    IcePHP_defineOperation($Smartswitch_Telephony_Forwarding__t_RulePrx, 'getNumbers', 0, 0, 0, null, null, array($Smartswitch_Telephony_Forwarding__t_NumberSequence), null);
    IcePHP_defineOperation($Smartswitch_Telephony_Forwarding__t_RulePrx, 'addNumber', 0, 0, 0, array(array($IcePHP__t_string)), null, array($Smartswitch_Telephony_Forwarding__t_NumberPrx), array($Smartswitch__t_EmptyArgumentException));
    IcePHP_defineOperation($Smartswitch_Telephony_Forwarding__t_RulePrx, 'remove', 0, 0, 0, null, null, null, null);
}

namespace Smartswitch\Telephony\Forwarding
{
    global $Smartswitch_Telephony_Forwarding__t_RuleSequence;

    if(!isset($Smartswitch_Telephony_Forwarding__t_RuleSequence))
    {
        global $Smartswitch_Telephony_Forwarding__t_RulePrx;
        $Smartswitch_Telephony_Forwarding__t_RuleSequence = IcePHP_defineSequence('::Smartswitch::Telephony::Forwarding::RuleSequence', $Smartswitch_Telephony_Forwarding__t_RulePrx);
    }
}
?>
