/// <summary>
 /// Initializes a new instance of the <see cref="OBWriteInternationalScheduledConsentResponse3" /> class.
 /// </summary>
 /// <param name="data">data (required).</param>
 /// <param name="risk">risk (required).</param>
 /// <param name="links">links.</param>
 /// <param name="meta">meta.</param>
 public OBWriteInternationalScheduledConsentResponse3(OBWriteInternationalScheduledConsentResponse3Data data = default(OBWriteInternationalScheduledConsentResponse3Data), OBRisk1 risk = default(OBRisk1), Links links = default(Links), Meta meta = default(Meta))
 {
     // to ensure "data" is required (not null)
     this.Data = data ?? throw new ArgumentNullException("data is a required property for OBWriteInternationalScheduledConsentResponse3 and cannot be null");
     // to ensure "risk" is required (not null)
     this.Risk  = risk ?? throw new ArgumentNullException("risk is a required property for OBWriteInternationalScheduledConsentResponse3 and cannot be null");
     this.Links = links;
     this.Meta  = meta;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="OBWriteDomesticStandingOrderResponse4" /> class.
 /// </summary>
 /// <param name="data">data (required).</param>
 /// <param name="links">links.</param>
 /// <param name="meta">meta.</param>
 public OBWriteDomesticStandingOrderResponse4(OBWriteDomesticStandingOrderResponse4Data data = default(OBWriteDomesticStandingOrderResponse4Data), Links links = default(Links), Meta meta = default(Meta))
 {
     // to ensure "data" is required (not null)
     this.Data  = data ?? throw new ArgumentNullException("data is a required property for OBWriteDomesticStandingOrderResponse4 and cannot be null");
     this.Links = links;
     this.Meta  = meta;
 }