13 lines
249 B
Python
13 lines
249 B
Python
|
class Bridge:
|
||
|
def __init__(self, *, id: str, type: str) -> None:
|
||
|
self._id = id
|
||
|
self._type = type
|
||
|
|
||
|
@property
|
||
|
def id(self) -> str:
|
||
|
return self._id
|
||
|
|
||
|
@property
|
||
|
def type(self) -> str:
|
||
|
return self._type
|