public function getById($userId, array $queryParams = [])
    {
        $response = $this->api->users()->getById($userId, $queryParams);

        return new UserResponse($response);
    }
public function getById($userId, array $queryParams = [])
    {
        $response = $this->api->users()->getById($userId, $queryParams);

        return new UserResponse($response);
    }
public function getById ( $ userId , array $ queryParams = [ ] ) { $ response = $ this -> api -> users ( ) -> getById ( $ userId , $ queryParams ) ; return new UserResponse ( $ response ) ; }
Get a user by id

@param int $userId
@param array $queryParams
@return UserResponse
Get a user by id