Method: Ionoscloud::TargetGroupProperties#==

Defined in:
lib/ionoscloud/models/target_group_properties.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



233
234
235
236
237
238
239
240
241
242
# File 'lib/ionoscloud/models/target_group_properties.rb', line 233

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
    algorithm == o.algorithm &&
    health_check == o.health_check &&
    http_health_check == o.http_health_check &&
    name == o.name &&
    protocol == o.protocol &&
    targets == o.targets
end