@@ -229,6 +229,15 @@ class LoadBalancerServiceHttp(BaseDomain):
229229 Use sticky sessions. Only available if protocol is "http" or "https".
230230 """
231231
232+ __api_properties__ = (
233+ "cookie_name" ,
234+ "cookie_lifetime" ,
235+ "certificates" ,
236+ "redirect_http" ,
237+ "sticky_sessions" ,
238+ )
239+ __slots__ = __api_properties__
240+
232241 def __init__ (
233242 self ,
234243 cookie_name : str | None = None ,
@@ -261,6 +270,16 @@ class LoadBalancerHealthCheck(BaseDomain):
261270 HTTP Config
262271 """
263272
273+ __api_properties__ = (
274+ "protocol" ,
275+ "port" ,
276+ "interval" ,
277+ "timeout" ,
278+ "retries" ,
279+ "http" ,
280+ )
281+ __slots__ = __api_properties__
282+
264283 def __init__ (
265284 self ,
266285 protocol : str | None = None ,
@@ -293,6 +312,15 @@ class LoadBalancerHealthCheckHttp(BaseDomain):
293312 Type of health check
294313 """
295314
315+ __api_properties__ = (
316+ "domain" ,
317+ "path" ,
318+ "response" ,
319+ "status_codes" ,
320+ "tls" ,
321+ )
322+ __slots__ = __api_properties__
323+
296324 def __init__ (
297325 self ,
298326 domain : str | None = None ,
@@ -350,6 +378,16 @@ class LoadBalancerTarget(BaseDomain):
350378 List of health statuses of the services on this target. Only present for target types "server" and "ip".
351379 """
352380
381+ __api_properties__ = (
382+ "type" ,
383+ "server" ,
384+ "label_selector" ,
385+ "ip" ,
386+ "use_private_ip" ,
387+ "health_status" ,
388+ )
389+ __slots__ = __api_properties__
390+
353391 def __init__ (
354392 self ,
355393 type : str | None = None ,
@@ -401,6 +439,12 @@ class LoadBalancerTargetHealthStatus(BaseDomain):
401439 :param status: Load Balancer Target status. Choices: healthy, unhealthy, unknown
402440 """
403441
442+ __api_properties__ = (
443+ "listen_port" ,
444+ "status" ,
445+ )
446+ __slots__ = __api_properties__
447+
404448 def __init__ (
405449 self ,
406450 listen_port : int | None = None ,
@@ -416,6 +460,9 @@ class LoadBalancerTargetLabelSelector(BaseDomain):
416460 :param selector: str Target label selector
417461 """
418462
463+ __api_properties__ = ("selector" ,)
464+ __slots__ = __api_properties__
465+
419466 def __init__ (self , selector : str | None = None ):
420467 self .selector = selector
421468
@@ -426,6 +473,9 @@ class LoadBalancerTargetIP(BaseDomain):
426473 :param ip: str Target IP
427474 """
428475
476+ __api_properties__ = ("ip" ,)
477+ __slots__ = __api_properties__
478+
429479 def __init__ (self , ip : str | None = None ):
430480 self .ip = ip
431481
@@ -437,6 +487,9 @@ class LoadBalancerAlgorithm(BaseDomain):
437487 Algorithm of the Load Balancer. Choices: round_robin, least_connections
438488 """
439489
490+ __api_properties__ = ("type" ,)
491+ __slots__ = __api_properties__
492+
440493 def __init__ (self , type : str | None = None ):
441494 self .type = type
442495
0 commit comments