2018-06-11 12:19:24 +00:00
|
|
|
# Automatically generated by pb2py
|
|
|
|
from .. import protobuf as p
|
|
|
|
if __debug__:
|
|
|
|
try:
|
|
|
|
from typing import List
|
|
|
|
except ImportError:
|
|
|
|
List = None
|
|
|
|
|
|
|
|
|
|
|
|
class StellarGetAddress(p.MessageType):
|
|
|
|
MESSAGE_WIRE_TYPE = 207
|
|
|
|
FIELDS = {
|
|
|
|
1: ('address_n', p.UVarintType, p.FLAG_REPEATED),
|
2018-06-11 16:55:52 +00:00
|
|
|
2: ('show_display', p.BoolType, 0),
|
2018-06-11 12:19:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
def __init__(
|
|
|
|
self,
|
2018-06-11 16:55:52 +00:00
|
|
|
address_n: List[int] = None,
|
|
|
|
show_display: bool = None
|
2018-06-11 12:19:24 +00:00
|
|
|
) -> None:
|
|
|
|
self.address_n = address_n if address_n is not None else []
|
2018-06-11 16:55:52 +00:00
|
|
|
self.show_display = show_display
|