Method: FeratelCheckApiClient::ServiceUsage#==

Defined in:
lib/feratel-check-api-client/models/service_usage.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



239
240
241
242
243
244
245
246
247
248
249
250
251
252
# File 'lib/feratel-check-api-client/models/service_usage.rb', line 239

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      auto_exit == o.auto_exit &&
      auto_exit_interval == o.auto_exit_interval &&
      count_n == o.count_n &&
      count_m == o.count_m &&
      double_use_timeout == o.double_use_timeout &&
      from_date == o.from_date &&
      not_usable_on_first_or_last_day == o.not_usable_on_first_or_last_day &&
      to_date == o.to_date &&
      type == o.type &&
      week == o.week
end