Skip to content

Commit 00bb1d0

Browse files
author
BitsAdmin
committed
Merge branch 'apig-Python-2022-11-12-online-1547-2025_09_10_10_42_33' into 'integration_2025-09-11_1051496969474'
feat: [development task] apig-1547-Python (1649505) See merge request iaasng/volcengine-python-sdk!797
2 parents dc9fadc + 2de74e5 commit 00bb1d0

27 files changed

+2498
-385
lines changed

volcenginesdkapig20221112/__init__.py

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@
2727
from volcenginesdkapig20221112.models.advanced_setting_for_get_route_output import AdvancedSettingForGetRouteOutput
2828
from volcenginesdkapig20221112.models.advanced_setting_for_list_routes_output import AdvancedSettingForListRoutesOutput
2929
from volcenginesdkapig20221112.models.advanced_setting_for_update_route_input import AdvancedSettingForUpdateRouteInput
30+
from volcenginesdkapig20221112.models.allow_origin_for_create_route_input import AllowOriginForCreateRouteInput
31+
from volcenginesdkapig20221112.models.allow_origin_for_get_route_output import AllowOriginForGetRouteOutput
32+
from volcenginesdkapig20221112.models.allow_origin_for_list_routes_output import AllowOriginForListRoutesOutput
33+
from volcenginesdkapig20221112.models.allow_origin_for_update_route_input import AllowOriginForUpdateRouteInput
3034
from volcenginesdkapig20221112.models.cors_policy_setting_for_create_route_input import CorsPolicySettingForCreateRouteInput
3135
from volcenginesdkapig20221112.models.cors_policy_setting_for_get_route_output import CorsPolicySettingForGetRouteOutput
3236
from volcenginesdkapig20221112.models.cors_policy_setting_for_list_routes_output import CorsPolicySettingForListRoutesOutput
@@ -39,6 +43,14 @@
3943
from volcenginesdkapig20221112.models.delete_route_response import DeleteRouteResponse
4044
from volcenginesdkapig20221112.models.domain_for_get_route_output import DomainForGetRouteOutput
4145
from volcenginesdkapig20221112.models.domain_for_list_routes_output import DomainForListRoutesOutput
46+
from volcenginesdkapig20221112.models.fallback_setting_for_create_route_input import FallbackSettingForCreateRouteInput
47+
from volcenginesdkapig20221112.models.fallback_setting_for_get_route_output import FallbackSettingForGetRouteOutput
48+
from volcenginesdkapig20221112.models.fallback_setting_for_list_routes_output import FallbackSettingForListRoutesOutput
49+
from volcenginesdkapig20221112.models.fallback_setting_for_update_route_input import FallbackSettingForUpdateRouteInput
50+
from volcenginesdkapig20221112.models.fallback_upstream_for_create_route_input import FallbackUpstreamForCreateRouteInput
51+
from volcenginesdkapig20221112.models.fallback_upstream_for_get_route_output import FallbackUpstreamForGetRouteOutput
52+
from volcenginesdkapig20221112.models.fallback_upstream_for_list_routes_output import FallbackUpstreamForListRoutesOutput
53+
from volcenginesdkapig20221112.models.fallback_upstream_for_update_route_input import FallbackUpstreamForUpdateRouteInput
4254
from volcenginesdkapig20221112.models.filter_for_list_routes_input import FilterForListRoutesInput
4355
from volcenginesdkapig20221112.models.get_route_request import GetRouteRequest
4456
from volcenginesdkapig20221112.models.get_route_response import GetRouteResponse
@@ -78,9 +90,6 @@
7890
from volcenginesdkapig20221112.models.retry_policy_setting_for_list_routes_output import RetryPolicySettingForListRoutesOutput
7991
from volcenginesdkapig20221112.models.retry_policy_setting_for_update_route_input import RetryPolicySettingForUpdateRouteInput
8092
from volcenginesdkapig20221112.models.route_for_get_route_output import RouteForGetRouteOutput
81-
from volcenginesdkapig20221112.models.tag_for_create_route_input import TagForCreateRouteInput
82-
from volcenginesdkapig20221112.models.tag_for_get_route_output import TagForGetRouteOutput
83-
from volcenginesdkapig20221112.models.tag_for_list_routes_output import TagForListRoutesOutput
8493
from volcenginesdkapig20221112.models.timeout_setting_for_create_route_input import TimeoutSettingForCreateRouteInput
8594
from volcenginesdkapig20221112.models.timeout_setting_for_get_route_output import TimeoutSettingForGetRouteOutput
8695
from volcenginesdkapig20221112.models.timeout_setting_for_list_routes_output import TimeoutSettingForListRoutesOutput

