Method: OpenapiClient::OrganizationReadWithAPIKey#valid?

Defined in:
lib/openapi_client/models/organization_read_with_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



156
157
158
159
160
161
162
163
# File 'lib/openapi_client/models/organization_read_with_api_key.rb', line 156

def valid?
  return false if @key.nil?
  return false if @id.nil?
  return false if @created_at.nil?
  return false if @updated_at.nil?
  return false if @name.nil?
  true
end