Method: OCI::ObjectStorage::Models::RetentionRule#==
- Defined in:
- lib/oci/object_storage/models/retention_rule.rb
#==(other) ⇒ Object
Checks equality by comparing each attribute.
126 127 128 129 130 131 132 133 134 135 136 137 |
# File 'lib/oci/object_storage/models/retention_rule.rb', line 126 def ==(other) return true if equal?(other) self.class == other.class && id == other.id && display_name == other.display_name && duration == other.duration && etag == other.etag && time_rule_locked == other.time_rule_locked && time_created == other.time_created && time_modified == other.time_modified end |