Use this API to fetch filtered set of ntp_sync resources.
filter string should be in JSON format.eg: "vm_state:DOWN,name:[a-z]+"
195399
public static ntp_sync[] get_filtered(nitro_service service, String filter) throws Exception
	{
		ntp_sync obj = new ntp_sync();
		options option = new options();
		option.set_filter(filter);
		ntp_sync[] response = (ntp_sync[]) obj.getfiltered(service, option);
		return response;
	}
974812
public static dnsnameserver[] get_filtered(nitro_service service, String filter) throws Exception{
		dnsnameserver obj = new dnsnameserver();
		options option = new options();
		option.set_filter(filter);
		dnsnameserver[] response = (dnsnameserver[]) obj.getfiltered(service, option);
		return response;
	}
762145
public static tmtrafficaction[] get_filtered(nitro_service service, String filter) throws Exception{
		tmtrafficaction obj = new tmtrafficaction();
		options option = new options();
		option.set_filter(filter);
		tmtrafficaction[] response = (tmtrafficaction[]) obj.getfiltered(service, option);
		return response;
	}
85262
public static snmp_view[] get_filtered(nitro_service service, String filter) throws Exception
	{
		snmp_view obj = new snmp_view();
		options option = new options();
		option.set_filter(filter);
		snmp_view[] response = (snmp_view[]) obj.getfiltered(service, option);
		return response;
	}
229931
public static ntpserver[] get(nitro_service service) throws Exception{
		ntpserver obj = new ntpserver();
		ntpserver[] response = (ntpserver[])obj.get_resources(service);
		return response;
	}
160438
public static sdx_network_config[] get_filtered(nitro_service service, String filter) throws Exception
	{
		sdx_network_config obj = new sdx_network_config();
		options option = new options();
		option.set_filter(filter);
		sdx_network_config[] response = (sdx_network_config[]) obj.getfiltered(service, option);
		return response;
	}
504428
public static system_settings[] get_filtered(nitro_service service, String filter) throws Exception
	{
		system_settings obj = new system_settings();
		options option = new options();
		option.set_filter(filter);
		system_settings[] response = (system_settings[]) obj.getfiltered(service, option);
		return response;
	}
1260096
public static policymap[] get_filtered(nitro_service service, String filter) throws Exception{
		policymap obj = new policymap();
		options option = new options();
		option.set_filter(filter);
		policymap[] response = (policymap[]) 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;
	}
485908
public static xen_health_monitor[] get_filtered(nitro_service service, String filter) throws Exception
	{
		xen_health_monitor obj = new xen_health_monitor();
		options option = new options();
		option.set_filter(filter);
		xen_health_monitor[] response = (xen_health_monitor[]) obj.getfiltered(service, option);
		return response;
	}
115524
public static ntp_server[] get(nitro_service client) throws Exception
	{
		ntp_server resource = new ntp_server();
		resource.validate("get");
		return (ntp_server[]) resource.get_resources(client);
	}
431707
public static ntpserver[] get_filtered(nitro_service service, String filter) throws Exception{
		ntpserver obj = new ntpserver();
		options option = new options();
		option.set_filter(filter);
		ntpserver[] response = (ntpserver[]) obj.getfiltered(service, option);
		return response;
	}
726759
public static nsrpcnode[] get_filtered(nitro_service service, String filter) throws Exception{
		nsrpcnode obj = new nsrpcnode();
		options option = new options();
		option.set_filter(filter);
		nsrpcnode[] response = (nsrpcnode[]) obj.getfiltered(service, option);
		return response;
	}
671763
public static ns_vm_template[] get_filtered(nitro_service service, String filter) throws Exception
	{
		ns_vm_template obj = new ns_vm_template();
		options option = new options();
		option.set_filter(filter);
		ns_vm_template[] response = (ns_vm_template[]) obj.getfiltered(service, option);
		return response;
	}
38506
public static dnscnamerec[] get_filtered(nitro_service service, String filter) throws Exception{
		dnscnamerec obj = new dnscnamerec();
		options option = new options();
		option.set_filter(filter);
		dnscnamerec[] response = (dnscnamerec[]) obj.getfiltered(service, option);
		return response;
	}
286285
public static dnspolicy[] get_filtered(nitro_service service, String filter) throws Exception{
		dnspolicy obj = new dnspolicy();
		options option = new options();
		option.set_filter(filter);
		dnspolicy[] response = (dnspolicy[]) obj.getfiltered(service, option);
		return response;
	}
1260033
public static vpnglobal_vpnnexthopserver_binding[] get_filtered(nitro_service service, String filter) throws Exception{
		vpnglobal_vpnnexthopserver_binding obj = new vpnglobal_vpnnexthopserver_binding();
		options option = new options();
		option.set_filter(filter);
		vpnglobal_vpnnexthopserver_binding[] response = (vpnglobal_vpnnexthopserver_binding[]) obj.getfiltered(service, option);
		return response;
	}