Skip to content

Latest commit

 

History

History
415 lines (224 loc) · 11 KB

UpdateLdapTarget.md

File metadata and controls

415 lines (224 loc) · 11 KB

UpdateLdapTarget

Properties

Name Type Description Notes
BindDn Pointer to string [optional]
BindDnPassword Pointer to string [optional]
Comment Pointer to string Comment about the target [optional]
Json Pointer to bool Set output format to JSON [optional]
KeepPrevVersion Pointer to string [optional]
Key Pointer to string The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used) [optional]
LdapCaCert Pointer to string [optional]
LdapUrl Pointer to string [optional]
Name string Target name
NewName Pointer to string New target name [optional]
ServerType Pointer to string Set Ldap server type, Options:[OpenLDAP, ActiveDirectory] [optional]
Token Pointer to string Authentication token (see `/auth` and `/configure`) [optional]
TokenExpiration Pointer to string [optional]
UidToken Pointer to string The universal identity token, Required only for universal_identity authentication [optional]
UpdateVersion Pointer to bool Deprecated [optional]

Methods

NewUpdateLdapTarget

func NewUpdateLdapTarget(name string, ) *UpdateLdapTarget

NewUpdateLdapTarget instantiates a new UpdateLdapTarget 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

NewUpdateLdapTargetWithDefaults

func NewUpdateLdapTargetWithDefaults() *UpdateLdapTarget

NewUpdateLdapTargetWithDefaults instantiates a new UpdateLdapTarget 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

GetBindDn

func (o *UpdateLdapTarget) GetBindDn() string

GetBindDn returns the BindDn field if non-nil, zero value otherwise.

GetBindDnOk

func (o *UpdateLdapTarget) GetBindDnOk() (*string, bool)

GetBindDnOk returns a tuple with the BindDn field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetBindDn

func (o *UpdateLdapTarget) SetBindDn(v string)

SetBindDn sets BindDn field to given value.

HasBindDn

func (o *UpdateLdapTarget) HasBindDn() bool

HasBindDn returns a boolean if a field has been set.

GetBindDnPassword

func (o *UpdateLdapTarget) GetBindDnPassword() string

GetBindDnPassword returns the BindDnPassword field if non-nil, zero value otherwise.

GetBindDnPasswordOk

func (o *UpdateLdapTarget) GetBindDnPasswordOk() (*string, bool)

GetBindDnPasswordOk returns a tuple with the BindDnPassword field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetBindDnPassword

func (o *UpdateLdapTarget) SetBindDnPassword(v string)

SetBindDnPassword sets BindDnPassword field to given value.

HasBindDnPassword

func (o *UpdateLdapTarget) HasBindDnPassword() bool

HasBindDnPassword returns a boolean if a field has been set.

GetComment

func (o *UpdateLdapTarget) GetComment() string

GetComment returns the Comment field if non-nil, zero value otherwise.

GetCommentOk

func (o *UpdateLdapTarget) GetCommentOk() (*string, bool)

GetCommentOk returns a tuple with the Comment field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetComment

func (o *UpdateLdapTarget) SetComment(v string)

SetComment sets Comment field to given value.

HasComment

func (o *UpdateLdapTarget) HasComment() bool

HasComment returns a boolean if a field has been set.

GetJson

func (o *UpdateLdapTarget) GetJson() bool

GetJson returns the Json field if non-nil, zero value otherwise.

GetJsonOk

func (o *UpdateLdapTarget) GetJsonOk() (*bool, bool)

GetJsonOk returns a tuple with the Json field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetJson

func (o *UpdateLdapTarget) SetJson(v bool)

SetJson sets Json field to given value.

HasJson

func (o *UpdateLdapTarget) HasJson() bool

HasJson returns a boolean if a field has been set.

GetKeepPrevVersion

func (o *UpdateLdapTarget) GetKeepPrevVersion() string

GetKeepPrevVersion returns the KeepPrevVersion field if non-nil, zero value otherwise.

GetKeepPrevVersionOk

func (o *UpdateLdapTarget) GetKeepPrevVersionOk() (*string, bool)

GetKeepPrevVersionOk returns a tuple with the KeepPrevVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetKeepPrevVersion

func (o *UpdateLdapTarget) SetKeepPrevVersion(v string)

SetKeepPrevVersion sets KeepPrevVersion field to given value.

HasKeepPrevVersion

func (o *UpdateLdapTarget) HasKeepPrevVersion() bool

HasKeepPrevVersion returns a boolean if a field has been set.

GetKey

func (o *UpdateLdapTarget) GetKey() string

GetKey returns the Key field if non-nil, zero value otherwise.

GetKeyOk

func (o *UpdateLdapTarget) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetKey

func (o *UpdateLdapTarget) SetKey(v string)

SetKey sets Key field to given value.

HasKey

func (o *UpdateLdapTarget) HasKey() bool

HasKey returns a boolean if a field has been set.

GetLdapCaCert

