Skip to content

Commit 55f3eab

Browse files
committed
feat: update clb api
1 parent 117f53a commit 55f3eab

File tree

1 file changed

+107
-1
lines changed

1 file changed

+107
-1
lines changed

volcenginesdkclb/models/ipv6_address_bandwidth_for_describe_load_balancer_attributes_output.py

Lines changed: 107 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,124 @@ class Ipv6AddressBandwidthForDescribeLoadBalancerAttributesOutput(object):
3333
and the value is json key in definition.
3434
"""
3535
swagger_types = {
36+
'bandwidth': 'int',
37+
'billing_type': 'int',
38+
'isp': 'str',
39+
'network_type': 'str'
3640
}
3741

3842
attribute_map = {
43+
'bandwidth': 'Bandwidth',
44+
'billing_type': 'BillingType',
45+
'isp': 'ISP',
46+
'network_type': 'NetworkType'
3947
}
4048

41-
def __init__(self, _configuration=None): # noqa: E501
49+
def __init__(self, bandwidth=None, billing_type=None, isp=None, network_type=None, _configuration=None): # noqa: E501
4250
"""Ipv6AddressBandwidthForDescribeLoadBalancerAttributesOutput - a model defined in Swagger""" # noqa: E501
4351
if _configuration is None:
4452
_configuration = Configuration()
4553
self._configuration = _configuration
54+
55+
self._bandwidth = None
56+
self._billing_type = None
57+
self._isp = None
58+
self._network_type = None
4659
self.discriminator = None
4760

61+
if bandwidth is not None:
62+
self.bandwidth = bandwidth
63+
if billing_type is not None:
64+
self.billing_type = billing_type
65+
if isp is not None:
66+
self.isp = isp
67+
if network_type is not None:
68+
self.network_type = network_type
69+
70+
@property
71+
def bandwidth(self):
72+
"""Gets the bandwidth of this Ipv6AddressBandwidthForDescribeLoadBalancerAttributesOutput. # noqa: E501
73+
74+
75+
:return: The bandwidth of this Ipv6AddressBandwidthForDescribeLoadBalancerAttributesOutput. # noqa: E501
76+
:rtype: int
77+
"""
78+
return self._bandwidth
79+
80+
@bandwidth.setter
81+
def bandwidth(self, bandwidth):
82+
"""Sets the bandwidth of this Ipv6AddressBandwidthForDescribeLoadBalancerAttributesOutput.
83+
84+
85+
:param bandwidth: The bandwidth of this Ipv6AddressBandwidthForDescribeLoadBalancerAttributesOutput. # noqa: E501
86+
:type: int
87+
"""
88+
89+
self._bandwidth = bandwidth
90+
91+
@property
92+
def billing_type(self):
93+
"""Gets the billing_type of this Ipv6AddressBandwidthForDescribeLoadBalancerAttributesOutput. # noqa: E501
94+
95+
96+
:return: The billing_type of this Ipv6AddressBandwidthForDescribeLoadBalancerAttributesOutput. # noqa: E501
97+
:rtype: int
98+
"""
99+
return self._billing_type
100+
101+
@billing_type.setter
102+
def billing_type(self, billing_type):
103+
"""Sets the billing_type of this Ipv6AddressBandwidthForDescribeLoadBalancerAttributesOutput.
104+
105+
106+
:param billing_type: The billing_type of this Ipv6AddressBandwidthForDescribeLoadBalancerAttributesOutput. # noqa: E501
107+
:type: int
108+
"""
109+
110+
self._billing_type = billing_type
111+
112+
@property
113+
def isp(self):
114+
"""Gets the isp of this Ipv6AddressBandwidthForDescribeLoadBalancerAttributesOutput. # noqa: E501
115+
116+
117+
:return: The isp of this Ipv6AddressBandwidthForDescribeLoadBalancerAttributesOutput. # noqa: E501
118+
:rtype: str
119+
"""
120+
return self._isp
121+
122+
@isp.setter
123+
def isp(self, isp):
124+
"""Sets the isp of this Ipv6AddressBandwidthForDescribeLoadBalancerAttributesOutput.
125+
126+
127+
:param isp: The isp of this Ipv6AddressBandwidthForDescribeLoadBalancerAttributesOutput. # noqa: E501
128+
:type: str
129+
"""
130+
131+
self._isp = isp
132+
133+
@property
134+
def network_type(self):
135+
"""Gets the network_type of this Ipv6AddressBandwidthForDescribeLoadBalancerAttributesOutput. # noqa: E501
136+
137+
138+
:return: The network_type of this Ipv6AddressBandwidthForDescribeLoadBalancerAttributesOutput. # noqa: E501
139+
:rtype: str
140+
"""
141+
return self._network_type
142+
143+
@network_type.setter
144+
def network_type(self, network_type):
145+
"""Sets the network_type of this Ipv6AddressBandwidthForDescribeLoadBalancerAttributesOutput.
146+
147+
148+
:param network_type: The network_type of this Ipv6AddressBandwidthForDescribeLoadBalancerAttributesOutput. # noqa: E501
149+
:type: str
150+
"""
151+
152+
self._network_type = network_type
153+
48154
def to_dict(self):
49155
"""Returns the model properties as a dict"""
50156
result = {}

0 commit comments

Comments
 (0)