generated/api/Models/SnapVolumes.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 commcell id of the setup</summary>
    public partial class SnapVolumes :
        Commvault.Powershell.Models.ISnapVolumes,
        Commvault.Powershell.Models.ISnapVolumesInternal
    {

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

        /// <summary>Commcell Id of the setup</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? CommCellId { get => this._commCellId; set => this._commCellId = value; }

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

        /// <summary>smVolumeId of the snap</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long SmVolumeId { get => this._smVolumeId; set => this._smVolumeId = value; }

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

        }
    }
    /// An object containing smVolumeId of snaps and commcell id of the setup
    public partial interface ISnapVolumes :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>Commcell Id of the setup</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Commcell Id of the setup",
        SerializedName = @"commCellId",
        PossibleTypes = new [] { typeof(long) })]
        long? CommCellId { get; set; }
        /// <summary>smVolumeId of the snap</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = true,
        ReadOnly = false,
        Description = @"smVolumeId of the snap",
        SerializedName = @"smVolumeId",
        PossibleTypes = new [] { typeof(long) })]
        long SmVolumeId { get; set; }

    }
    /// An object containing smVolumeId of snaps and commcell id of the setup
    internal partial interface ISnapVolumesInternal

    {
        /// <summary>Commcell Id of the setup</summary>
        long? CommCellId { get; set; }
        /// <summary>smVolumeId of the snap</summary>
        long SmVolumeId { get; set; }

    }
}