Skip to content

Latest commit

 

History

History
374 lines (201 loc) · 10.2 KB

CreateLdapTarget.md

File metadata and controls

374 lines (201 loc) · 10.2 KB

CreateLdapTarget

Properties

Name Type Description Notes
BindDn string Bind DN
BindDnPassword string Bind DN Password
Comment Pointer to string Deprecated - use description [optional]
Description Pointer to string Description of the object [optional]
Json Pointer to bool Set output format to JSON [optional] [default to false]
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 CA Certificate File Content [optional]
LdapUrl string LDAP Server URL
MaxVersions Pointer to string Set the maximum number of versions, limited by the account settings defaults. [optional]
Name string Target name
ServerType Pointer to string Set Ldap server type, Options:[OpenLDAP, ActiveDirectory]. Default is OpenLDAP [optional] [default to "OpenLDAP"]
Token Pointer to string Authentication token (see `/auth` and `/configure`) [optional]
TokenExpiration Pointer to string Token expiration [optional]
UidToken Pointer to string The universal identity token, Required only for universal_identity authentication [optional]

Methods

NewCreateLdapTarget

func NewCreateLdapTarget(bindDn string, bindDnPassword string, ldapUrl string, name string, ) *CreateLdapTarget

NewCreateLdapTarget instantiates a new CreateLdapTarget 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

NewCreateLdapTargetWithDefaults

func NewCreateLdapTargetWithDefaults() *CreateLdapTarget

NewCreateLdapTargetWithDefaults instantiates a new CreateLdapTarget 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 *CreateLdapTarget) GetBindDn() string

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

GetBindDnOk

func (o *CreateLdapTarget) 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 *CreateLdapTarget) SetBindDn(v string)

SetBindDn sets BindDn field to given value.

GetBindDnPassword

func (o *CreateLdapTarget) GetBindDnPassword() string

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

GetBindDnPasswordOk

func (o *CreateLdapTarget) 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 *CreateLdapTarget) SetBindDnPassword(v string)

SetBindDnPassword sets BindDnPassword field to given value.

GetComment

func (o *CreateLdapTarget) GetComment() string

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

GetCommentOk

func (o *CreateLdapTarget) 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 *CreateLdapTarget) SetComment(v string)

SetComment sets Comment field to given value.

HasComment

func (o *CreateLdapTarget) HasComment() bool

HasComment returns a boolean if a field has been set.

GetDescription

func (o *CreateLdapTarget) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

GetDescriptionOk

func (o *CreateLdapTarget) GetDescriptionOk() (*string, bool)

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

SetDescription

func (o *CreateLdapTarget) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *CreateLdapTarget) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetJson

func (o *CreateLdapTarget) GetJson() bool

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

GetJsonOk

func (o *CreateLdapTarget) 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 *CreateLdapTarget) SetJson(v bool)

SetJson sets Json field to given value.

HasJson

func (o *CreateLdapTarget) HasJson() bool

HasJson returns a boolean if a field has been set.

GetKey

func (o *CreateLdapTarget) GetKey() string

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

GetKeyOk

func (o *CreateLdapTarget) 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 *CreateLdapTarget) SetKey(v string)

SetKey sets Key field to given value.

HasKey

func (o *CreateLdapTarget) HasKey() bool

HasKey returns a boolean if a field has been set.

GetLdapCaCert

func (o *CreateLdapTarget) GetLdapCaCert() string

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

GetLdapCaCertOk

func (o *CreateLdapTarget) 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 *CreateLdapTarget) SetLdapCaCert(v string)

SetLdapCaCert sets LdapCaCert field to given value.

HasLdapCaCert

func (o *CreateLdapTarget) HasLdapCaCert() bool

HasLdapCaCert returns a boolean if a field has been set.

GetLdapUrl

func (o *CreateLdapTarget) GetLdapUrl() string

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

GetLdapUrlOk

func (o *CreateLdapTarget) 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 *CreateLdapTarget) SetLdapUrl(v string)

SetLdapUrl sets LdapUrl field to given value.

GetMaxVersions

func (o *CreateLdapTarget) GetMaxVersions() string

GetMaxVersions returns the MaxVersions field if non-nil, zero value otherwise.

GetMaxVersionsOk

func (o *CreateLdapTarget) GetMaxVersionsOk() (*string, bool)

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

SetMaxVersions

func (o *CreateLdapTarget) SetMaxVersions(v string)

SetMaxVersions sets MaxVersions field to given value.

HasMaxVersions

func (o *CreateLdapTarget) HasMaxVersions() bool

HasMaxVersions returns a boolean if a field has been set.

GetName

func (o *CreateLdapTarget) GetName() string

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

GetNameOk

func (o *CreateLdapTarget) 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 *CreateLdapTarget) SetName(v string)

SetName sets Name field to given value.

GetServerType

func (o *CreateLdapTarget) GetServerType() string

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

GetServerTypeOk

func (o *CreateLdapTarget) 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 *CreateLdapTarget) SetServerType(v string)

SetServerType sets ServerType field to given value.

HasServerType

func (o *CreateLdapTarget) HasServerType() bool

HasServerType returns a boolean if a field has been set.

GetToken

func (o *CreateLdapTarget) GetToken() string

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

GetTokenOk

func (o *CreateLdapTarget) 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 *CreateLdapTarget) SetToken(v string)

SetToken sets Token field to given value.

HasToken

func (o *CreateLdapTarget) HasToken() bool

HasToken returns a boolean if a field has been set.

GetTokenExpiration

func (o *CreateLdapTarget) GetTokenExpiration() string

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

GetTokenExpirationOk

func (o *CreateLdapTarget) 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 *CreateLdapTarget) SetTokenExpiration(v string)

SetTokenExpiration sets TokenExpiration field to given value.

HasTokenExpiration

func (o *CreateLdapTarget) HasTokenExpiration() bool

HasTokenExpiration returns a boolean if a field has been set.

GetUidToken

func (o *CreateLdapTarget) GetUidToken() string

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

GetUidTokenOk

func (o *CreateLdapTarget) 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 *CreateLdapTarget) SetUidToken(v string)

SetUidToken sets UidToken field to given value.

HasUidToken

func (o *CreateLdapTarget) HasUidToken() bool

HasUidToken returns a boolean if a field has been set.

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