Skip to content

Commit 9804795

Browse files
author
BitsAdmin
committed
Merge branch 'private_zone-Python-2022-06-01-online-1593-2025_09_17_18_21_02' into 'integration_2025-09-25_1059631177986'
feat: [development task] private_zone-1593-Python (1697127) See merge request iaasng/volcengine-python-sdk!826
2 parents aa43f10 + efd3db3 commit 9804795

File tree

4 files changed

+26
-26
lines changed

4 files changed

+26
-26
lines changed

volcenginesdkprivatezone/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
from volcenginesdkprivatezone.models.ip_config_for_create_resolver_endpoint_input import IpConfigForCreateResolverEndpointInput
6868
from volcenginesdkprivatezone.models.ip_config_for_list_resolver_endpoints_output import IpConfigForListResolverEndpointsOutput
6969
from volcenginesdkprivatezone.models.ip_config_for_query_resolver_endpoint_output import IpConfigForQueryResolverEndpointOutput
70-
from volcenginesdkprivatezone.models.ip_configs_for_update_resolver_endpoint_input import IpConfigsForUpdateResolverEndpointInput
70+
from volcenginesdkprivatezone.models.ip_config_for_update_resolver_endpoint_input import IpConfigForUpdateResolverEndpointInput
7171
from volcenginesdkprivatezone.models.list_authorized_users_request import ListAuthorizedUsersRequest
7272
from volcenginesdkprivatezone.models.list_authorized_users_response import ListAuthorizedUsersResponse
7373
from volcenginesdkprivatezone.models.list_bind_vpc_request import ListBindVPCRequest

volcenginesdkprivatezone/models/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
from volcenginesdkprivatezone.models.ip_config_for_create_resolver_endpoint_input import IpConfigForCreateResolverEndpointInput
6464
from volcenginesdkprivatezone.models.ip_config_for_list_resolver_endpoints_output import IpConfigForListResolverEndpointsOutput
6565
from volcenginesdkprivatezone.models.ip_config_for_query_resolver_endpoint_output import IpConfigForQueryResolverEndpointOutput
66-
from volcenginesdkprivatezone.models.ip_configs_for_update_resolver_endpoint_input import IpConfigsForUpdateResolverEndpointInput
66+
from volcenginesdkprivatezone.models.ip_config_for_update_resolver_endpoint_input import IpConfigForUpdateResolverEndpointInput
6767
from volcenginesdkprivatezone.models.list_authorized_users_request import ListAuthorizedUsersRequest
6868
from volcenginesdkprivatezone.models.list_authorized_users_response import ListAuthorizedUsersResponse
6969
from volcenginesdkprivatezone.models.list_bind_vpc_request import ListBindVPCRequest

volcenginesdkprivatezone/models/ip_configs_for_update_resolver_endpoint_input.py renamed to volcenginesdkprivatezone/models/ip_config_for_update_resolver_endpoint_input.py

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from volcenginesdkcore.configuration import Configuration
2020

2121

22-
class IpConfigsForUpdateResolverEndpointInput(object):
22+
class IpConfigForUpdateResolverEndpointInput(object):
2323
"""NOTE: This class is auto generated by the swagger code generator program.
2424
2525
Do not edit the class manually.
@@ -47,7 +47,7 @@ class IpConfigsForUpdateResolverEndpointInput(object):
4747
}
4848

4949
def __init__(self, az_id=None, ip=None, ipv6=None, subnet_id=None, _configuration=None): # noqa: E501
50-
"""IpConfigsForUpdateResolverEndpointInput - a model defined in Swagger""" # noqa: E501
50+
"""IpConfigForUpdateResolverEndpointInput - a model defined in Swagger""" # noqa: E501
5151
if _configuration is None:
5252
_configuration = Configuration()
5353
self._configuration = _configuration
@@ -69,83 +69,83 @@ def __init__(self, az_id=None, ip=None, ipv6=None, subnet_id=None, _configuratio
6969

7070
@property
7171
def az_id(self):
72-
"""Gets the az_id of this IpConfigsForUpdateResolverEndpointInput. # noqa: E501
72+
"""Gets the az_id of this IpConfigForUpdateResolverEndpointInput. # noqa: E501
7373
7474
75-
:return: The az_id of this IpConfigsForUpdateResolverEndpointInput. # noqa: E501
75+
:return: The az_id of this IpConfigForUpdateResolverEndpointInput. # noqa: E501
7676
:rtype: str
7777
"""
7878
return self._az_id
7979

8080
@az_id.setter
8181
def az_id(self, az_id):
82-
"""Sets the az_id of this IpConfigsForUpdateResolverEndpointInput.
82+
"""Sets the az_id of this IpConfigForUpdateResolverEndpointInput.
8383
8484
85-
:param az_id: The az_id of this IpConfigsForUpdateResolverEndpointInput. # noqa: E501
85+
:param az_id: The az_id of this IpConfigForUpdateResolverEndpointInput. # noqa: E501
8686
:type: str
8787
"""
8888

8989
self._az_id = az_id
9090

9191
@property
9292
def ip(self):
93-
"""Gets the ip of this IpConfigsForUpdateResolverEndpointInput. # noqa: E501
93+
"""Gets the ip of this IpConfigForUpdateResolverEndpointInput. # noqa: E501
9494
9595
96-
:return: The ip of this IpConfigsForUpdateResolverEndpointInput. # noqa: E501
96+
:return: The ip of this IpConfigForUpdateResolverEndpointInput. # noqa: E501
9797
:rtype: str
9898
"""
9999
return self._ip
100100