volcenginesdkapig20221112/models/__init__.py

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@
2323
from volcenginesdkapig20221112.models.advanced_setting_for_get_route_output import AdvancedSettingForGetRouteOutput
2424
from volcenginesdkapig20221112.models.advanced_setting_for_list_routes_output import AdvancedSettingForListRoutesOutput
2525
from volcenginesdkapig20221112.models.advanced_setting_for_update_route_input import AdvancedSettingForUpdateRouteInput
26+
from volcenginesdkapig20221112.models.allow_origin_for_create_route_input import AllowOriginForCreateRouteInput
27+
from volcenginesdkapig20221112.models.allow_origin_for_get_route_output import AllowOriginForGetRouteOutput
28+
from volcenginesdkapig20221112.models.allow_origin_for_list_routes_output import AllowOriginForListRoutesOutput
29+
from volcenginesdkapig20221112.models.allow_origin_for_update_route_input import AllowOriginForUpdateRouteInput
2630
from volcenginesdkapig20221112.models.cors_policy_setting_for_create_route_input import CorsPolicySettingForCreateRouteInput
2731
from volcenginesdkapig20221112.models.cors_policy_setting_for_get_route_output import CorsPolicySettingForGetRouteOutput
2832
from volcenginesdkapig20221112.models.cors_policy_setting_for_list_routes_output import CorsPolicySettingForListRoutesOutput
@@ -35,6 +39,14 @@
3539
from volcenginesdkapig20221112.models.delete_route_response import DeleteRouteResponse
3640
from volcenginesdkapig20221112.models.domain_for_get_route_output import DomainForGetRouteOutput
3741
from volcenginesdkapig20221112.models.domain_for_list_routes_output import DomainForListRoutesOutput
42+
from volcenginesdkapig20221112.models.fallback_setting_for_create_route_input import FallbackSettingForCreateRouteInput
43+
from volcenginesdkapig20221112.models.fallback_setting_for_get_route_output import FallbackSettingForGetRouteOutput
44+
from volcenginesdkapig20221112.models.fallback_setting_for_list_routes_output import FallbackSettingForListRoutesOutput
45+
from volcenginesdkapig20221112.models.fallback_setting_for_update_route_input import FallbackSettingForUpdateRouteInput
46+
from volcenginesdkapig20221112.models.fallback_upstream_for_create_route_input import FallbackUpstreamForCreateRouteInput
47+
from volcenginesdkapig20221112.models.fallback_upstream_for_get_route_output import FallbackUpstreamForGetRouteOutput
48+
from volcenginesdkapig20221112.models.fallback_upstream_for_list_routes_output import FallbackUpstreamForListRoutesOutput
49+
from volcenginesdkapig20221112.models.fallback_upstream_for_update_route_input import FallbackUpstreamForUpdateRouteInput
3850
from volcenginesdkapig20221112.models.filter_for_list_routes_input import FilterForListRoutesInput
3951
from volcenginesdkapig20221112.models.get_route_request import GetRouteRequest
4052
from volcenginesdkapig20221112.models.get_route_response import GetRouteResponse
@@ -74,9 +86,6 @@
7486
from volcenginesdkapig20221112.models.retry_policy_setting_for_list_routes_output import RetryPolicySettingForListRoutesOutput
7587
from volcenginesdkapig20221112.models.retry_policy_setting_for_update_route_input import RetryPolicySettingForUpdateRouteInput
7688
from volcenginesdkapig20221112.models.route_for_get_route_output import RouteForGetRouteOutput
77-
from volcenginesdkapig20221112.models.tag_for_create_route_input import TagForCreateRouteInput
78-
from volcenginesdkapig20221112.models.tag_for_get_route_output import TagForGetRouteOutput
79-
from volcenginesdkapig20221112.models.tag_for_list_routes_output import TagForListRoutesOutput
8089
from volcenginesdkapig20221112.models.timeout_setting_for_create_route_input import TimeoutSettingForCreateRouteInput
8190
from volcenginesdkapig20221112.models.timeout_setting_for_get_route_output import TimeoutSettingForGetRouteOutput
8291
from volcenginesdkapig20221112.models.timeout_setting_for_list_routes_output import TimeoutSettingForListRoutesOutput

