Method: OCI::ObjectStorage::Models::UpdateObjectStorageTierDetails#to_hash
- Defined in:
- lib/oci/object_storage/models/update_object_storage_tier_details.rb
#to_hash ⇒ Hash
Returns the object in the form of hash
170 171 172 173 174 175 176 177 178 179 |
# File 'lib/oci/object_storage/models/update_object_storage_tier_details.rb', line 170 def to_hash hash = {} self.class.attribute_map.each_pair do |attr, param| value = public_method(attr).call next if value.nil? && !instance_variable_defined?("@#{attr}") hash[param] = _to_hash(value) end hash end |