Method: Fastly::WafActiveRuleDataAttributes#valid?

Defined in:
lib/fastly/models/waf_active_rule_data_attributes.rb

#valid?Boolean

Check to see if the all the properties in the model are valid

Returns:

  • (Boolean)

    true if the model is valid



112
113
114
115
116
# File 'lib/fastly/models/waf_active_rule_data_attributes.rb', line 112

def valid?
  status_validator = EnumAttributeValidator.new('String', ["log", "block", "score"])
  return false unless status_validator.valid?(@status)
  true
end