generated/api/Models/LaptopPlanNetworkResources.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 LaptopPlanNetworkResources :
        Commvault.Powershell.Models.ILaptopPlanNetworkResources,
        Commvault.Powershell.Models.ILaptopPlanNetworkResourcesInternal
    {

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

        /// <summary>
        /// Maximum kilobits per second to throttle the receiving speed of data. Giving value as -1 means infinite throttle send speed
        /// i.e. no limit
        /// </summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? ThrottleReceive { get => this._throttleReceive; set => this._throttleReceive = value; }

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

        /// <summary>
        /// Maximum kilobits per second to throttle the emitting speed of data. Giving value as -1 means infinite throttle send speed
        /// i.e. no limit
        /// </summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? ThrottleSend { get => this._throttleSend; set => this._throttleSend = value; }

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

        }
    }
    public partial interface ILaptopPlanNetworkResources :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>
        /// Maximum kilobits per second to throttle the receiving speed of data. Giving value as -1 means infinite throttle send speed
        /// i.e. no limit
        /// </summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Maximum kilobits per second to throttle the receiving speed of data. Giving value as -1 means infinite throttle send speed i.e. no limit",
        SerializedName = @"throttleReceive",
        PossibleTypes = new [] { typeof(long) })]
        long? ThrottleReceive { get; set; }
        /// <summary>
        /// Maximum kilobits per second to throttle the emitting speed of data. Giving value as -1 means infinite throttle send speed
        /// i.e. no limit
        /// </summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Maximum kilobits per second to throttle the emitting speed of data. Giving value as -1 means infinite throttle send speed i.e. no limit",
        SerializedName = @"throttleSend",
        PossibleTypes = new [] { typeof(long) })]
        long? ThrottleSend { get; set; }

    }
    internal partial interface ILaptopPlanNetworkResourcesInternal

    {
        /// <summary>
        /// Maximum kilobits per second to throttle the receiving speed of data. Giving value as -1 means infinite throttle send speed
        /// i.e. no limit
        /// </summary>
        long? ThrottleReceive { get; set; }
        /// <summary>
        /// Maximum kilobits per second to throttle the emitting speed of data. Giving value as -1 means infinite throttle send speed
        /// i.e. no limit
        /// </summary>
        long? ThrottleSend { get; set; }

    }
}