public static cmpaction[] get_filtered(nitro_service service, String filter) throws Exception{
		cmpaction obj = new cmpaction();
		options option = new options();
		option.set_filter(filter);
		cmpaction[] response = (cmpaction[]) obj.getfiltered(service, option);
		return response;
	}
public static cmpaction [ ] get_filtered ( nitro_service service , String filter ) throws Exception { cmpaction obj = new cmpaction ( ) ; options option = new options ( ) ; option . set_filter ( filter ) ; cmpaction [ ] response = ( cmpaction [ ] ) obj . getfiltered ( service , option ) ; return response ; }
Use this API to fetch filtered set of cmpaction resources.
filter string should be in JSON format.eg: "port:80,servicetype:HTTP".