mitel_ommclient2/mitel_ommclient2/messages/getaccount.py

19 lines
290 B
Python
Raw Normal View History

2022-01-06 18:13:48 +01:00
#!/usr/bin/env python3
from . import Request, Response, request_type, response_type
2022-01-06 18:13:48 +01:00
@request_type
2022-01-06 18:13:48 +01:00
class GetAccount(Request):
FIELDS = {
"id": int,
"maxRecords": int,
}
2022-01-06 18:13:48 +01:00
@response_type
2022-01-06 18:13:48 +01:00
class GetAccountResp(Response):
CHILDS = {
"account": None,
}