Name | Type | Description | Notes |
---|---|---|---|
AuthPassword | string | The password to bind with. Required if authScheme other than none. | |
AuthRealm | Pointer to string | The SASL realm to bind to. Required if authScheme is CRAM_MD5 or DIGEST_MD5 | [optional] |
AuthScheme | string | Authentication scheme used for connecting to LDAP server | |
AuthUsername | Pointer to string | This must be a fully qualified username if simple authentication is used. Required if authScheme other than none. | [optional] |
ConnectionRetryDelaySeconds | int32 | How long to wait before retrying | |
ConnectionTimeoutSeconds | int32 | How long to wait before timeout | |
GroupBaseDn | Pointer to string | The relative DN where group objects are found (e.g. ou=Group). This value will have the Search base DN value appended to form the full Group search base DN. | [optional] |
GroupIdAttribute | Pointer to string | This field specifies the attribute of the Object class that defines the Group ID. Required if groupType is static | [optional] |
GroupMemberAttribute | Pointer to string | LDAP attribute containing the usernames for the group. Required if groupType is static | [optional] |
GroupMemberFormat | Pointer to string | The format of user ID stored in the group member attribute. Required if groupType is static | [optional] |
GroupObjectClass | Pointer to string | LDAP class for group objects. Required if groupType is static | [optional] |
GroupSubtree | Pointer to bool | Are groups located in structures below the group base DN | [optional] |
GroupType | string | Defines a type of groups used: static (a group contains a list of users) or dynamic (a user contains a list of groups). Required if ldapGroupsAsRoles is true. | |
Host | string | LDAP server connection hostname | |
Id | Pointer to string | LDAP server ID | [optional] |
LdapGroupsAsRoles | Pointer to bool | Denotes whether LDAP assigned roles are used as Nexus Repository Manager roles | [optional] |
MaxIncidentsCount | int32 | How many retry attempts | |
Name | string | LDAP server name | |
Port | int32 | LDAP server connection port to use | |
Protocol | string | LDAP server connection Protocol to use | |
SearchBase | string | LDAP location to be added to the connection URL | |
UseTrustStore | Pointer to bool | Whether to use certificates stored in Nexus Repository Manager's truststore | [optional] |
UserBaseDn | Pointer to string | The relative DN where user objects are found (e.g. ou=people). This value will have the Search base DN value appended to form the full User search base DN. | [optional] |
UserEmailAddressAttribute | Pointer to string | This is used to find an email address given the user ID | [optional] |
UserIdAttribute | Pointer to string | This is used to find a user given its user ID | [optional] |
UserLdapFilter | Pointer to string | LDAP search filter to limit user search | [optional] |
UserMemberOfAttribute | Pointer to string | Set this to the attribute used to store the attribute which holds groups DN in the user object. Required if groupType is dynamic | [optional] |
UserObjectClass | Pointer to string | LDAP class for user objects | [optional] |
UserPasswordAttribute | Pointer to string | If this field is blank the user will be authenticated against a bind with the LDAP server | [optional] |
UserRealNameAttribute | Pointer to string | This is used to find a real name given the user ID | [optional] |
UserSubtree | Pointer to bool | Are users located in structures below the user base DN? | [optional] |
func NewUpdateLdapServerXo(authPassword string, authScheme string, connectionRetryDelaySeconds int32, connectionTimeoutSeconds int32, groupType string, host string, maxIncidentsCount int32, name string, port int32, protocol string, searchBase string, ) *UpdateLdapServerXo
NewUpdateLdapServerXo instantiates a new UpdateLdapServerXo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdateLdapServerXoWithDefaults() *UpdateLdapServerXo
NewUpdateLdapServerXoWithDefaults instantiates a new UpdateLdapServerXo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *UpdateLdapServerXo) GetAuthPassword() string
GetAuthPassword returns the AuthPassword field if non-nil, zero value otherwise.
func (o *UpdateLdapServerXo) GetAuthPasswordOk() (*string, bool)
GetAuthPasswordOk returns a tuple with the AuthPassword field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateLdapServerXo) SetAuthPassword(v string)
SetAuthPassword sets AuthPassword field to given value.
func (o *UpdateLdapServerXo) GetAuthRealm() string
GetAuthRealm returns the AuthRealm field if non-nil, zero value otherwise.
func (o *UpdateLdapServerXo) GetAuthRealmOk() (*string, bool)
GetAuthRealmOk returns a tuple with the AuthRealm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateLdapServerXo) SetAuthRealm(v string)
SetAuthRealm sets AuthRealm field to given value.
func (o *UpdateLdapServerXo) HasAuthRealm() bool
HasAuthRealm returns a boolean if a field has been set.
func (o *UpdateLdapServerXo) GetAuthScheme() string
GetAuthScheme returns the AuthScheme field if non-nil, zero value otherwise.
func (o *UpdateLdapServerXo) GetAuthSchemeOk() (*string, bool)
GetAuthSchemeOk returns a tuple with the AuthScheme field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateLdapServerXo) SetAuthScheme(v string)
SetAuthScheme sets AuthScheme field to given value.
func (o *UpdateLdapServerXo) GetAuthUsername() string
GetAuthUsername returns the AuthUsername field if non-nil, zero value otherwise.
func (o *UpdateLdapServerXo) GetAuthUsernameOk() (*string, bool)
GetAuthUsernameOk returns a tuple with the AuthUsername field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateLdapServerXo) SetAuthUsername(v string)
SetAuthUsername sets AuthUsername field to given value.
func (o *UpdateLdapServerXo) HasAuthUsername() bool
HasAuthUsername returns a boolean if a field has been set.
func (o *UpdateLdapServerXo) GetConnectionRetryDelaySeconds() int32
GetConnectionRetryDelaySeconds returns the ConnectionRetryDelaySeconds field if non-nil, zero value otherwise.
func (o *UpdateLdapServerXo) GetConnectionRetryDelaySecondsOk() (*int32, bool)
GetConnectionRetryDelaySecondsOk returns a tuple with the ConnectionRetryDelaySeconds field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateLdapServerXo) SetConnectionRetryDelaySeconds(v int32)
SetConnectionRetryDelaySeconds sets ConnectionRetryDelaySeconds field to given value.
func (o *UpdateLdapServerXo) GetConnectionTimeoutSeconds() int32
GetConnectionTimeoutSeconds returns the ConnectionTimeoutSeconds field if non-nil, zero value otherwise.
func (o *UpdateLdapServerXo) GetConnectionTimeoutSecondsOk() (*int32, bool)
GetConnectionTimeoutSecondsOk returns a tuple with the ConnectionTimeoutSeconds field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateLdapServerXo) SetConnectionTimeoutSeconds(v int32)
SetConnectionTimeoutSeconds sets ConnectionTimeoutSeconds field to given value.
func (o *UpdateLdapServerXo) GetGroupBaseDn() string
GetGroupBaseDn returns the GroupBaseDn field if non-nil, zero value otherwise.
func (o *UpdateLdapServerXo) GetGroupBaseDnOk() (*string, bool)
GetGroupBaseDnOk returns a tuple with the GroupBaseDn field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateLdapServerXo) SetGroupBaseDn(v string)
SetGroupBaseDn sets GroupBaseDn field to given value.
func (o *UpdateLdapServerXo) HasGroupBaseDn() bool
HasGroupBaseDn returns a boolean if a field has been set.
func (o *UpdateLdapServerXo) GetGroupIdAttribute() string
GetGroupIdAttribute returns the GroupIdAttribute field if non-nil, zero value otherwise.
func (o *UpdateLdapServerXo) GetGroupIdAttributeOk() (*string, bool)
GetGroupIdAttributeOk returns a tuple with the GroupIdAttribute field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateLdapServerXo) SetGroupIdAttribute(v string)
SetGroupIdAttribute sets GroupIdAttribute field to given value.
func (o *UpdateLdapServerXo) HasGroupIdAttribute() bool
HasGroupIdAttribute returns a boolean if a field has been set.
func (o *UpdateLdapServerXo) GetGroupMemberAttribute() string
GetGroupMemberAttribute returns the GroupMemberAttribute field if non-nil, zero value otherwise.
func (o *UpdateLdapServerXo) GetGroupMemberAttributeOk() (*string, bool)
GetGroupMemberAttributeOk returns a tuple with the GroupMemberAttribute field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateLdapServerXo) SetGroupMemberAttribute(v string)
SetGroupMemberAttribute sets GroupMemberAttribute field to given value.
func (o *UpdateLdapServerXo) HasGroupMemberAttribute() bool
HasGroupMemberAttribute returns a boolean if a field has been set.
func (o *UpdateLdapServerXo) GetGroupMemberFormat() string
GetGroupMemberFormat returns the GroupMemberFormat field if non-nil, zero value otherwise.
func (o *UpdateLdapServerXo) GetGroupMemberFormatOk() (*string, bool)
GetGroupMemberFormatOk returns a tuple with the GroupMemberFormat field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateLdapServerXo) SetGroupMemberFormat(v string)
SetGroupMemberFormat sets GroupMemberFormat field to given value.
func (o *UpdateLdapServerXo) HasGroupMemberFormat() bool
HasGroupMemberFormat returns a boolean if a field has been set.
func (o *UpdateLdapServerXo) GetGroupObjectClass() string
GetGroupObjectClass returns the GroupObjectClass field if non-nil, zero value otherwise.
func (o *UpdateLdapServerXo) GetGroupObjectClassOk() (*string, bool)
GetGroupObjectClassOk returns a tuple with the GroupObjectClass field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateLdapServerXo) SetGroupObjectClass(v string)
SetGroupObjectClass sets GroupObjectClass field to given value.
func (o *UpdateLdapServerXo) HasGroupObjectClass() bool
HasGroupObjectClass returns a boolean if a field has been set.
func (o *UpdateLdapServerXo) GetGroupSubtree() bool
GetGroupSubtree returns the GroupSubtree field if non-nil, zero value otherwise.
func (o *UpdateLdapServerXo) GetGroupSubtreeOk() (*bool, bool)
GetGroupSubtreeOk returns a tuple with the GroupSubtree field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateLdapServerXo) SetGroupSubtree(v bool)
SetGroupSubtree sets GroupSubtree field to given value.
func (o *UpdateLdapServerXo) HasGroupSubtree() bool
HasGroupSubtree returns a boolean if a field has been set.
func (o *UpdateLdapServerXo) GetGroupType() string
GetGroupType returns the GroupType field if non-nil, zero value otherwise.
func (o *UpdateLdapServerXo) GetGroupTypeOk() (*string, bool)
GetGroupTypeOk returns a tuple with the GroupType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateLdapServerXo) SetGroupType(v string)
SetGroupType sets GroupType field to given value.
func (o *UpdateLdapServerXo) GetHost() string
GetHost returns the Host field if non-nil, zero value otherwise.
func (o *UpdateLdapServerXo) GetHostOk() (*string, bool)
GetHostOk returns a tuple with the Host field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateLdapServerXo) SetHost(v string)
SetHost sets Host field to given value.
func (o *UpdateLdapServerXo) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *UpdateLdapServerXo) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateLdapServerXo) SetId(v string)
SetId sets Id field to given value.
func (o *UpdateLdapServerXo) HasId() bool
HasId returns a boolean if a field has been set.
func (o *UpdateLdapServerXo) GetLdapGroupsAsRoles() bool
GetLdapGroupsAsRoles returns the LdapGroupsAsRoles field if non-nil, zero value otherwise.
func (o *UpdateLdapServerXo) GetLdapGroupsAsRolesOk() (*bool, bool)
GetLdapGroupsAsRolesOk returns a tuple with the LdapGroupsAsRoles field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateLdapServerXo) SetLdapGroupsAsRoles(v bool)
SetLdapGroupsAsRoles sets LdapGroupsAsRoles field to given value.
func (o *UpdateLdapServerXo) HasLdapGroupsAsRoles() bool
HasLdapGroupsAsRoles returns a boolean if a field has been set.
func (o *UpdateLdapServerXo) GetMaxIncidentsCount() int32
GetMaxIncidentsCount returns the MaxIncidentsCount field if non-nil, zero value otherwise.
func (o *UpdateLdapServerXo) GetMaxIncidentsCountOk() (*int32, bool)
GetMaxIncidentsCountOk returns a tuple with the MaxIncidentsCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateLdapServerXo) SetMaxIncidentsCount(v int32)
SetMaxIncidentsCount sets MaxIncidentsCount field to given value.
func (o *UpdateLdapServerXo) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *UpdateLdapServerXo) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateLdapServerXo) SetName(v string)
SetName sets Name field to given value.
func (o *UpdateLdapServerXo) GetPort() int32
GetPort returns the Port field if non-nil, zero value otherwise.
func (o *UpdateLdapServerXo) GetPortOk() (*int32, bool)
GetPortOk returns a tuple with the Port field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateLdapServerXo) SetPort(v int32)
SetPort sets Port field to given value.
func (o *UpdateLdapServerXo) GetProtocol() string
GetProtocol returns the Protocol field if non-nil, zero value otherwise.
func (o *UpdateLdapServerXo) GetProtocolOk() (*string, bool)
GetProtocolOk returns a tuple with the Protocol field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateLdapServerXo) SetProtocol(v string)
SetProtocol sets Protocol field to given value.
func (o *UpdateLdapServerXo) GetSearchBase() string
GetSearchBase returns the SearchBase field if non-nil, zero value otherwise.
func (o *UpdateLdapServerXo) GetSearchBaseOk() (*string, bool)
GetSearchBaseOk returns a tuple with the SearchBase field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateLdapServerXo) SetSearchBase(v string)
SetSearchBase sets SearchBase field to given value.
func (o *UpdateLdapServerXo) GetUseTrustStore() bool
GetUseTrustStore returns the UseTrustStore field if non-nil, zero value otherwise.
func (o *UpdateLdapServerXo) GetUseTrustStoreOk() (*bool, bool)
GetUseTrustStoreOk returns a tuple with the UseTrustStore field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateLdapServerXo) SetUseTrustStore(v bool)
SetUseTrustStore sets UseTrustStore field to given value.
func (o *UpdateLdapServerXo) HasUseTrustStore() bool
HasUseTrustStore returns a boolean if a field has been set.
func (o *UpdateLdapServerXo) GetUserBaseDn() string
GetUserBaseDn returns the UserBaseDn field if non-nil, zero value otherwise.
func (o *UpdateLdapServerXo) GetUserBaseDnOk() (*string, bool)
GetUserBaseDnOk returns a tuple with the UserBaseDn field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateLdapServerXo) SetUserBaseDn(v string)
SetUserBaseDn sets UserBaseDn field to given value.
func (o *UpdateLdapServerXo) HasUserBaseDn() bool
HasUserBaseDn returns a boolean if a field has been set.
func (o *UpdateLdapServerXo) GetUserEmailAddressAttribute() string
GetUserEmailAddressAttribute returns the UserEmailAddressAttribute field if non-nil, zero value otherwise.
func (o *UpdateLdapServerXo) GetUserEmailAddressAttributeOk() (*string, bool)
GetUserEmailAddressAttributeOk returns a tuple with the UserEmailAddressAttribute field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateLdapServerXo) SetUserEmailAddressAttribute(v string)
SetUserEmailAddressAttribute sets UserEmailAddressAttribute field to given value.
func (o *UpdateLdapServerXo) HasUserEmailAddressAttribute() bool
HasUserEmailAddressAttribute returns a boolean if a field has been set.
func (o *UpdateLdapServerXo) GetUserIdAttribute() string
GetUserIdAttribute returns the UserIdAttribute field if non-nil, zero value otherwise.
func (o *UpdateLdapServerXo) GetUserIdAttributeOk() (*string, bool)
GetUserIdAttributeOk returns a tuple with the UserIdAttribute field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateLdapServerXo) SetUserIdAttribute(v string)
SetUserIdAttribute sets UserIdAttribute field to given value.
func (o *UpdateLdapServerXo) HasUserIdAttribute() bool
HasUserIdAttribute returns a boolean if a field has been set.
func (o *UpdateLdapServerXo) GetUserLdapFilter() string
GetUserLdapFilter returns the UserLdapFilter field if non-nil, zero value otherwise.
func (o *UpdateLdapServerXo) GetUserLdapFilterOk() (*string, bool)
GetUserLdapFilterOk returns a tuple with the UserLdapFilter field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateLdapServerXo) SetUserLdapFilter(v string)
SetUserLdapFilter sets UserLdapFilter field to given value.
func (o *UpdateLdapServerXo) HasUserLdapFilter() bool
HasUserLdapFilter returns a boolean if a field has been set.
func (o *UpdateLdapServerXo) GetUserMemberOfAttribute() string
GetUserMemberOfAttribute returns the UserMemberOfAttribute field if non-nil, zero value otherwise.
func (o *UpdateLdapServerXo) GetUserMemberOfAttributeOk() (*string, bool)
GetUserMemberOfAttributeOk returns a tuple with the UserMemberOfAttribute field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateLdapServerXo) SetUserMemberOfAttribute(v string)
SetUserMemberOfAttribute sets UserMemberOfAttribute field to given value.
func (o *UpdateLdapServerXo) HasUserMemberOfAttribute() bool
HasUserMemberOfAttribute returns a boolean if a field has been set.
func (o *UpdateLdapServerXo) GetUserObjectClass() string
GetUserObjectClass returns the UserObjectClass field if non-nil, zero value otherwise.
func (o *UpdateLdapServerXo) GetUserObjectClassOk() (*string, bool)
GetUserObjectClassOk returns a tuple with the UserObjectClass field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateLdapServerXo) SetUserObjectClass(v string)
SetUserObjectClass sets UserObjectClass field to given value.
func (o *UpdateLdapServerXo) HasUserObjectClass() bool
HasUserObjectClass returns a boolean if a field has been set.
func (o *UpdateLdapServerXo) GetUserPasswordAttribute() string
GetUserPasswordAttribute returns the UserPasswordAttribute field if non-nil, zero value otherwise.
func (o *UpdateLdapServerXo) GetUserPasswordAttributeOk() (*string, bool)
GetUserPasswordAttributeOk returns a tuple with the UserPasswordAttribute field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateLdapServerXo) SetUserPasswordAttribute(v string)
SetUserPasswordAttribute sets UserPasswordAttribute field to given value.
func (o *UpdateLdapServerXo) HasUserPasswordAttribute() bool
HasUserPasswordAttribute returns a boolean if a field has been set.
func (o *UpdateLdapServerXo) GetUserRealNameAttribute() string
GetUserRealNameAttribute returns the UserRealNameAttribute field if non-nil, zero value otherwise.
func (o *UpdateLdapServerXo) GetUserRealNameAttributeOk() (*string, bool)
GetUserRealNameAttributeOk returns a tuple with the UserRealNameAttribute field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateLdapServerXo) SetUserRealNameAttribute(v string)
SetUserRealNameAttribute sets UserRealNameAttribute field to given value.
func (o *UpdateLdapServerXo) HasUserRealNameAttribute() bool
HasUserRealNameAttribute returns a boolean if a field has been set.
func (o *UpdateLdapServerXo) GetUserSubtree() bool
GetUserSubtree returns the UserSubtree field if non-nil, zero value otherwise.
func (o *UpdateLdapServerXo) GetUserSubtreeOk() (*bool, bool)
GetUserSubtreeOk returns a tuple with the UserSubtree field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateLdapServerXo) SetUserSubtree(v bool)
SetUserSubtree sets UserSubtree field to given value.
func (o *UpdateLdapServerXo) HasUserSubtree() bool
HasUserSubtree returns a boolean if a field has been set.