// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.

package components

type Ldap struct {
	// Ability to connect with anonymous bind (empty username and password)
	AllowsAnonymousBind *bool `json:"allows_anonymous_bind,omitempty"`
	// All root DN attributes available via anonymous bind
	Attributes []LdapAttribute `json:"attributes,omitempty"`
	// Result or error code returned by LDAP instance upon bind
	ResultCode *int `json:"result_code,omitempty"`
}

func (o *Ldap) GetAllowsAnonymousBind() *bool {
	if o == nil {
		return nil
	}
	return o.AllowsAnonymousBind
}

func (o *Ldap) GetAttributes() []LdapAttribute {
	if o == nil {
		return nil
	}
	return o.Attributes
}

func (o *Ldap) GetResultCode() *int {
	if o == nil {
		return nil
	}
	return o.ResultCode
}
