(obj: Any)
| 4979 | |
| 4980 | @staticmethod |
| 4981 | def from_dict(obj: Any) -> 'PingResult': |
| 4982 | assert isinstance(obj, dict) |
| 4983 | message = from_str(obj.get("message")) |
| 4984 | protocol_version = from_int(obj.get("protocolVersion")) |
| 4985 | timestamp = from_datetime(obj.get("timestamp")) |
| 4986 | return PingResult(message, protocol_version, timestamp) |
| 4987 | |
| 4988 | def to_dict(self) -> dict: |
| 4989 | result: dict = {} |
nothing calls this directly
no test coverage detected