Wash the sweet pumpkin thoroughly and steam or boil it with the skin on.
Cut the cooked pumpkin into bite-sized pieces.
Roughly chop the boiled eggs.
Finely chop the onion and cucumber.
Mix the pumpkin, eggs, vegetables, mayonnaise, salt, and pepper together.
Transfer to a bowl to finish.