<pre>
Converts API response of bulk operation into object and returns the object array in case of get request.
</pre>
188852
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		license_file_responses result = (license_file_responses) service.get_payload_formatter().string_to_resource(license_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.license_file_response_array);
		}
		license_file[] result_license_file = new license_file[result.license_file_response_array.length];
		
		for(int i = 0; i < result.license_file_response_array.length; i++)
		{
			result_license_file[i] = result.license_file_response_array[i].license_file[0];
		}
		
		return result_license_file;
	}
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;
	}
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;
	}
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;
	}
525479
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		audit_log_responses result = (audit_log_responses) service.get_payload_formatter().string_to_resource(audit_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.audit_log_response_array);
		}
		audit_log[] result_audit_log = new audit_log[result.audit_log_response_array.length];
		
		for(int i = 0; i < result.audit_log_response_array.length; i++)
		{
			result_audit_log[i] = result.audit_log_response_array[i].audit_log[0];
		}
		
		return result_audit_log;
	}
121399
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		br_broker_responses result = (br_broker_responses) service.get_payload_formatter().string_to_resource(br_broker_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_broker_response_array);
		}
		br_broker[] result_br_broker = new br_broker[result.br_broker_response_array.length];
		
		for(int i = 0; i < result.br_broker_response_array.length; i++)
		{
			result_br_broker[i] = result.br_broker_response_array[i].br_broker[0];
		}
		
		return result_br_broker;
	}
654078
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		ns_ssl_certkey_responses result = (ns_ssl_certkey_responses) service.get_payload_formatter().string_to_resource(ns_ssl_certkey_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_response_array);
		}
		ns_ssl_certkey[] result_ns_ssl_certkey = new ns_ssl_certkey[result.ns_ssl_certkey_response_array.length];
		
		for(int i = 0; i < result.ns_ssl_certkey_response_array.length; i++)
		{
			result_ns_ssl_certkey[i] = result.ns_ssl_certkey_response_array[i].ns_ssl_certkey[0];
		}
		
		return result_ns_ssl_certkey;
	}
238497
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		ns_responses result = (ns_responses) service.get_payload_formatter().string_to_resource(ns_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_response_array);
		}
		ns[] result_ns = new ns[result.ns_response_array.length];
		
		for(int i = 0; i < result.ns_response_array.length; i++)
		{
			result_ns[i] = result.ns_response_array[i].ns[0];
		}
		
		return result_ns;
	}
49753
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		mps_ssl_certkey_responses result = (mps_ssl_certkey_responses) service.get_payload_formatter().string_to_resource(mps_ssl_certkey_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_ssl_certkey_response_array);
		}
		mps_ssl_certkey[] result_mps_ssl_certkey = new mps_ssl_certkey[result.mps_ssl_certkey_response_array.length];
		
		for(int i = 0; i < result.mps_ssl_certkey_response_array.length; i++)
		{
			result_mps_ssl_certkey[i] = result.mps_ssl_certkey_response_array[i].mps_ssl_certkey[0];
		}
		
		return result_mps_ssl_certkey;
	}
868518
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		xen_nsvpx_image_responses result = (xen_nsvpx_image_responses) service.get_payload_formatter().string_to_resource(xen_nsvpx_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_nsvpx_image_response_array);
		}
		xen_nsvpx_image[] result_xen_nsvpx_image = new xen_nsvpx_image[result.xen_nsvpx_image_response_array.length];
		
		for(int i = 0; i < result.xen_nsvpx_image_response_array.length; i++)
		{
			result_xen_nsvpx_image[i] = result.xen_nsvpx_image_response_array[i].xen_nsvpx_image[0];
		}
		
		return result_xen_nsvpx_image;
	}
624491
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		managed_device_responses result = (managed_device_responses) service.get_payload_formatter().string_to_resource(managed_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.managed_device_response_array);
		}
		managed_device[] result_managed_device = new managed_device[result.managed_device_response_array.length];
		
		for(int i = 0; i < result.managed_device_response_array.length; i++)
		{
			result_managed_device[i] = result.managed_device_response_array[i].managed_device[0];
		}
		
		return result_managed_device;
	}
23841
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		ns_vlan_responses result = (ns_vlan_responses) service.get_payload_formatter().string_to_resource(ns_vlan_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_vlan_response_array);
		}
		ns_vlan[] result_ns_vlan = new ns_vlan[result.ns_vlan_response_array.length];
		
		for(int i = 0; i < result.ns_vlan_response_array.length; i++)
		{
			result_ns_vlan[i] = result.ns_vlan_response_array[i].ns_vlan[0];
		}
		
		return result_ns_vlan;
	}
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;
	}
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;
	}
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;
	}
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;
	}
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;
	}