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