generated/api/Models/VolumeSnap.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>An object containing smVolumeId of Snaps and the flags set</summary>
    public partial class VolumeSnap :
        Commvault.Powershell.Models.IVolumeSnap,
        Commvault.Powershell.Models.IVolumeSnapInternal
    {

        /// <summary>Backing field for <see cref="Flags" /> property.</summary>
        private long? _flags;

        /// <summary>Volume flags to be set for snap Operations.</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? Flags { get => this._flags; set => this._flags = value; }

        /// <summary>Backing field for <see cref="SmVolumeId" /> property.</summary>
        private long? _smVolumeId;

        /// <summary>smVolumeId of the snaps you want to mount/unmount/delete</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? SmVolumeId { get => this._smVolumeId; set => this._smVolumeId = value; }

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

        }
    }
    /// An object containing smVolumeId of Snaps and the flags set
    public partial interface IVolumeSnap :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>Volume flags to be set for snap Operations.</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Volume flags to be set for snap Operations.",
        SerializedName = @"flags",
        PossibleTypes = new [] { typeof(long) })]
        long? Flags { get; set; }
        /// <summary>smVolumeId of the snaps you want to mount/unmount/delete</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"smVolumeId of the snaps you want to mount/unmount/delete",
        SerializedName = @"smVolumeId",
        PossibleTypes = new [] { typeof(long) })]
        long? SmVolumeId { get; set; }

    }
    /// An object containing smVolumeId of Snaps and the flags set
    internal partial interface IVolumeSnapInternal

    {
        /// <summary>Volume flags to be set for snap Operations.</summary>
        long? Flags { get; set; }
        /// <summary>smVolumeId of the snaps you want to mount/unmount/delete</summary>
        long? SmVolumeId { get; set; }

    }
}