Method: IndexeaClient::IndexBean#==

Defined in:
lib/indexea_client/models/index_bean.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
# File 'lib/indexea_client/models/index_bean.rb', line 238

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      id == o.id &&
       == o. &&
      app == o.app &&
      name == o.name &&
      system == o.system &&
      intro == o.intro &&
      _alias == o._alias &&
      type == o.type &&
      filters == o.filters &&
      aggs == o.aggs &&
      sorts == o.sorts &&
      shards == o.shards &&
      replicas == o.replicas &&
      analyzer == o.analyzer &&
      search_analyzer == o.search_analyzer &&
      stat == o.stat &&
      options == o.options &&
      created_at == o.created_at &&
      updated_at == o.updated_at &&
      status == o.status
end