Recursively generate a dictionary representation of the model, optionally specifying which fields to include or exclude.
The entry type.
The handle of the linked repo.
The commit ID of the linked repo, if pinned.
The owner of the linked repo.
The commit hash of the linked repo.