generated/api/Models/SnapNodeReq.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 multi node unmount and instant clone delete</summary>
    public partial class SnapNodeReq :
        Commvault.Powershell.Models.ISnapNodeReq,
        Commvault.Powershell.Models.ISnapNodeReqInternal
    {

        /// <summary>Backing field for <see cref="MountVolumeIds" /> property.</summary>
        private long[] _mountVolumeIds;

        /// <summary>
        /// Volume Ids of the Snaps to include for multi node unmount or instant clone delete
        /// </summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long[] MountVolumeIds { get => this._mountVolumeIds; set => this._mountVolumeIds = value; }

        /// <summary>Backing field for <see cref="Volume" /> property.</summary>
        private Commvault.Powershell.Models.ISnapVolumes[] _volume;

        /// <summary>Array of volumes to include for the operation</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public Commvault.Powershell.Models.ISnapVolumes[] Volume { get => this._volume; set => this._volume = value; }

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

        }
    }
    /// Request template for multi node unmount and instant clone delete
    public partial interface ISnapNodeReq :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>
        /// Volume Ids of the Snaps to include for multi node unmount or instant clone delete
        /// </summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Volume Ids of the Snaps to include for multi node unmount or instant clone delete",
        SerializedName = @"mountVolumeIds",
        PossibleTypes = new [] { typeof(long) })]
        long[] MountVolumeIds { get; set; }
        /// <summary>Array of volumes to include for the operation</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Array of volumes to include for the operation",
        SerializedName = @"volume",
        PossibleTypes = new [] { typeof(Commvault.Powershell.Models.ISnapVolumes) })]
        Commvault.Powershell.Models.ISnapVolumes[] Volume { get; set; }

    }
    /// Request template for multi node unmount and instant clone delete
    internal partial interface ISnapNodeReqInternal

    {
        /// <summary>
        /// Volume Ids of the Snaps to include for multi node unmount or instant clone delete
        /// </summary>
        long[] MountVolumeIds { get; set; }
        /// <summary>Array of volumes to include for the operation</summary>
        Commvault.Powershell.Models.ISnapVolumes[] Volume { get; set; }

    }
}