def METHOD_NAME(self, merge_request, landing_url: str) -> Entity:
    """Create an entity from a Azure DevOps JSON result."""
    return Entity(
        key=merge_request["pullRequestId"],
        title=merge_request["title"],
        target_branch=merge_request["targetRefName"],
        url=f"{landing_url}/{merge_request['pullRequestId']}",
        state=merge_request["status"],
        created=merge_request.get("creationDate"),
        closed=merge_request.get("closedDate"),
        downvotes=str(self._downvotes(merge_request)),
        upvotes=str(self._upvotes(merge_request)),
    )