generated/api/Models/LdapAttributes.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>Provider attributes for LDAP app</summary>
    public partial class LdapAttributes :
        Commvault.Powershell.Models.ILdapAttributes,
        Commvault.Powershell.Models.ILdapAttributesInternal
    {

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

        /// <summary>Custom attribute string of LDAP query paramters</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string BaseDn { get => this._baseDn; set => this._baseDn = value; }

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

        /// <summary>Custom attribute string of LDAP query paramters</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string UniqueIdentifier { get => this._uniqueIdentifier; set => this._uniqueIdentifier = value; }

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

        /// <summary>Custom attribute string of LDAP query paramters</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string UserFilter { get => this._userFilter; set => this._userFilter = value; }

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

        /// <summary>Custom attribute string of LDAP query paramters</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string UserGroupFilter { get => this._userGroupFilter; set => this._userGroupFilter = value; }

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

        }
    }
    /// Provider attributes for LDAP app
    public partial interface ILdapAttributes :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>Custom attribute string of LDAP query paramters</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Custom attribute string of LDAP query paramters",
        SerializedName = @"baseDN",
        PossibleTypes = new [] { typeof(string) })]
        string BaseDn { get; set; }
        /// <summary>Custom attribute string of LDAP query paramters</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Custom attribute string of LDAP query paramters",
        SerializedName = @"uniqueIdentifier",
        PossibleTypes = new [] { typeof(string) })]
        string UniqueIdentifier { get; set; }
        /// <summary>Custom attribute string of LDAP query paramters</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Custom attribute string of LDAP query paramters",
        SerializedName = @"userFilter",
        PossibleTypes = new [] { typeof(string) })]
        string UserFilter { get; set; }
        /// <summary>Custom attribute string of LDAP query paramters</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Custom attribute string of LDAP query paramters",
        SerializedName = @"userGroupFilter",
        PossibleTypes = new [] { typeof(string) })]
        string UserGroupFilter { get; set; }

    }
    /// Provider attributes for LDAP app
    internal partial interface ILdapAttributesInternal

    {
        /// <summary>Custom attribute string of LDAP query paramters</summary>
        string BaseDn { get; set; }
        /// <summary>Custom attribute string of LDAP query paramters</summary>
        string UniqueIdentifier { get; set; }
        /// <summary>Custom attribute string of LDAP query paramters</summary>
        string UserFilter { get; set; }
        /// <summary>Custom attribute string of LDAP query paramters</summary>
        string UserGroupFilter { get; set; }

    }
}