Method: OryClient::ProjectMetadata#valid?
- Defined in:
- lib/ory-client/models/project_metadata.rb
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid
194 195 196 197 198 199 200 201 202 203 204 |
# File 'lib/ory-client/models/project_metadata.rb', line 194 def valid? return false if @created_at.nil? return false if @hosts.nil? return false if @id.nil? return false if @name.nil? return false if @state.nil? state_validator = EnumAttributeValidator.new('String', ["running", "halted", "deleted"]) return false unless state_validator.valid?(@state) return false if @updated_at.nil? true end |