Method: Akeyless::KmipServerSetup#list_invalid_properties

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

#list_invalid_propertiesObject

Show invalid properties with the reasons. Usually used together with valid?

Returns:

  • Array for valid properties with the reasons



121
122
123
124
125
126
127
128
129
130
131
132
133
# File 'lib/akeyless/models/kmip_server_setup.rb', line 121

def list_invalid_properties
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
  invalid_properties = Array.new
  if @hostname.nil?
    invalid_properties.push('invalid value for "hostname", hostname cannot be nil.')
  end

  if @root.nil?
    invalid_properties.push('invalid value for "root", root cannot be nil.')
  end

  invalid_properties
end