<pre>
Converts API response of bulk operation into object and returns the object array in case of get request.
</pre>
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;
	}
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;
	}
737698
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		mail_profile_responses result = (mail_profile_responses) service.get_payload_formatter().string_to_resource(mail_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.mail_profile_response_array);
		}
		mail_profile[] result_mail_profile = new mail_profile[result.mail_profile_response_array.length];
		
		for(int i = 0; i < result.mail_profile_response_array.length; i++)
		{
			result_mail_profile[i] = result.mail_profile_response_array[i].mail_profile[0];
		}
		
		return result_mail_profile;
	}
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;
	}
1041468
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		mps_image_responses result = (mps_image_responses) service.get_payload_formatter().string_to_resource(mps_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_image_response_array);
		}
		mps_image[] result_mps_image = new mps_image[result.mps_image_response_array.length];
		
		for(int i = 0; i < result.mps_image_response_array.length; i++)
		{
			result_mps_image[i] = result.mps_image_response_array[i].mps_image[0];
		}
		
		return result_mps_image;
	}
289609
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		mps_responses result = (mps_responses) service.get_payload_formatter().string_to_resource(mps_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_response_array);
		}
		mps[] result_mps = new mps[result.mps_response_array.length];
		
		for(int i = 0; i < result.mps_response_array.length; i++)
		{
			result_mps[i] = result.mps_response_array[i].mps[0];
		}
		
		return result_mps;
	}
1198938
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		techsupport_responses result = (techsupport_responses) service.get_payload_formatter().string_to_resource(techsupport_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.techsupport_response_array);
		}
		techsupport[] result_techsupport = new techsupport[result.techsupport_response_array.length];
		
		for(int i = 0; i < result.techsupport_response_array.length; i++)
		{
			result_techsupport[i] = result.techsupport_response_array[i].techsupport[0];
		}
		
		return result_techsupport;
	}
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;
	}
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;
	}
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;
	}
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;
	}
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;
	}
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;
	}
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;
	}
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;
	}
83574
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		snmp_user_responses result = (snmp_user_responses) service.get_payload_formatter().string_to_resource(snmp_user_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_user_response_array);
		}
		snmp_user[] result_snmp_user = new snmp_user[result.snmp_user_response_array.length];
		
		for(int i = 0; i < result.snmp_user_response_array.length; i++)
		{
			result_snmp_user[i] = result.snmp_user_response_array[i].snmp_user[0];
		}
		
		return result_snmp_user;
	}
571353
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		br_responses result = (br_responses) service.get_payload_formatter().string_to_resource(br_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_response_array);
		}
		br[] result_br = new br[result.br_response_array.length];
		
		for(int i = 0; i < result.br_response_array.length; i++)
		{
			result_br[i] = result.br_response_array[i].br[0];
		}
		
		return result_br;
	}