Skip to content

Commit 4bf4c5d

Browse files
author
李严
committed
Merge branch 'mainrelease' into 'master'
Mainrelease [skipped] See merge request iaasng/volcengine-python-sdk!260
2 parents 9fc3042 + 1e45a2a commit 4bf4c5d

File tree

84 files changed

+3624
-1422
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+3624
-1422
lines changed

meta.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"lasted": "1.0.61",
3-
"meta_commit": "324fb3a2c33e589102b1e3314700209f16a28a6f"
2+
"lasted": "1.0.62",
3+
"meta_commit": "7dd06057d68e0272514bd45a8c8d0ec1d750c2b0"
44
}

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from setuptools import setup, find_packages # noqa: H301
44

55
NAME = "volcengine-python-sdk"
6-
VERSION = "1.0.61"
6+
VERSION = "1.0.62"
77
# To install the library, run the following
88
#
99
# python setup.py install

volcenginesdkcen/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@
9595
from volcenginesdkcen.models.modify_cen_service_route_entry_attributes_response import ModifyCenServiceRouteEntryAttributesResponse
9696
from volcenginesdkcen.models.publish_cen_route_entry_request import PublishCenRouteEntryRequest
9797
from volcenginesdkcen.models.publish_cen_route_entry_response import PublishCenRouteEntryResponse
98+
from volcenginesdkcen.models.publish_to_instance_for_create_cen_service_route_entry_input import PublishToInstanceForCreateCenServiceRouteEntryInput
9899
from volcenginesdkcen.models.publish_to_instance_for_describe_cen_service_route_entries_output import PublishToInstanceForDescribeCenServiceRouteEntriesOutput
99100
from volcenginesdkcen.models.publish_to_instance_for_modify_cen_service_route_entry_attributes_input import PublishToInstanceForModifyCenServiceRouteEntryAttributesInput
100101
from volcenginesdkcen.models.resource_tag_for_list_tags_for_resources_output import ResourceTagForListTagsForResourcesOutput

volcenginesdkcen/models/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@
9191
from volcenginesdkcen.models.modify_cen_service_route_entry_attributes_response import ModifyCenServiceRouteEntryAttributesResponse
9292
from volcenginesdkcen.models.publish_cen_route_entry_request import PublishCenRouteEntryRequest
9393
from volcenginesdkcen.models.publish_cen_route_entry_response import PublishCenRouteEntryResponse
94+
from volcenginesdkcen.models.publish_to_instance_for_create_cen_service_route_entry_input import PublishToInstanceForCreateCenServiceRouteEntryInput
9495
from volcenginesdkcen.models.publish_to_instance_for_describe_cen_service_route_entries_output import PublishToInstanceForDescribeCenServiceRouteEntriesOutput
9596
from volcenginesdkcen.models.publish_to_instance_for_modify_cen_service_route_entry_attributes_input import PublishToInstanceForModifyCenServiceRouteEntryAttributesInput
9697
from volcenginesdkcen.models.resource_tag_for_list_tags_for_resources_output import ResourceTagForListTagsForResourcesOutput

volcenginesdkcen/models/associate_cen_bandwidth_package_response.py

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,46 @@ class AssociateCenBandwidthPackageResponse(object):
3333
and the value is json key in definition.
3434
"""
3535
swagger_types = {
36+
'request_id': 'str'
3637
}
3738

3839
attribute_map = {
40+
'request_id': 'RequestId'
3941
}
4042

41-
def __init__(self, _configuration=None): # noqa: E501
43+
def __init__(self, request_id=None, _configuration=None): # noqa: E501
4244
"""AssociateCenBandwidthPackageResponse - a model defined in Swagger""" # noqa: E501
4345
if _configuration is None:
4446
_configuration = Configuration()
4547
self._configuration = _configuration
48+
49+
self._request_id = None
4650
self.discriminator = None
4751

52+
if request_id is not None:
53+
self.request_id = request_id
54+
55+
@property
56+
def request_id(self):
57+
"""Gets the request_id of this AssociateCenBandwidthPackageResponse. # noqa: E501
58+
59+
60+
:return: The request_id of this AssociateCenBandwidthPackageResponse. # noqa: E501
61+
:rtype: str
62+
"""
63+
return self._request_id
64+
65+
@request_id.setter
66+
def request_id(self, request_id):
67+
"""Sets the request_id of this AssociateCenBandwidthPackageResponse.
68+
69+
70+
:param request_id: The request_id of this AssociateCenBandwidthPackageResponse. # noqa: E501
71+
:type: str
72+
"""
73+
74+
self._request_id = request_id
75+
4876
def to_dict(self):
4977
"""Returns the model properties as a dict"""
5078
result = {}

volcenginesdkcen/models/attach_instance_to_cen_response.py

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,46 @@ class AttachInstanceToCenResponse(object):
3333
and the value is json key in definition.
3434
"""
3535
swagger_types = {
36+
'request_id': 'str'
3637
}
3738

