Method: Fastly::AclEntry#valid?

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

#valid?Boolean

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

Returns:

  • (Boolean)

    true if the model is valid



126
127
128
129
130
# File 'lib/fastly/models/acl_entry.rb', line 126

def valid?
  negated_validator = EnumAttributeValidator.new('Integer', [0, 1])
  return false unless negated_validator.valid?(@negated)
  true
end