<pre>
Converts API response of bulk operation into object and returns the object array in case of get request.
</pre>
974169
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		task_command_log_responses result = (task_command_log_responses) service.get_payload_formatter().string_to_resource(task_command_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_command_log_response_array);
		}
		task_command_log[] result_task_command_log = new task_command_log[result.task_command_log_response_array.length];
		
		for(int i = 0; i < result.task_command_log_response_array.length; i++)
		{
			result_task_command_log[i] = result.task_command_log_response_array[i].task_command_log[0];
		}
		
		return result_task_command_log;
	}
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;
	}
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;
	}
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;
	}
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;
	}
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;
	}
468624
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		traceroute_responses result = (traceroute_responses) service.get_payload_formatter().string_to_resource(traceroute_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.traceroute_response_array);
		}
		traceroute[] result_traceroute = new traceroute[result.traceroute_response_array.length];
		
		for(int i = 0; i < result.traceroute_response_array.length; i++)
		{
			result_traceroute[i] = result.traceroute_response_array[i].traceroute[0];
		}
		
		return result_traceroute;
	}
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;
	}
774345
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		sent_mails_responses result = (sent_mails_responses) service.get_payload_formatter().string_to_resource(sent_mails_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.sent_mails_response_array);
		}
		sent_mails[] result_sent_mails = new sent_mails[result.sent_mails_response_array.length];
		
		for(int i = 0; i < result.sent_mails_response_array.length; i++)
		{
			result_sent_mails[i] = result.sent_mails_response_array[i].sent_mails[0];
		}
		
		return result_sent_mails;
	}
877822
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		physical_disk_responses result = (physical_disk_responses) service.get_payload_formatter().string_to_resource(physical_disk_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.physical_disk_response_array);
		}
		physical_disk[] result_physical_disk = new physical_disk[result.physical_disk_response_array.length];
		
		for(int i = 0; i < result.physical_disk_response_array.length; i++)
		{
			result_physical_disk[i] = result.physical_disk_response_array[i].physical_disk[0];
		}
		
		return result_physical_disk;
	}
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;
	}
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;
	}
1242441
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		backup_policy_responses result = (backup_policy_responses) service.get_payload_formatter().string_to_resource(backup_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.backup_policy_response_array);
		}
		backup_policy[] result_backup_policy = new backup_policy[result.backup_policy_response_array.length];
		
		for(int i = 0; i < result.backup_policy_response_array.length; i++)
		{
			result_backup_policy[i] = result.backup_policy_response_array[i].backup_policy[0];
		}
		
		return result_backup_policy;
	}
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;
	}
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;
	}
1290623
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		ns_vm_template_responses result = (ns_vm_template_responses) service.get_payload_formatter().string_to_resource(ns_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.ns_vm_template_response_array);
		}
		ns_vm_template[] result_ns_vm_template = new ns_vm_template[result.ns_vm_template_response_array.length];
		
		for(int i = 0; i < result.ns_vm_template_response_array.length; i++)
		{
			result_ns_vm_template[i] = result.ns_vm_template_response_array[i].ns_vm_template[0];
		}
		
		return result_ns_vm_template;
	}
365482
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		br_locallicense_responses result = (br_locallicense_responses) service.get_payload_formatter().string_to_resource(br_locallicense_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_locallicense_response_array);
		}
		br_locallicense[] result_br_locallicense = new br_locallicense[result.br_locallicense_response_array.length];
		
		for(int i = 0; i < result.br_locallicense_response_array.length; i++)
		{
			result_br_locallicense[i] = result.br_locallicense_response_array[i].br_locallicense[0];
		}
		
		return result_br_locallicense;
	}