Method: OCI::ObjectStorage::Models::CreatePreauthenticatedRequestDetails#to_hash
- Defined in:
- lib/oci/object_storage/models/create_preauthenticated_request_details.rb
#to_hash ⇒ Hash
Returns the object in the form of hash
204 205 206 207 208 209 210 211 212 213 |
# File 'lib/oci/object_storage/models/create_preauthenticated_request_details.rb', line 204 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 |