1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
#[allow(unused_imports)]
use serde_json::Value;

#[derive(Debug, Serialize, Deserialize)]
pub struct ProvidersLdapLdapItem {
    /// Specifies the attribute name used when searching for alternate security identities.
    #[serde(rename = "alternate_security_identities_attribute")]
    pub alternate_security_identities_attribute: Option<String>,
    /// If true, enables authentication and identity management through the authentication provider.
    #[serde(rename = "authentication")]
    pub authentication: Option<bool>,
    /// If true, connects the provider to a random server.
    #[serde(rename = "balance_servers")]
    pub balance_servers: Option<bool>,
    /// Specifies the root of the tree in which to search identities.
    #[serde(rename = "base_dn")]
    pub base_dn: Option<String>,
    /// Specifies the distinguished name for binding to the LDAP server.
    #[serde(rename = "bind_dn")]
    pub bind_dn: Option<String>,
}