docs: def get_hooks(self):
          """
          :calls: `GET /hooks <http://developer.github.com/v3/repos/hooks/>`_
          :rtype: list of :class:`github.HookDescription.HookDescription`
          """
          headers, data = self.__requester.requestJsonAndCheck(
              "GET",
              "/hooks"
          )
          return [HookDescription.HookDescription(self.__requester, headers, attributes, completed=True) for attributes in data]