Method: Akeyless::SetRoleRule#list_invalid_properties

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

#list_invalid_propertiesObject

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

Returns:

  • Array for valid properties with the reasons



143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
# File 'lib/akeyless/models/set_role_rule.rb', line 143

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

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

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

  invalid_properties
end