<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def tasks(self):
 """ Gets the Tasks API client. Returns: Tasks: """

        if not self.__tasks:
            self.__tasks = Tasks(self.__connection)
        return self.__tasks