Method: Akeyless::RequestAccess#valid?

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

#valid?Boolean

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

Returns:

  • (Boolean)

    true if the model is valid



161
162
163
164
165
166
167
# File 'lib/akeyless/models/request_access.rb', line 161

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