generated/api/Models/LocalAuthenticationDetails.cs
// Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.2, generator: @autorest/powershell@4.0.708) // 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 System.Collections.Generic.List<Commvault.Powershell.Models.IIdName> _userGroups; [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)] public System.Collections.Generic.List<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, Read = true, Create = true, Update = true, Description = @"", SerializedName = @"mode", PossibleTypes = new [] { typeof(string) })] string Mode { get; set; } [Commvault.Powershell.Runtime.Info( Required = false, ReadOnly = false, Read = true, Create = true, Update = true, Description = @"", SerializedName = @"userGroups", PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IIdName) })] System.Collections.Generic.List<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; } System.Collections.Generic.List<Commvault.Powershell.Models.IIdName> UserGroups { get; set; } } } |