Method: OCI::ObjectStorage::Models::UpdateObjectStorageTierDetails#==

Defined in:
lib/oci/object_storage/models/update_object_storage_tier_details.rb

#==(other) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • other (Object)

    the other object to be compared



105
106
107
108
109
110
111
112
# File 'lib/oci/object_storage/models/update_object_storage_tier_details.rb', line 105

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

  self.class == other.class &&
    object_name == other.object_name &&
    storage_tier == other.storage_tier &&
    version_id == other.version_id
end