Preheat your oven to 350°F (175°C).
In a large frying pan over medium heat, cook the ground beef until browned, breaking it apart with a spoon as it cooks. Drain excess fat if necessary.
Add the chopped onion and minced garlic to the pan. Sauté for another 3-5 minutes until the onion is translucent.
In a large mixing bowl, combine the sliced potatoes, green beans, kidney beans, tomato soup, salt, pepper, paprika, oregano, and thyme. Mix well.
Layer half of the potato mixture in the bottom of a greased 9x13-inch baking dish.
Spread the cooked beef mixture over the potatoes, followed by the remaining potato mixture on top.
Cover the dish with aluminum foil and bake in the preheated oven for 45 minutes.
Remove the foil and sprinkle the shredded cheddar cheese on top. Bake for an additional 15 minutes, or until the cheese is melted and bubbly.
Allow the casserole to cool for a few minutes before serving.