generated/api/Models/AddLocalAccessPath.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>Used to add a new access path to a backup location</summary>
    public partial class AddLocalAccessPath :
        Commvault.Powershell.Models.IAddLocalAccessPath,
        Commvault.Powershell.Models.IAddLocalAccessPathInternal
    {

        /// <summary>Backing field for <see cref="MediaAgents" /> property.</summary>
        private Commvault.Powershell.Models.IIdName[] _mediaAgents;

        /// <summary>Can add a list of media agents to be added as the local storage access path.</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public Commvault.Powershell.Models.IIdName[] MediaAgents { get => this._mediaAgents; set => this._mediaAgents = value; }

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

        }
    }
    /// Used to add a new access path to a backup location
    public partial interface IAddLocalAccessPath :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>Can add a list of media agents to be added as the local storage access path.</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = true,
        ReadOnly = false,
        Description = @"Can add a list of media agents to be added as the local storage access path.",
        SerializedName = @"mediaAgents",
        PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IIdName) })]
        Commvault.Powershell.Models.IIdName[] MediaAgents { get; set; }

    }
    /// Used to add a new access path to a backup location
    internal partial interface IAddLocalAccessPathInternal

    {
        /// <summary>Can add a list of media agents to be added as the local storage access path.</summary>
        Commvault.Powershell.Models.IIdName[] MediaAgents { get; set; }

    }
}