# Automatically generated by pb2py # fmt: off import protobuf as p from .MoneroTransactionData import MoneroTransactionData if __debug__: try: from typing import Dict, List # noqa: F401 from typing_extensions import Literal # noqa: F401 except ImportError: pass class MoneroTransactionInitRequest(p.MessageType): MESSAGE_WIRE_TYPE = 501 def __init__( self, *, address_n: List[int] = None, version: int = None, network_type: int = None, tsx_data: MoneroTransactionData = None, ) -> None: self.address_n = address_n if address_n is not None else [] self.version = version self.network_type = network_type self.tsx_data = tsx_data @classmethod def get_fields(cls) -> Dict: return { 1: ('version', p.UVarintType, None), 2: ('address_n', p.UVarintType, p.FLAG_REPEATED), 3: ('network_type', p.UVarintType, None), 4: ('tsx_data', MoneroTransactionData, None), }