Class GetAdjacentIds