Method: PureCloud::NumberPlan#==

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

#==(o) ⇒ Object

Check equality by comparing each attribute.



232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
# File 'lib/purecloud/models/number_plan.rb', line 232

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      id == o.id &&
      name == o.name &&
      description == o.description &&
      version == o.version &&
      date_created == o.date_created &&
      date_modified == o.date_modified &&
      modified_by == o.modified_by &&
      created_by == o.created_by &&
      state == o.state &&
      modified_by_app == o.modified_by_app &&
      created_by_app == o.created_by_app &&
      match == o.match &&
      normalized_format == o.normalized_format &&
      priority == o.priority &&
      numbers == o.numbers &&
      digit_length == o.digit_length &&
      classification == o.classification &&
      match_type == o.match_type &&
      self_uri == o.self_uri
end