    # File lib/fog/aws/parsers/storage/delete_multiple_objects.rb, line 22
              def end_element(name)
                case name
                when 'Deleted'
                  @response['DeleteResult'] << @deleted
                  @deleted = { 'Deleted' => {} }
                  @in_deleted = false
                when 'Error'
                  @response['DeleteResult'] << @error
                  @error = { 'Error' => {} }
                when 'Key', 'VersionId'
                  if @in_deleted
                    @deleted['Deleted'][name] = value
                  else
                    @error['Error'][name] = value
                  end
                when 'DeleteMarker', 'DeletemarkerVersionId'
                  @deleted['Deleted'][name] = value
                when 'Code', 'Message'
                  @error['Error'][name] = value
                end
              end