Method: Fastly::RelationshipsForTlsConfiguration#valid?
- Defined in:
- lib/fastly/models/relationships_for_tls_configuration.rb
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid
80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 |
# File 'lib/fastly/models/relationships_for_tls_configuration.rb', line 80 def valid? _any_of_found = false self.class.fastly_any_of.each do |_class| _any_of = Fastly.const_get(_class).build_from_hash(self.to_hash) if _any_of.valid? _any_of_found = true end end if !_any_of_found return false end true end |