Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="JuridischeRegelVoorIedereenHal" /> class.
 /// </summary>
 /// <param name="begindatum">begindatum.</param>
 /// <param name="einddatum">einddatum.</param>
 /// <param name="gedefinieerdeLocatieIdentificaties">gedefinieerdeLocatieIdentificaties (required).</param>
 /// <param name="idealisatie">idealisatie.</param>
 /// <param name="identificatie">identificatie (required).</param>
 /// <param name="normeertActiviteiten">normeertActiviteiten.</param>
 /// <param name="omschrijving">&lt;body&gt;&lt;p&gt;&amp;#201;&amp;#233;n doorlopend stuk juridische tekst zijnde een geheel of gedeelte van de tekst van een artikel of een lid.&lt;/p&gt;&lt;/body&gt; (required).</param>
 /// <param name="regeltekstIdentificatie">regeltekstIdentificatie (required).</param>
 /// <param name="themas">themas.</param>
 /// <param name="links">links.</param>
 /// <param name="embedded">embedded.</param>
 public JuridischeRegelVoorIedereenHal(DateTime begindatum = default(DateTime), DateTime einddatum = default(DateTime), List <string> gedefinieerdeLocatieIdentificaties = default(List <string>), Idealisatie idealisatie = default(Idealisatie), string identificatie = default(string), List <ActiviteitLocatieaanduiding> normeertActiviteiten = default(List <ActiviteitLocatieaanduiding>), string omschrijving = default(string), string regeltekstIdentificatie = default(string), List <Thema> themas = default(List <Thema>), JuridischeRegelVoorIedereenLinks links = default(JuridischeRegelVoorIedereenLinks), JuridischeRegelVoorIedereenEmbedded embedded = default(JuridischeRegelVoorIedereenEmbedded))
 {
     // to ensure "gedefinieerdeLocatieIdentificaties" is required (not null)
     this.GedefinieerdeLocatieIdentificaties = gedefinieerdeLocatieIdentificaties ?? throw new ArgumentNullException("gedefinieerdeLocatieIdentificaties is a required property for JuridischeRegelVoorIedereenHal and cannot be null");
     // to ensure "identificatie" is required (not null)
     this.Identificatie = identificatie ?? throw new ArgumentNullException("identificatie is a required property for JuridischeRegelVoorIedereenHal and cannot be null");
     // to ensure "omschrijving" is required (not null)
     this.Omschrijving = omschrijving ?? throw new ArgumentNullException("omschrijving is a required property for JuridischeRegelVoorIedereenHal and cannot be null");
     // to ensure "regeltekstIdentificatie" is required (not null)
     this.RegeltekstIdentificatie = regeltekstIdentificatie ?? throw new ArgumentNullException("regeltekstIdentificatie is a required property for JuridischeRegelVoorIedereenHal and cannot be null");
     this.Begindatum           = begindatum;
     this.Einddatum            = einddatum;
     this.Idealisatie          = idealisatie;
     this.NormeertActiviteiten = normeertActiviteiten;
     this.Themas   = themas;
     this.Links    = links;
     this.Embedded = embedded;
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="JuridischeRegelVoorIedereenHalAllOf" /> class.
 /// </summary>
 /// <param name="links">links.</param>
 /// <param name="embedded">embedded.</param>
 public JuridischeRegelVoorIedereenHalAllOf(JuridischeRegelVoorIedereenLinks links = default(JuridischeRegelVoorIedereenLinks), JuridischeRegelVoorIedereenEmbedded embedded = default(JuridischeRegelVoorIedereenEmbedded))
 {
     this.Links    = links;
     this.Embedded = embedded;
 }
        /// <summary>
        /// Initializes a new instance of the <see cref="JuridischeRegelVoorIedereenHal" /> class.
        /// </summary>
        /// <param name="begindatum">begindatum (required).</param>
        /// <param name="einddatum">einddatum (required).</param>
        /// <param name="idealisatie">idealisatie (required).</param>
        /// <param name="identificatie">identificatie (required).</param>
        /// <param name="locatieIdentificaties">locatieIdentificaties (required).</param>
        /// <param name="normeertActiviteiten">normeertActiviteiten.</param>
        /// <param name="omschrijving">omschrijving (required).</param>
        /// <param name="regeltekstIdentificatie">regeltekstIdentificatie (required).</param>
        /// <param name="themas">themas.</param>
        /// <param name="links">links.</param>
        /// <param name="embedded">embedded.</param>
        public JuridischeRegelVoorIedereenHal(DateTime begindatum = default(DateTime), DateTime einddatum = default(DateTime), Idealisatie idealisatie = default(Idealisatie), string identificatie = default(string), List <string> locatieIdentificaties = default(List <string>), List <ActiviteitLocatieaanduiding> normeertActiviteiten = default(List <ActiviteitLocatieaanduiding>), string omschrijving = default(string), string regeltekstIdentificatie = default(string), List <Thema> themas = default(List <Thema>), JuridischeRegelVoorIedereenLinks links = default(JuridischeRegelVoorIedereenLinks), JuridischeRegelVoorIedereenEmbedded embedded = default(JuridischeRegelVoorIedereenEmbedded))
        {
            // to ensure "begindatum" is required (not null)
            if (begindatum == null)
            {
                throw new InvalidDataException("begindatum is a required property for JuridischeRegelVoorIedereenHal and cannot be null");
            }
            else
            {
                this.Begindatum = begindatum;
            }

            // to ensure "einddatum" is required (not null)
            if (einddatum == null)
            {
                throw new InvalidDataException("einddatum is a required property for JuridischeRegelVoorIedereenHal and cannot be null");
            }
            else
            {
                this.Einddatum = einddatum;
            }

            // to ensure "idealisatie" is required (not null)
            if (idealisatie == null)
            {
                throw new InvalidDataException("idealisatie is a required property for JuridischeRegelVoorIedereenHal and cannot be null");
            }
            else
            {
                this.Idealisatie = idealisatie;
            }

            // to ensure "identificatie" is required (not null)
            if (identificatie == null)
            {
                throw new InvalidDataException("identificatie is a required property for JuridischeRegelVoorIedereenHal and cannot be null");
            }
            else
            {
                this.Identificatie = identificatie;
            }

            // to ensure "locatieIdentificaties" is required (not null)
            if (locatieIdentificaties == null)
            {
                throw new InvalidDataException("locatieIdentificaties is a required property for JuridischeRegelVoorIedereenHal and cannot be null");
            }
            else
            {
                this.LocatieIdentificaties = locatieIdentificaties;
            }

            // to ensure "omschrijving" is required (not null)
            if (omschrijving == null)
            {
                throw new InvalidDataException("omschrijving is a required property for JuridischeRegelVoorIedereenHal and cannot be null");
            }
            else
            {
                this.Omschrijving = omschrijving;
            }

            // to ensure "regeltekstIdentificatie" is required (not null)
            if (regeltekstIdentificatie == null)
            {
                throw new InvalidDataException("regeltekstIdentificatie is a required property for JuridischeRegelVoorIedereenHal and cannot be null");
            }
            else
            {
                this.RegeltekstIdentificatie = regeltekstIdentificatie;
            }

            this.NormeertActiviteiten = normeertActiviteiten;
            this.Themas   = themas;
            this.Links    = links;
            this.Embedded = embedded;
        }