code: def to_mlflow_entity(self):
      return RegisteredModelPermission(
          name=self.name,
          user_id=self.user_id,
          permission=self.permission,
      )
  
file_path: mlflow/mlflow/server/auth/db/models.py
imports: from sqlalchemy import Boolean, Column, ForeignKey, Integer, String, UniqueConstraint
  from sqlalchemy.orm import declarative_base, relationship
  from mlflow.server.auth.entities import ExperimentPermission, RegisteredModelPermission, User
label_desc: Use image node_id 1 for calling the SqlRegisteredModelPermission obj's underlying member method code with example usage: obj.to_mlflow_entity() and returns: RegisteredModelPermission