20 lines
329 B
Python
20 lines
329 B
Python
#!/usr/bin/env python3
|
|
|
|
from . import Request, Response, request_type, response_type
|
|
from ..types import AccountType
|
|
|
|
|
|
@request_type
|
|
class GetAccount(Request):
|
|
FIELDS = {
|
|
"id": int,
|
|
"maxRecords": int,
|
|
}
|
|
|
|
|
|
@response_type
|
|
class GetAccountResp(Response):
|
|
CHILDS = {
|
|
"account": AccountType,
|
|
}
|