volcenginesdkapig20221112/models/tag_for_get_route_output.py renamed to volcenginesdkapig20221112/models/allow_origin_for_create_route_input.py

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

2121

22-
class TagForGetRouteOutput(object):
22+
class AllowOriginForCreateRouteInput(object):
2323
"""NOTE: This class is auto generated by the swagger code generator program.
2424
2525
Do not edit the class manually.
@@ -33,67 +33,67 @@ class TagForGetRouteOutput(object):
3333
and the value is json key in definition.
3434
"""
3535
swagger_types = {
36-
'key': 'str',
36+
'match_type': 'str',
3737
'value': 'str'
3838
}
3939

4040
attribute_map = {
41-
'key': 'Key',
41+
'match_type': 'MatchType',
4242
'value': 'Value'
4343
}
4444

45-
def __init__(self, key=None, value=None, _configuration=None): # noqa: E501
46-
"""TagForGetRouteOutput - a model defined in Swagger""" # noqa: E501
45+
def __init__(self, match_type=None, value=None, _configuration=None): # noqa: E501
46+
"""AllowOriginForCreateRouteInput - a model defined in Swagger""" # noqa: E501
4747
if _configuration is None:
4848
_configuration = Configuration()
4949
self._configuration = _configuration
5050

51-
self._key = None
51+
self._match_type = None
5252
self._value = None
5353
self.discriminator = None
5454

55-
if key is not None:
56-
self.key = key
55+
if match_type is not None:
56+
self.match_type = match_type
5757
if value is not None:
5858
self.value = value
5959

6060
@property
61-
def key(self):
62-
"""Gets the key of this TagForGetRouteOutput. # noqa: E501
61+
def match_type(self):
62+
"""Gets the match_type of this AllowOriginForCreateRouteInput. # noqa: E501
6363
6464
65-
:return: The key of this TagForGetRouteOutput. # noqa: E501
65+
:return: The match_type of this AllowOriginForCreateRouteInput. # noqa: E501
6666
:rtype: str
6767
"""
68-
return self._key
68+
return self._match_type
6969

70-
@key.setter
71-
def key(self, key):
72-
"""Sets the key of this TagForGetRouteOutput.
70+
@match_type.setter
71+
def match_type(self, match_type):
72+
"""Sets the match_type of this AllowOriginForCreateRouteInput.
7373
7474
75-
:param key: The key of this TagForGetRouteOutput. # noqa: E501
75+
:param match_type: The match_type of this AllowOriginForCreateRouteInput. # noqa: E501
7676
:type: str
7777
"""
7878

79-
self._key = key
79+
self._match_type = match_type
8080

8181
@property
8282
def value(self):
83-
"""Gets the value of this TagForGetRouteOutput. # noqa: E501
83+
"""Gets the value of this AllowOriginForCreateRouteInput. # noqa: E501
8484
8585
86-
:return: The value of this TagForGetRouteOutput. # noqa: E501
86+
:return: The value of this AllowOriginForCreateRouteInput. # noqa: E501
8787
:rtype: str
8888
"""
8989
return self._value
9090

9191
@value.setter
9292
def value(self, value):
93-
"""Sets the value of this TagForGetRouteOutput.
93+
"""Sets the value of this AllowOriginForCreateRouteInput.
9494
9595
96-
:param value: The value of this TagForGetRouteOutput. # noqa: E501
96+
:param value: The value of this AllowOriginForCreateRouteInput. # noqa: E501
9797
:type: str
9898
"""
9999

@@ -120,7 +120,7 @@ def to_dict(self):
120120
))
121121
else:
122122
result[attr] = value
123-
if issubclass(TagForGetRouteOutput, dict):
123+
if issubclass(AllowOriginForCreateRouteInput, dict):
124124
for key, value in self.items():
125125
result[key] = value
126126

@@ -136,14 +136,14 @@ def __repr__(self):
136136

137137
def __eq__(self, other):
138138
"""Returns true if both objects are equal"""
139-
if not isinstance(other, TagForGetRouteOutput):
139+
if not isinstance(other, AllowOriginForCreateRouteInput):
140140
return False
141141

142142
return self.to_dict() == other.to_dict()
143143

144144
def __ne__(self, other):
145145
"""Returns true if both objects are not equal"""
146-
if not isinstance(other, TagForGetRouteOutput):
146+
if not isinstance(other, AllowOriginForCreateRouteInput):
147147
return True
148148

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

