generated/api/Models/LocalAuthenticationDetails.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>
    /// Local authentication can be enabled for all users or specific user groups or completely disabled.
    /// </summary>
    public partial class LocalAuthenticationDetails :
        Commvault.Powershell.Models.ILocalAuthenticationDetails,
        Commvault.Powershell.Models.ILocalAuthenticationDetailsInternal
    {

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

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string Mode { get => this._mode; set => this._mode = value; }

        /// <summary>Backing field for <see cref="UserGroups" /> property.</summary>
        private Commvault.Powershell.Models.IIdName[] _userGroups;

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public Commvault.Powershell.Models.IIdName[] UserGroups { get => this._userGroups; set => this._userGroups = value; }

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

        }
    }
    /// Local authentication can be enabled for all users or specific user groups or completely disabled.
    public partial interface ILocalAuthenticationDetails :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"",
        SerializedName = @"mode",
        PossibleTypes = new [] { typeof(string) })]
        string Mode { get; set; }

        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"",
        SerializedName = @"userGroups",
        PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IIdName) })]
        Commvault.Powershell.Models.IIdName[] UserGroups { get; set; }

    }
    /// Local authentication can be enabled for all users or specific user groups or completely disabled.
    internal partial interface ILocalAuthenticationDetailsInternal

    {
        string Mode { get; set; }

        Commvault.Powershell.Models.IIdName[] UserGroups { get; set; }

    }
}