mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-08-19 06:55:12 +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]
|