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] |
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
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
func (o *CreateLdapTarget) GetBindDn() string
GetBindDn returns the BindDn field if non-nil, zero value otherwise.
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.
func (o *CreateLdapTarget) SetBindDn(v string)
SetBindDn sets BindDn field to given value.
func (o *CreateLdapTarget) GetBindDnPassword() string
GetBindDnPassword returns the BindDnPassword field if non-nil, zero value otherwise.
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.
func (o *CreateLdapTarget) SetBindDnPassword(v string)
SetBindDnPassword sets BindDnPassword field to given value.
func (o *CreateLdapTarget) GetComment() string
GetComment returns the Comment field if non-nil, zero value otherwise.
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.
func (o *CreateLdapTarget) SetComment(v string)
SetComment sets Comment field to given value.
func (o *CreateLdapTarget) HasComment() bool
HasComment returns a boolean if a field has been set.
func (o *CreateLdapTarget) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
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.
func (o *CreateLdapTarget) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *CreateLdapTarget) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *CreateLdapTarget) GetJson() bool
GetJson returns the Json field if non-nil, zero value otherwise.
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.
func (o *CreateLdapTarget) SetJson(v bool)
SetJson sets Json field to given value.
func (o *CreateLdapTarget) HasJson() bool
HasJson returns a boolean if a field has been set.
func (o *CreateLdapTarget) GetKey() string
GetKey returns the Key field if non-nil, zero value otherwise.
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.
func (o *CreateLdapTarget) SetKey(v string)
SetKey sets Key field to given value.
func (o *CreateLdapTarget) HasKey() bool
HasKey returns a boolean if a field has been set.
func (o *CreateLdapTarget) GetLdapCaCert() string
GetLdapCaCert returns the LdapCaCert field if non-nil, zero value otherwise.
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.
func (o *CreateLdapTarget) SetLdapCaCert(v string)
SetLdapCaCert sets LdapCaCert field to given value.
func (o *CreateLdapTarget) HasLdapCaCert() bool
HasLdapCaCert returns a boolean if a field has been set.
func (o *CreateLdapTarget) GetLdapUrl() string
GetLdapUrl returns the LdapUrl field if non-nil, zero value otherwise.
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.
func (o *CreateLdapTarget) SetLdapUrl(v string)
SetLdapUrl sets LdapUrl field to given value.
func (o *CreateLdapTarget) GetMaxVersions() string
GetMaxVersions returns the MaxVersions field if non-nil, zero value otherwise.
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.
func (o *CreateLdapTarget) SetMaxVersions(v string)
SetMaxVersions sets MaxVersions field to given value.
func (o *CreateLdapTarget) HasMaxVersions() bool
HasMaxVersions returns a boolean if a field has been set.
func (o *CreateLdapTarget) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
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.
func (o *CreateLdapTarget) SetName(v string)
SetName sets Name field to given value.
func (o *CreateLdapTarget) GetServerType() string
GetServerType returns the ServerType field if non-nil, zero value otherwise.
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.
func (o *CreateLdapTarget) SetServerType(v string)
SetServerType sets ServerType field to given value.
func (o *CreateLdapTarget) HasServerType() bool
HasServerType returns a boolean if a field has been set.
func (o *CreateLdapTarget) GetToken() string
GetToken returns the Token field if non-nil, zero value otherwise.
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.
func (o *CreateLdapTarget) SetToken(v string)
SetToken sets Token field to given value.
func (o *CreateLdapTarget) HasToken() bool
HasToken returns a boolean if a field has been set.
func (o *CreateLdapTarget) GetTokenExpiration() string
GetTokenExpiration returns the TokenExpiration field if non-nil, zero value otherwise.
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.
func (o *CreateLdapTarget) SetTokenExpiration(v string)
SetTokenExpiration sets TokenExpiration field to given value.
func (o *CreateLdapTarget) HasTokenExpiration() bool
HasTokenExpiration returns a boolean if a field has been set.
func (o *CreateLdapTarget) GetUidToken() string
GetUidToken returns the UidToken field if non-nil, zero value otherwise.
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.
func (o *CreateLdapTarget) SetUidToken(v string)
SetUidToken sets UidToken field to given value.
func (o *CreateLdapTarget) HasUidToken() bool
HasUidToken returns a boolean if a field has been set.