Use this API to fetch filtered set of nstrafficdomain resources.
filter string should be in JSON format.eg: "port:80,servicetype:HTTP".
13674
public static nstrafficdomain[] get_filtered(nitro_service service, String filter) throws Exception{
		nstrafficdomain obj = new nstrafficdomain();
		options option = new options();
		option.set_filter(filter);
		nstrafficdomain[] response = (nstrafficdomain[]) obj.getfiltered(service, option);
		return response;
	}
1245786
public static nsevents[] get_filtered(nitro_service service, String filter) throws Exception{
		nsevents obj = new nsevents();
		options option = new options();
		option.set_filter(filter);
		nsevents[] response = (nsevents[]) obj.getfiltered(service, option);
		return response;
	}
493529
public static nat64[] get_filtered(nitro_service service, String filter) throws Exception{
		nat64 obj = new nat64();
		options option = new options();
		option.set_filter(filter);
		nat64[] response = (nat64[]) obj.getfiltered(service, option);
		return response;
	}
269196
public static hanode[] get_filtered(nitro_service service, String filter) throws Exception{
		hanode obj = new hanode();
		options option = new options();
		option.set_filter(filter);
		hanode[] response = (hanode[]) obj.getfiltered(service, option);
		return response;
	}
927166
public static netprofile[] get_filtered(nitro_service service, String filter) throws Exception{
		netprofile obj = new netprofile();
		options option = new options();
		option.set_filter(filter);
		netprofile[] response = (netprofile[]) obj.getfiltered(service, option);
		return response;
	}
732545
public static configstatus[] get_filtered(nitro_service service, String filter) throws Exception{
		configstatus obj = new configstatus();
		options option = new options();
		option.set_filter(filter);
		configstatus[] response = (configstatus[]) obj.getfiltered(service, option);
		return response;
	}
810131
public static nssimpleacl6[] get_filtered(nitro_service service, String filter) throws Exception{
		nssimpleacl6 obj = new nssimpleacl6();
		options option = new options();
		option.set_filter(filter);
		nssimpleacl6[] response = (nssimpleacl6[]) 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;
	}
1049730
public static ntp_server[] get_filtered(nitro_service service, String filter) throws Exception
	{
		ntp_server obj = new ntp_server();
		options option = new options();
		option.set_filter(filter);
		ntp_server[] response = (ntp_server[]) obj.getfiltered(service, option);
		return response;
	}
1050883
public static ns_configtemplate[] get_filtered(nitro_service service, String filter) throws Exception
	{
		ns_configtemplate obj = new ns_configtemplate();
		options option = new options();
		option.set_filter(filter);
		ns_configtemplate[] response = (ns_configtemplate[]) obj.getfiltered(service, option);
		return response;
	}
215880
public static base_response disable(nitro_service client, nstrafficdomain resource) throws Exception {
		nstrafficdomain disableresource = new nstrafficdomain();
		disableresource.td = resource.td;
		disableresource.state = resource.state;
		return disableresource.perform_operation(client,"disable");
	}
522003
public static device_profile[] get_filtered(nitro_service service, String filter) throws Exception
	{
		device_profile obj = new device_profile();
		options option = new options();
		option.set_filter(filter);
		device_profile[] response = (device_profile[]) obj.getfiltered(service, option);
		return response;
	}
1058174
public static nstcpprofile[] get_filtered(nitro_service service, String filter) throws Exception{
		nstcpprofile obj = new nstcpprofile();
		options option = new options();
		option.set_filter(filter);
		nstcpprofile[] response = (nstcpprofile[]) 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;
	}
950021
public static sent_mails[] get_filtered(nitro_service service, String filter) throws Exception
	{
		sent_mails obj = new sent_mails();
		options option = new options();
		option.set_filter(filter);
		sent_mails[] response = (sent_mails[]) obj.getfiltered(service, option);
		return response;
	}
700716
public static dnsaction64[] get_filtered(nitro_service service, String filter) throws Exception{
		dnsaction64 obj = new dnsaction64();
		options option = new options();
		option.set_filter(filter);
		dnsaction64[] response = (dnsaction64[]) obj.getfiltered(service, option);
		return response;
	}
1165973
public static ns_conf_download_policy[] get_filtered(nitro_service service, String filter) throws Exception
	{
		ns_conf_download_policy obj = new ns_conf_download_policy();
		options option = new options();
		option.set_filter(filter);
		ns_conf_download_policy[] response = (ns_conf_download_policy[]) obj.getfiltered(service, option);
		return response;
	}