generated/api/Models/PlanContentDataReaders.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 PlanContentDataReaders :
        Commvault.Powershell.Models.IPlanContentDataReaders,
        Commvault.Powershell.Models.IPlanContentDataReadersInternal
    {

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

        /// <summary>Number of data readers.</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? Count { get => this._count; set => this._count = value; }

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

        /// <summary>
        /// Set optimal number of data readers. if it is set to true, count will be ignored.
        /// </summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public bool? UseOptimal { get => this._useOptimal; set => this._useOptimal = value; }

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

        }
    }
    public partial interface IPlanContentDataReaders :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>Number of data readers.</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Number of data readers.",
        SerializedName = @"count",
        PossibleTypes = new [] { typeof(long) })]
        long? Count { get; set; }
        /// <summary>
        /// Set optimal number of data readers. if it is set to true, count will be ignored.
        /// </summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Set optimal number of data readers. if it is set to true, count will be ignored.",
        SerializedName = @"useOptimal",
        PossibleTypes = new [] { typeof(bool) })]
        bool? UseOptimal { get; set; }

    }
    internal partial interface IPlanContentDataReadersInternal

    {
        /// <summary>Number of data readers.</summary>
        long? Count { get; set; }
        /// <summary>
        /// Set optimal number of data readers. if it is set to true, count will be ignored.
        /// </summary>
        bool? UseOptimal { get; set; }

    }
}