Use this API to fetch filtered set of dnssuffix resources.
filter string should be in JSON format.eg: "port:80,servicetype:HTTP".
542752
public static dnssuffix[] get_filtered(nitro_service service, String filter) throws Exception{
		dnssuffix obj = new dnssuffix();
		options option = new options();
		option.set_filter(filter);
		dnssuffix[] response = (dnssuffix[]) obj.getfiltered(service, option);
		return response;
	}
172971
public static ns_vlan[] get_filtered(nitro_service service, String filter) throws Exception
	{
		ns_vlan obj = new ns_vlan();
		options option = new options();
		option.set_filter(filter);
		ns_vlan[] response = (ns_vlan[]) obj.getfiltered(service, option);
		return response;
	}
919783
public static dnsview[] get_filtered(nitro_service service, String filter) throws Exception{
		dnsview obj = new dnsview();
		options option = new options();
		option.set_filter(filter);
		dnsview[] response = (dnsview[]) obj.getfiltered(service, option);
		return response;
	}
836843
public static policystringmap[] get_filtered(nitro_service service, String filter) throws Exception{
		policystringmap obj = new policystringmap();
		options option = new options();
		option.set_filter(filter);
		policystringmap[] response = (policystringmap[]) obj.getfiltered(service, option);
		return response;
	}
1243066
public static long count_filtered(nitro_service service, String servicename, filtervalue[] filter) throws Exception{
		gslbservice_dnsview_binding obj = new gslbservice_dnsview_binding();
		obj.set_servicename(servicename);
		options option = new options();
		option.set_count(true);
		option.set_filter(filter);
		gslbservice_dnsview_binding[] response = (gslbservice_dnsview_binding[]) obj.getfiltered(service, option);
		if (response != null) {
			return response[0].__count;
		}
		return 0;
	}
397890
public static policyhttpcallout[] get_filtered(nitro_service service, String filter) throws Exception{
		policyhttpcallout obj = new policyhttpcallout();
		options option = new options();
		option.set_filter(filter);
		policyhttpcallout[] response = (policyhttpcallout[]) obj.getfiltered(service, option);
		return response;
	}
1351299
public static server[] get_filtered(nitro_service service, filtervalue[] filter) throws Exception{
		server obj = new server();
		options option = new options();
		option.set_filter(filter);
		server[] response = (server[]) obj.getfiltered(service, option);
		return response;
	}
424264
public static onlinkipv6prefix[] get_filtered(nitro_service service, String filter) throws Exception{
		onlinkipv6prefix obj = new onlinkipv6prefix();
		options option = new options();
		option.set_filter(filter);
		onlinkipv6prefix[] response = (onlinkipv6prefix[]) obj.getfiltered(service, option);
		return response;
	}
290815
public static ntp_param[] get_filtered(nitro_service service, String filter) throws Exception
	{
		ntp_param obj = new ntp_param();
		options option = new options();
		option.set_filter(filter);
		ntp_param[] response = (ntp_param[]) obj.getfiltered(service, option);
		return response;
	}
1310362
public static dnstxtrec[] get_filtered(nitro_service service, String filter) throws Exception{
		dnstxtrec obj = new dnstxtrec();
		options option = new options();
		option.set_filter(filter);
		dnstxtrec[] response = (dnstxtrec[]) obj.getfiltered(service, option);
		return response;
	}
1095858
public static netbridge[] get_filtered(nitro_service service, String filter) throws Exception{
		netbridge obj = new netbridge();
		options option = new options();
		option.set_filter(filter);
		netbridge[] response = (netbridge[]) obj.getfiltered(service, option);
		return response;
	}
373439
public static snmpmanager[] get_filtered(nitro_service service, String filter) throws Exception{
		snmpmanager obj = new snmpmanager();
		options option = new options();
		option.set_filter(filter);
		snmpmanager[] response = (snmpmanager[]) obj.getfiltered(service, option);
		return response;
	}
1204961
public static dnspolicylabel[] get_filtered(nitro_service service, String filter) throws Exception{
		dnspolicylabel obj = new dnspolicylabel();
		options option = new options();
		option.set_filter(filter);
		dnspolicylabel[] response = (dnspolicylabel[]) obj.getfiltered(service, option);
		return response;
	}
1031040
protected base_resource[] getfiltered(nitro_service service,options option) throws Exception
	{
		if (!service.isLogin())
			service.login();
		base_resource[] response = get_request(service, option);
		return response;
	}
281892
public static nshttpprofile[] get_filtered(nitro_service service, String filter) throws Exception{
		nshttpprofile obj = new nshttpprofile();
		options option = new options();
		option.set_filter(filter);
		nshttpprofile[] response = (nshttpprofile[]) obj.getfiltered(service, option);
		return response;
	}
447676
public static gslbvserver[] get_filtered(nitro_service service, String filter) throws Exception{
		gslbvserver obj = new gslbvserver();
		options option = new options();
		option.set_filter(filter);
		gslbvserver[] response = (gslbvserver[]) obj.getfiltered(service, option);
		return response;
	}
1002792
public static smtp_server[] get_filtered(nitro_service service, String filter) throws Exception
	{
		smtp_server obj = new smtp_server();
		options option = new options();
		option.set_filter(filter);
		smtp_server[] response = (smtp_server[]) obj.getfiltered(service, option);
		return response;
	}