1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-02-06 12:51:21 +00:00
trezor-firmware/python/src/trezorlib/messages/NextU2FCounter.py

28 lines
576 B
Python
Raw Normal View History

# Automatically generated by pb2py
# fmt: off
from .. import protobuf as p
if __debug__:
try:
from typing import Dict, List # noqa: F401
from typing_extensions import Literal # noqa: F401
except ImportError:
pass
class NextU2FCounter(p.MessageType):
MESSAGE_WIRE_TYPE = 81
def __init__(
self,
2020-09-14 11:56:11 +00:00
*,
u2f_counter: int = None,
) -> None:
self.u2f_counter = u2f_counter
@classmethod
def get_fields(cls) -> Dict:
return {
2020-09-14 11:56:11 +00:00
1: ('u2f_counter', p.UVarintType, None),
}