Method: PureCloud::PolicyCreate#==

Defined in:
lib/purecloud/models/policy_create.rb

#==(o) ⇒ Object

Check equality by comparing each attribute.



163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
# File 'lib/purecloud/models/policy_create.rb', line 163

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      id == o.id &&
      name == o.name &&
      modified_date == o.modified_date &&
      created_date == o.created_date &&
      order == o.order &&
      description == o.description &&
      enabled == o.enabled &&
      media_policies == o.media_policies &&
      conditions == o.conditions &&
      actions == o.actions &&
      policy_errors == o.policy_errors &&
      self_uri == o.self_uri
end