Method: Akeyless::TargetCreateLdap#list_invalid_properties
- Defined in:
- lib/akeyless/models/target_create_ldap.rb
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 |
# File 'lib/akeyless/models/target_create_ldap.rb', line 189 def list_invalid_properties warn '[DEPRECATED] the `list_invalid_properties` method is obsolete' invalid_properties = Array.new if @bind_dn.nil? invalid_properties.push('invalid value for "bind_dn", bind_dn cannot be nil.') end if @bind_dn_password.nil? invalid_properties.push('invalid value for "bind_dn_password", bind_dn_password cannot be nil.') end if @ldap_url.nil? invalid_properties.push('invalid value for "ldap_url", ldap_url cannot be nil.') end if @name.nil? invalid_properties.push('invalid value for "name", name cannot be nil.') end invalid_properties end |