public Protocols.Support.GetCaseTimeAndExpensesResultProtocol GetCaseTimeAndExpenses(Protocols.Support.GetCaseTimeAndExpensesSetupProtocol setupParam)
        {
            ClarifySession session = Global.GetSession( AuthHeader );
            FChoice.Toolkits.Clarify.Support.SupportToolkit toolkit = new FChoice.Toolkits.Clarify.Support.SupportToolkit( session );
            FChoice.Toolkits.Clarify.Support.GetCaseTimeAndExpensesSetup setup;

            switch( setupParam.ConstructorCue )
            {
                case 0:
                    setup = new FChoice.Toolkits.Clarify.Support.GetCaseTimeAndExpensesSetup(setupParam.CaseIDNum);
                    break;
                default:
                    throw new InvalidOperationException(string.Format("Constructor index '{0}' does not exist.", setupParam.ConstructorCue));
            }

            if( Global.IsPropertyDirty(1, setupParam.DirtyFieldFlags) )
            {
                setup.CaseIDNum = setupParam.CaseIDNum;
            }

            return new Protocols.Support.GetCaseTimeAndExpensesResultProtocol( toolkit.GetCaseTimeAndExpenses(setup) );
        }
        public Protocols.Support.GetCaseTimeAndExpensesResultProtocol GetCaseTimeAndExpenses(System.String caseIDNum)
        {
            ClarifySession session = Global.GetSession( AuthHeader );
            FChoice.Toolkits.Clarify.Support.SupportToolkit toolkit = new FChoice.Toolkits.Clarify.Support.SupportToolkit( session );

            return new Protocols.Support.GetCaseTimeAndExpensesResultProtocol( toolkit.GetCaseTimeAndExpenses(caseIDNum) );
        }