<pre>
Converts API response of bulk operation into object and returns the object array in case of get request.
</pre>
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;
	}
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;
	}
121399
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		br_broker_responses result = (br_broker_responses) service.get_payload_formatter().string_to_resource(br_broker_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_broker_response_array);
		}
		br_broker[] result_br_broker = new br_broker[result.br_broker_response_array.length];
		
		for(int i = 0; i < result.br_broker_response_array.length; i++)
		{
			result_br_broker[i] = result.br_broker_response_array[i].br_broker[0];
		}
		
		return result_br_broker;
	}
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;
	}
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;
	}
868518
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		xen_nsvpx_image_responses result = (xen_nsvpx_image_responses) service.get_payload_formatter().string_to_resource(xen_nsvpx_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_nsvpx_image_response_array);
		}
		xen_nsvpx_image[] result_xen_nsvpx_image = new xen_nsvpx_image[result.xen_nsvpx_image_response_array.length];
		
		for(int i = 0; i < result.xen_nsvpx_image_response_array.length; i++)
		{
			result_xen_nsvpx_image[i] = result.xen_nsvpx_image_response_array[i].xen_nsvpx_image[0];
		}
		
		return result_xen_nsvpx_image;
	}
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;
	}
267118
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		br_restart_responses result = (br_restart_responses) service.get_payload_formatter().string_to_resource(br_restart_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_restart_response_array);
		}
		br_restart[] result_br_restart = new br_restart[result.br_restart_response_array.length];
		
		for(int i = 0; i < result.br_restart_response_array.length; i++)
		{
			result_br_restart[i] = result.br_restart_response_array[i].br_restart[0];
		}
		
		return result_br_restart;
	}
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;
	}
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;
	}
748336
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		version_matrix_status_responses result = (version_matrix_status_responses) service.get_payload_formatter().string_to_resource(version_matrix_status_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.version_matrix_status_response_array);
		}
		version_matrix_status[] result_version_matrix_status = new version_matrix_status[result.version_matrix_status_response_array.length];
		
		for(int i = 0; i < result.version_matrix_status_response_array.length; i++)
		{
			result_version_matrix_status[i] = result.version_matrix_status_response_array[i].version_matrix_status[0];
		}
		
		return result_version_matrix_status;
	}
388964
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		xen_health_resource_responses result = (xen_health_resource_responses) service.get_payload_formatter().string_to_resource(xen_health_resource_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_resource_response_array);
		}
		xen_health_resource[] result_xen_health_resource = new xen_health_resource[result.xen_health_resource_response_array.length];
		
		for(int i = 0; i < result.xen_health_resource_response_array.length; i++)
		{
			result_xen_health_resource[i] = result.xen_health_resource_response_array[i].xen_health_resource[0];
		}
		
		return result_xen_health_resource;
	}
883797
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		ns_ns_runningconfig_responses result = (ns_ns_runningconfig_responses) service.get_payload_formatter().string_to_resource(ns_ns_runningconfig_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_runningconfig_response_array);
		}
		ns_ns_runningconfig[] result_ns_ns_runningconfig = new ns_ns_runningconfig[result.ns_ns_runningconfig_response_array.length];
		
		for(int i = 0; i < result.ns_ns_runningconfig_response_array.length; i++)
		{
			result_ns_ns_runningconfig[i] = result.ns_ns_runningconfig_response_array[i].ns_ns_runningconfig[0];
		}
		
		return result_ns_ns_runningconfig;
	}
308490
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		syslog_generic_responses result = (syslog_generic_responses) service.get_payload_formatter().string_to_resource(syslog_generic_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_generic_response_array);
		}
		syslog_generic[] result_syslog_generic = new syslog_generic[result.syslog_generic_response_array.length];
		
		for(int i = 0; i < result.syslog_generic_response_array.length; i++)
		{
			result_syslog_generic[i] = result.syslog_generic_response_array[i].syslog_generic[0];
		}
		
		return result_syslog_generic;
	}
588550
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		syslog_server_responses result = (syslog_server_responses) service.get_payload_formatter().string_to_resource(syslog_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.syslog_server_response_array);
		}
		syslog_server[] result_syslog_server = new syslog_server[result.syslog_server_response_array.length];
		
		for(int i = 0; i < result.syslog_server_response_array.length; i++)
		{
			result_syslog_server[i] = result.syslog_server_response_array[i].syslog_server[0];
		}
		
		return result_syslog_server;
	}
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;
	}
168278
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		ns_detail_vlan_responses result = (ns_detail_vlan_responses) service.get_payload_formatter().string_to_resource(ns_detail_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_detail_vlan_response_array);
		}
		ns_detail_vlan[] result_ns_detail_vlan = new ns_detail_vlan[result.ns_detail_vlan_response_array.length];
		
		for(int i = 0; i < result.ns_detail_vlan_response_array.length; i++)
		{
			result_ns_detail_vlan[i] = result.ns_detail_vlan_response_array[i].ns_detail_vlan[0];
		}
		
		return result_ns_detail_vlan;
	}