code: public static sdx_license[] get_filtered(nitro_service service, String filter) throws Exception
  	{
  		sdx_license obj = new sdx_license();
  		options option = new options();
  		option.set_filter(filter);
  		sdx_license[] response = (sdx_license[]) obj.getfiltered(service, option);
  		return response;
  	}
docs: Use this API to fetch filtered set of sdx_license resources.
  filter string should be in JSON format.eg: "vm_state:DOWN,name:[a-z]+"