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
        # Construct parameters
        query_parameters = {}  # type: Dict[str, Any]
        query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str')
        request = self._client.get(url, query_parameters, header_parameters)
    else:
        url = next_link
        query_parameters = {}  # type: Dict[str, Any]
        request = self._client.get(url, query_parameters, header_parameters)
    return request