protected function getRoles() {
        if (!$this->_roles) {
            $this->_roles = new RoleList($this->version, $this->solution['sid']);
        }

        return $this->_roles;
    }
protected function getRoles() {
        if (!$this->_roles) {
            $this->_roles = new RoleList($this->version, $this->solution['sid']);
        }

        return $this->_roles;
    }
protected function getRoles ( ) { if ( ! $ this -> _roles ) { $ this -> _roles = new RoleList ( $ this -> version , $ this -> solution [ 'sid' ] ) ; } return $ this -> _roles ; }
Access the roles

@return \Twilio\Rest\Chat\V2\Service\RoleList
Access the roles