<pre>
Converts API response of bulk operation into object and returns the object array in case of get request.
</pre>
5544
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		ns_config_diff_responses result = (ns_config_diff_responses) service.get_payload_formatter().string_to_resource(ns_config_diff_responses.class, response);
		if(result.errorcode != 0)
		{
			if (result.errorcode == SESSION_NOT_EXISTS)
				service.clear_session();
			throw new nitro_exception(result.message, result.errorcode, (base_response [])result.ns_config_diff_response_array);
		}
		ns_config_diff[] result_ns_config_diff = new ns_config_diff[result.ns_config_diff_response_array.length];
		
		for(int i = 0; i < result.ns_config_diff_response_array.length; i++)
		{
			result_ns_config_diff[i] = result.ns_config_diff_response_array[i].ns_config_diff[0];
		}
		
		return result_ns_config_diff;
	}
714492
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		br_enable_responses result = (br_enable_responses) service.get_payload_formatter().string_to_resource(br_enable_responses.class, response);
		if(result.errorcode != 0)
		{
			if (result.errorcode == SESSION_NOT_EXISTS)
				service.clear_session();
			throw new nitro_exception(result.message, result.errorcode, (base_response [])result.br_enable_response_array);
		}
		br_enable[] result_br_enable = new br_enable[result.br_enable_response_array.length];
		
		for(int i = 0; i < result.br_enable_response_array.length; i++)
		{
			result_br_enable[i] = result.br_enable_response_array[i].br_enable[0];
		}
		
		return result_br_enable;
	}
1198938
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		techsupport_responses result = (techsupport_responses) service.get_payload_formatter().string_to_resource(techsupport_responses.class, response);
		if(result.errorcode != 0)
		{
			if (result.errorcode == SESSION_NOT_EXISTS)
				service.clear_session();
			throw new nitro_exception(result.message, result.errorcode, (base_response [])result.techsupport_response_array);
		}
		techsupport[] result_techsupport = new techsupport[result.techsupport_response_array.length];
		
		for(int i = 0; i < result.techsupport_response_array.length; i++)
		{
			result_techsupport[i] = result.techsupport_response_array[i].techsupport[0];
		}
		
		return result_techsupport;
	}
1290623
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		ns_vm_template_responses result = (ns_vm_template_responses) service.get_payload_formatter().string_to_resource(ns_vm_template_responses.class, response);
		if(result.errorcode != 0)
		{
			if (result.errorcode == SESSION_NOT_EXISTS)
				service.clear_session();
			throw new nitro_exception(result.message, result.errorcode, (base_response [])result.ns_vm_template_response_array);
		}
		ns_vm_template[] result_ns_vm_template = new ns_vm_template[result.ns_vm_template_response_array.length];
		
		for(int i = 0; i < result.ns_vm_template_response_array.length; i++)
		{
			result_ns_vm_template[i] = result.ns_vm_template_response_array[i].ns_vm_template[0];
		}
		
		return result_ns_vm_template;
	}
401478
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		mps_doc_image_responses result = (mps_doc_image_responses) service.get_payload_formatter().string_to_resource(mps_doc_image_responses.class, response);
		if(result.errorcode != 0)
		{
			if (result.errorcode == SESSION_NOT_EXISTS)
				service.clear_session();
			throw new nitro_exception(result.message, result.errorcode, (base_response [])result.mps_doc_image_response_array);
		}
		mps_doc_image[] result_mps_doc_image = new mps_doc_image[result.mps_doc_image_response_array.length];
		
		for(int i = 0; i < result.mps_doc_image_response_array.length; i++)
		{
			result_mps_doc_image[i] = result.mps_doc_image_response_array[i].mps_doc_image[0];
		}
		
		return result_mps_doc_image;
	}
149041
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		syslog_params_responses result = (syslog_params_responses) service.get_payload_formatter().string_to_resource(syslog_params_responses.class, response);
		if(result.errorcode != 0)
		{
			if (result.errorcode == SESSION_NOT_EXISTS)
				service.clear_session();
			throw new nitro_exception(result.message, result.errorcode, (base_response [])result.syslog_params_response_array);
		}
		syslog_params[] result_syslog_params = new syslog_params[result.syslog_params_response_array.length];
		
		for(int i = 0; i < result.syslog_params_response_array.length; i++)
		{
			result_syslog_params[i] = result.syslog_params_response_array[i].syslog_params[0];
		}
		
		return result_syslog_params;
	}
