Method: OryClient::NormalizedProject#valid?
- Defined in:
- lib/ory-client/models/normalized_project.rb
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid
188 189 190 191 192 193 194 195 196 197 198 199 |
# File 'lib/ory-client/models/normalized_project.rb', line 188 def valid? return false if @created_at.nil? return false if @current_revision.nil? return false if @hosts.nil? return false if @id.nil? return false if @slug.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 |