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/OntologyOntIdAttribute.py

25 lines
514 B

# Automatically generated by pb2py
# fmt: off
import protobuf as p
class OntologyOntIdAttribute(p.MessageType):
def __init__(
self,
key: str = None,
type: str = None,
value: str = None,
) -> None:
self.key = key
self.type = type
self.value = value
@classmethod
def get_fields(cls):
return {
1: ('key', p.UnicodeType, 0),
2: ('type', p.UnicodeType, 0),
3: ('value', p.UnicodeType, 0),
}