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