code: def events(self):
          
          if not self.__events:
              self.__events = Events(self.__connection)
          return self.__events
docs: Gets the Events API client.
  
          Returns:
              Events: