/// <summary> /// Initializes a new instance of the <see cref="VaultComponent" /> class. /// </summary> /// <param name="id">id.</param> /// <param name="account">account.</param> /// <param name="benchmark">benchmark.</param> /// <param name="currencyisocode">currencyisocode.</param> /// <param name="dates">dates.</param> /// <param name="snapshot">snapshot.</param> /// <param name="name">Component name..</param> /// <param name="category">Component category..</param> public VaultComponent(string id = default(string), VaultIdentifier account = default(VaultIdentifier), VaultIdentifier benchmark = default(VaultIdentifier), string currencyisocode = default(string), VaultDateParameters dates = default(VaultDateParameters), bool snapshot = default(bool), string name = default(string), string category = default(string)) { this.Id = id; this.Account = account; this.Benchmark = benchmark; this.Currencyisocode = currencyisocode; this.Dates = dates; this.Snapshot = snapshot; this.Name = name; this.Category = category; }
/// <summary> /// Initializes a new instance of the <see cref="VaultCalculationParameters" /> class. /// </summary> /// <param name="componentid">The Vault component identifier to analyze. (required).</param> /// <param name="account">account (required).</param> /// <param name="dates">dates.</param> /// <param name="configid">Vault Configuration identifier. (required).</param> /// <param name="componentdetail">Component detail type for the Vault component. It can be GROUPS or TOTALS or SECURITIES..</param> public VaultCalculationParameters(string componentid = default(string), VaultIdentifier account = default(VaultIdentifier), VaultDateParameters dates = default(VaultDateParameters), string configid = default(string), string componentdetail = default(string)) { // to ensure "componentid" is required (not null) this.Componentid = componentid ?? throw new ArgumentNullException("componentid is a required property for VaultCalculationParameters and cannot be null"); // to ensure "account" is required (not null) this.Account = account ?? throw new ArgumentNullException("account is a required property for VaultCalculationParameters and cannot be null"); // to ensure "configid" is required (not null) this.Configid = configid ?? throw new ArgumentNullException("configid is a required property for VaultCalculationParameters and cannot be null"); this.Dates = dates; this.Componentdetail = componentdetail; }