/// <summary>
        /// Initializes a new instance of the <see cref="Omgevingsdocument" /> class.
        /// </summary>
        /// <param name="codeBevoegdGezag">&lt;body&gt;&lt;p&gt;Een inhoudelijke toelichting op de toepassing van het informatie-element.&lt;/p&gt;&lt;/body&gt; (required).</param>
        /// <param name="identificatie">&lt;body&gt;&lt;p&gt;Een inhoudelijke toelichting op de toepassing van het informatie-element.&lt;/p&gt;&lt;/body&gt; (required).</param>
        /// <param name="opschrift">&lt;body&gt;&lt;p&gt;Een inhoudelijke toelichting op de toepassing van het informatie-element.&lt;/p&gt;&lt;/body&gt;&lt;body&gt;&lt;p&gt;De verzameling van waarden die gegevens van dit attribuutsoort kunnen hebben, dat wil zeggen het waardenbereik, uitgedrukt in een specifieke structuur.&lt;/p&gt;&lt;/body&gt; (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;
        }
Пример #2
0
        /// <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;
        }
Пример #3
0
 /// <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;
 }
Пример #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Omgevingsdocument" /> class.
 /// </summary>
 /// <param name="codeBevoegdGezag">&lt;body&gt;&lt;p&gt;Code van het bevoegd gezag dat de regeling vaststelt.&lt;/p&gt;&lt;/body&gt; (required).</param>
 /// <param name="identificatie">&lt;body&gt;&lt;p&gt;Identificatie datatype van Geonovum.&lt;/p&gt;&lt;/body&gt; (required).</param>
 /// <param name="opschrift">&lt;body&gt;&lt;p&gt;De intitul&amp;#233; (offici&amp;#235;le titel) van een regeling zijnde het omgevingsdocument.&lt;/p&gt;&lt;/body&gt; (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");
 }