/// <summary>
 /// Initializes a new instance of the <see cref="PerformanceIndicatorInputDataReport" /> class.
 /// </summary>
 /// <param name="Name">reflection (default to &quot;&quot;).</param>
 /// <param name="PeriodDate">reflection (default to &quot;&quot;).</param>
 /// <param name="KeyPerformanceIndicatorID">reflection (default to 0).</param>
 /// <param name="Actual">reflection (default to 0.0).</param>
 /// <param name="Budget">reflection (default to 0.0).</param>
 /// <param name="Forecast">reflection (default to 0.0).</param>
 /// <param name="Goal">reflection (default to 0.0).</param>
 /// <param name="Comment">reflection (default to &quot;&quot;).</param>
 /// <param name="CorporateStructureLink">CorporateStructureLink.</param>
 /// <param name="ActualSourceID">reflection (default to 0).</param>
 /// <param name="BudgetSourceID">reflection (default to 0).</param>
 /// <param name="ID">reflection (default to 0).</param>
 public PerformanceIndicatorInputDataReport(string Name = null, string PeriodDate = null, int?KeyPerformanceIndicatorID = null, double?Actual = null, double?Budget = null, double?Forecast = null, double?Goal = null, string Comment = null, CorporateStructureLink CorporateStructureLink = null, int?ActualSourceID = null, int?BudgetSourceID = null, int?ID = null)
 {
     // use default value if no "Name" provided
     if (Name == null)
     {
         this.Name = "";
     }
     else
     {
         this.Name = Name;
     }
     // use default value if no "PeriodDate" provided
     if (PeriodDate == null)
     {
         this.PeriodDate = "";
     }
     else
     {
         this.PeriodDate = PeriodDate;
     }
     // use default value if no "KeyPerformanceIndicatorID" provided
     if (KeyPerformanceIndicatorID == null)
     {
         this.KeyPerformanceIndicatorID = 0;
     }
     else
     {
         this.KeyPerformanceIndicatorID = KeyPerformanceIndicatorID;
     }
     // use default value if no "Actual" provided
     if (Actual == null)
     {
         this.Actual = 0.0;
     }
     else
     {
         this.Actual = Actual;
     }
     // use default value if no "Budget" provided
     if (Budget == null)
     {
         this.Budget = 0.0;
     }
     else
     {
         this.Budget = Budget;
     }
     // use default value if no "Forecast" provided
     if (Forecast == null)
     {
         this.Forecast = 0.0;
     }
     else
     {
         this.Forecast = Forecast;
     }
     // use default value if no "Goal" provided
     if (Goal == null)
     {
         this.Goal = 0.0;
     }
     else
     {
         this.Goal = Goal;
     }
     // use default value if no "Comment" provided
     if (Comment == null)
     {
         this.Comment = "";
     }
     else
     {
         this.Comment = Comment;
     }
     this.CorporateStructureLink = CorporateStructureLink;
     // use default value if no "ActualSourceID" provided
     if (ActualSourceID == null)
     {
         this.ActualSourceID = 0;
     }
     else
     {
         this.ActualSourceID = ActualSourceID;
     }
     // use default value if no "BudgetSourceID" provided
     if (BudgetSourceID == null)
     {
         this.BudgetSourceID = 0;
     }
     else
     {
         this.BudgetSourceID = BudgetSourceID;
     }
     // use default value if no "ID" provided
     if (ID == null)
     {
         this.ID = 0;
     }
     else
     {
         this.ID = ID;
     }
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="PerformanceIndicatorAvailabilityReport" /> class.
 /// </summary>
 /// <param name="ID">reflection (default to &quot;&quot;).</param>
 /// <param name="IndicatorID">reflection (default to 0).</param>
 /// <param name="CorporateStructureLink">CorporateStructureLink.</param>
 /// <param name="ActualPeriods">ActualPeriods.</param>
 /// <param name="BudgetPeriods">BudgetPeriods.</param>
 /// <param name="ForecastPeriods">ForecastPeriods.</param>
 /// <param name="GoalPeriods">GoalPeriods.</param>
 public PerformanceIndicatorAvailabilityReport(string ID = null, int?IndicatorID = null, CorporateStructureLink CorporateStructureLink = null, List <int?> ActualPeriods = null, List <int?> BudgetPeriods = null, List <int?> ForecastPeriods = null, List <int?> GoalPeriods = null)
 {
     // use default value if no "ID" provided
     if (ID == null)
     {
         this.ID = "";
     }
     else
     {
         this.ID = ID;
     }
     // use default value if no "IndicatorID" provided
     if (IndicatorID == null)
     {
         this.IndicatorID = 0;
     }
     else
     {
         this.IndicatorID = IndicatorID;
     }
     this.CorporateStructureLink = CorporateStructureLink;
     this.ActualPeriods          = ActualPeriods;
     this.BudgetPeriods          = BudgetPeriods;
     this.ForecastPeriods        = ForecastPeriods;
     this.GoalPeriods            = GoalPeriods;
 }
예제 #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AutomatedSourceGeneratedNews" /> class.
 /// </summary>
 /// <param name="AutomatedSourceID">reflection (default to 0).</param>
 /// <param name="Date">reflection.</param>
 /// <param name="Description">reflection (default to &quot;&quot;).</param>
 /// <param name="DrillableUri">reflection (default to &quot;&quot;).</param>
 /// <param name="Title">reflection (default to &quot;&quot;).</param>
 /// <param name="CorporateStructureLink">CorporateStructureLink.</param>
 public AutomatedSourceGeneratedNews(int?AutomatedSourceID = null, DateTime?Date = null, string Description = null, string DrillableUri = null, string Title = null, CorporateStructureLink CorporateStructureLink = null)
 {
     // use default value if no "AutomatedSourceID" provided
     if (AutomatedSourceID == null)
     {
         this.AutomatedSourceID = 0;
     }
     else
     {
         this.AutomatedSourceID = AutomatedSourceID;
     }
     this.Date = Date;
     // use default value if no "Description" provided
     if (Description == null)
     {
         this.Description = "";
     }
     else
     {
         this.Description = Description;
     }
     // use default value if no "DrillableUri" provided
     if (DrillableUri == null)
     {
         this.DrillableUri = "";
     }
     else
     {
         this.DrillableUri = DrillableUri;
     }
     // use default value if no "Title" provided
     if (Title == null)
     {
         this.Title = "";
     }
     else
     {
         this.Title = Title;
     }
     this.CorporateStructureLink = CorporateStructureLink;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="PerformanceIndicatorMonthData" /> class.
 /// </summary>
 /// <param name="SelectedYear">reflection (default to 0).</param>
 /// <param name="SelectedMonth">reflection (default to 0).</param>
 /// <param name="KeyPerformanceIndicatorID">reflection (default to 0).</param>
 /// <param name="Actual">reflection (default to 0.0).</param>
 /// <param name="Budget">reflection (default to 0.0).</param>
 /// <param name="Forecast">reflection (default to 0.0).</param>
 /// <param name="Goal">reflection (default to 0.0).</param>
 /// <param name="Comment">reflection (default to &quot;&quot;).</param>
 /// <param name="CorporateStructureLink">CorporateStructureLink.</param>
 /// <param name="ActualSourceID">reflection (default to 0).</param>
 /// <param name="BudgetSourceID">reflection (default to 0).</param>
 /// <param name="ID">reflection (default to 0).</param>
 public PerformanceIndicatorMonthData(int?SelectedYear = null, int?SelectedMonth = null, int?KeyPerformanceIndicatorID = null, double?Actual = null, double?Budget = null, double?Forecast = null, double?Goal = null, string Comment = null, CorporateStructureLink CorporateStructureLink = null, int?ActualSourceID = null, int?BudgetSourceID = null, int?ID = null)
 {
     // use default value if no "SelectedYear" provided
     if (SelectedYear == null)
     {
         this.SelectedYear = 0;
     }
     else
     {
         this.SelectedYear = SelectedYear;
     }
     // use default value if no "SelectedMonth" provided
     if (SelectedMonth == null)
     {
         this.SelectedMonth = 0;
     }
     else
     {
         this.SelectedMonth = SelectedMonth;
     }
     // use default value if no "KeyPerformanceIndicatorID" provided
     if (KeyPerformanceIndicatorID == null)
     {
         this.KeyPerformanceIndicatorID = 0;
     }
     else
     {
         this.KeyPerformanceIndicatorID = KeyPerformanceIndicatorID;
     }
     // use default value if no "Actual" provided
     if (Actual == null)
     {
         this.Actual = 0.0;
     }
     else
     {
         this.Actual = Actual;
     }
     // use default value if no "Budget" provided
     if (Budget == null)
     {
         this.Budget = 0.0;
     }
     else
     {
         this.Budget = Budget;
     }
     // use default value if no "Forecast" provided
     if (Forecast == null)
     {
         this.Forecast = 0.0;
     }
     else
     {
         this.Forecast = Forecast;
     }
     // use default value if no "Goal" provided
     if (Goal == null)
     {
         this.Goal = 0.0;
     }
     else
     {
         this.Goal = Goal;
     }
     // use default value if no "Comment" provided
     if (Comment == null)
     {
         this.Comment = "";
     }
     else
     {
         this.Comment = Comment;
     }
     this.CorporateStructureLink = CorporateStructureLink;
     // use default value if no "ActualSourceID" provided
     if (ActualSourceID == null)
     {
         this.ActualSourceID = 0;
     }
     else
     {
         this.ActualSourceID = ActualSourceID;
     }
     // use default value if no "BudgetSourceID" provided
     if (BudgetSourceID == null)
     {
         this.BudgetSourceID = 0;
     }
     else
     {
         this.BudgetSourceID = BudgetSourceID;
     }
     // use default value if no "ID" provided
     if (ID == null)
     {
         this.ID = 0;
     }
     else
     {
         this.ID = ID;
     }
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="IntegrationPipedriveSettings" /> class.
 /// </summary>
 /// <param name="Added">reflection.</param>
 /// <param name="AddedBy">reflection (default to 0).</param>
 /// <param name="Name">reflection (default to &quot;&quot;).</param>
 /// <param name="RootDomain">reflection (default to &quot;&quot;).</param>
 /// <param name="APIKey">reflection (default to &quot;&quot;).</param>
 /// <param name="ImportOpenDeals">reflection.</param>
 /// <param name="ImportActivities">reflection.</param>
 /// <param name="ImportActivitiesSyncUsers">reflection.</param>
 /// <param name="ImportOpenDealsIndicatorID">reflection.</param>
 /// <param name="ImportActivitiesIndicatorID">reflection.</param>
 /// <param name="CorporateStructureLink">CorporateStructureLink.</param>
 /// <param name="LastSyncTime">reflection.</param>
 /// <param name="ID">reflection (default to 0).</param>
 public IntegrationPipedriveSettings(DateTime?Added = null, int?AddedBy = null, string Name = null, string RootDomain = null, string APIKey = null, bool?ImportOpenDeals = null, bool?ImportActivities = null, bool?ImportActivitiesSyncUsers = null, int?ImportOpenDealsIndicatorID = null, int?ImportActivitiesIndicatorID = null, CorporateStructureLink CorporateStructureLink = null, DateTime?LastSyncTime = null, int?ID = null)
 {
     this.Added = Added;
     // use default value if no "AddedBy" provided
     if (AddedBy == null)
     {
         this.AddedBy = 0;
     }
     else
     {
         this.AddedBy = AddedBy;
     }
     // use default value if no "Name" provided
     if (Name == null)
     {
         this.Name = "";
     }
     else
     {
         this.Name = Name;
     }
     // use default value if no "RootDomain" provided
     if (RootDomain == null)
     {
         this.RootDomain = "";
     }
     else
     {
         this.RootDomain = RootDomain;
     }
     // use default value if no "APIKey" provided
     if (APIKey == null)
     {
         this.APIKey = "";
     }
     else
     {
         this.APIKey = APIKey;
     }
     this.ImportOpenDeals             = ImportOpenDeals;
     this.ImportActivities            = ImportActivities;
     this.ImportActivitiesSyncUsers   = ImportActivitiesSyncUsers;
     this.ImportOpenDealsIndicatorID  = ImportOpenDealsIndicatorID;
     this.ImportActivitiesIndicatorID = ImportActivitiesIndicatorID;
     this.CorporateStructureLink      = CorporateStructureLink;
     this.LastSyncTime = LastSyncTime;
     // use default value if no "ID" provided
     if (ID == null)
     {
         this.ID = 0;
     }
     else
     {
         this.ID = ID;
     }
 }
예제 #6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PerformanceIndicatorReport" /> class.
 /// </summary>
 /// <param name="ID">reflection (default to &quot;&quot;).</param>
 /// <param name="IndicatorID">reflection (default to 0).</param>
 /// <param name="Name">reflection (default to &quot;&quot;).</param>
 /// <param name="PerformancePerspectiveGroupID">reflection (default to 0).</param>
 /// <param name="DataNatureID">reflection (default to 0).</param>
 /// <param name="Identifier">reflection (default to &quot;&quot;).</param>
 /// <param name="Formula">reflection (default to &quot;&quot;).</param>
 /// <param name="Period">reflection (default to 0).</param>
 /// <param name="CorporateStructureLink">CorporateStructureLink.</param>
 /// <param name="HasActual">reflection (default to false).</param>
 /// <param name="HasBudget">reflection (default to false).</param>
 /// <param name="HasForecast">reflection (default to false).</param>
 /// <param name="HasGoal">reflection (default to false).</param>
 /// <param name="LastActualUpdate">reflection.</param>
 /// <param name="Data">Data.</param>
 public PerformanceIndicatorReport(string ID = null, int?IndicatorID = null, string Name = null, int?PerformancePerspectiveGroupID = null, int?DataNatureID = null, string Identifier = null, string Formula = null, int?Period = null, CorporateStructureLink CorporateStructureLink = null, bool?HasActual = null, bool?HasBudget = null, bool?HasForecast = null, bool?HasGoal = null, DateTime?LastActualUpdate = null, List <PerformanceIndicatorDataReport> Data = null)
 {
     // use default value if no "ID" provided
     if (ID == null)
     {
         this.ID = "";
     }
     else
     {
         this.ID = ID;
     }
     // use default value if no "IndicatorID" provided
     if (IndicatorID == null)
     {
         this.IndicatorID = 0;
     }
     else
     {
         this.IndicatorID = IndicatorID;
     }
     // use default value if no "Name" provided
     if (Name == null)
     {
         this.Name = "";
     }
     else
     {
         this.Name = Name;
     }
     // use default value if no "PerformancePerspectiveGroupID" provided
     if (PerformancePerspectiveGroupID == null)
     {
         this.PerformancePerspectiveGroupID = 0;
     }
     else
     {
         this.PerformancePerspectiveGroupID = PerformancePerspectiveGroupID;
     }
     // use default value if no "DataNatureID" provided
     if (DataNatureID == null)
     {
         this.DataNatureID = 0;
     }
     else
     {
         this.DataNatureID = DataNatureID;
     }
     // use default value if no "Identifier" provided
     if (Identifier == null)
     {
         this.Identifier = "";
     }
     else
     {
         this.Identifier = Identifier;
     }
     // use default value if no "Formula" provided
     if (Formula == null)
     {
         this.Formula = "";
     }
     else
     {
         this.Formula = Formula;
     }
     // use default value if no "Period" provided
     if (Period == null)
     {
         this.Period = 0;
     }
     else
     {
         this.Period = Period;
     }
     this.CorporateStructureLink = CorporateStructureLink;
     // use default value if no "HasActual" provided
     if (HasActual == null)
     {
         this.HasActual = false;
     }
     else
     {
         this.HasActual = HasActual;
     }
     // use default value if no "HasBudget" provided
     if (HasBudget == null)
     {
         this.HasBudget = false;
     }
     else
     {
         this.HasBudget = HasBudget;
     }
     // use default value if no "HasForecast" provided
     if (HasForecast == null)
     {
         this.HasForecast = false;
     }
     else
     {
         this.HasForecast = HasForecast;
     }
     // use default value if no "HasGoal" provided
     if (HasGoal == null)
     {
         this.HasGoal = false;
     }
     else
     {
         this.HasGoal = HasGoal;
     }
     this.LastActualUpdate = LastActualUpdate;
     this.Data             = Data;
 }
예제 #7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="IntegrationPipedriveSettingsPipeline" /> class.
 /// </summary>
 /// <param name="SettingsID">reflection (default to 0).</param>
 /// <param name="Name">reflection (default to &quot;&quot;).</param>
 /// <param name="ExternalPipelineID">reflection.</param>
 /// <param name="ImportLossDealCount">reflection (default to false).</param>
 /// <param name="ImportLossDealCountIndicatorID">reflection.</param>
 /// <param name="ImportLossDealSum">reflection (default to false).</param>
 /// <param name="ImportLossDealSumIndicatorID">reflection.</param>
 /// <param name="ImportWinDealCount">reflection (default to false).</param>
 /// <param name="ImportWinDealCountIndicatorID">reflection.</param>
 /// <param name="ImportWinDealSum">reflection (default to false).</param>
 /// <param name="ImportWinDealSumIndicatorID">reflection.</param>
 /// <param name="CorporateStructureLink">CorporateStructureLink.</param>
 /// <param name="ID">reflection (default to 0).</param>
 public IntegrationPipedriveSettingsPipeline(int?SettingsID = null, string Name = null, int?ExternalPipelineID = null, bool?ImportLossDealCount = null, int?ImportLossDealCountIndicatorID = null, bool?ImportLossDealSum = null, int?ImportLossDealSumIndicatorID = null, bool?ImportWinDealCount = null, int?ImportWinDealCountIndicatorID = null, bool?ImportWinDealSum = null, int?ImportWinDealSumIndicatorID = null, CorporateStructureLink CorporateStructureLink = null, int?ID = null)
 {
     // use default value if no "SettingsID" provided
     if (SettingsID == null)
     {
         this.SettingsID = 0;
     }
     else
     {
         this.SettingsID = SettingsID;
     }
     // use default value if no "Name" provided
     if (Name == null)
     {
         this.Name = "";
     }
     else
     {
         this.Name = Name;
     }
     this.ExternalPipelineID = ExternalPipelineID;
     // use default value if no "ImportLossDealCount" provided
     if (ImportLossDealCount == null)
     {
         this.ImportLossDealCount = false;
     }
     else
     {
         this.ImportLossDealCount = ImportLossDealCount;
     }
     this.ImportLossDealCountIndicatorID = ImportLossDealCountIndicatorID;
     // use default value if no "ImportLossDealSum" provided
     if (ImportLossDealSum == null)
     {
         this.ImportLossDealSum = false;
     }
     else
     {
         this.ImportLossDealSum = ImportLossDealSum;
     }
     this.ImportLossDealSumIndicatorID = ImportLossDealSumIndicatorID;
     // use default value if no "ImportWinDealCount" provided
     if (ImportWinDealCount == null)
     {
         this.ImportWinDealCount = false;
     }
     else
     {
         this.ImportWinDealCount = ImportWinDealCount;
     }
     this.ImportWinDealCountIndicatorID = ImportWinDealCountIndicatorID;
     // use default value if no "ImportWinDealSum" provided
     if (ImportWinDealSum == null)
     {
         this.ImportWinDealSum = false;
     }
     else
     {
         this.ImportWinDealSum = ImportWinDealSum;
     }
     this.ImportWinDealSumIndicatorID = ImportWinDealSumIndicatorID;
     this.CorporateStructureLink      = CorporateStructureLink;
     // use default value if no "ID" provided
     if (ID == null)
     {
         this.ID = 0;
     }
     else
     {
         this.ID = ID;
     }
 }