Method: OCI::Identity::Models::AddUserToGroupDetails#to_hash
- Defined in:
- lib/oci/identity/models/add_user_to_group_details.rb
#to_hash ⇒ Hash
Returns the object in the form of hash
136 137 138 139 140 141 142 143 144 145 |
# File 'lib/oci/identity/models/add_user_to_group_details.rb', line 136 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 |