generated/api/Models/NetworkSetting.cs

// Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.9.2, generator: @autorest/powershell@3.0.494)
// Changes may cause incorrect behavior and will be lost if the code is regenerated.

namespace Commvault.Powershell.Models
{
    using static Commvault.Powershell.Runtime.Extensions;

    /// <summary>NetworkSetting</summary>
    public partial class NetworkSetting :
        Commvault.Powershell.Models.INetworkSetting,
        Commvault.Powershell.Models.INetworkSettingInternal
    {

        /// <summary>Backing field for <see cref="Destination" /> property.</summary>
        private string _destination;

        /// <summary>Destination network name</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string Destination { get => this._destination; set => this._destination = value; }

        /// <summary>Backing field for <see cref="Source" /> property.</summary>
        private string _source;

        /// <summary>Source network name</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string Source { get => this._source; set => this._source = value; }

        /// <summary>Creates an new <see cref="NetworkSetting" /> instance.</summary>
        public NetworkSetting()
        {

        }
    }
    /// NetworkSetting
    public partial interface INetworkSetting :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>Destination network name</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Destination network name",
        SerializedName = @"destination",
        PossibleTypes = new [] { typeof(string) })]
        string Destination { get; set; }
        /// <summary>Source network name</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Source network name",
        SerializedName = @"source",
        PossibleTypes = new [] { typeof(string) })]
        string Source { get; set; }

    }
    /// NetworkSetting
    internal partial interface INetworkSettingInternal

    {
        /// <summary>Destination network name</summary>
        string Destination { get; set; }
        /// <summary>Source network name</summary>
        string Source { get; set; }

    }
}