Parts of Speech for Gainsaying
gain·say
G g Gramatical Hierarchy
Grammatically "Gainsaying" is a noun, to be more precise even a verb with objects. But also it is used as a verb, specifically a verb with objects. Part of speech depends on meaning of this word.
All about gainsaying Download all about gainsaying in pdf