code: public static base_response flush(nitro_service client, nssurgeq resource) throws Exception {
  		nssurgeq flushresource = new nssurgeq();
  		flushresource.name = resource.name;
  		flushresource.servername = resource.servername;
  		flushresource.port = resource.port;
  		return flushresource.perform_operation(client,"flush");
  	}
docs: Use this API to flush nssurgeq.