/// <summary>
 /// Initializes a new instance of the <see cref="OBWriteDomesticConsentResponse3" /> 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 OBWriteDomesticConsentResponse3(OBWriteDomesticConsentResponse3Data data = default(OBWriteDomesticConsentResponse3Data), 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 OBWriteDomesticConsentResponse3 and cannot be null");
     // to ensure "risk" is required (not null)
     this.Risk  = risk ?? throw new ArgumentNullException("risk is a required property for OBWriteDomesticConsentResponse3 and cannot be null");
     this.Links = links;
     this.Meta  = meta;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="OBWriteDomesticStandingOrderConsent4" /> class.
 /// </summary>
 /// <param name="data">data (required).</param>
 /// <param name="risk">risk (required).</param>
 public OBWriteDomesticStandingOrderConsent4(OBWriteDomesticStandingOrderConsent4Data data = default(OBWriteDomesticStandingOrderConsent4Data), OBRisk1 risk = default(OBRisk1))
 {
     // to ensure "data" is required (not null)
     this.Data = data ?? throw new ArgumentNullException("data is a required property for OBWriteDomesticStandingOrderConsent4 and cannot be null");
     // to ensure "risk" is required (not null)
     this.Risk = risk ?? throw new ArgumentNullException("risk is a required property for OBWriteDomesticStandingOrderConsent4 and cannot be null");
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="OBWriteInternationalScheduled2" /> class.
 /// </summary>
 /// <param name="data">data (required).</param>
 /// <param name="risk">risk (required).</param>
 public OBWriteInternationalScheduled2(OBWriteInternationalScheduled2Data data = default(OBWriteInternationalScheduled2Data), OBRisk1 risk = default(OBRisk1))
 {
     // to ensure "data" is required (not null)
     this.Data = data ?? throw new ArgumentNullException("data is a required property for OBWriteInternationalScheduled2 and cannot be null");
     // to ensure "risk" is required (not null)
     this.Risk = risk ?? throw new ArgumentNullException("risk is a required property for OBWriteInternationalScheduled2 and cannot be null");
 }