Method: Akeyless::TargetCreateLdap#valid?

Defined in:
lib/akeyless/models/target_create_ldap.rb

#valid?Boolean

Check to see if the all the properties in the model are valid

Returns:

  • (Boolean)

    true if the model is valid



213
214
215
216
217
218
219
220
# File 'lib/akeyless/models/target_create_ldap.rb', line 213

def valid?
  warn '[DEPRECATED] the `valid?` method is obsolete'
  return false if @bind_dn.nil?
  return false if @bind_dn_password.nil?
  return false if @ldap_url.nil?
  return false if @name.nil?
  true
end