2025-11-01 06:14:18 +00:00
|
|
|
from __future__ import annotations
|
|
|
|
|
|
|
|
|
|
from common import ApiModel
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class MemberRef(ApiModel):
|
|
|
|
|
id: int
|
|
|
|
|
display_name: str
|
2025-11-01 08:58:33 +00:00
|
|
|
|
|
|
|
|
# Back-compat for tests that access `.name`
|
|
|
|
|
@property
|
|
|
|
|
def name(self) -> str:
|
|
|
|
|
return self.display_name
|