3839
attribute_map = {
40+
'request_id': 'RequestId'
3941
}
4042

41-
def __init__(self, _configuration=None): # noqa: E501
43+
def __init__(self, request_id=None, _configuration=None): # noqa: E501
4244
"""AttachInstanceToCenResponse - a model defined in Swagger""" # noqa: E501
4345
if _configuration is None:
4446
_configuration = Configuration()
4547
self._configuration = _configuration
48+
49+
self._request_id = None
4650
self.discriminator = None
4751

52+
if request_id is not None:
53+
self.request_id = request_id
54+
55+
@property
56+
def request_id(self):
57+
"""Gets the request_id of this AttachInstanceToCenResponse. # noqa: E501
58+
59+
60+
:return: The request_id of this AttachInstanceToCenResponse. # noqa: E501
61+
:rtype: str
62+
"""
63+
return self._request_id
64+
65+
@request_id.setter
66+
def request_id(self, request_id):
67+
"""Sets the request_id of this AttachInstanceToCenResponse.
68+
69+
70+
:param request_id: The request_id of this AttachInstanceToCenResponse. # noqa: E501
71+
:type: str
72+
"""
73+
74+
self._request_id = request_id
75+
4876
def to_dict(self):
4977
"""Returns the model properties as a dict"""
5078
result = {}

volcenginesdkcen/models/cen_bandwidth_package_for_describe_cen_bandwidth_packages_output.py

Lines changed: 81 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ class CenBandwidthPackageForDescribeCenBandwidthPackagesOutput(object):
3636
'account_id': 'str',
3737
'bandwidth': 'int',
3838
'billing_type': 'int',
39+
'business': 'str',
3940
'cen_bandwidth_package_id': 'str',
4041
'cen_bandwidth_package_name': 'str',
4142
'cen_ids': 'list[str]',
@@ -44,17 +45,20 @@ class CenBandwidthPackageForDescribeCenBandwidthPackagesOutput(object):
4445
'description': 'str',
4546
'expired_time': 'str',
4647
'local_geographic_region_set_id': 'str',
48+
'local_geographicl_region_set_id': 'str',
4749
'peer_geographic_region_set_id': 'str',
4850
'project_name': 'str',
4951
'remaining_bandwidth': 'int',
5052
'status': 'str',
51-
'tags': 'list[TagForDescribeCenBandwidthPackagesOutput]'
53+
'tags': 'list[TagForDescribeCenBandwidthPackagesOutput]',
54+
'updated_at': 'str'
5255
}
5356

5457
attribute_map = {
5558
'account_id': 'AccountId',
5659
'bandwidth': 'Bandwidth',
5760
'billing_type': 'BillingType',
61+
'business': 'Business',
5862
'cen_bandwidth_package_id': 'CenBandwidthPackageId',
5963
'cen_bandwidth_package_name': 'CenBandwidthPackageName',
6064
'cen_ids': 'CenIds',
@@ -63,14 +67,16 @@ class CenBandwidthPackageForDescribeCenBandwidthPackagesOutput(object):
6367
'description': 'Description',
6468
'expired_time': 'ExpiredTime',
6569
'local_geographic_region_set_id': 'LocalGeographicRegionSetId',
70+
'local_geographicl_region_set_id': 'LocalGeographiclRegionSetId',
6671
'peer_geographic_region_set_id': 'PeerGeographicRegionSetId',
6772
'project_name': 'ProjectName',
6873
'remaining_bandwidth': 'RemainingBandwidth',
6974
'status': 'Status',
70-
'tags': 'Tags'
75+
'tags': 'Tags',
76+
'updated_at': 'UpdatedAt'
7177
}
7278

