generated/api/Models/AddDiskAccessPath.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 AddDiskAccessPath :
        Commvault.Powershell.Models.IAddDiskAccessPath,
        Commvault.Powershell.Models.IAddDiskAccessPathInternal
    {

        /// <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 disk 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="AddDiskAccessPath" /> instance.</summary>
        public AddDiskAccessPath()
        {

        }
    }
    /// Used to add a new access path to a backup location
    public partial interface IAddDiskAccessPath :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>Can add a list of media agents to be added as the disk access path.</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = true,
        ReadOnly = false,
        Description = @"Can add a list of media agents to be added as the disk 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 IAddDiskAccessPathInternal

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

    }
}