/// <summary> /// Initializes a new instance of the <see cref="PACalculationParameters" /> class. /// </summary> /// <param name="componentid">The PA Engine component identifier to analyze. (required).</param> /// <param name="accounts">List of accounts..</param> /// <param name="benchmarks">List of benchmarks..</param> /// <param name="dates">dates.</param> /// <param name="groups">List of groupings for the PA calculation. This will take precedence over the groupings saved in the PA document..</param> /// <param name="currencyisocode">Currency ISO code for calculation..</param> /// <param name="columns">List of columns for the PA calculation. This will take precedence over the columns saved in the PA document..</param> /// <param name="componentdetail">Component detail type for the PA component. It can be GROUPS or TOTALS..</param> public PACalculationParameters(string componentid = default(string), List <PAIdentifier> accounts = default(List <PAIdentifier>), List <PAIdentifier> benchmarks = default(List <PAIdentifier>), PADateParameters dates = default(PADateParameters), List <PACalculationGroup> groups = default(List <PACalculationGroup>), string currencyisocode = default(string), List <PACalculationColumn> columns = default(List <PACalculationColumn>), string componentdetail = default(string)) { // to ensure "componentid" is required (not null) this.Componentid = componentid ?? throw new ArgumentNullException("componentid is a required property for PACalculationParameters and cannot be null"); this.Accounts = accounts; this.Benchmarks = benchmarks; this.Dates = dates; this.Groups = groups; this.Currencyisocode = currencyisocode; this.Columns = columns; this.Componentdetail = componentdetail; }
/// <summary> /// Initializes a new instance of the <see cref="UnlinkedPATemplateUpdateParameters" /> class. /// </summary> /// <param name="description">Template description.</param> /// <param name="accounts">List of accounts.</param> /// <param name="benchmarks">List of benchmarks.</param> /// <param name="columns">List of columns for the PA calculation.</param> /// <param name="dates">dates.</param> /// <param name="groups">List of groupings for the PA calculation.</param> /// <param name="currencyisocode">Currency ISO code for calculation..</param> /// <param name="componentdetail">PA storage type. It can be GROUPS or TOTALS or SECURITIES..</param> /// <param name="content">content.</param> public UnlinkedPATemplateUpdateParameters(string description = default(string), List <PAIdentifier> accounts = default(List <PAIdentifier>), List <PAIdentifier> benchmarks = default(List <PAIdentifier>), List <PACalculationColumn> columns = default(List <PACalculationColumn>), PADateParameters dates = default(PADateParameters), List <PACalculationGroup> groups = default(List <PACalculationGroup>), string currencyisocode = default(string), string componentdetail = default(string), TemplateContentTypes content = default(TemplateContentTypes)) { this.Description = description; this.Accounts = accounts; this.Benchmarks = benchmarks; this.Columns = columns; this.Dates = dates; this.Groups = groups; this.Currencyisocode = currencyisocode; this.Componentdetail = componentdetail; this.Content = content; }
/// <summary> /// Initializes a new instance of the <see cref="UnlinkedPATemplate" /> class. /// </summary> /// <param name="id">Template id..</param> /// <param name="directory">Template directory..</param> /// <param name="templateTypeId">Template type id.</param> /// <param name="snapshot">snapshot..</param> /// <param name="accounts">List of accounts.</param> /// <param name="benchmarks">List of benchmarks.</param> /// <param name="columns">List of columns for the PA calculation.</param> /// <param name="dates">dates.</param> /// <param name="groups">List of groupings for the PA calculation.</param> /// <param name="currencyisocode">Currency ISO code for calculation..</param> /// <param name="componentdetail">PA storage type. It can be GROUPS or TOTALS or SECURITIES..</param> /// <param name="content">content.</param> /// <param name="description">Template description..</param> /// <param name="name">Template name..</param> /// <param name="category">Unlinked template category.</param> public UnlinkedPATemplate(string id = default(string), string directory = default(string), string templateTypeId = default(string), bool snapshot = default(bool), List <PAIdentifier> accounts = default(List <PAIdentifier>), List <PAIdentifier> benchmarks = default(List <PAIdentifier>), List <PACalculationColumn> columns = default(List <PACalculationColumn>), PADateParameters dates = default(PADateParameters), List <PACalculationGroup> groups = default(List <PACalculationGroup>), string currencyisocode = default(string), string componentdetail = default(string), TemplateContentTypes content = default(TemplateContentTypes), string description = default(string), string name = default(string), string category = default(string)) { this.Id = id; this.Directory = directory; this.TemplateTypeId = templateTypeId; this.Snapshot = snapshot; this.Accounts = accounts; this.Benchmarks = benchmarks; this.Columns = columns; this.Dates = dates; this.Groups = groups; this.Currencyisocode = currencyisocode; this.Componentdetail = componentdetail; this.Content = content; this.Description = description; this.Name = name; this.Category = category; }
/// <summary> /// Initializes a new instance of the <see cref="PAComponentData" /> class. /// </summary> /// <param name="accounts">List of accounts..</param> /// <param name="benchmarks">List of benchmarks..</param> /// <param name="groups">List of groupings for the PA calculation. This will take precedence over the groupings saved in the PA document..</param> /// <param name="columns">List of columns for the PA calculation. This will take precedence over the columns saved in the PA document..</param> /// <param name="dates">dates.</param> /// <param name="currencyisocode">Currency ISO code for calculation..</param> /// <param name="componentdetail">PA Storage type. It can be GROUPS or TOTALS or SECURITIES..</param> public PAComponentData(List <PAIdentifier> accounts = default(List <PAIdentifier>), List <PAIdentifier> benchmarks = default(List <PAIdentifier>), List <PACalculationGroup> groups = default(List <PACalculationGroup>), List <PACalculationColumn> columns = default(List <PACalculationColumn>), PADateParameters dates = default(PADateParameters), string currencyisocode = default(string), string componentdetail = default(string)) { this.Accounts = accounts; this.Benchmarks = benchmarks; this.Groups = groups; this.Columns = columns; this.Dates = dates; this.Currencyisocode = currencyisocode; this.Componentdetail = componentdetail; }
/// <summary> /// Initializes a new instance of the <see cref="PAComponent" /> class. /// </summary> /// <param name="id">Component identifier..</param> /// <param name="accounts">List of accounts saved in the PA document..</param> /// <param name="benchmarks">List of benchmarks saved in the PA document..</param> /// <param name="currencyisocode">currencyisocode.</param> /// <param name="dates">dates.</param> /// <param name="snapshot">Is the component type snapshot or subperiod..</param> /// <param name="path">The path to the document.</param> /// <param name="name">Component name..</param> /// <param name="category">Component category..</param> public PAComponent(string id = default(string), List <PAIdentifier> accounts = default(List <PAIdentifier>), List <PAIdentifier> benchmarks = default(List <PAIdentifier>), string currencyisocode = default(string), PADateParameters dates = default(PADateParameters), bool snapshot = default(bool), string path = default(string), string name = default(string), string category = default(string)) { this.Id = id; this.Accounts = accounts; this.Benchmarks = benchmarks; this.Currencyisocode = currencyisocode; this.Dates = dates; this.Snapshot = snapshot; this.Path = path; this.Name = name; this.Category = category; }
/// <summary> /// Initializes a new instance of the <see cref="PAComponent" /> class. /// </summary> /// <param name="id">Component identifier..</param> /// <param name="currencyisocode">currencyisocode.</param> /// <param name="dates">dates.</param> /// <param name="snapshot">Is the component type snapshot or subperiod..</param> /// <param name="name">Component name..</param> /// <param name="category">Component category..</param> public PAComponent(string id = default(string), string currencyisocode = default(string), PADateParameters dates = default(PADateParameters), bool snapshot = default(bool), string name = default(string), string category = default(string)) { this.Id = id; this.Currencyisocode = currencyisocode; this.Dates = dates; this.Snapshot = snapshot; this.Name = name; this.Category = category; }
/// <summary> /// Initializes a new instance of the <see cref="UnlinkedPATemplateParameters" /> class. /// </summary> /// <param name="directory">The directory to create an unlinked PA template (required).</param> /// <param name="templateTypeId">Template type id (required).</param> /// <param name="description">Template description.</param> /// <param name="accounts">List of accounts.</param> /// <param name="benchmarks">List of benchmarks.</param> /// <param name="columns">List of columns for the PA calculation.</param> /// <param name="dates">dates.</param> /// <param name="groups">List of groupings for the PA calculation.</param> /// <param name="currencyisocode">Currency ISO code for calculation..</param> /// <param name="componentdetail">PA storage type. It can be GROUPS or TOTALS or SECURITIES..</param> /// <param name="content">content.</param> public UnlinkedPATemplateParameters(string directory = default(string), string templateTypeId = default(string), string description = default(string), List <PAIdentifier> accounts = default(List <PAIdentifier>), List <PAIdentifier> benchmarks = default(List <PAIdentifier>), List <PACalculationColumn> columns = default(List <PACalculationColumn>), PADateParameters dates = default(PADateParameters), List <PACalculationGroup> groups = default(List <PACalculationGroup>), string currencyisocode = default(string), string componentdetail = default(string), TemplateContentTypes content = default(TemplateContentTypes)) { // to ensure "directory" is required (not null) this.Directory = directory ?? throw new ArgumentNullException("directory is a required property for UnlinkedPATemplateParameters and cannot be null"); // to ensure "templateTypeId" is required (not null) this.TemplateTypeId = templateTypeId ?? throw new ArgumentNullException("templateTypeId is a required property for UnlinkedPATemplateParameters and cannot be null"); this.Description = description; this.Accounts = accounts; this.Benchmarks = benchmarks; this.Columns = columns; this.Dates = dates; this.Groups = groups; this.Currencyisocode = currencyisocode; this.Componentdetail = componentdetail; this.Content = content; }