generated/api/Models/NetworkSetting.cs

// Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.9.4, generator: @autorest/powershell@3.0.415)
// 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>The schema for mapping source network with destination network</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>Backing field for <see cref="SourceId" /> property.</summary>
        private string _sourceId;

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

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

        }
    }
    /// The schema for mapping source network with destination network
    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; }
        /// <summary>Source network ID</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Source network ID",
        SerializedName = @"sourceId",
        PossibleTypes = new [] { typeof(string) })]
        string SourceId { get; set; }

    }
    /// The schema for mapping source network with destination network
    internal partial interface INetworkSettingInternal

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

    }
}