generated/api/Models/DeleteSnapReq.cs
// Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.2, generator: @autorest/powershell@4.0.708) // 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 System.Collections.Generic.List<Commvault.Powershell.Models.IVolumeSnap> _volumes; /// <summary>Volumes of the snaps you want to delete</summary> [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public System.Collections.Generic.List<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, Read = true, Create = true, Update = true, Description = @"Volumes of the snaps you want to delete", SerializedName = @"volumes", PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IVolumeSnap) })] System.Collections.Generic.List<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> System.Collections.Generic.List<Commvault.Powershell.Models.IVolumeSnap> Volumes { get; set; } } } |