/// <summary> /// Initializes a new instance of the <see cref="Omgevingsdocument" /> class. /// </summary> /// <param name="codeBevoegdGezag"><body><p>Een inhoudelijke toelichting op de toepassing van het informatie-element.</p></body> (required).</param> /// <param name="identificatie"><body><p>Een inhoudelijke toelichting op de toepassing van het informatie-element.</p></body> (required).</param> /// <param name="opschrift"><body><p>Een inhoudelijke toelichting op de toepassing van het informatie-element.</p></body><body><p>De verzameling van waarden die gegevens van dit attribuutsoort kunnen hebben, dat wil zeggen het waardenbereik, uitgedrukt in een specifieke structuur.</p></body> (required).</param> /// <param name="type">type.</param> public Omgevingsdocument(string codeBevoegdGezag = default(string), string identificatie = default(string), string opschrift = default(string), Soortregeling type = default(Soortregeling)) { // to ensure "codeBevoegdGezag" is required (not null) if (codeBevoegdGezag == null) { throw new InvalidDataException("codeBevoegdGezag is a required property for Omgevingsdocument and cannot be null"); } else { this.CodeBevoegdGezag = codeBevoegdGezag; } // to ensure "identificatie" is required (not null) if (identificatie == null) { throw new InvalidDataException("identificatie is a required property for Omgevingsdocument and cannot be null"); } else { this.Identificatie = identificatie; } // to ensure "opschrift" is required (not null) if (opschrift == null) { throw new InvalidDataException("opschrift is a required property for Omgevingsdocument and cannot be null"); } else { this.Opschrift = opschrift; } this.Type = type; }
/// <summary> /// Initializes a new instance of the <see cref="DocumentComponent" /> class. /// </summary> /// <param name="codeBevoegdGezag">codeBevoegdGezag (required).</param> /// <param name="documentIdentificatie">documentIdentificatie (required).</param> /// <param name="documentOpschrift">documentOpschrift (required).</param> /// <param name="documentType">documentType (required).</param> /// <param name="kop">kop.</param> public DocumentComponent(string codeBevoegdGezag = default(string), string documentIdentificatie = default(string), string documentOpschrift = default(string), Soortregeling documentType = default(Soortregeling), Kop kop = default(Kop)) { // to ensure "codeBevoegdGezag" is required (not null) if (codeBevoegdGezag == null) { throw new InvalidDataException("codeBevoegdGezag is a required property for DocumentComponent and cannot be null"); } else { this.CodeBevoegdGezag = codeBevoegdGezag; } // to ensure "documentIdentificatie" is required (not null) if (documentIdentificatie == null) { throw new InvalidDataException("documentIdentificatie is a required property for DocumentComponent and cannot be null"); } else { this.DocumentIdentificatie = documentIdentificatie; } // to ensure "documentOpschrift" is required (not null) if (documentOpschrift == null) { throw new InvalidDataException("documentOpschrift is a required property for DocumentComponent and cannot be null"); } else { this.DocumentOpschrift = documentOpschrift; } // to ensure "documentType" is required (not null) if (documentType == null) { throw new InvalidDataException("documentType is a required property for DocumentComponent and cannot be null"); } else { this.DocumentType = documentType; } this.Kop = kop; }
/// <summary> /// Initializes a new instance of the <see cref="DocumentComponent" /> class. /// </summary> /// <param name="codeBevoegdGezag">codeBevoegdGezag (required).</param> /// <param name="documentIdentificatie">documentIdentificatie (required).</param> /// <param name="documentOpschrift">documentOpschrift (required).</param> /// <param name="documentType">documentType (required).</param> /// <param name="kop">kop.</param> public DocumentComponent(string codeBevoegdGezag = default(string), string documentIdentificatie = default(string), string documentOpschrift = default(string), Soortregeling documentType = default(Soortregeling), Kop kop = default(Kop)) { // to ensure "codeBevoegdGezag" is required (not null) this.CodeBevoegdGezag = codeBevoegdGezag ?? throw new ArgumentNullException("codeBevoegdGezag is a required property for DocumentComponent and cannot be null"); // to ensure "documentIdentificatie" is required (not null) this.DocumentIdentificatie = documentIdentificatie ?? throw new ArgumentNullException("documentIdentificatie is a required property for DocumentComponent and cannot be null"); // to ensure "documentOpschrift" is required (not null) this.DocumentOpschrift = documentOpschrift ?? throw new ArgumentNullException("documentOpschrift is a required property for DocumentComponent and cannot be null"); // to ensure "documentType" is required (not null) this.DocumentType = documentType ?? throw new ArgumentNullException("documentType is a required property for DocumentComponent and cannot be null"); this.Kop = kop; }
/// <summary> /// Initializes a new instance of the <see cref="Omgevingsdocument" /> class. /// </summary> /// <param name="codeBevoegdGezag"><body><p>Code van het bevoegd gezag dat de regeling vaststelt.</p></body> (required).</param> /// <param name="identificatie"><body><p>Identificatie datatype van Geonovum.</p></body> (required).</param> /// <param name="opschrift"><body><p>De intitul&#233; (offici&#235;le titel) van een regeling zijnde het omgevingsdocument.</p></body> (required).</param> /// <param name="type">type (required).</param> public Omgevingsdocument(string codeBevoegdGezag = default(string), string identificatie = default(string), string opschrift = default(string), Soortregeling type = default(Soortregeling)) { // to ensure "codeBevoegdGezag" is required (not null) this.CodeBevoegdGezag = codeBevoegdGezag ?? throw new ArgumentNullException("codeBevoegdGezag is a required property for Omgevingsdocument and cannot be null"); // to ensure "identificatie" is required (not null) this.Identificatie = identificatie ?? throw new ArgumentNullException("identificatie is a required property for Omgevingsdocument and cannot be null"); // to ensure "opschrift" is required (not null) this.Opschrift = opschrift ?? throw new ArgumentNullException("opschrift is a required property for Omgevingsdocument and cannot be null"); // to ensure "type" is required (not null) this.Type = type ?? throw new ArgumentNullException("type is a required property for Omgevingsdocument and cannot be null"); }