/// <summary> /// Initializes a new instance of the <see cref="BudgetSummaryResponse" /> class. /// </summary> /// <param name="data">data (required).</param> public BudgetSummaryResponse(BudgetSummaryResponseData data = default(BudgetSummaryResponseData)) { // to ensure "data" is required (not null) if (data == null) { throw new InvalidDataException("data is a required property for BudgetSummaryResponse and cannot be null"); } else { this.Data = data; } }
/// <summary> /// Initializes a new instance of the <see cref="BudgetSummaryResponse" /> class. /// </summary> /// <param name="data">data (required).</param> public BudgetSummaryResponse(BudgetSummaryResponseData data = default(BudgetSummaryResponseData)) { // to ensure "data" is required (not null) this.Data = data ?? throw new ArgumentNullException("data is a required property for BudgetSummaryResponse and cannot be null"); }