diff --git a/hcloud/datacenters/domain.py b/hcloud/datacenters/domain.py index 1c59bfa..05d5f79 100644 --- a/hcloud/datacenters/domain.py +++ b/hcloud/datacenters/domain.py @@ -36,7 +36,7 @@ def __init__( self.server_types = server_types -class DatacenterServerTypes: +class DatacenterServerTypes(BaseDomain): """DatacenterServerTypes Domain :param available: List[:class:`BoundServerTypes `] diff --git a/hcloud/firewalls/domain.py b/hcloud/firewalls/domain.py index f9c7368..2d2a905 100644 --- a/hcloud/firewalls/domain.py +++ b/hcloud/firewalls/domain.py @@ -48,7 +48,7 @@ def __init__( self.created = isoparse(created) if created else None -class FirewallRule: +class FirewallRule(BaseDomain): """Firewall Rule Domain :param direction: str @@ -122,7 +122,7 @@ def to_payload(self) -> dict[str, Any]: return payload -class FirewallResource: +class FirewallResource(BaseDomain): """Firewall Used By Domain :param type: str