def METHOD_NAME(self, compartment_id, list_func_ref):
    kw = self._get_fields_from_query()
    if (
        self.manager._get_extra_params().get(STORAGE_NAMESPACE) is not None
        and kw.get(STORAGE_NAMESPACE) is None
    ):
        kw[STORAGE_NAMESPACE] = self.manager._get_extra_params()[STORAGE_NAMESPACE]
    kw["compartment_id"] = compartment_id
    return oci.pagination.list_call_get_all_results(list_func_ref, **kw).data