generated/api/Models/CloudStorageGeneralInfo.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>CloudStorageGeneralInfo</summary>
    public partial class CloudStorageGeneralInfo :
        Commvault.Powershell.Models.ICloudStorageGeneralInfo,
        Commvault.Powershell.Models.ICloudStorageGeneralInfoInternal
    {

        /// <summary>Backing field for <see cref="DeduplicationSavings" /> property.</summary>
        private string _deduplicationSavings;

        /// <summary>
        /// Specifies the savings in percentage that occurred due to deduplication. Only available for dedupe cloud storage pools
        /// </summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string DeduplicationSavings { get => this._deduplicationSavings; set => this._deduplicationSavings = value; }

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

        /// <summary>Free space available on this cloud storage</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>Backing field for <see cref="TotalCapacity" /> property.</summary>
        private long? _totalCapacity;

        /// <summary>Total capacity of this cloud storage</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? TotalCapacity { get => this._totalCapacity; set => this._totalCapacity = value; }

        /// <summary>Backing field for <see cref="Type" /> property.</summary>
        private string _type;

        /// <summary>Type of the cloud storage server</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string Type { get => this._type; set => this._type = value; }

        /// <summary>Backing field for <see cref="VendorType" /> property.</summary>
        private string _vendorType;

        /// <summary>Cloud server type</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string VendorType { get => this._vendorType; set => this._vendorType = value; }

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

        }
    }
    /// CloudStorageGeneralInfo
    public partial interface ICloudStorageGeneralInfo :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>
        /// Specifies the savings in percentage that occurred due to deduplication. Only available for dedupe cloud storage pools
        /// </summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Specifies the savings in percentage that occurred due to deduplication. Only available for dedupe cloud storage pools",
        SerializedName = @"deduplicationSavings",
        PossibleTypes = new [] { typeof(string) })]
        string DeduplicationSavings { get; set; }
        /// <summary>Free space available on this cloud storage</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Free space available on this cloud storage",
        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; }
        /// <summary>Total capacity of this cloud storage</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Total capacity of this cloud storage",
        SerializedName = @"totalCapacity",
        PossibleTypes = new [] { typeof(long) })]
        long? TotalCapacity { get; set; }
        /// <summary>Type of the cloud storage server</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Type of the cloud storage server",
        SerializedName = @"type",
        PossibleTypes = new [] { typeof(string) })]
        string Type { get; set; }
        /// <summary>Cloud server type</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Cloud server type",
        SerializedName = @"vendorType",
        PossibleTypes = new [] { typeof(string) })]
        string VendorType { get; set; }

    }
    /// CloudStorageGeneralInfo
    internal partial interface ICloudStorageGeneralInfoInternal

    {
        /// <summary>
        /// Specifies the savings in percentage that occurred due to deduplication. Only available for dedupe cloud storage pools
        /// </summary>
        string DeduplicationSavings { get; set; }
        /// <summary>Free space available on this cloud storage</summary>
        long? FreeSpace { get; set; }
        /// <summary>Amount of space consumed</summary>
        long? SizeOnDisk { get; set; }
        /// <summary>Total capacity of this cloud storage</summary>
        long? TotalCapacity { get; set; }
        /// <summary>Type of the cloud storage server</summary>
        string Type { get; set; }
        /// <summary>Cloud server type</summary>
        string VendorType { get; set; }

    }
}