Method: OryClient::ProjectApiKey#valid?

Defined in:
lib/ory-client/models/project_api_key.rb

#valid?Boolean

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

Returns:

  • (Boolean)

    true if the model is valid



123
124
125
126
127
128
# File 'lib/ory-client/models/project_api_key.rb', line 123

def valid?
  return false if @id.nil?
  return false if @name.nil?
  return false if @owner_id.nil?
  true
end