generated/api/Models/LocalStorageGeneralInfo.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;

    public partial class LocalStorageGeneralInfo :
        Commvault.Powershell.Models.ILocalStorageGeneralInfo,
        Commvault.Powershell.Models.ILocalStorageGeneralInfoInternal
    {

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

        /// <summary>specifies the capacity of the storage pool</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? Capacity { get => this._capacity; set => this._capacity = value; }

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

        /// <summary>
        /// specifies the savings that occurred due to deduplication. Only available for dedupe storage pools.
        /// </summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? DedupeSavingsPercent { get => this._dedupeSavingsPercent; set => this._dedupeSavingsPercent = value; }

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

        /// <summary>specifies the available space on the storage pool</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? FreeSpace { get => this._freeSpace; set => this._freeSpace = value; }

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

        /// <summary>Amount of space consumed.</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? SizeOnDisk { get => this._sizeOnDisk; set => this._sizeOnDisk = value; }

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

        }
    }
    public partial interface ILocalStorageGeneralInfo :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>specifies the capacity of the storage pool</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"specifies the capacity of the storage pool",
        SerializedName = @"capacity",
        PossibleTypes = new [] { typeof(long) })]
        long? Capacity { get; set; }
        /// <summary>
        /// specifies the savings that occurred due to deduplication. Only available for dedupe storage pools.
        /// </summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"specifies the savings that occurred due to deduplication. Only available for dedupe storage pools.",
        SerializedName = @"dedupeSavingsPercent",
        PossibleTypes = new [] { typeof(long) })]
        long? DedupeSavingsPercent { get; set; }
        /// <summary>specifies the available space on the storage pool</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"specifies the available space on the storage pool",
        SerializedName = @"freeSpace",
        PossibleTypes = new [] { typeof(long) })]
        long? FreeSpace { get; set; }
        /// <summary>Amount of space consumed.</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Amount of space consumed.",
        SerializedName = @"sizeOnDisk",
        PossibleTypes = new [] { typeof(long) })]
        long? SizeOnDisk { get; set; }

    }
    internal partial interface ILocalStorageGeneralInfoInternal

    {
        /// <summary>specifies the capacity of the storage pool</summary>
        long? Capacity { get; set; }
        /// <summary>
        /// specifies the savings that occurred due to deduplication. Only available for dedupe storage pools.
        /// </summary>
        long? DedupeSavingsPercent { get; set; }
        /// <summary>specifies the available space on the storage pool</summary>
        long? FreeSpace { get; set; }
        /// <summary>Amount of space consumed.</summary>
        long? SizeOnDisk { get; set; }

    }
}