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