<pre>
Converts API response of bulk operation into object and returns the object array in case of get request.
</pre>
506503
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		ns_ns_timeout_responses result = (ns_ns_timeout_responses) service.get_payload_formatter().string_to_resource(ns_ns_timeout_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_timeout_response_array);
		}
		ns_ns_timeout[] result_ns_ns_timeout = new ns_ns_timeout[result.ns_ns_timeout_response_array.length];
		
		for(int i = 0; i < result.ns_ns_timeout_response_array.length; i++)
		{
			result_ns_ns_timeout[i] = result.ns_ns_timeout_response_array[i].ns_ns_timeout[0];
		}
		
		return result_ns_ns_timeout;
	}
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;
	}
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;
	}
1002057
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		ns_conf_responses result = (ns_conf_responses) service.get_payload_formatter().string_to_resource(ns_conf_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_conf_response_array);
		}
		ns_conf[] result_ns_conf = new ns_conf[result.ns_conf_response_array.length];
		
		for(int i = 0; i < result.ns_conf_response_array.length; i++)
		{
			result_ns_conf[i] = result.ns_conf_response_array[i].ns_conf[0];
		}
		
		return result_ns_conf;
	}
767783
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		ping_responses result = (ping_responses) service.get_payload_formatter().string_to_resource(ping_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.ping_response_array);
		}
		ping[] result_ping = new ping[result.ping_response_array.length];
		
		for(int i = 0; i < result.ping_response_array.length; i++)
		{
			result_ping[i] = result.ping_response_array[i].ping[0];
		}
		
		return result_ping;
	}
1229311
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		br_adduser_responses result = (br_adduser_responses) service.get_payload_formatter().string_to_resource(br_adduser_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_adduser_response_array);
		}
		br_adduser[] result_br_adduser = new br_adduser[result.br_adduser_response_array.length];
		
		for(int i = 0; i < result.br_adduser_response_array.length; i++)
		{
			result_br_adduser[i] = result.br_adduser_response_array[i].br_adduser[0];
		}
		
		return result_br_adduser;
	}
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;
	}
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;
	}
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;
	}
179126
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		syslog_ui_cmd_responses result = (syslog_ui_cmd_responses) service.get_payload_formatter().string_to_resource(syslog_ui_cmd_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_ui_cmd_response_array);
		}
		syslog_ui_cmd[] result_syslog_ui_cmd = new syslog_ui_cmd[result.syslog_ui_cmd_response_array.length];
		
		for(int i = 0; i < result.syslog_ui_cmd_response_array.length; i++)
		{
			result_syslog_ui_cmd[i] = result.syslog_ui_cmd_response_array[i].syslog_ui_cmd[0];
		}
		
		return result_syslog_ui_cmd;
	}
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;
	}
687377
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		br_upgrade_responses result = (br_upgrade_responses) service.get_payload_formatter().string_to_resource(br_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.br_upgrade_response_array);
		}
		br_upgrade[] result_br_upgrade = new br_upgrade[result.br_upgrade_response_array.length];
		
		for(int i = 0; i < result.br_upgrade_response_array.length; i++)
		{
			result_br_upgrade[i] = result.br_upgrade_response_array[i].br_upgrade[0];
		}
		
		return result_br_upgrade;
	}
193746
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		host_cpu_core_responses result = (host_cpu_core_responses) service.get_payload_formatter().string_to_resource(host_cpu_core_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_cpu_core_response_array);
		}
		host_cpu_core[] result_host_cpu_core = new host_cpu_core[result.host_cpu_core_response_array.length];
		
		for(int i = 0; i < result.host_cpu_core_response_array.length; i++)
		{
			result_host_cpu_core[i] = result.host_cpu_core_response_array[i].host_cpu_core[0];
		}
		
		return result_host_cpu_core;
	}
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;
	}
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;
	}
1251390
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		host_device_responses result = (host_device_responses) service.get_payload_formatter().string_to_resource(host_device_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_device_response_array);
		}
		host_device[] result_host_device = new host_device[result.host_device_response_array.length];
		
		for(int i = 0; i < result.host_device_response_array.length; i++)
		{
			result_host_device[i] = result.host_device_response_array[i].host_device[0];
		}
		
		return result_host_device;
	}
359485
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		xen_sf_storagecentervpx_image_responses result = (xen_sf_storagecentervpx_image_responses) service.get_payload_formatter().string_to_resource(xen_sf_storagecentervpx_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.xen_sf_storagecentervpx_image_response_array);
		}
		xen_sf_storagecentervpx_image[] result_xen_sf_storagecentervpx_image = new xen_sf_storagecentervpx_image[result.xen_sf_storagecentervpx_image_response_array.length];
		
		for(int i = 0; i < result.xen_sf_storagecentervpx_image_response_array.length; i++)
		{
			result_xen_sf_storagecentervpx_image[i] = result.xen_sf_storagecentervpx_image_response_array[i].xen_sf_storagecentervpx_image[0];
		}
		
		return result_xen_sf_storagecentervpx_image;
	}