    # File lib/fog/aws/parsers/auto_scaling/terminate_instance_in_auto_scaling_group.rb, line 13
              def end_element(name)
                case name
                when 'ActivityId', 'AutoScalingGroupName', 'Cause',
                     'Description', 'StatusCode', 'StatusMessage'
                  @results['Activity'][name] = value
                when 'EndTime', 'StartTime'
                  @results['Activity'][name] = Time.parse(value)
                when 'Progress'
                  @results['Activity'][name] = value.to_i

                when 'RequestId'
                  @response['ResponseMetadata'][name] = value

                when 'TerminateInstanceInAutoScalingGroupResponse'
                  @response['TerminateInstanceInAutoScalingGroupResult'] = @results
                end
              end