Method: OCI::OperatorAccessControl::Models::ChangeOperatorControlAssignmentCompartmentDetails#==

Defined in:
lib/oci/operator_access_control/models/change_operator_control_assignment_compartment_details.rb

#==(other) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • other (Object)

    the other object to be compared



59
60
61
62
63
64
# File 'lib/oci/operator_access_control/models/change_operator_control_assignment_compartment_details.rb', line 59

def ==(other)
  return true if equal?(other)

  self.class == other.class &&
    compartment_id == other.compartment_id
end