mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-13 22:23:16 +00:00
20 lines
348 B
Python
20 lines
348 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"
|
|
DIGITALOCEAN = "DIGITALOCEAN"
|
|
|
|
|
|
@strawberry.enum
|
|
class BackupProvider(Enum):
|
|
BACKBLAZE = "BACKBLAZE"
|