Method: Fastly::LoggingLogshuttle#valid?
- Defined in:
- lib/fastly/models/logging_logshuttle.rb
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid
164 165 166 167 168 169 170 |
# File 'lib/fastly/models/logging_logshuttle.rb', line 164 def valid? placement_validator = EnumAttributeValidator.new('String', ["none", "waf_debug", "null"]) return false unless placement_validator.valid?(@placement) format_version_validator = EnumAttributeValidator.new('Integer', [1, 2]) return false unless format_version_validator.valid?(@format_version) true end |