13 lines
250 B
Python
13 lines
250 B
Python
from __future__ import annotations
|
|
|
|
from common import ApiModel
|
|
|
|
|
|
class MemberRef(ApiModel):
|
|
id: int
|
|
display_name: str
|
|
|
|
# Back-compat for tests that access `.name`
|
|
@property
|
|
def name(self) -> str:
|
|
return self.display_name
|