Pylint
Add an abstract consumer model

[#50521]
Merge branch 'api-security-50521'