<pre>
converts nitro response into object and returns the object array in case of get request.
</pre>
430099
protected base_resource[] get_nitro_response(nitro_service service, String response) throws Exception {
		protocoltcp_stats[] resources = new protocoltcp_stats[1];
		protocoltcp_response result = (protocoltcp_response) service.get_payload_formatter().string_to_resource(protocoltcp_response.class, response);
		if(result.errorcode != 0) {
			if (result.errorcode == 444) {
				service.clear_session();
			}
			if(result.severity != null)
			{
				if (result.severity.equals("ERROR"))
					throw new nitro_exception(result.message,result.errorcode);
			}
			else
			{
				throw new nitro_exception(result.message,result.errorcode);
			}
		}
		resources[0] = result.protocoltcp;
		return resources;
	}
719762
public static ptp get(nitro_service service) throws Exception{
		ptp obj = new ptp();
		ptp[] response = (ptp[])obj.get_resources(service);
		return response[0];
	}
140741
protected base_resource[] get_nitro_response(nitro_service service, String response) throws Exception {
		aaa_stats[] resources = new aaa_stats[1];
		aaa_response result = (aaa_response) service.get_payload_formatter().string_to_resource(aaa_response.class, response);
		if(result.errorcode != 0) {
			if (result.errorcode == 444) {
				service.clear_session();
			}
			if(result.severity != null)
			{
				if (result.severity.equals("ERROR"))
					throw new nitro_exception(result.message,result.errorcode);
			}
			else
			{
				throw new nitro_exception(result.message,result.errorcode);
			}
		}
		resources[0] = result.aaa;
		return resources;
	}
1038698
protected base_resource[] get_nitro_response(nitro_service service, String response) throws Exception {
		protocolicmpv6_stats[] resources = new protocolicmpv6_stats[1];
		protocolicmpv6_response result = (protocolicmpv6_response) service.get_payload_formatter().string_to_resource(protocolicmpv6_response.class, response);
		if(result.errorcode != 0) {
			if (result.errorcode == 444) {
				service.clear_session();
			}
			if(result.severity != null)
			{
				if (result.severity.equals("ERROR"))
					throw new nitro_exception(result.message,result.errorcode);
			}
			else
			{
				throw new nitro_exception(result.message,result.errorcode);
			}
		}
		resources[0] = result.protocolicmpv6;
		return resources;
	}
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;
	}
1278219
public static responderaction[] get(nitro_service service) throws Exception{
		responderaction obj = new responderaction();
		responderaction[] response = (responderaction[])obj.get_resources(service);
		return response;
	}
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;
	}
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;
	}
193746
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		host_cpu_core_responses result = (host_cpu_core_responses) service.get_payload_formatter().string_to_resource(host_cpu_core_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_cpu_core_response_array);
		}
		host_cpu_core[] result_host_cpu_core = new host_cpu_core[result.host_cpu_core_response_array.length];
		
		for(int i = 0; i < result.host_cpu_core_response_array.length; i++)
		{
			result_host_cpu_core[i] = result.host_cpu_core_response_array[i].host_cpu_core[0];
		}
		
		return result_host_cpu_core;
	}
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;
	}
810044
public static nshttpparam get(nitro_service service) throws Exception{
		nshttpparam obj = new nshttpparam();
		nshttpparam[] response = (nshttpparam[])obj.get_resources(service);
		return response[0];
	}
629824
protected base_resource[] get_nitro_response(nitro_service service, String response) throws Exception {
		appqoe_stats[] resources = new appqoe_stats[1];
		appqoe_response result = (appqoe_response) service.get_payload_formatter().string_to_resource(appqoe_response.class, response);
		if(result.errorcode != 0) {
			if (result.errorcode == 444) {
				service.clear_session();
			}
			if(result.severity != null)
			{
				if (result.severity.equals("ERROR"))
					throw new nitro_exception(result.message,result.errorcode);
			}
			else
			{
				throw new nitro_exception(result.message,result.errorcode);
			}
		}
		resources[0] = result.appqoe;
		return resources;
	}
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;
	}
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;
	}
379964
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		sdxtools_image_responses result = (sdxtools_image_responses) service.get_payload_formatter().string_to_resource(sdxtools_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.sdxtools_image_response_array);
		}
		sdxtools_image[] result_sdxtools_image = new sdxtools_image[result.sdxtools_image_response_array.length];
		
		for(int i = 0; i < result.sdxtools_image_response_array.length; i++)
		{
			result_sdxtools_image[i] = result.sdxtools_image_response_array[i].sdxtools_image[0];
		}
		
		return result_sdxtools_image;
	}
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;
	}
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;
	}