protected function getTasks() {
        if (!$this->_tasks) {
            $this->_tasks = new TaskList($this->version, $this->solution['sid']);
        }

        return $this->_tasks;
    }
protected function getTasks() {
        if (!$this->_tasks) {
            $this->_tasks = new TaskList($this->version, $this->solution['sid']);
        }

        return $this->_tasks;
    }
protected function getTasks ( ) { if ( ! $ this -> _tasks ) { $ this -> _tasks = new TaskList ( $ this -> version , $ this -> solution [ 'sid' ] ) ; } return $ this -> _tasks ; }
Access the tasks

@return \Twilio\Rest\Taskrouter\V1\Workspace\TaskList
Access the tasks