def METHOD_NAME(pipeline_response):
    deserialized = self._deserialize("ResourceProviderOperationList", pipeline_response)
    list_of_elem = deserialized.value
    if cls:
        list_of_elem = cls(list_of_elem)  # type: ignore
    return deserialized.next_link or None, iter(list_of_elem)