Method: Hubspot::Cms::Blogs::Authors::BlogAuthor#==

Defined in:
lib/hubspot/codegen/cms/blogs/authors/models/blog_author.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
# File 'lib/hubspot/codegen/cms/blogs/authors/models/blog_author.rb', line 237

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      id == o.id &&
      email == o.email &&
      bio == o.bio &&
      website == o.website &&
      twitter == o.twitter &&
      facebook == o.facebook &&
      linkedin == o.linkedin &&
      avatar == o.avatar &&
      display_name == o.display_name &&
      deleted_at == o.deleted_at &&
      created_at == o.created_at &&
      updated_at == o.updated_at
end