<pre>
Converts API response of bulk operation into object and returns the object array in case of get request.
</pre>
323513
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		prune_policy_responses result = (prune_policy_responses) service.get_payload_formatter().string_to_resource(prune_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.prune_policy_response_array);
		}
		prune_policy[] result_prune_policy = new prune_policy[result.prune_policy_response_array.length];
		
		for(int i = 0; i < result.prune_policy_response_array.length; i++)
		{
			result_prune_policy[i] = result.prune_policy_response_array[i].prune_policy[0];
		}
		
		return result_prune_policy;
	}
767783
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		ping_responses result = (ping_responses) service.get_payload_formatter().string_to_resource(ping_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.ping_response_array);
		}
		ping[] result_ping = new ping[result.ping_response_array.length];
		
		for(int i = 0; i < result.ping_response_array.length; i++)
		{
			result_ping[i] = result.ping_response_array[i].ping[0];
		}
		
		return result_ping;
	}
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;
	}
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;
	}
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;
	}
438094
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		version_matrix_file_responses result = (version_matrix_file_responses) service.get_payload_formatter().string_to_resource(version_matrix_file_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_file_response_array);
		}
		version_matrix_file[] result_version_matrix_file = new version_matrix_file[result.version_matrix_file_response_array.length];
		
		for(int i = 0; i < result.version_matrix_file_response_array.length; i++)
		{
			result_version_matrix_file[i] = result.version_matrix_file_response_array[i].version_matrix_file[0];
		}
		
		return result_version_matrix_file;
	}
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;
	}
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;
	}
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;
	}
650726
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		br_device_profile_responses result = (br_device_profile_responses) service.get_payload_formatter().string_to_resource(br_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.br_device_profile_response_array);
		}
		br_device_profile[] result_br_device_profile = new br_device_profile[result.br_device_profile_response_array.length];
		
		for(int i = 0; i < result.br_device_profile_response_array.length; i++)
		{
			result_br_device_profile[i] = result.br_device_profile_response_array[i].br_device_profile[0];
		}
		
		return result_br_device_profile;
	}
1251390
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		host_device_responses result = (host_device_responses) service.get_payload_formatter().string_to_resource(host_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.host_device_response_array);
		}
		host_device[] result_host_device = new host_device[result.host_device_response_array.length];
		
		for(int i = 0; i < result.host_device_response_array.length; i++)
		{
			result_host_device[i] = result.host_device_response_array[i].host_device[0];
		}
		
		return result_host_device;
	}
524058
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		af_config_info_responses result = (af_config_info_responses) service.get_payload_formatter().string_to_resource(af_config_info_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.af_config_info_response_array);
		}
		af_config_info[] result_af_config_info = new af_config_info[result.af_config_info_response_array.length];
		
		for(int i = 0; i < result.af_config_info_response_array.length; i++)
		{
			result_af_config_info[i] = result.af_config_info_response_array[i].af_config_info[0];
		}
		
		return result_af_config_info;
	}
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;
	}
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;
	}
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;
	}
784490
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		ns_cluster_responses result = (ns_cluster_responses) service.get_payload_formatter().string_to_resource(ns_cluster_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_cluster_response_array);
		}
		ns_cluster[] result_ns_cluster = new ns_cluster[result.ns_cluster_response_array.length];
		
		for(int i = 0; i < result.ns_cluster_response_array.length; i++)
		{
			result_ns_cluster[i] = result.ns_cluster_response_array[i].ns_cluster[0];
		}
		
		return result_ns_cluster;
	}
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;
	}