/// <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="LinkedPATemplateParameters" /> class.
 /// </summary>
 /// <param name="directory">The directory to create a linked PA template (required).</param>
 /// <param name="parentComponentId">Parent component id (required).</param>
 /// <param name="description">Template description.</param>
 /// <param name="content">content.</param>
 public LinkedPATemplateParameters(string directory = default(string), string parentComponentId = default(string), string description = 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 LinkedPATemplateParameters and cannot be null");
     // to ensure "parentComponentId" is required (not null)
     this.ParentComponentId = parentComponentId ?? throw new ArgumentNullException("parentComponentId is a required property for LinkedPATemplateParameters and cannot be null");
     this.Description       = description;
     this.Content           = content;
 }
Beispiel #3
0
 /// <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;
 }
Beispiel #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LinkedPATemplateUpdateParameters" /> class.
 /// </summary>
 /// <param name="parentComponentId">Parent component id.</param>
 /// <param name="description">Template description.</param>
 /// <param name="content">content.</param>
 public LinkedPATemplateUpdateParameters(string parentComponentId = default(string), string description = default(string), TemplateContentTypes content = default(TemplateContentTypes))
 {
     this.ParentComponentId = parentComponentId;
     this.Description       = description;
     this.Content           = content;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="LinkedPATemplate" /> class.
 /// </summary>
 /// <param name="directory">Template directory..</param>
 /// <param name="snapshot">snapshot..</param>
 /// <param name="content">content.</param>
 /// <param name="id">Template id..</param>
 /// <param name="description">Template description..</param>
 /// <param name="name">Template name..</param>
 /// <param name="parentComponentId">Template parent tile..</param>
 public LinkedPATemplate(string directory = default(string), bool snapshot = default(bool), TemplateContentTypes content = default(TemplateContentTypes), string id = default(string), string description = default(string), string name = default(string), string parentComponentId = default(string))
 {
     this.Directory         = directory;
     this.Snapshot          = snapshot;
     this.Content           = content;
     this.Id                = id;
     this.Description       = description;
     this.Name              = name;
     this.ParentComponentId = parentComponentId;
 }
Beispiel #6
0
 /// <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;
 }