@@ -228,6 +228,15 @@ class LoadBalancerServiceHttp(BaseDomain):
228228 Use sticky sessions. Only available if protocol is "http" or "https".
229229 """
230230
231+ __api_properties__ = (
232+ "cookie_name" ,
233+ "cookie_lifetime" ,
234+ "certificates" ,
235+ "redirect_http" ,
236+ "sticky_sessions" ,
237+ )
238+ __slots__ = __api_properties__
239+
231240 def __init__ (
232241 self ,
233242 cookie_name : str | None = None ,
@@ -260,6 +269,16 @@ class LoadBalancerHealthCheck(BaseDomain):
260269 HTTP Config
261270 """
262271
272+ __api_properties__ = (
273+ "protocol" ,
274+ "port" ,
275+ "interval" ,
276+ "timeout" ,
277+ "retries" ,
278+ "http" ,
279+ )
280+ __slots__ = __api_properties__
281+
263282 def __init__ (
264283 self ,
265284 protocol : str | None = None ,
@@ -292,6 +311,15 @@ class LoadBalancerHealtCheckHttp(BaseDomain):
292311 Type of health check
293312 """
294313
314+ __api_properties__ = (
315+ "domain" ,
316+ "path" ,
317+ "response" ,
318+ "status_codes" ,
319+ "tls" ,
320+ )
321+ __slots__ = __api_properties__
322+
295323 def __init__ (
296324 self ,
297325 domain : str | None = None ,
@@ -324,6 +352,16 @@ class LoadBalancerTarget(BaseDomain):
324352 List of health statuses of the services on this target. Only present for target types "server" and "ip".
325353 """
326354
355+ __api_properties__ = (
356+ "type" ,
357+ "server" ,
358+ "label_selector" ,
359+ "ip" ,
360+ "use_private_ip" ,
361+ "health_status" ,
362+ )
363+ __slots__ = __api_properties__
364+
327365 def __init__ (
328366 self ,
329367 type : str | None = None ,
@@ -375,6 +413,12 @@ class LoadBalancerTargetHealthStatus(BaseDomain):
375413 :param status: Load Balancer Target status. Choices: healthy, unhealthy, unknown
376414 """
377415
416+ __api_properties__ = (
417+ "listen_port" ,
418+ "status" ,
419+ )
420+ __slots__ = __api_properties__
421+
378422 def __init__ (
379423 self ,
380424 listen_port : int | None = None ,
@@ -390,6 +434,9 @@ class LoadBalancerTargetLabelSelector(BaseDomain):
390434 :param selector: str Target label selector
391435 """
392436
437+ __api_properties__ = ("selector" ,)
438+ __slots__ = __api_properties__
439+
393440 def __init__ (self , selector : str | None = None ):
394441 self .selector = selector
395442
@@ -400,6 +447,9 @@ class LoadBalancerTargetIP(BaseDomain):
400447 :param ip: str Target IP
401448 """
402449
450+ __api_properties__ = ("ip" ,)
451+ __slots__ = __api_properties__
452+
403453 def __init__ (self , ip : str | None = None ):
404454 self .ip = ip
405455
@@ -411,6 +461,9 @@ class LoadBalancerAlgorithm(BaseDomain):
411461 Algorithm of the Load Balancer. Choices: round_robin, least_connections
412462 """
413463
464+ __api_properties__ = ("type" ,)
465+ __slots__ = __api_properties__
466+
414467 def __init__ (self , type : str | None = None ):
415468 self .type = type
416469
0 commit comments