|
1 | | -from ..core.domain import BaseDomain, DomainIdentityMixin |
2 | | - |
3 | | - |
4 | | -class LoadBalancerType(BaseDomain, DomainIdentityMixin): |
5 | | - """LoadBalancerType Domain |
6 | | -
|
7 | | - :param id: int |
8 | | - ID of the Load Balancer type |
9 | | - :param name: str |
10 | | - Name of the Load Balancer type |
11 | | - :param description: str |
12 | | - Description of the Load Balancer type |
13 | | - :param max_connections: int |
14 | | - Max amount of connections the Load Balancer can handle |
15 | | - :param max_services: int |
16 | | - Max amount of services the Load Balancer can handle |
17 | | - :param max_targets: int |
18 | | - Max amount of targets the Load Balancer can handle |
19 | | - :param max_assigned_certificates: int |
20 | | - Max amount of certificates the Load Balancer can serve |
21 | | - :param prices: Dict |
22 | | - Prices in different locations |
23 | | -
|
24 | | - """ |
25 | | - |
26 | | - __slots__ = ( |
27 | | - "id", |
28 | | - "name", |
29 | | - "description", |
30 | | - "max_connections", |
31 | | - "max_services", |
32 | | - "max_targets", |
33 | | - "max_assigned_certificates", |
34 | | - "prices", |
35 | | - ) |
36 | | - |
37 | | - def __init__( |
38 | | - self, |
39 | | - id=None, |
40 | | - name=None, |
41 | | - description=None, |
42 | | - max_connections=None, |
43 | | - max_services=None, |
44 | | - max_targets=None, |
45 | | - max_assigned_certificates=None, |
46 | | - prices=None, |
47 | | - ): |
48 | | - self.id = id |
49 | | - self.name = name |
50 | | - self.description = description |
51 | | - self.max_connections = max_connections |
52 | | - self.max_services = max_services |
53 | | - self.max_targets = max_targets |
54 | | - self.max_assigned_certificates = max_assigned_certificates |
55 | | - self.prices = prices |
| 1 | +from ..core.domain import BaseDomain, DomainIdentityMixin |
| 2 | + |
| 3 | + |
| 4 | +class LoadBalancerType(BaseDomain, DomainIdentityMixin): |
| 5 | + """LoadBalancerType Domain |
| 6 | +
|
| 7 | + :param id: int |
| 8 | + ID of the Load Balancer type |
| 9 | + :param name: str |
| 10 | + Name of the Load Balancer type |
| 11 | + :param description: str |
| 12 | + Description of the Load Balancer type |
| 13 | + :param max_connections: int |
| 14 | + Max amount of connections the Load Balancer can handle |
| 15 | + :param max_services: int |
| 16 | + Max amount of services the Load Balancer can handle |
| 17 | + :param max_targets: int |
| 18 | + Max amount of targets the Load Balancer can handle |
| 19 | + :param max_assigned_certificates: int |
| 20 | + Max amount of certificates the Load Balancer can serve |
| 21 | + :param prices: Dict |
| 22 | + Prices in different locations |
| 23 | +
|
| 24 | + """ |
| 25 | + |
| 26 | + __slots__ = ( |
| 27 | + "id", |
| 28 | + "name", |
| 29 | + "description", |
| 30 | + "max_connections", |
| 31 | + "max_services", |
| 32 | + "max_targets", |
| 33 | + "max_assigned_certificates", |
| 34 | + "prices", |
| 35 | + ) |
| 36 | + |
| 37 | + def __init__( |
| 38 | + self, |
| 39 | + id=None, |
| 40 | + name=None, |
| 41 | + description=None, |
| 42 | + max_connections=None, |
| 43 | + max_services=None, |
| 44 | + max_targets=None, |
| 45 | + max_assigned_certificates=None, |
| 46 | + prices=None, |
| 47 | + ): |
| 48 | + self.id = id |
| 49 | + self.name = name |
| 50 | + self.description = description |
| 51 | + self.max_connections = max_connections |
| 52 | + self.max_services = max_services |
| 53 | + self.max_targets = max_targets |
| 54 | + self.max_assigned_certificates = max_assigned_certificates |
| 55 | + self.prices = prices |
0 commit comments