Method: OpenapiClient::AuthnMeAPIKeyRead#valid?

Defined in:
lib/openapi_client/models/authn_me_api_key_read.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
169
170
# File 'lib/openapi_client/models/authn_me_api_key_read.rb', line 162

def valid?
  actor_type_validator = EnumAttributeValidator.new('String', ["api_key"])
  return false unless actor_type_validator.valid?(@actor_type)
  return false if @id.nil?
  return false if @object_type.nil?
  return false if @owner_type.nil?
  return false if @org_id.nil?
  true
end