You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
trezor-firmware/src/trezor/messages/IdentityType.py

32 lines
780 B

# Automatically generated by pb2py
import protobuf as p
class IdentityType(p.MessageType):
FIELDS = {
1: ('proto', p.UnicodeType, 0),
2: ('user', p.UnicodeType, 0),
3: ('host', p.UnicodeType, 0),
4: ('port', p.UnicodeType, 0),
5: ('path', p.UnicodeType, 0),
6: ('index', p.UVarintType, 0), # default=0
}
def __init__(
self,
proto: str = None,
user: str = None,
host: str = None,
port: str = None,
path: str = None,
index: int = None,
**kwargs,
):
self.proto = proto
self.user = user
self.host = host
self.port = port
self.path = path
self.index = index
p.MessageType.__init__(self, **kwargs)