volcenginesdkapig20221112/models/tag_for_create_route_input.py renamed to volcenginesdkapig20221112/models/allow_origin_for_get_route_output.py

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

2121

22-
class TagForCreateRouteInput(object):
22+
class AllowOriginForGetRouteOutput(object):
2323
"""NOTE: This class is auto generated by the swagger code generator program.
2424
2525
Do not edit the class manually.
@@ -33,67 +33,67 @@ class TagForCreateRouteInput(object):
3333
and the value is json key in definition.
3434
"""
3535
swagger_types = {
36-
'key': 'str',
36+
'match_type': 'str',
3737
'value': 'str'
3838
}
3939

4040
attribute_map = {
41-
'key': 'Key',
41+
'match_type': 'MatchType',
4242
'value': 'Value'
4343
}
4444

45-
def __init__(self, key=None, value=None, _configuration=None): # noqa: E501
46-
"""TagForCreateRouteInput - a model defined in Swagger""" # noqa: E501
45+
def __init__(self, match_type=None, value=None, _configuration=None): # noqa: E501
46+
"""AllowOriginForGetRouteOutput - a model defined in Swagger""" # noqa: E501
4747
if _configuration is None:
4848
_configuration = Configuration()
4949
self._configuration = _configuration
5050

51-
self._key = None
51+
self._match_type = None
5252
self._value = None
5353
self.discriminator = None
5454

55-
if key is not None:
56-
self.key = key
55+
if match_type is not None:
56+
self.match_type = match_type
5757
if value is not None:
5858
self.value = value
5959

6060
@property
61-
def key(self):
62-
"""Gets the key of this TagForCreateRouteInput. # noqa: E501
61+
def match_type(self):
62+
"""Gets the match_type of this AllowOriginForGetRouteOutput. # noqa: E501
6363
6464
65-
:return: The key of this TagForCreateRouteInput. # noqa: E501
65+
:return: The match_type of this AllowOriginForGetRouteOutput. # noqa: E501
6666
:rtype: str
6767
"""
68-
return self._key
68+
return self._match_type
6969

70-
@key.setter
71-
def key(self, key):
72-
"""Sets the key of this TagForCreateRouteInput.
70+
@match_type.setter
71+
def match_type(self, match_type):
72+
"""Sets the match_type of this AllowOriginForGetRouteOutput.
7373
7474
75-
:param key: The key of this TagForCreateRouteInput. # noqa: E501
75+
:param match_type: The match_type of this AllowOriginForGetRouteOutput. # noqa: E501
7676
:type: str
7777
"""
7878

79-
self._key = key
79+
self._match_type = match_type
8080

8181
@property
8282
def value(self):
83-
"""Gets the value of this TagForCreateRouteInput. # noqa: E501
83+
"""Gets the value of this AllowOriginForGetRouteOutput. # noqa: E501
8484
8585
86-
:return: The value of this TagForCreateRouteInput. # noqa: E501
86+
:return: The value of this AllowOriginForGetRouteOutput. # noqa: E501
8787
:rtype: str
8888
"""
8989
return self._value
9090

9191
@value.setter
9292
def value(self, value):
93-
"""Sets the value of this TagForCreateRouteInput.
93+
"""Sets the value of this AllowOriginForGetRouteOutput.
9494
9595
96-
:param value: The value of this TagForCreateRouteInput. # noqa: E501
96+
:param value: The value of this AllowOriginForGetRouteOutput. # noqa: E501
9797
:type: str
9898
"""
9999

@@ -120,7 +120,7 @@ def to_dict(self):
120120
))
121121
else:
122122
result[attr] = value
123-
if issubclass(TagForCreateRouteInput, dict):
123+
if issubclass(AllowOriginForGetRouteOutput, dict):
124124
for key, value in self.items():
125125
result[key] = value
126126

@@ -136,14 +136,14 @@ def __repr__(self):
136136

137137
def __eq__(self, other):
138138
"""Returns true if both objects are equal"""
139-
if not isinstance(other, TagForCreateRouteInput):
139+
if not isinstance(other, AllowOriginForGetRouteOutput):
140140
return False
141141

142142
return self.to_dict() == other.to_dict()
143143

144144
def __ne__(self, other):
145145
"""Returns true if both objects are not equal"""
146-
if not isinstance(other, TagForCreateRouteInput):
146+
if not isinstance(other, AllowOriginForGetRouteOutput):
147147
return True
148148

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

0 commit comments

Comments
 (0)