73-
def __init__(self, account_id=None, bandwidth=None, billing_type=None, cen_bandwidth_package_id=None, cen_bandwidth_package_name=None, cen_ids=None, creation_time=None, deleted_time=None, description=None, expired_time=None, local_geographic_region_set_id=None, peer_geographic_region_set_id=None, project_name=None, remaining_bandwidth=None, status=None, tags=None, _configuration=None): # noqa: E501
79+
def __init__(self, account_id=None, bandwidth=None, billing_type=None, business=None, cen_bandwidth_package_id=None, cen_bandwidth_package_name=None, cen_ids=None, creation_time=None, deleted_time=None, description=None, expired_time=None, local_geographic_region_set_id=None, local_geographicl_region_set_id=None, peer_geographic_region_set_id=None, project_name=None, remaining_bandwidth=None, status=None, tags=None, updated_at=None, _configuration=None): # noqa: E501
7480
"""CenBandwidthPackageForDescribeCenBandwidthPackagesOutput - a model defined in Swagger""" # noqa: E501
7581
if _configuration is None:
7682
_configuration = Configuration()
@@ -79,6 +85,7 @@ def __init__(self, account_id=None, bandwidth=None, billing_type=None, cen_bandw
7985
self._account_id = None
8086
self._bandwidth = None
8187
self._billing_type = None
88+
self._business = None
8289
self._cen_bandwidth_package_id = None
8390
self._cen_bandwidth_package_name = None
8491
self._cen_ids = None
@@ -87,11 +94,13 @@ def __init__(self, account_id=None, bandwidth=None, billing_type=None, cen_bandw
8794
self._description = None
8895
self._expired_time = None
8996
self._local_geographic_region_set_id = None
97+
self._local_geographicl_region_set_id = None
9098
self._peer_geographic_region_set_id = None
9199
self._project_name = None
92100
self._remaining_bandwidth = None
93101
self._status = None
94102
self._tags = None
103+
self._updated_at = None
95104
self.discriminator = None
96105

97106
if account_id is not None:
@@ -100,6 +109,8 @@ def __init__(self, account_id=None, bandwidth=None, billing_type=None, cen_bandw
100109
self.bandwidth = bandwidth
101110
if billing_type is not None:
102111
self.billing_type = billing_type
112+
if business is not None:
113+
self.business = business
103114
if cen_bandwidth_package_id is not None:
104115
self.cen_bandwidth_package_id = cen_bandwidth_package_id
105116
if cen_bandwidth_package_name is not None:
@@ -116,6 +127,8 @@ def __init__(self, account_id=None, bandwidth=None, billing_type=None, cen_bandw
116127
self.expired_time = expired_time
117128
if local_geographic_region_set_id is not None:
118129
self.local_geographic_region_set_id = local_geographic_region_set_id
130+
if local_geographicl_region_set_id is not None:
131+
self.local_geographicl_region_set_id = local_geographicl_region_set_id
119132
if peer_geographic_region_set_id is not None:
120133
self.peer_geographic_region_set_id = peer_geographic_region_set_id
121134
if project_name is not None:
@@ -126,6 +139,8 @@ def __init__(self, account_id=None, bandwidth=None, billing_type=None, cen_bandw
126139
self.status = status
127140
if tags is not None:
128141
self.tags = tags
142+
if updated_at is not None:
143+
self.updated_at = updated_at
129144

130145
@property
131146
def account_id(self):
@@ -190,6 +205,27 @@ def billing_type(self, billing_type):
190205

191206
self._billing_type = billing_type
192207

208+
@property
209+
def business(self):
210+
"""Gets the business of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
211+
212+
213+
:return: The business of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
214+
:rtype: str
215+
"""
216+
return self._business
217+
218+
@business.setter
219+
def business(self, business):
220+
"""Sets the business of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput.
221+
222+
223+
:param business: The business of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
224+
:type: str
225+
"""
226+
227+
self._business = business
228+
193229
@property
194230
def cen_bandwidth_package_id(self):
195231
"""Gets the cen_bandwidth_package_id of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
@@ -358,6 +394,27 @@ def local_geographic_region_set_id(self, local_geographic_region_set_id):
358394

359395
self._local_geographic_region_set_id = local_geographic_region_set_id
360396

397+
@property
398+
def local_geographicl_region_set_id(self):
399+
"""Gets the local_geographicl_region_set_id of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
400+
401+
402+
:return: The local_geographicl_region_set_id of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
403+
:rtype: str
404+
"""
405+
return self._local_geographicl_region_set_id
406+
407+
@local_geographicl_region_set_id.setter
408+
def local_geographicl_region_set_id(self, local_geographicl_region_set_id):
409+
"""Sets the local_geographicl_region_set_id of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput.
410+
411+
412+
:param local_geographicl_region_set_id: The local_geographicl_region_set_id of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
413+
:type: str
414+
"""
415+
416+
self._local_geographicl_region_set_id = local_geographicl_region_set_id
417+
361418
@property
362419
def peer_geographic_region_set_id(self):
363420
"""Gets the peer_geographic_region_set_id of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
@@ -463,6 +520,27 @@ def tags(self, tags):
463520

464521
self._tags = tags
465522

523+
@property
524+
def updated_at(self):
525+
"""Gets the updated_at of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
526+
527+
528+
:return: The updated_at of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
529+
:rtype: str
530+
"""
531+
return self._updated_at
532+
533+
@updated_at.setter
534+
def updated_at(self, updated_at):
535+
"""Sets the updated_at of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput.
536+
537+
538+
:param updated_at: The updated_at of this CenBandwidthPackageForDescribeCenBandwidthPackagesOutput. # noqa: E501
539+
:type: str
540+
"""
541+
542+
self._updated_at = updated_at
543+
466544
def to_dict(self):
467545
"""Returns the model properties as a dict"""
468546
result = {}

volcenginesdkcen/models/create_cen_bandwidth_package_request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ def period_unit(self, period_unit):
334334
:param period_unit: The period_unit of this CreateCenBandwidthPackageRequest. # noqa: E501
335335
:type: str
336336
"""
337-
allowed_values = ["Moth", "Year"] # noqa: E501
337+
allowed_values = ["Month", "Year"] # noqa: E501
338338
if (self._configuration.client_side_validation and
339339
period_unit not in allowed_values):
340340
raise ValueError(

volcenginesdkcen/models/create_cen_bandwidth_package_response.py

Lines changed: 29 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,24 +33,29 @@ class CreateCenBandwidthPackageResponse(object):
3333
and the value is json key in definition.
3434
"""
3535
swagger_types = {
36-
'cen_bandwidth_package_id': 'str'
36+
'cen_bandwidth_package_id': 'str',
37+
'request_id': 'str'
3738
}
3839

3940
attribute_map = {
40-
'cen_bandwidth_package_id': 'CenBandwidthPackageId'
41+
'cen_bandwidth_package_id': 'CenBandwidthPackageId',
42+
'request_id': 'RequestId'
4143
}
4244

43-
def __init__(self, cen_bandwidth_package_id=None, _configuration=None): # noqa: E501
45+
def __init__(self, cen_bandwidth_package_id=None, request_id=None, _configuration=None): # noqa: E501
4446
"""CreateCenBandwidthPackageResponse - a model defined in Swagger""" # noqa: E501
4547
if _configuration is None:
4648
_configuration = Configuration()
4749
self._configuration = _configuration
4850

4951
self._cen_bandwidth_package_id = None
52+
self._request_id = None
5053
self.discriminator = None
5154

5255
if cen_bandwidth_package_id is not None:
5356
self.cen_bandwidth_package_id = cen_bandwidth_package_id
57+
if request_id is not None:
58+
self.request_id = request_id
5459

5560
@property
5661
def cen_bandwidth_package_id(self):
@@ -73,6 +78,27 @@ def cen_bandwidth_package_id(self, cen_bandwidth_package_id):
7378

7479
self._cen_bandwidth_package_id = cen_bandwidth_package_id
7580

81+
@property
82+
def request_id(self):
83+
"""Gets the request_id of this CreateCenBandwidthPackageResponse. # noqa: E501
84+
85+
86+
:return: The request_id of this CreateCenBandwidthPackageResponse. # noqa: E501
87+
:rtype: str
88+
"""
89+
return self._request_id
90+
91+
@request_id.setter
92+
def request_id(self, request_id):
93+
"""Sets the request_id of this CreateCenBandwidthPackageResponse.
94+
95+
96+
:param request_id: The request_id of this CreateCenBandwidthPackageResponse. # noqa: E501
97+
:type: str
98+
"""
99+
100+
self._request_id = request_id
101+
76102
def to_dict(self):
77103
"""Returns the model properties as a dict"""
78104
result = {}

0 commit comments

Comments
 (0)