<pre>
converts nitro response into object and returns the object array in case of get request.
</pre>
338881
protected base_resource[] get_nitro_response(nitro_service service, String response) throws Exception {
		protocolipv6_stats[] resources = new protocolipv6_stats[1];
		protocolipv6_response result = (protocolipv6_response) service.get_payload_formatter().string_to_resource(protocolipv6_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.protocolipv6;
		return resources;
	}
960525
public static configobjects get(nitro_service service) throws Exception{
		configobjects obj = new configobjects();
		configobjects[] response = (configobjects[])obj.get_resources(service);
		return response[0];
	}
1176723
public static nsip[] get(nitro_service service) throws Exception{
		nsip obj = new nsip();
		nsip[] response = (nsip[])obj.get_resources(service);
		return response;
	}
259710
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		snmp_manager_responses result = (snmp_manager_responses) service.get_payload_formatter().string_to_resource(snmp_manager_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_manager_response_array);
		}
		snmp_manager[] result_snmp_manager = new snmp_manager[result.snmp_manager_response_array.length];
		
		for(int i = 0; i < result.snmp_manager_response_array.length; i++)
		{
			result_snmp_manager[i] = result.snmp_manager_response_array[i].snmp_manager[0];
		}
		
		return result_snmp_manager;
	}
1129867
protected base_resource[] get_nitro_response(nitro_service service, String response) throws Exception{
		clusterinstance_clusternode_binding_response result = (clusterinstance_clusternode_binding_response) service.get_payload_formatter().string_to_resource(clusterinstance_clusternode_binding_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);
			}
		}
		return result.clusterinstance_clusternode_binding;
	}
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;
	}
253371
protected base_resource[] get_nitro_response(nitro_service service, String response) throws Exception {
		pq_stats[] resources = new pq_stats[1];
		pq_response result = (pq_response) service.get_payload_formatter().string_to_resource(pq_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.pq;
		return resources;
	}
803863
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		event_responses result = (event_responses) service.get_payload_formatter().string_to_resource(event_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.event_response_array);
		}
		event[] result_event = new event[result.event_response_array.length];
		
		for(int i = 0; i < result.event_response_array.length; i++)
		{
			result_event[i] = result.event_response_array[i].event[0];
		}
		
		return result_event;
	}
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;
	}
1290623
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		ns_vm_template_responses result = (ns_vm_template_responses) service.get_payload_formatter().string_to_resource(ns_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.ns_vm_template_response_array);
		}
		ns_vm_template[] result_ns_vm_template = new ns_vm_template[result.ns_vm_template_response_array.length];
		
		for(int i = 0; i < result.ns_vm_template_response_array.length; i++)
		{
			result_ns_vm_template[i] = result.ns_vm_template_response_array[i].ns_vm_template[0];
		}
		
		return result_ns_vm_template;
	}
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;
	}
797097
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		mps_network_config_responses result = (mps_network_config_responses) service.get_payload_formatter().string_to_resource(mps_network_config_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_network_config_response_array);
		}
		mps_network_config[] result_mps_network_config = new mps_network_config[result.mps_network_config_response_array.length];
		
		for(int i = 0; i < result.mps_network_config_response_array.length; i++)
		{
			result_mps_network_config[i] = result.mps_network_config_response_array[i].mps_network_config[0];
		}
		
		return result_mps_network_config;
	}
1317169
public static sslpolicy[] get(nitro_service service) throws Exception{
		sslpolicy obj = new sslpolicy();
		sslpolicy[] response = (sslpolicy[])obj.get_resources(service);
		return response;
	}
872161
protected base_resource[] get_nitro_response(nitro_service service, String response) throws Exception {
		bridge_stats[] resources = new bridge_stats[1];
		bridge_response result = (bridge_response) service.get_payload_formatter().string_to_resource(bridge_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.bridge;
		return resources;
	}
1358350
protected base_resource[] get_nitro_response(nitro_service service, String response) throws Exception {
		ssl_stats[] resources = new ssl_stats[1];
		ssl_response result = (ssl_response) service.get_payload_formatter().string_to_resource(ssl_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.ssl;
		return resources;
	}
750639
protected base_resource[] get_nitro_response(nitro_service service, String response) throws Exception {
		qos_stats[] resources = new qos_stats[1];
		qos_response result = (qos_response) service.get_payload_formatter().string_to_resource(qos_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.qos;
		return resources;
	}
148695
protected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
	{
		activity_status_responses result = (activity_status_responses) service.get_payload_formatter().string_to_resource(activity_status_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.activity_status_response_array);
		}
		activity_status[] result_activity_status = new activity_status[result.activity_status_response_array.length];
		
		for(int i = 0; i < result.activity_status_response_array.length; i++)
		{
			result_activity_status[i] = result.activity_status_response_array[i].activity_status[0];
		}
		
		return result_activity_status;
	}