<pre>
Converts API response of bulk operation into object and returns the object array in case of get request.
</pre>
179126
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		syslog_ui_cmd_responses result = (syslog_ui_cmd_responses) service.get_payload_formatter().string_to_resource(syslog_ui_cmd_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_ui_cmd_response_array);
		}
		syslog_ui_cmd[] result_syslog_ui_cmd = new syslog_ui_cmd[result.syslog_ui_cmd_response_array.length];
		
		for(int i = 0; i < result.syslog_ui_cmd_response_array.length; i++)
		{
			result_syslog_ui_cmd[i] = result.syslog_ui_cmd_response_array[i].syslog_ui_cmd[0];
		}
		
		return result_syslog_ui_cmd;
	}
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;
	}
401478
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		mps_doc_image_responses result = (mps_doc_image_responses) service.get_payload_formatter().string_to_resource(mps_doc_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.mps_doc_image_response_array);
		}
		mps_doc_image[] result_mps_doc_image = new mps_doc_image[result.mps_doc_image_response_array.length];
		
		for(int i = 0; i < result.mps_doc_image_response_array.length; i++)
		{
			result_mps_doc_image[i] = result.mps_doc_image_response_array[i].mps_doc_image[0];
		}
		
		return result_mps_doc_image;
	}
899798
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		snmp_view_responses result = (snmp_view_responses) service.get_payload_formatter().string_to_resource(snmp_view_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.snmp_view_response_array);
		}
		snmp_view[] result_snmp_view = new snmp_view[result.snmp_view_response_array.length];
		
		for(int i = 0; i < result.snmp_view_response_array.length; i++)
		{
			result_snmp_view[i] = result.snmp_view_response_array[i].snmp_view[0];
		}
		
		return result_snmp_view;
	}
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;
	}
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;
	}
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;
	}
314256
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		xen_responses result = (xen_responses) service.get_payload_formatter().string_to_resource(xen_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_response_array);
		}
		xen[] result_xen = new xen[result.xen_response_array.length];
		
		for(int i = 0; i < result.xen_response_array.length; i++)
		{
			result_xen[i] = result.xen_response_array[i].xen[0];
		}
		
		return result_xen;
	}
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;
	}
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;
	}
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;
	}
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;
	}
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;
	}
1213624
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		br_vm_template_responses result = (br_vm_template_responses) service.get_payload_formatter().string_to_resource(br_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.br_vm_template_response_array);
		}
		br_vm_template[] result_br_vm_template = new br_vm_template[result.br_vm_template_response_array.length];
		
		for(int i = 0; i < result.br_vm_template_response_array.length; i++)
		{
			result_br_vm_template[i] = result.br_vm_template_response_array[i].br_vm_template[0];
		}
		
		return result_br_vm_template;
	}
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;
	}
1002057
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		ns_conf_responses result = (ns_conf_responses) service.get_payload_formatter().string_to_resource(ns_conf_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_conf_response_array);
		}
		ns_conf[] result_ns_conf = new ns_conf[result.ns_conf_response_array.length];
		
		for(int i = 0; i < result.ns_conf_response_array.length; i++)
		{
			result_ns_conf[i] = result.ns_conf_response_array[i].ns_conf[0];
		}
		
		return result_ns_conf;
	}
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;
	}