I\'m building a connector for a REST api, and this api has 10+ endpoints which require exactly the same type of function. My objective is to build a class where I can access all