Method: OryClient::WorkspaceApiKey#valid?

Defined in:
lib/ory-client/models/workspace_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



162
163
164
165
166
167
168
# File 'lib/ory-client/models/workspace_api_key.rb', line 162

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