101101
@ip.setter
102102
def ip(self, ip):
103-
"""Sets the ip of this IpConfigsForUpdateResolverEndpointInput.
103+
"""Sets the ip of this IpConfigForUpdateResolverEndpointInput.
104104
105105
106-
:param ip: The ip of this IpConfigsForUpdateResolverEndpointInput. # noqa: E501
106+
:param ip: The ip of this IpConfigForUpdateResolverEndpointInput. # noqa: E501
107107
:type: str
108108
"""
109109

110110
self._ip = ip
111111

112112
@property
113113
def ipv6(self):
114-
"""Gets the ipv6 of this IpConfigsForUpdateResolverEndpointInput. # noqa: E501
114+
"""Gets the ipv6 of this IpConfigForUpdateResolverEndpointInput. # noqa: E501
115115
116116
117-
:return: The ipv6 of this IpConfigsForUpdateResolverEndpointInput. # noqa: E501
117+
:return: The ipv6 of this IpConfigForUpdateResolverEndpointInput. # noqa: E501
118118
:rtype: str
119119
"""
120120
return self._ipv6
121121

122122
@ipv6.setter
123123
def ipv6(self, ipv6):
124-
"""Sets the ipv6 of this IpConfigsForUpdateResolverEndpointInput.
124+
"""Sets the ipv6 of this IpConfigForUpdateResolverEndpointInput.
125125
126126
127-
:param ipv6: The ipv6 of this IpConfigsForUpdateResolverEndpointInput. # noqa: E501
127+
:param ipv6: The ipv6 of this IpConfigForUpdateResolverEndpointInput. # noqa: E501
128128
:type: str
129129
"""
130130

131131
self._ipv6 = ipv6
132132

133133
@property
134134
def subnet_id(self):
135-
"""Gets the subnet_id of this IpConfigsForUpdateResolverEndpointInput. # noqa: E501
135+
"""Gets the subnet_id of this IpConfigForUpdateResolverEndpointInput. # noqa: E501
136136
137137
138-
:return: The subnet_id of this IpConfigsForUpdateResolverEndpointInput. # noqa: E501
138+
:return: The subnet_id of this IpConfigForUpdateResolverEndpointInput. # noqa: E501
139139
:rtype: str
140140
"""
141141
return self._subnet_id
142142

143143
@subnet_id.setter
144144
def subnet_id(self, subnet_id):
145-
"""Sets the subnet_id of this IpConfigsForUpdateResolverEndpointInput.
145+
"""Sets the subnet_id of this IpConfigForUpdateResolverEndpointInput.
146146
147147
148-
:param subnet_id: The subnet_id of this IpConfigsForUpdateResolverEndpointInput. # noqa: E501
148+
:param subnet_id: The subnet_id of this IpConfigForUpdateResolverEndpointInput. # noqa: E501
149149
:type: str
150150
"""
151151

@@ -172,7 +172,7 @@ def to_dict(self):
172172
))
173173
else:
174174
result[attr] = value
175-
if issubclass(IpConfigsForUpdateResolverEndpointInput, dict):
175+
if issubclass(IpConfigForUpdateResolverEndpointInput, dict):
176176
for key, value in self.items():
177177
result[key] = value
178178

@@ -188,14 +188,14 @@ def __repr__(self):
188188

189189
def __eq__(self, other):
190190
"""Returns true if both objects are equal"""
191-
if not isinstance(other, IpConfigsForUpdateResolverEndpointInput):
191+
if not isinstance(other, IpConfigForUpdateResolverEndpointInput):
192192
return False
193193

194194
return self.to_dict() == other.to_dict()
195195

196196
def __ne__(self, other):
197197
"""Returns true if both objects are not equal"""
198-
if not isinstance(other, IpConfigsForUpdateResolverEndpointInput):
198+
if not isinstance(other, IpConfigForUpdateResolverEndpointInput):
199199
return True
200200

201201
return self.to_dict() != other.to_dict()

volcenginesdkprivatezone/models/update_resolver_endpoint_request.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class UpdateResolverEndpointRequest(object):
3636
'endpoint_id': 'int',
3737
'endpoint_trn': 'str',
3838
'endpoint_type': 'str',
39-
'ip_configs': 'IpConfigsForUpdateResolverEndpointInput',
39+
'ip_configs': 'list[IpConfigForUpdateResolverEndpointInput]',
4040
'name': 'str'
4141
}
4242

@@ -142,7 +142,7 @@ def ip_configs(self):
142142
143143
144144
:return: The ip_configs of this UpdateResolverEndpointRequest. # noqa: E501
145-
:rtype: IpConfigsForUpdateResolverEndpointInput
145+
:rtype: list[IpConfigForUpdateResolverEndpointInput]
146146
"""
147147
return self._ip_configs
148148

@@ -152,7 +152,7 @@ def ip_configs(self, ip_configs):
152152
153153
154154
:param ip_configs: The ip_configs of this UpdateResolverEndpointRequest. # noqa: E501
155-
:type: IpConfigsForUpdateResolverEndpointInput
155+
:type: list[IpConfigForUpdateResolverEndpointInput]
156156
"""
157157

158158
self._ip_configs = ip_configs

0 commit comments

Comments
 (0)