| 70 | |
| 71 | |
| 72 | class FirebaseMessaging: |
| 73 | __slots__ = ( |
| 74 | "_platform", |
| 75 | "_last_updated" |
| 76 | ) |
| 77 | |
| 78 | def __init__(self, *, data: Dict[str, Any]): |
| 79 | self._platform = data.get("platform") |
| 80 | self._last_updated = data.get("last_updated") |
| 81 | |
| 82 | @property |
| 83 | def platform(self) -> Optional[int]: |
| 84 | return self._platform |
| 85 | |
| 86 | @property |
| 87 | def last_updated(self) -> Optional[str]: |
| 88 | return self._last_updated |
| 89 | |
| 90 | |
| 91 | class User: |