def _get_resource_class(self, obj_type):
    if hasattr(self, '_db_client_mgr'):
        return self._db_client_mgr.get_resource_class(obj_type)
    cls_name = ('%s' % utils.CamelCase(obj_type))
    return getattr(vnc_api, cls_name)
def _get_resource_class(self, obj_type):
    if hasattr(self, '_db_client_mgr'):
        return self._db_client_mgr.get_resource_class(obj_type)
    cls_name = ('%s' % utils.CamelCase(obj_type))
    return getattr(vnc_api, cls_name)