mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-23 04:21:29 +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
239 B
Python
14 lines
239 B
Python
"""Enums representing different service providers."""
|
|
from enum import Enum
|
|
import strawberry
|
|
|
|
|
|
@strawberry.enum
|
|
class DnsProvider(Enum):
|
|
CLOUDFLARE = "CLOUDFLARE"
|
|
|
|
|
|
@strawberry.enum
|
|
class ServerProvider(Enum):
|
|
HETZNER = "HETZNER"
|