generated/api/Models/UnmountSnapReq.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>Request template for unmount request of snapshots</summary>
    public partial class UnmountSnapReq :
        Commvault.Powershell.Models.IUnmountSnapReq,
        Commvault.Powershell.Models.IUnmountSnapReqInternal
    {

        /// <summary>Backing field for <see cref="Volumes" /> property.</summary>
        private Commvault.Powershell.Models.IVolumeSnap[] _volumes;

        /// <summary>Volumes of the snap you want to unmount</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public Commvault.Powershell.Models.IVolumeSnap[] Volumes { get => this._volumes; set => this._volumes = value; }

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

        }
    }
    /// Request template for unmount request of snapshots
    public partial interface IUnmountSnapReq :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>Volumes of the snap you want to unmount</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Volumes of the snap you want to unmount",
        SerializedName = @"volumes",
        PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IVolumeSnap) })]
        Commvault.Powershell.Models.IVolumeSnap[] Volumes { get; set; }

    }
    /// Request template for unmount request of snapshots
    internal partial interface IUnmountSnapReqInternal

    {
        /// <summary>Volumes of the snap you want to unmount</summary>
        Commvault.Powershell.Models.IVolumeSnap[] Volumes { get; set; }

    }
}