// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.

namespace Microsoft.Azure.Management.Automation.Models
{
    using Microsoft.Azure;
    using Microsoft.Azure.Management;
    using Microsoft.Azure.Management.Automation;
    using Newtonsoft.Json;
    using System.Linq;

    /// <summary>
    /// The parameters supplied to the update dsc node operation.
    /// </summary>
    public partial class DscNodeUpdateParameters
    {
        /// <summary>
        /// Initializes a new instance of the DscNodeUpdateParameters class.
        /// </summary>
        public DscNodeUpdateParameters()
        {
          CustomInit();
        }

        /// <summary>
        /// Initializes a new instance of the DscNodeUpdateParameters class.
        /// </summary>
        /// <param name="nodeId">Gets or sets the id of the dsc node.</param>
        /// <param name="nodeConfiguration">Gets or sets the configuration of
        /// the node.</param>
        public DscNodeUpdateParameters(string nodeId = default(string), DscNodeConfigurationAssociationProperty nodeConfiguration = default(DscNodeConfigurationAssociationProperty))
        {
            NodeId = nodeId;
            NodeConfiguration = nodeConfiguration;
            CustomInit();
        }

        /// <summary>
        /// An initialization method that performs custom operations like setting defaults
        /// </summary>
        partial void CustomInit();

        /// <summary>
        /// Gets or sets the id of the dsc node.
        /// </summary>
        [JsonProperty(PropertyName = "nodeId")]
        public string NodeId { get; set; }

        /// <summary>
        /// Gets or sets the configuration of the node.
        /// </summary>
        [JsonProperty(PropertyName = "nodeConfiguration")]
        public DscNodeConfigurationAssociationProperty NodeConfiguration { get; set; }

    }
}
