generated/api/Models/LaptopPlanGeneralInfo.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 LaptopPlanGeneralInfo :
        Commvault.Powershell.Models.ILaptopPlanGeneralInfo,
        Commvault.Powershell.Models.ILaptopPlanGeneralInfoInternal
    {

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

        /// <summary>Number of laptops associated with this plan</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? Laptops { get => this._laptops; set => this._laptops = value; }

        /// <summary>Backing field for <see cref="OptimizedForCloudBackups" /> property.</summary>
        private bool? _optimizedForCloudBackups;

        /// <summary>
        /// This feature allows laptops to write backup directly to the cloud storage. It helps to optimize scale by reducing server
        /// dependency and extra data hops. Once the feature is enabled, the existing and the newly-added laptops use optimized backups.
        /// </summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public bool? OptimizedForCloudBackups { get => this._optimizedForCloudBackups; set => this._optimizedForCloudBackups = value; }

        /// <summary>Backing field for <see cref="StorageResourcePoolMap" /> property.</summary>
        private Commvault.Powershell.Models.IStorageResourcePoolMap[] _storageResourcePoolMap;

        /// <summary>
        /// Optimization for cloud backups can only be used when resource pool are configured for atleast one storage.
        /// </summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public Commvault.Powershell.Models.IStorageResourcePoolMap[] StorageResourcePoolMap { get => this._storageResourcePoolMap; set => this._storageResourcePoolMap = value; }

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

        /// <summary>Number of users associated with this plan</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? Users { get => this._users; set => this._users = value; }

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

        }
    }
    public partial interface ILaptopPlanGeneralInfo :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>Number of laptops associated with this plan</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Number of laptops associated with this plan",
        SerializedName = @"laptops",
        PossibleTypes = new [] { typeof(long) })]
        long? Laptops { get; set; }
        /// <summary>
        /// This feature allows laptops to write backup directly to the cloud storage. It helps to optimize scale by reducing server
        /// dependency and extra data hops. Once the feature is enabled, the existing and the newly-added laptops use optimized backups.
        /// </summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"This feature allows laptops to write backup directly to the cloud storage. It helps to optimize scale by reducing server dependency and extra data hops. Once the feature is enabled, the existing and the newly-added laptops use optimized backups.",
        SerializedName = @"optimizedForCloudBackups",
        PossibleTypes = new [] { typeof(bool) })]
        bool? OptimizedForCloudBackups { get; set; }
        /// <summary>
        /// Optimization for cloud backups can only be used when resource pool are configured for atleast one storage.
        /// </summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Optimization for cloud backups can only be used when resource pool are configured for atleast one storage.",
        SerializedName = @"storageResourcePoolMap",
        PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IStorageResourcePoolMap) })]
        Commvault.Powershell.Models.IStorageResourcePoolMap[] StorageResourcePoolMap { get; set; }
        /// <summary>Number of users associated with this plan</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Number of users associated with this plan",
        SerializedName = @"users",
        PossibleTypes = new [] { typeof(long) })]
        long? Users { get; set; }

    }
    internal partial interface ILaptopPlanGeneralInfoInternal

    {
        /// <summary>Number of laptops associated with this plan</summary>
        long? Laptops { get; set; }
        /// <summary>
        /// This feature allows laptops to write backup directly to the cloud storage. It helps to optimize scale by reducing server
        /// dependency and extra data hops. Once the feature is enabled, the existing and the newly-added laptops use optimized backups.
        /// </summary>
        bool? OptimizedForCloudBackups { get; set; }
        /// <summary>
        /// Optimization for cloud backups can only be used when resource pool are configured for atleast one storage.
        /// </summary>
        Commvault.Powershell.Models.IStorageResourcePoolMap[] StorageResourcePoolMap { get; set; }
        /// <summary>Number of users associated with this plan</summary>
        long? Users { get; set; }

    }
}