mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-09-19 15:07:51 +00:00
7935de0fe1
Co-authored-by: inexcode <inex.code@selfprivacy.org> Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/13
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]
|