generated/api/Models/DeleteSnapReq.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 of delete snapshots</summary>
    public partial class DeleteSnapReq :
        Commvault.Powershell.Models.IDeleteSnapReq,
        Commvault.Powershell.Models.IDeleteSnapReqInternal
    {

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

        /// <summary>Volumes of the snaps you want to delete</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="DeleteSnapReq" /> instance.</summary>
        public DeleteSnapReq()
        {

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

    }
    /// Request template of delete snapshots
    internal partial interface IDeleteSnapReqInternal

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

    }
}