コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the TrialBsTwoYearsResponse class.
 /// </summary>
 public TrialBsTwoYearsResponse(TrialBsTwoYearsResponseTrialBsTwoYears trialBsTwoYears)
 {
     TrialBsTwoYears = trialBsTwoYears;
     CustomInit();
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TrialBsTwoYearsResponse" /> class.
 /// </summary>
 /// <param name="trialBsTwoYears">trialBsTwoYears (required).</param>
 /// <param name="upToDate">集計結果が最新かどうか (required).</param>
 public TrialBsTwoYearsResponse(TrialBsTwoYearsResponseTrialBsTwoYears trialBsTwoYears = default(TrialBsTwoYearsResponseTrialBsTwoYears), bool upToDate = default(bool))
 {
     // to ensure "trialBsTwoYears" is required (not null)
     this.TrialBsTwoYears = trialBsTwoYears ?? throw new ArgumentNullException("trialBsTwoYears is a required property for TrialBsTwoYearsResponse and cannot be null");
     this.UpToDate        = upToDate;
 }