Method: Falcon::ApiRuleV1#==

Defined in:
lib/crimson-falcon/models/api_rule_v1.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
# File 'lib/crimson-falcon/models/api_rule_v1.rb', line 392

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      action_label == o.action_label &&
      comment == o.comment &&
      committed_on == o.committed_on &&
      created_by == o.created_by &&
      created_on == o.created_on &&
      customer_id == o.customer_id &&
      deleted == o.deleted &&
      description == o.description &&
      disposition_id == o.disposition_id &&
      enabled == o.enabled &&
      field_values == o.field_values &&
      instance_id == o.instance_id &&
      instance_version == o.instance_version &&
      magic_cookie == o.magic_cookie &&
      modified_by == o.modified_by &&
      modified_on == o.modified_on &&
      name == o.name &&
      pattern_id == o.pattern_id &&
      pattern_severity == o.pattern_severity &&
      rulegroup_id == o.rulegroup_id &&
      ruletype_id == o.ruletype_id &&
      ruletype_name == o.ruletype_name &&
      version_ids == o.version_ids
end