def METHOD_NAME(
    self,
    **kwargs  # type: Any
):
    # type: (...) -> "models.ListOperationsResponse"
    """Returns the list of operations supported by the import/export resource provider.
    :keyword callable cls: A custom type or function that will be passed the direct response
    :return: ListOperationsResponse or the result of cls(response)
    :rtype: ~storage_import_export.models.ListOperationsResponse
    :raises: ~storage_import_export.models.ErrorResponseException:
    """
    cls = kwargs.pop('cls', None )  # type: ClsType["models.ListOperationsResponse"]
    error_map = kwargs.pop('error_map', {})
    api_version = "2016-11-01"
    def prepare_request(next_link=None):
        if not next_link:
            # Construct URL
            url = self.METHOD_NAME.metadata['url']
        else:
            url = next_link
        # Construct parameters
        query_parameters = {}
        query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str')
        # Construct headers
        header_parameters = {}
        if self._config.acceptlanguage is not None:
            header_parameters['Accept-Language'] = self._serialize.header("self._config.acceptlanguage", self._config.acceptlanguage, 'str')
        header_parameters['Accept'] = 'application/json'
        # Construct and send request
        request = self._client.get(url, query_parameters, header_parameters)
        return request
    def extract_data(pipeline_response):
        deserialized = self._deserialize('ListOperationsResponse', pipeline_response)
        list_of_elem = deserialized.value
        if cls:
            list_of_elem = cls(list_of_elem)
        return None, iter(list_of_elem)
    def get_next(next_link=None):
        request = prepare_request(next_link)
        pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs)
        response = pipeline_response.http_response
        if response.status_code not in [200]:
            map_error(status_code=response.status_code, response=response, error_map=error_map)
            raise models.ErrorResponseException.from_response(response, self._deserialize)
        return pipeline_response
    return ItemPaged(
        get_next, extract_data
    )