# Automatically generated by pb2py # fmt: off from .. import protobuf as p if __debug__: try: from typing import Dict, List, Optional # noqa: F401 from typing_extensions import Literal # noqa: F401 EnumTypeNEMSupplyChangeType = Literal[1, 2] except ImportError: pass class NEMMosaicSupplyChange(p.MessageType): def __init__( self, *, namespace: Optional[str] = None, mosaic: Optional[str] = None, type: Optional[EnumTypeNEMSupplyChangeType] = None, delta: Optional[int] = None, ) -> None: self.namespace = namespace self.mosaic = mosaic self.type = type self.delta = delta @classmethod def get_fields(cls) -> Dict: return { 1: ('namespace', p.UnicodeType, None), 2: ('mosaic', p.UnicodeType, None), 3: ('type', p.EnumType("NEMSupplyChangeType", (1, 2)), None), 4: ('delta', p.UVarintType, None), }