@@ -29,7 +29,8 @@ class Firewall(BaseDomain, DomainIdentityMixin):
2929 Point in time when the image was created
3030 """
3131
32- __slots__ = ("id" , "name" , "labels" , "rules" , "applied_to" , "created" )
32+ __api_properties__ = ("id" , "name" , "labels" , "rules" , "applied_to" , "created" )
33+ __slots__ = __api_properties__
3334
3435 def __init__ (
3536 self ,
@@ -66,14 +67,15 @@ class FirewallRule(BaseDomain):
6667 Short description of the firewall rule
6768 """
6869
69- __slots__ = (
70+ __api_properties__ = (
7071 "direction" ,
7172 "port" ,
7273 "protocol" ,
7374 "source_ips" ,
7475 "destination_ips" ,
7576 "description" ,
7677 )
78+ __slots__ = __api_properties__
7779
7880 DIRECTION_IN = "in"
7981 """Firewall Rule Direction In"""
@@ -138,7 +140,8 @@ class FirewallResource(BaseDomain):
138140 applied to.
139141 """
140142
141- __slots__ = ("type" , "server" , "label_selector" , "applied_to_resources" )
143+ __api_properties__ = ("type" , "server" , "label_selector" , "applied_to_resources" )
144+ __slots__ = __api_properties__
142145
143146 TYPE_SERVER = "server"
144147 """Firewall Used By Type Server"""
@@ -177,7 +180,8 @@ class FirewallResourceAppliedToResources(BaseDomain):
177180 :param server: Server the Firewall is applied to
178181 """
179182
180- __slots__ = ("type" , "server" )
183+ __api_properties__ = ("type" , "server" )
184+ __slots__ = __api_properties__
181185
182186 def __init__ (
183187 self ,
@@ -207,7 +211,8 @@ class CreateFirewallResponse(BaseDomain):
207211 The Action which shows the progress of the Firewall Creation
208212 """
209213
210- __slots__ = ("firewall" , "actions" )
214+ __api_properties__ = ("firewall" , "actions" )
215+ __slots__ = __api_properties__
211216
212217 def __init__ (
213218 self ,
0 commit comments