(self)
| 5833 | return RemoteControlStopResult(status, stopped) |
| 5834 | |
| 5835 | def to_dict(self) -> dict: |
| 5836 | result: dict = {} |
| 5837 | result["status"] = (self.status).to_dict() |
| 5838 | result["stopped"] = from_bool(self.stopped) |
| 5839 | return result |
| 5840 | |
| 5841 | # Experimental: this type is part of an experimental API and may change or be removed. |
| 5842 | @dataclass |