mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-09-19 15:07:51 +00:00
14 lines
190 B
Python
14 lines
190 B
Python
|
import typing
|
||
|
import strawberry
|
||
|
|
||
|
|
||
|
@strawberry.type
|
||
|
class DnsRecord:
|
||
|
"""DNS record"""
|
||
|
|
||
|
record_type: str
|
||
|
name: str
|
||
|
content: str
|
||
|
ttl: int
|
||
|
priority: typing.Optional[int]
|