<pre>
Converts API response of bulk operation into object and returns the object array in case of get request.
</pre>
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;
	}
525479
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		audit_log_responses result = (audit_log_responses) service.get_payload_formatter().string_to_resource(audit_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.audit_log_response_array);
		}
		audit_log[] result_audit_log = new audit_log[result.audit_log_response_array.length];
		
		for(int i = 0; i < result.audit_log_response_array.length; i++)
		{
			result_audit_log[i] = result.audit_log_response_array[i].audit_log[0];
		}
		
		return result_audit_log;
	}
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;
	}
891482
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		ns_clusternode_responses result = (ns_clusternode_responses) service.get_payload_formatter().string_to_resource(ns_clusternode_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_clusternode_response_array);
		}
		ns_clusternode[] result_ns_clusternode = new ns_clusternode[result.ns_clusternode_response_array.length];
		
		for(int i = 0; i < result.ns_clusternode_response_array.length; i++)
		{
			result_ns_clusternode[i] = result.ns_clusternode_response_array[i].ns_clusternode[0];
		}
		
		return result_ns_clusternode;
	}
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;
	}
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;
	}
1115738
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		syslog_aaa_responses result = (syslog_aaa_responses) service.get_payload_formatter().string_to_resource(syslog_aaa_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_aaa_response_array);
		}
		syslog_aaa[] result_syslog_aaa = new syslog_aaa[result.syslog_aaa_response_array.length];
		
		for(int i = 0; i < result.syslog_aaa_response_array.length; i++)
		{
			result_syslog_aaa[i] = result.syslog_aaa_response_array[i].syslog_aaa[0];
		}
		
		return result_syslog_aaa;
	}
390640
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		disk_adapter_responses result = (disk_adapter_responses) service.get_payload_formatter().string_to_resource(disk_adapter_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.disk_adapter_response_array);
		}
		disk_adapter[] result_disk_adapter = new disk_adapter[result.disk_adapter_response_array.length];
		
		for(int i = 0; i < result.disk_adapter_response_array.length; i++)
		{
			result_disk_adapter[i] = result.disk_adapter_response_array[i].disk_adapter[0];
		}
		
		return result_disk_adapter;
	}
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;
	}
300028
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		ns_command_responses result = (ns_command_responses) service.get_payload_formatter().string_to_resource(ns_command_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_command_response_array);
		}
		ns_command[] result_ns_command = new ns_command[result.ns_command_response_array.length];
		
		for(int i = 0; i < result.ns_command_response_array.length; i++)
		{
			result_ns_command[i] = result.ns_command_response_array[i].ns_command[0];
		}
		
		return result_ns_command;
	}
1105464
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		xen_appcvpx_image_responses result = (xen_appcvpx_image_responses) service.get_payload_formatter().string_to_resource(xen_appcvpx_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_appcvpx_image_response_array);
		}
		xen_appcvpx_image[] result_xen_appcvpx_image = new xen_appcvpx_image[result.xen_appcvpx_image_response_array.length];
		
		for(int i = 0; i < result.xen_appcvpx_image_response_array.length; i++)
		{
			result_xen_appcvpx_image[i] = result.xen_appcvpx_image_response_array[i].xen_appcvpx_image[0];
		}
		
		return result_xen_appcvpx_image;
	}
1106868
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		ntp_sync_responses result = (ntp_sync_responses) service.get_payload_formatter().string_to_resource(ntp_sync_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_sync_response_array);
		}
		ntp_sync[] result_ntp_sync = new ntp_sync[result.ntp_sync_response_array.length];
		
		for(int i = 0; i < result.ntp_sync_response_array.length; i++)
		{
			result_ntp_sync[i] = result.ntp_sync_response_array[i].ntp_sync[0];
		}
		
		return result_ntp_sync;
	}
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;
	}
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;
	}
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;
	}
180342
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		ssl_key_responses result = (ssl_key_responses) service.get_payload_formatter().string_to_resource(ssl_key_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_key_response_array);
		}
		ssl_key[] result_ssl_key = new ssl_key[result.ssl_key_response_array.length];
		
		for(int i = 0; i < result.ssl_key_response_array.length; i++)
		{
			result_ssl_key[i] = result.ssl_key_response_array[i].ssl_key[0];
		}
		
		return result_ssl_key;
	}
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;
	}