What is the difference between sg.AntiAliasingQuality and sg.AntiAliasingQuality.NumLevels ?

The .NumLevels is a read-only variable, meaning that it cannot be changed by the user from the console, but you can change that through c++.

It seems to be used only as utility to loop over the AA levels and clamp the value to the max allowed.