mitel_ommclient2/mitel_ommclient2/messages/ping.py

18 lines
259 B
Python
Raw Normal View History

2022-01-06 16:09:55 +01:00
#!/usr/bin/env python3
from . import Request, Response, request_type, response_type
2022-01-06 16:09:55 +01:00
@request_type
2022-01-06 16:09:55 +01:00
class Ping(Request):
FIELDS = {
"timeStamp": int,
}
2022-01-06 16:09:55 +01:00
@response_type
2022-01-06 16:09:55 +01:00
class PingResp(Response):
FIELDS = {
"timeStamp": int,
}