13030
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		syslog_snmp_responses result = (syslog_snmp_responses) service.get_payload_formatter().string_to_resource(syslog_snmp_responses.class, response);
		if(result.errorcode != 0)
		{
			if (result.errorcode == SESSION_NOT_EXISTS)
				service.clear_session();
			throw new nitro_exception(result.message, result.errorcode, (base_response [])result.syslog_snmp_response_array);
		}
		syslog_snmp[] result_syslog_snmp = new syslog_snmp[result.syslog_snmp_response_array.length];
		
		for(int i = 0; i < result.syslog_snmp_response_array.length; i++)
		{
			result_syslog_snmp[i] = result.syslog_snmp_response_array[i].syslog_snmp[0];
		}
		
		return result_syslog_snmp;
	}
1205243
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		xen_health_interface_responses result = (xen_health_interface_responses) service.get_payload_formatter().string_to_resource(xen_health_interface_responses.class, response);
		if(result.errorcode != 0)
		{
			if (result.errorcode == SESSION_NOT_EXISTS)
				service.clear_session();
			throw new nitro_exception(result.message, result.errorcode, (base_response [])result.xen_health_interface_response_array);
		}
		xen_health_interface[] result_xen_health_interface = new xen_health_interface[result.xen_health_interface_response_array.length];
		
		for(int i = 0; i < result.xen_health_interface_response_array.length; i++)
		{
			result_xen_health_interface[i] = result.xen_health_interface_response_array[i].xen_health_interface[0];
		}
		
		return result_xen_health_interface;
	}
968856
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		admin_ns_config_responses result = (admin_ns_config_responses) service.get_payload_formatter().string_to_resource(admin_ns_config_responses.class, response);
		if(result.errorcode != 0)
		{
			if (result.errorcode == SESSION_NOT_EXISTS)
				service.clear_session();
			throw new nitro_exception(result.message, result.errorcode, (base_response [])result.admin_ns_config_response_array);
		}
		admin_ns_config[] result_admin_ns_config = new admin_ns_config[result.admin_ns_config_response_array.length];
		
		for(int i = 0; i < result.admin_ns_config_response_array.length; i++)
		{
			result_admin_ns_config[i] = result.admin_ns_config_response_array[i].admin_ns_config[0];
		}
		
		return result_admin_ns_config;
	}
774345
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		sent_mails_responses result = (sent_mails_responses) service.get_payload_formatter().string_to_resource(sent_mails_responses.class, response);
		if(result.errorcode != 0)
		{
			if (result.errorcode == SESSION_NOT_EXISTS)
				service.clear_session();
			throw new nitro_exception(result.message, result.errorcode, (base_response [])result.sent_mails_response_array);
		}
		sent_mails[] result_sent_mails = new sent_mails[result.sent_mails_response_array.length];
		
		for(int i = 0; i < result.sent_mails_response_array.length; i++)
		{
			result_sent_mails[i] = result.sent_mails_response_array[i].sent_mails[0];
		}
		
		return result_sent_mails;
	}
1308011
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		ns_vpnicaconnection_responses result = (ns_vpnicaconnection_responses) service.get_payload_formatter().string_to_resource(ns_vpnicaconnection_responses.class, response);
		if(result.errorcode != 0)
		{
			if (result.errorcode == SESSION_NOT_EXISTS)
				service.clear_session();
			throw new nitro_exception(result.message, result.errorcode, (base_response [])result.ns_vpnicaconnection_response_array);
		}
		ns_vpnicaconnection[] result_ns_vpnicaconnection = new ns_vpnicaconnection[result.ns_vpnicaconnection_response_array.length];
		
		for(int i = 0; i < result.ns_vpnicaconnection_response_array.length; i++)
		{
			result_ns_vpnicaconnection[i] = result.ns_vpnicaconnection_response_array[i].ns_vpnicaconnection[0];
		}
		
		return result_ns_vpnicaconnection;
	}
