/// <summary>
 /// Initializes a new instance of the TrialPlTwoYearsResponse class.
 /// </summary>
 public TrialPlTwoYearsResponse(TrialPlTwoYearsResponseTrialPlTwoYears trialPlTwoYears)
 {
     TrialPlTwoYears = trialPlTwoYears;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="TrialPlTwoYearsResponse" /> class.
 /// </summary>
 /// <param name="trialPlTwoYears">trialPlTwoYears (required).</param>
 /// <param name="upToDate">集計結果が最新かどうか (required).</param>
 public TrialPlTwoYearsResponse(TrialPlTwoYearsResponseTrialPlTwoYears trialPlTwoYears = default(TrialPlTwoYearsResponseTrialPlTwoYears), bool upToDate = default(bool))
 {
     // to ensure "trialPlTwoYears" is required (not null)
     this.TrialPlTwoYears = trialPlTwoYears ?? throw new ArgumentNullException("trialPlTwoYears is a required property for TrialPlTwoYearsResponse and cannot be null");
     this.UpToDate        = upToDate;
 }