Case role of ḥasan in Zaydun ḥasanun wajhuhu?

Ṣifah Mushabbahah: Stable Qualities, Government and 18 Patterns