def METHOD_NAME(next_link=None):
    # Construct headers
    header_parameters = {}  # type: Dict[str, Any]
    header_parameters['Accept'] = self._serialize.header("accept", accept, 'str')
    if not next_link:
        # Construct URL
        url = self.list.metadata['url']  # type: ignore
        path_format_arguments = {
            'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True),
            'projectName': self._serialize.url("self._config.project_name", self._config.project_name, 'str', max_length=63, min_length=3, pattern=r'^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$'),
        }
        url = self._client.format_url(url, **path_format_arguments)
        # Construct parameters
        query_parameters = {}  # type: Dict[str, Any]
        query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str')
        if top is not None:
            query_parameters['top'] = self._serialize.query("top", top, 'int')
        request = self._client.get(url, query_parameters, header_parameters)
    else:
        url = next_link
        query_parameters = {}  # type: Dict[str, Any]
        path_format_arguments = {
            'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True),
            'projectName': self._serialize.url("self._config.project_name", self._config.project_name, 'str', max_length=63, min_length=3, pattern=r'^[a-zA-Z0-9][a-zA-Z0-9-_.]{2,62}$'),
        }
        url = self._client.format_url(url, **path_format_arguments)
        request = self._client.get(url, query_parameters, header_parameters)
    return request