<pre>
Converts API response of bulk operation into object and returns the object array in case of get request.
</pre>
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;
	}
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;
	}
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;
	}
558039
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		device_profile_responses result = (device_profile_responses) service.get_payload_formatter().string_to_resource(device_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.device_profile_response_array);
		}
		device_profile[] result_device_profile = new device_profile[result.device_profile_response_array.length];
		
		for(int i = 0; i < result.device_profile_response_array.length; i++)
		{
			result_device_profile[i] = result.device_profile_response_array[i].device_profile[0];
		}
		
		return result_device_profile;
	}
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;
	}
138138
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		mpssession_responses result = (mpssession_responses) service.get_payload_formatter().string_to_resource(mpssession_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.mpssession_response_array);
		}
		mpssession[] result_mpssession = new mpssession[result.mpssession_response_array.length];
		
		for(int i = 0; i < result.mpssession_response_array.length; i++)
		{
			result_mpssession[i] = result.mpssession_response_array[i].mpssession[0];
		}
		
		return result_mpssession;
	}
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;
	}
438600
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		system_settings_responses result = (system_settings_responses) service.get_payload_formatter().string_to_resource(system_settings_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.system_settings_response_array);
		}
		system_settings[] result_system_settings = new system_settings[result.system_settings_response_array.length];
		
		for(int i = 0; i < result.system_settings_response_array.length; i++)
		{
			result_system_settings[i] = result.system_settings_response_array[i].system_settings[0];
		}
		
		return result_system_settings;
	}
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;
	}
368551
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		ns_ns_ip_responses result = (ns_ns_ip_responses) service.get_payload_formatter().string_to_resource(ns_ns_ip_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_ip_response_array);
		}
		ns_ns_ip[] result_ns_ns_ip = new ns_ns_ip[result.ns_ns_ip_response_array.length];
		
		for(int i = 0; i < result.ns_ns_ip_response_array.length; i++)
		{
			result_ns_ns_ip[i] = result.ns_ns_ip_response_array[i].ns_ns_ip[0];
		}
		
		return result_ns_ns_ip;
	}
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;
	}
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;
	}
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;
	}
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;
	}
297025
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		logical_disk_responses result = (logical_disk_responses) service.get_payload_formatter().string_to_resource(logical_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.logical_disk_response_array);
		}
		logical_disk[] result_logical_disk = new logical_disk[result.logical_disk_response_array.length];
		
		for(int i = 0; i < result.logical_disk_response_array.length; i++)
		{
			result_logical_disk[i] = result.logical_disk_response_array[i].logical_disk[0];
		}
		
		return result_logical_disk;
	}
1159620
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		xen_upgrade_responses result = (xen_upgrade_responses) service.get_payload_formatter().string_to_resource(xen_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.xen_upgrade_response_array);
		}
		xen_upgrade[] result_xen_upgrade = new xen_upgrade[result.xen_upgrade_response_array.length];
		
		for(int i = 0; i < result.xen_upgrade_response_array.length; i++)
		{
			result_xen_upgrade[i] = result.xen_upgrade_response_array[i].xen_upgrade[0];
		}
		
		return result_xen_upgrade;
	}
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;
	}