745346
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		host_interface_responses result = (host_interface_responses) service.get_payload_formatter().string_to_resource(host_interface_responses.class, response);
		if(result.errorcode != 0)
		{
			if (result.errorcode == SESSION_NOT_EXISTS)
				service.clear_session();
			throw new nitro_exception(result.message, result.errorcode, (base_response [])result.host_interface_response_array);
		}
		host_interface[] result_host_interface = new host_interface[result.host_interface_response_array.length];
		
		for(int i = 0; i < result.host_interface_response_array.length; i++)
		{
			result_host_interface[i] = result.host_interface_response_array[i].host_interface[0];
		}
		
		return result_host_interface;
	}
368551
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		ns_ns_ip_responses result = (ns_ns_ip_responses) service.get_payload_formatter().string_to_resource(ns_ns_ip_responses.class, response);
		if(result.errorcode != 0)
		{
			if (result.errorcode == SESSION_NOT_EXISTS)
				service.clear_session();
			throw new nitro_exception(result.message, result.errorcode, (base_response [])result.ns_ns_ip_response_array);
		}
		ns_ns_ip[] result_ns_ns_ip = new ns_ns_ip[result.ns_ns_ip_response_array.length];
		
		for(int i = 0; i < result.ns_ns_ip_response_array.length; i++)
		{
			result_ns_ns_ip[i] = result.ns_ns_ip_response_array[i].ns_ns_ip[0];
		}
		
		return result_ns_ns_ip;
	}
974169
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		task_command_log_responses result = (task_command_log_responses) service.get_payload_formatter().string_to_resource(task_command_log_responses.class, response);
		if(result.errorcode != 0)
		{
			if (result.errorcode == SESSION_NOT_EXISTS)
				service.clear_session();
			throw new nitro_exception(result.message, result.errorcode, (base_response [])result.task_command_log_response_array);
		}
		task_command_log[] result_task_command_log = new task_command_log[result.task_command_log_response_array.length];
		
		for(int i = 0; i < result.task_command_log_response_array.length; i++)
		{
			result_task_command_log[i] = result.task_command_log_response_array[i].task_command_log[0];
		}
		
		return result_task_command_log;
	}
23841
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		ns_vlan_responses result = (ns_vlan_responses) service.get_payload_formatter().string_to_resource(ns_vlan_responses.class, response);
		if(result.errorcode != 0)
		{
			if (result.errorcode == SESSION_NOT_EXISTS)
				service.clear_session();
			throw new nitro_exception(result.message, result.errorcode, (base_response [])result.ns_vlan_response_array);
		}
		ns_vlan[] result_ns_vlan = new ns_vlan[result.ns_vlan_response_array.length];
		
		for(int i = 0; i < result.ns_vlan_response_array.length; i++)
		{
			result_ns_vlan[i] = result.ns_vlan_response_array[i].ns_vlan[0];
		}
		
		return result_ns_vlan;
	}
525479
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		audit_log_responses result = (audit_log_responses) service.get_payload_formatter().string_to_resource(audit_log_responses.class, response);
		if(result.errorcode != 0)
		{
			if (result.errorcode == SESSION_NOT_EXISTS)
				service.clear_session();
			throw new nitro_exception(result.message, result.errorcode, (base_response [])result.audit_log_response_array);
		}
		audit_log[] result_audit_log = new audit_log[result.audit_log_response_array.length];
		
		for(int i = 0; i < result.audit_log_response_array.length; i++)
		{
			result_audit_log[i] = result.audit_log_response_array[i].audit_log[0];
		}
		
		return result_audit_log;
	}
42384
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		smtp_server_responses result = (smtp_server_responses) service.get_payload_formatter().string_to_resource(smtp_server_responses.class, response);
		if(result.errorcode != 0)
		{
			if (result.errorcode == SESSION_NOT_EXISTS)
				service.clear_session();
			throw new nitro_exception(result.message, result.errorcode, (base_response [])result.smtp_server_response_array);
		}
		smtp_server[] result_smtp_server = new smtp_server[result.smtp_server_response_array.length];
		
		for(int i = 0; i < result.smtp_server_response_array.length; i++)
		{
			result_smtp_server[i] = result.smtp_server_response_array[i].smtp_server[0];
		}
		
		return result_smtp_server;
	}