<pre>
Converts API response of bulk operation into object and returns the object array in case of get request.
</pre>
433392
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		version_recommendations_responses result = (version_recommendations_responses) service.get_payload_formatter().string_to_resource(version_recommendations_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_recommendations_response_array);
		}
		version_recommendations[] result_version_recommendations = new version_recommendations[result.version_recommendations_response_array.length];
		
		for(int i = 0; i < result.version_recommendations_response_array.length; i++)
		{
			result_version_recommendations[i] = result.version_recommendations_response_array[i].version_recommendations[0];
		}
		
		return result_version_recommendations;
	}
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;
	}
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;
	}
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;
	}
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;
	}
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;
	}
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;
	}
944409
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		vm_template_responses result = (vm_template_responses) service.get_payload_formatter().string_to_resource(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.vm_template_response_array);
		}
		vm_template[] result_vm_template = new vm_template[result.vm_template_response_array.length];
		
		for(int i = 0; i < result.vm_template_response_array.length; i++)
		{
			result_vm_template[i] = result.vm_template_response_array[i].vm_template[0];
		}
		
		return result_vm_template;
	}
580099
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		syslog_sslvpn_responses result = (syslog_sslvpn_responses) service.get_payload_formatter().string_to_resource(syslog_sslvpn_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_sslvpn_response_array);
		}
		syslog_sslvpn[] result_syslog_sslvpn = new syslog_sslvpn[result.syslog_sslvpn_response_array.length];
		
		for(int i = 0; i < result.syslog_sslvpn_response_array.length; i++)
		{
			result_syslog_sslvpn[i] = result.syslog_sslvpn_response_array[i].syslog_sslvpn[0];
		}
		
		return result_syslog_sslvpn;
	}
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;
	}
571353
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		br_responses result = (br_responses) service.get_payload_formatter().string_to_resource(br_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_response_array);
		}
		br[] result_br = new br[result.br_response_array.length];
		
		for(int i = 0; i < result.br_response_array.length; i++)
		{
			result_br[i] = result.br_response_array[i].br[0];
		}
		
		return result_br;
	}
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;
	}
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;
	}
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;
	}
737698
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		mail_profile_responses result = (mail_profile_responses) service.get_payload_formatter().string_to_resource(mail_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.mail_profile_response_array);
		}
		mail_profile[] result_mail_profile = new mail_profile[result.mail_profile_response_array.length];
		
		for(int i = 0; i < result.mail_profile_response_array.length; i++)
		{
			result_mail_profile[i] = result.mail_profile_response_array[i].mail_profile[0];
		}
		
		return result_mail_profile;
	}
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;
	}