<pre>
Converts API response of bulk operation into object and returns the object array in case of get request.
</pre>
558039
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		device_profile_responses result = (device_profile_responses) service.get_payload_formatter().string_to_resource(device_profile_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.device_profile_response_array);
		}
		device_profile[] result_device_profile = new device_profile[result.device_profile_response_array.length];
		
		for(int i = 0; i < result.device_profile_response_array.length; i++)
		{
			result_device_profile[i] = result.device_profile_response_array[i].device_profile[0];
		}
		
		return result_device_profile;
	}
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;
	}
1258475
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		mps_upgrade_responses result = (mps_upgrade_responses) service.get_payload_formatter().string_to_resource(mps_upgrade_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_upgrade_response_array);
		}
		mps_upgrade[] result_mps_upgrade = new mps_upgrade[result.mps_upgrade_response_array.length];
		
		for(int i = 0; i < result.mps_upgrade_response_array.length; i++)
		{
			result_mps_upgrade[i] = result.mps_upgrade_response_array[i].mps_upgrade[0];
		}
		
		return result_mps_upgrade;
	}
1189035
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		ssl_cert_responses result = (ssl_cert_responses) service.get_payload_formatter().string_to_resource(ssl_cert_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.ssl_cert_response_array);
		}
		ssl_cert[] result_ssl_cert = new ssl_cert[result.ssl_cert_response_array.length];
		
		for(int i = 0; i < result.ssl_cert_response_array.length; i++)
		{
			result_ssl_cert[i] = result.ssl_cert_response_array[i].ssl_cert[0];
		}
		
		return result_ssl_cert;
	}
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;
	}
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;
	}
1267748
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		ntp_param_responses result = (ntp_param_responses) service.get_payload_formatter().string_to_resource(ntp_param_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.ntp_param_response_array);
		}
		ntp_param[] result_ntp_param = new ntp_param[result.ntp_param_response_array.length];
		
		for(int i = 0; i < result.ntp_param_response_array.length; i++)
		{
			result_ntp_param[i] = result.ntp_param_response_array[i].ntp_param[0];
		}
		
		return result_ntp_param;
	}
650726
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		br_device_profile_responses result = (br_device_profile_responses) service.get_payload_formatter().string_to_resource(br_device_profile_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_device_profile_response_array);
		}
		br_device_profile[] result_br_device_profile = new br_device_profile[result.br_device_profile_response_array.length];
		
		for(int i = 0; i < result.br_device_profile_response_array.length; i++)
		{
			result_br_device_profile[i] = result.br_device_profile_response_array[i].br_device_profile[0];
		}
		
		return result_br_device_profile;
	}
438600
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		system_settings_responses result = (system_settings_responses) service.get_payload_formatter().string_to_resource(system_settings_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.system_settings_response_array);
		}
		system_settings[] result_system_settings = new system_settings[result.system_settings_response_array.length];
		
		for(int i = 0; i < result.system_settings_response_array.length; i++)
		{
			result_system_settings[i] = result.system_settings_response_array[i].system_settings[0];
		}
		
		return result_system_settings;
	}
939757
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		login_responses result = (login_responses) service.get_payload_formatter().string_to_resource(login_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.login_response_array);
		}
		login[] result_login = new login[result.login_response_array.length];
		
		for(int i = 0; i < result.login_response_array.length; i++)
		{
			result_login[i] = result.login_response_array[i].login[0];
		}
		
		return result_login;
	}
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;
	}
1159620
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		xen_upgrade_responses result = (xen_upgrade_responses) service.get_payload_formatter().string_to_resource(xen_upgrade_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_upgrade_response_array);
		}
		xen_upgrade[] result_xen_upgrade = new xen_upgrade[result.xen_upgrade_response_array.length];
		
		for(int i = 0; i < result.xen_upgrade_response_array.length; i++)
		{
			result_xen_upgrade[i] = result.xen_upgrade_response_array[i].xen_upgrade[0];
		}
		
		return result_xen_upgrade;
	}
1341897
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		network_interface_responses result = (network_interface_responses) service.get_payload_formatter().string_to_resource(network_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.network_interface_response_array);
		}
		network_interface[] result_network_interface = new network_interface[result.network_interface_response_array.length];
		
		for(int i = 0; i < result.network_interface_response_array.length; i++)
		{
			result_network_interface[i] = result.network_interface_response_array[i].network_interface[0];
		}
		
		return result_network_interface;
	}
655210
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		ns_device_profile_responses result = (ns_device_profile_responses) service.get_payload_formatter().string_to_resource(ns_device_profile_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_device_profile_response_array);
		}
		ns_device_profile[] result_ns_device_profile = new ns_device_profile[result.ns_device_profile_response_array.length];
		
		for(int i = 0; i < result.ns_device_profile_response_array.length; i++)
		{
			result_ns_device_profile[i] = result.ns_device_profile_response_array[i].ns_device_profile[0];
		}
		
		return result_ns_device_profile;
	}
758953
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		ftw_events_responses result = (ftw_events_responses) service.get_payload_formatter().string_to_resource(ftw_events_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.ftw_events_response_array);
		}
		ftw_events[] result_ftw_events = new ftw_events[result.ftw_events_response_array.length];
		
		for(int i = 0; i < result.ftw_events_response_array.length; i++)
		{
			result_ftw_events[i] = result.ftw_events_response_array[i].ftw_events[0];
		}
		
		return result_ftw_events;
	}
1070374
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		inventory_responses result = (inventory_responses) service.get_payload_formatter().string_to_resource(inventory_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.inventory_response_array);
		}
		inventory[] result_inventory = new inventory[result.inventory_response_array.length];
		
		for(int i = 0; i < result.inventory_response_array.length; i++)
		{
			result_inventory[i] = result.inventory_response_array[i].inventory[0];
		}
		
		return result_inventory;
	}
406229
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		br_configurealert_responses result = (br_configurealert_responses) service.get_payload_formatter().string_to_resource(br_configurealert_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_configurealert_response_array);
		}
		br_configurealert[] result_br_configurealert = new br_configurealert[result.br_configurealert_response_array.length];
		
		for(int i = 0; i < result.br_configurealert_response_array.length; i++)
		{
			result_br_configurealert[i] = result.br_configurealert_response_array[i].br_configurealert[0];
		}
		
		return result_br_configurealert;
	}