Method: KatapultAPI::PatchFileStorageVolume200ResponseFileStorageVolume#==

Defined in:
lib/katapult-ruby/models/patch_file_storage_volume200_response_file_storage_volume.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



158
159
160
161
162
163
164
165
166
167
168
# File 'lib/katapult-ruby/models/patch_file_storage_volume200_response_file_storage_volume.rb', line 158

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      id == o.id &&
      name == o.name &&
      data_center == o.data_center &&
      associations == o.associations &&
      state == o.state &&
      nfs_location == o.nfs_location &&
      size == o.size
end