/// <summary>
        /// Initializes a new instance of the <see cref="InlineResponse20011Links" /> class.
        /// </summary>
        /// <param name="azureSubscription">azureSubscription (required).</param>
        /// <param name="networks">networks (required).</param>
        /// <param name="self">self (required).</param>
        public InlineResponse20011Links(InlineResponse200LinksSelf azureSubscription = default(InlineResponse200LinksSelf), InlineResponse200LinksSelf networks = default(InlineResponse200LinksSelf), InlineResponse200LinksSelf self = default(InlineResponse200LinksSelf))
        {
            // to ensure "azureSubscription" is required (not null)
            if (azureSubscription == null)
            {
                throw new InvalidDataException("azureSubscription is a required property for InlineResponse20011Links and cannot be null");
            }
            else
            {
                this.AzureSubscription = azureSubscription;
            }

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

            // to ensure "self" is required (not null)
            if (self == null)
            {
                throw new InvalidDataException("self is a required property for InlineResponse20011Links and cannot be null");
            }
            else
            {
                this.Self = self;
            }
        }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="InlineResponse2002EmbeddedLinks" /> class.
 /// </summary>
 /// <param name="self">self (required).</param>
 public InlineResponse2002EmbeddedLinks(InlineResponse200LinksSelf self = default(InlineResponse200LinksSelf))
 {
     // to ensure "self" is required (not null)
     if (self == null)
     {
         throw new InvalidDataException("self is a required property for InlineResponse2002EmbeddedLinks and cannot be null");
     }
     else
     {
         this.Self = self;
     }
 }
Esempio n. 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="InlineResponse20017Links" /> class.
 /// </summary>
 /// <param name="first">first (required).</param>
 /// <param name="last">last (required).</param>
 public InlineResponse20017Links(InlineResponse200LinksSelf first = default(InlineResponse200LinksSelf), InlineResponse200LinksSelf last = default(InlineResponse200LinksSelf))
 {
     // to ensure "first" is required (not null)
     if (first == null)
     {
         throw new InvalidDataException("first is a required property for InlineResponse20017Links and cannot be null");
     }
     else
     {
         this.First = first;
     }
     
     // to ensure "last" is required (not null)
     if (last == null)
     {
         throw new InvalidDataException("last is a required property for InlineResponse20017Links and cannot be null");
     }
     else
     {
         this.Last = last;
     }
     
 }
        /// <summary>
        /// Initializes a new instance of the <see cref="InlineResponse2001EmbeddedLinks" /> class.
        /// </summary>
        /// <param name="services">services (required).</param>
        /// <param name="networks">networks (required).</param>
        /// <param name="appWans">appWans (required).</param>
        /// <param name="endpoints">endpoints (required).</param>
        /// <param name="certificateAuthorities">certificateAuthorities (required).</param>
        /// <param name="self">self (required).</param>
        /// <param name="processExecutions">processExecutions (required).</param>
        /// <param name="networkControllers">networkControllers (required).</param>
        /// <param name="postureChecks">postureChecks (required).</param>
        /// <param name="edgeRouters">edgeRouters (required).</param>
        /// <param name="edgeRouterPolicies">edgeRouterPolicies (required).</param>
        public InlineResponse2001EmbeddedLinks(InlineResponse200LinksSelf services = default(InlineResponse200LinksSelf), InlineResponse200LinksNetwork networks = default(InlineResponse200LinksNetwork), InlineResponse200LinksSelf appWans = default(InlineResponse200LinksSelf), InlineResponse200LinksSelf endpoints = default(InlineResponse200LinksSelf), InlineResponse200LinksSelf certificateAuthorities = default(InlineResponse200LinksSelf), InlineResponse200LinksSelf self = default(InlineResponse200LinksSelf), InlineResponse200LinksNetwork processExecutions = default(InlineResponse200LinksNetwork), InlineResponse200LinksSelf networkControllers = default(InlineResponse200LinksSelf), InlineResponse200LinksSelf postureChecks = default(InlineResponse200LinksSelf), InlineResponse200LinksSelf edgeRouters = default(InlineResponse200LinksSelf), InlineResponse200LinksSelf edgeRouterPolicies = default(InlineResponse200LinksSelf))
        {
            // to ensure "services" is required (not null)
            if (services == null)
            {
                throw new InvalidDataException("services is a required property for InlineResponse2001EmbeddedLinks and cannot be null");
            }
            else
            {
                this.Services = services;
            }

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

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

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

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

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

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

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

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

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

            // to ensure "edgeRouterPolicies" is required (not null)
            if (edgeRouterPolicies == null)
            {
                throw new InvalidDataException("edgeRouterPolicies is a required property for InlineResponse2001EmbeddedLinks and cannot be null");
            }
            else
            {
                this.EdgeRouterPolicies = edgeRouterPolicies;
            }
        }
Esempio n. 5
0
        /// <summary>
        /// Initializes a new instance of the <see cref="InlineResponse200Links" /> class.
        /// </summary>
        /// <param name="network">network (required).</param>
        /// <param name="self">self (required).</param>
        public InlineResponse200Links(InlineResponse200LinksNetwork network = default(InlineResponse200LinksNetwork), InlineResponse200LinksSelf self = default(InlineResponse200LinksSelf))
        {
            // to ensure "network" is required (not null)
            if (network == null)
            {
                throw new InvalidDataException("network is a required property for InlineResponse200Links and cannot be null");
            }
            else
            {
                this.Network = network;
            }

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