Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the DealsCreateResponse class.
 /// </summary>
 public DealsCreateResponse(DealsWithoutRenews deal)
 {
     Deal = deal;
     CustomInit();
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DealsCreateResponse" /> class.
 /// </summary>
 /// <param name="deal">deal (required).</param>
 public DealsCreateResponse(DealsWithoutRenews deal = default(DealsWithoutRenews))
 {
     // to ensure "deal" is required (not null)
     this.Deal = deal ?? throw new ArgumentNullException("deal is a required property for DealsCreateResponse and cannot be null");;
 }