Method: Falcon::ModelsAPIPolicyGroup#==

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

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



170
171
172
173
174
175
176
177
178
179
180
# File 'lib/crimson-falcon/models/models_api_policy_group.rb', line 170

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      created_at == o.created_at &&
      description == o.description &&
      name == o.name &&
      policy_group_data == o.policy_group_data &&
      policy_uuid == o.policy_uuid &&
      updated_at == o.updated_at &&
      uuid == o.uuid
end