lnbits-legend/lnbits/extensions/subdomains/models.py

31 lines
482 B
Python
Raw Normal View History

from typing import NamedTuple
class Domains(NamedTuple):
id: str
wallet: str
2020-12-28 22:32:04 +01:00
domain: str
2020-12-28 23:24:47 +01:00
cf_token: str
cf_zone_id: str
webhook: str
description: str
cost: int
amountmade: int
time: int
2020-12-31 18:39:16 +01:00
allowed_record_types: str
class Subdomains(NamedTuple):
id: str
2020-12-28 22:32:04 +01:00
wallet: str
domain: str
domain_name: str
subdomain: str
2020-12-28 22:32:04 +01:00
email: str
ip: str
sats: int
duration: int
paid: bool
time: int
2020-12-31 18:39:16 +01:00
record_type: str