<pre>
Converts API response of bulk operation into object and returns the object array in case of get request.
</pre>
1696
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		current_hostname_responses result = (current_hostname_responses) service.get_payload_formatter().string_to_resource(current_hostname_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.current_hostname_response_array);
		}
		current_hostname[] result_current_hostname = new current_hostname[result.current_hostname_response_array.length];
		
		for(int i = 0; i < result.current_hostname_response_array.length; i++)
		{
			result_current_hostname[i] = result.current_hostname_response_array[i].current_hostname[0];
		}
		
		return result_current_hostname;
	}
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;
	}
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;
	}
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;
	}
883077
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		ns_upgrade_responses result = (ns_upgrade_responses) service.get_payload_formatter().string_to_resource(ns_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.ns_upgrade_response_array);
		}
		ns_upgrade[] result_ns_upgrade = new ns_upgrade[result.ns_upgrade_response_array.length];
		
		for(int i = 0; i < result.ns_upgrade_response_array.length; i++)
		{
			result_ns_upgrade[i] = result.ns_upgrade_response_array[i].ns_upgrade[0];
		}
		
		return result_ns_upgrade;
	}
1190111
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		current_timezone_responses result = (current_timezone_responses) service.get_payload_formatter().string_to_resource(current_timezone_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.current_timezone_response_array);
		}
		current_timezone[] result_current_timezone = new current_timezone[result.current_timezone_response_array.length];
		
		for(int i = 0; i < result.current_timezone_response_array.length; i++)
		{
			result_current_timezone[i] = result.current_timezone_response_array[i].current_timezone[0];
		}
		
		return result_current_timezone;
	}
624491
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		managed_device_responses result = (managed_device_responses) service.get_payload_formatter().string_to_resource(managed_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.managed_device_response_array);
		}
		managed_device[] result_managed_device = new managed_device[result.managed_device_response_array.length];
		
		for(int i = 0; i < result.managed_device_response_array.length; i++)
		{
			result_managed_device[i] = result.managed_device_response_array[i].managed_device[0];
		}
		
		return result_managed_device;
	}
780731
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		task_log_responses result = (task_log_responses) service.get_payload_formatter().string_to_resource(task_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_log_response_array);
		}
		task_log[] result_task_log = new task_log[result.task_log_response_array.length];
		
		for(int i = 0; i < result.task_log_response_array.length; i++)
		{
			result_task_log[i] = result.task_log_response_array[i].task_log[0];
		}
		
		return result_task_log;
	}
26483
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		xen_image_responses result = (xen_image_responses) service.get_payload_formatter().string_to_resource(xen_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_image_response_array);
		}
		xen_image[] result_xen_image = new xen_image[result.xen_image_response_array.length];
		
		for(int i = 0; i < result.xen_image_response_array.length; i++)
		{
			result_xen_image[i] = result.xen_image_response_array[i].xen_image[0];
		}
		
		return result_xen_image;
	}
150819
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		ntp_server_responses result = (ntp_server_responses) service.get_payload_formatter().string_to_resource(ntp_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.ntp_server_response_array);
		}
		ntp_server[] result_ntp_server = new ntp_server[result.ntp_server_response_array.length];
		
		for(int i = 0; i < result.ntp_server_response_array.length; i++)
		{
			result_ntp_server[i] = result.ntp_server_response_array[i].ntp_server[0];
		}
		
		return result_ntp_server;
	}
784490
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		ns_cluster_responses result = (ns_cluster_responses) service.get_payload_formatter().string_to_resource(ns_cluster_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_cluster_response_array);
		}
		ns_cluster[] result_ns_cluster = new ns_cluster[result.ns_cluster_response_array.length];
		
		for(int i = 0; i < result.ns_cluster_response_array.length; i++)
		{
			result_ns_cluster[i] = result.ns_cluster_response_array[i].ns_cluster[0];
		}
		
		return result_ns_cluster;
	}
524058
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		af_config_info_responses result = (af_config_info_responses) service.get_payload_formatter().string_to_resource(af_config_info_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.af_config_info_response_array);
		}
		af_config_info[] result_af_config_info = new af_config_info[result.af_config_info_response_array.length];
		
		for(int i = 0; i < result.af_config_info_response_array.length; i++)
		{
			result_af_config_info[i] = result.af_config_info_response_array[i].af_config_info[0];
		}
		
		return result_af_config_info;
	}
892828
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		hostcpu_responses result = (hostcpu_responses) service.get_payload_formatter().string_to_resource(hostcpu_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.hostcpu_response_array);
		}
		hostcpu[] result_hostcpu = new hostcpu[result.hostcpu_response_array.length];
		
		for(int i = 0; i < result.hostcpu_response_array.length; i++)
		{
			result_hostcpu[i] = result.hostcpu_response_array[i].hostcpu[0];
		}
		
		return result_hostcpu;
	}
960260
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		xen_websensevpx_image_responses result = (xen_websensevpx_image_responses) service.get_payload_formatter().string_to_resource(xen_websensevpx_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_websensevpx_image_response_array);
		}
		xen_websensevpx_image[] result_xen_websensevpx_image = new xen_websensevpx_image[result.xen_websensevpx_image_response_array.length];
		
		for(int i = 0; i < result.xen_websensevpx_image_response_array.length; i++)
		{
			result_xen_websensevpx_image[i] = result.xen_websensevpx_image_response_array[i].xen_websensevpx_image[0];
		}
		
		return result_xen_websensevpx_image;
	}
1041468
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		mps_image_responses result = (mps_image_responses) service.get_payload_formatter().string_to_resource(mps_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_image_response_array);
		}
		mps_image[] result_mps_image = new mps_image[result.mps_image_response_array.length];
		
		for(int i = 0; i < result.mps_image_response_array.length; i++)
		{
			result_mps_image[i] = result.mps_image_response_array[i].mps_image[0];
		}
		
		return result_mps_image;
	}
988430
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		ns_ssl_certkey_policy_responses result = (ns_ssl_certkey_policy_responses) service.get_payload_formatter().string_to_resource(ns_ssl_certkey_policy_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_ssl_certkey_policy_response_array);
		}
		ns_ssl_certkey_policy[] result_ns_ssl_certkey_policy = new ns_ssl_certkey_policy[result.ns_ssl_certkey_policy_response_array.length];
		
		for(int i = 0; i < result.ns_ssl_certkey_policy_response_array.length; i++)
		{
			result_ns_ssl_certkey_policy[i] = result.ns_ssl_certkey_policy_response_array[i].ns_ssl_certkey_policy[0];
		}
		
		return result_ns_ssl_certkey_policy;
	}
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;
	}