Method: OCI::ResourceSearch::Models::StructuredSearchDetails#==

Defined in:
lib/oci/resource_search/models/structured_search_details.rb

#==(other) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • other (Object)

    the other object to be compared



64
65
66
67
68
69
70
71
# File 'lib/oci/resource_search/models/structured_search_details.rb', line 64

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

  self.class == other.class &&
    type == other.type &&
    matching_context_type == other.matching_context_type &&
    query == other.query
end