So most code exmaples I find are using the option to list all shading options
pie.prop(context.space_data, "viewport_shade", expand=True)
But I would like to only show 3 and have the feeling that I have to create a new class operator to execute the code like:
bpy.context.space_data.viewport_shade = 'SOLID'
Am right with that assumption?