func (o *UpdateLdapTarget) GetLdapCaCert() string

GetLdapCaCert returns the LdapCaCert field if non-nil, zero value otherwise.

GetLdapCaCertOk

func (o *UpdateLdapTarget) GetLdapCaCertOk() (*string, bool)

GetLdapCaCertOk returns a tuple with the LdapCaCert field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetLdapCaCert

func (o *UpdateLdapTarget) SetLdapCaCert(v string)

SetLdapCaCert sets LdapCaCert field to given value.

HasLdapCaCert

func (o *UpdateLdapTarget) HasLdapCaCert() bool

HasLdapCaCert returns a boolean if a field has been set.

GetLdapUrl

func (o *UpdateLdapTarget) GetLdapUrl() string

GetLdapUrl returns the LdapUrl field if non-nil, zero value otherwise.

GetLdapUrlOk

func (o *UpdateLdapTarget) GetLdapUrlOk() (*string, bool)

GetLdapUrlOk returns a tuple with the LdapUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetLdapUrl

func (o *UpdateLdapTarget) SetLdapUrl(v string)

SetLdapUrl sets LdapUrl field to given value.

HasLdapUrl

func (o *UpdateLdapTarget) HasLdapUrl() bool

HasLdapUrl returns a boolean if a field has been set.

GetName

func (o *UpdateLdapTarget) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *UpdateLdapTarget) 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.

SetName

func (o *UpdateLdapTarget) SetName(v string)

SetName sets Name field to given value.

GetNewName

func (o *UpdateLdapTarget) GetNewName() string

GetNewName returns the NewName field if non-nil, zero value otherwise.

GetNewNameOk

func (o *UpdateLdapTarget) GetNewNameOk() (*string, bool)

GetNewNameOk returns a tuple with the NewName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetNewName

func (o *UpdateLdapTarget) SetNewName(v string)

SetNewName sets NewName field to given value.

HasNewName

func (o *UpdateLdapTarget) HasNewName() bool

HasNewName returns a boolean if a field has been set.

GetServerType

func (o *UpdateLdapTarget) GetServerType() string

GetServerType returns the ServerType field if non-nil, zero value otherwise.

GetServerTypeOk

func (o *UpdateLdapTarget) GetServerTypeOk() (*string, bool)

GetServerTypeOk returns a tuple with the ServerType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetServerType

func (o *UpdateLdapTarget) SetServerType(v string)

SetServerType sets ServerType field to given value.

HasServerType

func (o *UpdateLdapTarget) HasServerType() bool

HasServerType returns a boolean if a field has been set.

GetToken

func (o *UpdateLdapTarget) GetToken() string

GetToken returns the Token field if non-nil, zero value otherwise.

GetTokenOk

func (o *UpdateLdapTarget) GetTokenOk() (*string, bool)

GetTokenOk returns a tuple with the Token field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetToken

func (o *UpdateLdapTarget) SetToken(v string)

SetToken sets Token field to given value.

HasToken

func (o *UpdateLdapTarget) HasToken() bool

HasToken returns a boolean if a field has been set.

GetTokenExpiration

func (o *UpdateLdapTarget) GetTokenExpiration() string

GetTokenExpiration returns the TokenExpiration field if non-nil, zero value otherwise.

GetTokenExpirationOk

func (o *UpdateLdapTarget) GetTokenExpirationOk() (*string, bool)

GetTokenExpirationOk returns a tuple with the TokenExpiration field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetTokenExpiration

func (o *UpdateLdapTarget) SetTokenExpiration(v string)

SetTokenExpiration sets TokenExpiration field to given value.

HasTokenExpiration

func (o *UpdateLdapTarget) HasTokenExpiration() bool

HasTokenExpiration returns a boolean if a field has been set.

GetUidToken

func (o *UpdateLdapTarget) GetUidToken() string

GetUidToken returns the UidToken field if non-nil, zero value otherwise.

GetUidTokenOk

func (o *UpdateLdapTarget) GetUidTokenOk() (*string, bool)

GetUidTokenOk returns a tuple with the UidToken field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetUidToken

func (o *UpdateLdapTarget) SetUidToken(v string)

SetUidToken sets UidToken field to given value.

HasUidToken

func (o *UpdateLdapTarget) HasUidToken() bool

HasUidToken returns a boolean if a field has been set.

GetUpdateVersion

func (o *UpdateLdapTarget) GetUpdateVersion() bool

GetUpdateVersion returns the UpdateVersion field if non-nil, zero value otherwise.

GetUpdateVersionOk

func (o *UpdateLdapTarget) GetUpdateVersionOk() (*bool, bool)

GetUpdateVersionOk returns a tuple with the UpdateVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetUpdateVersion

func (o *UpdateLdapTarget) SetUpdateVersion(v bool)

SetUpdateVersion sets UpdateVersion field to given value.

HasUpdateVersion

func (o *UpdateLdapTarget) HasUpdateVersion() bool

HasUpdateVersion returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]