byteplus-python-sdk-v2 3.0.51__py2.py3-none-any.whl → 3.0.53__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {byteplus_python_sdk_v2-3.0.51.dist-info → byteplus_python_sdk_v2-3.0.53.dist-info}/METADATA +1 -1
- {byteplus_python_sdk_v2-3.0.51.dist-info → byteplus_python_sdk_v2-3.0.53.dist-info}/RECORD +185 -44
- {byteplus_python_sdk_v2-3.0.51.dist-info → byteplus_python_sdk_v2-3.0.53.dist-info}/WHEEL +1 -1
- {byteplus_python_sdk_v2-3.0.51.dist-info → byteplus_python_sdk_v2-3.0.53.dist-info}/top_level.txt +1 -0
- byteplussdkarkruntime/resources/content_generation/tasks.py +4 -0
- byteplussdkarkruntime/types/content_generation/content_generation_task.py +3 -0
- byteplussdkarkruntime/types/content_generation/create_task_content_param.py +31 -1
- byteplussdkcen/__init__.py +133 -0
- byteplussdkcen/api/__init__.py +6 -0
- byteplussdkcen/api/cen_api.py +4205 -0
- byteplussdkcen/models/__init__.py +129 -0
- byteplussdkcen/models/associate_cen_bandwidth_package_request.py +151 -0
- byteplussdkcen/models/associate_cen_bandwidth_package_response.py +95 -0
- byteplussdkcen/models/attach_instance_to_cen_request.py +231 -0
- byteplussdkcen/models/attach_instance_to_cen_response.py +95 -0
- byteplussdkcen/models/attached_instance_for_describe_cen_attached_instances_output.py +279 -0
- byteplussdkcen/models/cen_bandwidth_package_for_describe_cen_bandwidth_packages_billing_output.py +279 -0
- byteplussdkcen/models/cen_bandwidth_package_for_describe_cen_bandwidth_packages_output.py +617 -0
- byteplussdkcen/models/cen_for_describe_cens_output.py +357 -0
- byteplussdkcen/models/cen_grant_rule_for_describe_grant_rules_to_cen_output.py +253 -0
- byteplussdkcen/models/cen_grant_rule_for_describe_instance_granted_rules_output.py +253 -0
- byteplussdkcen/models/cen_route_entry_for_describe_cen_route_entries_output.py +331 -0
- byteplussdkcen/models/cen_summary_route_entry_for_describe_cen_summary_route_entries_output.py +253 -0
- byteplussdkcen/models/create_cen_bandwidth_package_request.py +462 -0
- byteplussdkcen/models/create_cen_bandwidth_package_response.py +123 -0
- byteplussdkcen/models/create_cen_inter_region_bandwidth_request.py +231 -0
- byteplussdkcen/models/create_cen_inter_region_bandwidth_response.py +123 -0
- byteplussdkcen/models/create_cen_request.py +230 -0
- byteplussdkcen/models/create_cen_response.py +123 -0
- byteplussdkcen/models/create_cen_service_route_entry_request.py +283 -0
- byteplussdkcen/models/create_cen_service_route_entry_response.py +95 -0
- byteplussdkcen/models/create_cen_summary_route_entry_request.py +177 -0
- byteplussdkcen/models/create_cen_summary_route_entry_response.py +95 -0
- byteplussdkcen/models/delete_cen_bandwidth_package_request.py +124 -0
- byteplussdkcen/models/delete_cen_bandwidth_package_response.py +95 -0
- byteplussdkcen/models/delete_cen_inter_region_bandwidth_request.py +124 -0
- byteplussdkcen/models/delete_cen_inter_region_bandwidth_response.py +95 -0
- byteplussdkcen/models/delete_cen_request.py +124 -0
- byteplussdkcen/models/delete_cen_response.py +95 -0
- byteplussdkcen/models/delete_cen_service_route_entry_request.py +178 -0
- byteplussdkcen/models/delete_cen_service_route_entry_response.py +95 -0
- byteplussdkcen/models/delete_cen_summary_route_entry_request.py +151 -0
- byteplussdkcen/models/delete_cen_summary_route_entry_response.py +95 -0
- byteplussdkcen/models/describe95_traffic_request.py +178 -0
- byteplussdkcen/models/describe95_traffic_response.py +123 -0
- byteplussdkcen/models/describe_cen_attached_instance_attributes_request.py +205 -0
- byteplussdkcen/models/describe_cen_attached_instance_attributes_response.py +279 -0
- byteplussdkcen/models/describe_cen_attached_instances_request.py +253 -0
- byteplussdkcen/models/describe_cen_attached_instances_response.py +201 -0
- byteplussdkcen/models/describe_cen_attributes_request.py +124 -0
- byteplussdkcen/models/describe_cen_attributes_response.py +357 -0
- byteplussdkcen/models/describe_cen_bandwidth_package_attributes_request.py +124 -0
- byteplussdkcen/models/describe_cen_bandwidth_package_attributes_response.py +591 -0
- byteplussdkcen/models/describe_cen_bandwidth_packages_billing_request.py +175 -0
- byteplussdkcen/models/describe_cen_bandwidth_packages_billing_response.py +201 -0
- byteplussdkcen/models/describe_cen_bandwidth_packages_request.py +331 -0
- byteplussdkcen/models/describe_cen_bandwidth_packages_response.py +201 -0
- byteplussdkcen/models/describe_cen_inter_region_bandwidth_attributes_request.py +124 -0
- byteplussdkcen/models/describe_cen_inter_region_bandwidth_attributes_response.py +331 -0
- byteplussdkcen/models/describe_cen_inter_region_bandwidths_request.py +201 -0
- byteplussdkcen/models/describe_cen_inter_region_bandwidths_response.py +201 -0
- byteplussdkcen/models/describe_cen_route_entries_request.py +279 -0
- byteplussdkcen/models/describe_cen_route_entries_response.py +201 -0
- byteplussdkcen/models/describe_cen_service_route_entries_request.py +279 -0
- byteplussdkcen/models/describe_cen_service_route_entries_response.py +201 -0
- byteplussdkcen/models/describe_cen_summary_route_entries_request.py +202 -0
- byteplussdkcen/models/describe_cen_summary_route_entries_response.py +201 -0
- byteplussdkcen/models/describe_cens_request.py +253 -0
- byteplussdkcen/models/describe_cens_response.py +201 -0
- byteplussdkcen/models/describe_grant_rules_to_cen_request.py +260 -0
- byteplussdkcen/models/describe_grant_rules_to_cen_response.py +201 -0
- byteplussdkcen/models/describe_instance_granted_rules_request.py +234 -0
- byteplussdkcen/models/describe_instance_granted_rules_response.py +201 -0
- byteplussdkcen/models/detach_instance_from_cen_request.py +205 -0
- byteplussdkcen/models/detach_instance_from_cen_response.py +95 -0
- byteplussdkcen/models/disassociate_cen_bandwidth_package_request.py +151 -0
- byteplussdkcen/models/disassociate_cen_bandwidth_package_response.py +95 -0
- byteplussdkcen/models/grant_instance_to_cen_request.py +239 -0
- byteplussdkcen/models/grant_instance_to_cen_response.py +95 -0
- byteplussdkcen/models/inter_region_bandwidth_for_describe_cen_inter_region_bandwidths_output.py +331 -0
- byteplussdkcen/models/list_tags_for_resources_request.py +264 -0
- byteplussdkcen/models/list_tags_for_resources_response.py +149 -0
- byteplussdkcen/models/modify_cen_attributes_request.py +176 -0
- byteplussdkcen/models/modify_cen_attributes_response.py +95 -0
- byteplussdkcen/models/modify_cen_bandwidth_package_association_request.py +151 -0
- byteplussdkcen/models/modify_cen_bandwidth_package_association_response.py +95 -0
- byteplussdkcen/models/modify_cen_bandwidth_package_attributes_request.py +214 -0
- byteplussdkcen/models/modify_cen_bandwidth_package_attributes_response.py +95 -0
- byteplussdkcen/models/modify_cen_inter_region_bandwidth_attributes_request.py +176 -0
- byteplussdkcen/models/modify_cen_inter_region_bandwidth_attributes_response.py +95 -0
- byteplussdkcen/models/modify_cen_service_route_entry_attributes_request.py +256 -0
- byteplussdkcen/models/modify_cen_service_route_entry_attributes_response.py +95 -0
- byteplussdkcen/models/publish_cen_route_entry_request.py +232 -0
- byteplussdkcen/models/publish_cen_route_entry_response.py +95 -0
- byteplussdkcen/models/publish_to_instance_for_create_cen_service_route_entry_input.py +175 -0
- byteplussdkcen/models/publish_to_instance_for_describe_cen_service_route_entries_output.py +175 -0
- byteplussdkcen/models/publish_to_instance_for_modify_cen_service_route_entry_attributes_input.py +175 -0
- byteplussdkcen/models/renew_cen_bandwidth_package_request.py +176 -0
- byteplussdkcen/models/renew_cen_bandwidth_package_response.py +95 -0
- byteplussdkcen/models/resource_tag_for_list_tags_for_resources_output.py +201 -0
- byteplussdkcen/models/revoke_instance_from_cen_request.py +239 -0
- byteplussdkcen/models/revoke_instance_from_cen_response.py +95 -0
- byteplussdkcen/models/service_route_entry_for_describe_cen_service_route_entries_output.py +331 -0
- byteplussdkcen/models/set_cen_bandwidth_package_renewal_request.py +203 -0
- byteplussdkcen/models/set_cen_bandwidth_package_renewal_response.py +95 -0
- byteplussdkcen/models/tag_filter_for_describe_cen_bandwidth_packages_input.py +149 -0
- byteplussdkcen/models/tag_filter_for_describe_cens_input.py +149 -0
- byteplussdkcen/models/tag_filter_for_list_tags_for_resources_input.py +149 -0
- byteplussdkcen/models/tag_for_create_cen_bandwidth_package_input.py +149 -0
- byteplussdkcen/models/tag_for_create_cen_input.py +149 -0
- byteplussdkcen/models/tag_for_describe_cen_attributes_output.py +149 -0
- byteplussdkcen/models/tag_for_describe_cen_bandwidth_package_attributes_output.py +149 -0
- byteplussdkcen/models/tag_for_describe_cen_bandwidth_packages_output.py +149 -0
- byteplussdkcen/models/tag_for_describe_cens_output.py +149 -0
- byteplussdkcen/models/tag_for_tag_resources_input.py +150 -0
- byteplussdkcen/models/tag_resources_request.py +183 -0
- byteplussdkcen/models/tag_resources_response.py +95 -0
- byteplussdkcen/models/traffic_data_for_describe95_traffic_output.py +201 -0
- byteplussdkcen/models/traffic_detail_data_for_describe95_traffic_output.py +175 -0
- byteplussdkcen/models/untag_resources_request.py +183 -0
- byteplussdkcen/models/untag_resources_response.py +95 -0
- byteplussdkcen/models/withdraw_cen_route_entry_request.py +232 -0
- byteplussdkcen/models/withdraw_cen_route_entry_response.py +95 -0
- byteplussdkcore/api_client.py +1 -1
- byteplussdkcore/configuration.py +1 -1
- byteplussdkcore/endpoint/providers/default_provider.py +14 -0
- byteplussdkexamples/byteplussdkarkruntime/content_generation_tasks.py +8 -0
- byteplussdktransitrouter/__init__.py +24 -1
- byteplussdktransitrouter/api/transitrouter_api.py +983 -13
- byteplussdktransitrouter/models/__init__.py +24 -1
- byteplussdktransitrouter/models/accept_shared_transit_router_request.py +124 -0
- byteplussdktransitrouter/models/accept_shared_transit_router_response.py +95 -0
- byteplussdktransitrouter/models/accept_transit_router_peer_attachment_request.py +124 -0
- byteplussdktransitrouter/models/accept_transit_router_peer_attachment_response.py +95 -0
- byteplussdktransitrouter/models/create_transit_router_grant_rule_request.py +177 -0
- byteplussdktransitrouter/models/create_transit_router_grant_rule_response.py +95 -0
- byteplussdktransitrouter/models/create_transit_router_peer_attachment_request.py +79 -1
- byteplussdktransitrouter/models/create_transit_router_route_entry_request.py +29 -4
- byteplussdktransitrouter/models/create_transit_router_route_policy_entry_request.py +33 -1
- byteplussdktransitrouter/models/create_transit_router_traffic_qos_queue_entry_request.py +39 -4
- byteplussdktransitrouter/models/create_transit_router_vpn_attachment_request.py +27 -1
- byteplussdktransitrouter/models/delete_transit_router_grant_rule_request.py +151 -0
- byteplussdktransitrouter/models/delete_transit_router_grant_rule_response.py +95 -0
- byteplussdktransitrouter/models/describe95_traffic_request.py +185 -0
- byteplussdktransitrouter/models/describe95_traffic_response.py +123 -0
- byteplussdktransitrouter/models/describe_transit_router_attachments_request.py +3 -0
- byteplussdktransitrouter/models/describe_transit_router_grant_rules_request.py +202 -0
- byteplussdktransitrouter/models/describe_transit_router_grant_rules_response.py +201 -0
- byteplussdktransitrouter/models/describe_transit_router_multicast_domains_response.py +3 -3
- byteplussdktransitrouter/models/describe_transit_router_route_entries_request.py +3 -0
- byteplussdktransitrouter/models/describe_transit_router_route_policy_entries_request.py +3 -0
- byteplussdktransitrouter/models/describe_transit_router_traffic_qos_queue_entries_request.py +3 -0
- byteplussdktransitrouter/models/describe_transit_router_vpn_attachments_request.py +3 -0
- byteplussdktransitrouter/models/describe_transit_routers_request.py +3 -0
- byteplussdktransitrouter/models/enable_transit_router_route_table_propagation_request.py +27 -1
- byteplussdktransitrouter/models/models.py +1522 -1447
- byteplussdktransitrouter/models/modify_transit_router_attributes_request.py +34 -1
- byteplussdktransitrouter/models/modify_transit_router_grant_rule_attributes_request.py +177 -0
- byteplussdktransitrouter/models/modify_transit_router_grant_rule_attributes_response.py +95 -0
- byteplussdktransitrouter/models/modify_transit_router_peer_attachment_attributes_request.py +53 -1
- byteplussdktransitrouter/models/modify_transit_router_route_policy_entry_attributes_request.py +33 -1
- byteplussdktransitrouter/models/modify_transit_router_traffic_qos_queue_entry_attributes_request.py +208 -0
- byteplussdktransitrouter/models/modify_transit_router_traffic_qos_queue_entry_attributes_response.py +95 -0
- byteplussdktransitrouter/models/reject_shared_transit_router_request.py +124 -0
- byteplussdktransitrouter/models/reject_shared_transit_router_response.py +95 -0
- byteplussdktransitrouter/models/reject_transit_router_peer_attachment_request.py +124 -0
- byteplussdktransitrouter/models/reject_transit_router_peer_attachment_response.py +95 -0
- byteplussdktransitrouter/models/traffic_data_for_describe95_traffic_output.py +201 -0
- byteplussdktransitrouter/models/traffic_detail_data_for_describe95_traffic_output.py +175 -0
- byteplussdktransitrouter/models/transit_router_attachment_for_describe_transit_router_attachments_output.py +27 -1
- byteplussdktransitrouter/models/transit_router_attachment_for_describe_transit_router_peer_attachments_output.py +105 -1
- byteplussdktransitrouter/models/transit_router_attachment_for_describe_transit_router_vpn_attachments_output.py +27 -1
- byteplussdktransitrouter/models/transit_router_for_describe_transit_routers_output.py +27 -1
- byteplussdktransitrouter/models/transit_router_grant_rule_for_describe_transit_router_grant_rules_output.py +253 -0
- byteplussdktransitrouter/models/{transit_router_multicast_domains_for_describe_transit_router_multicast_domains_output.py → transit_router_multicast_domain_for_describe_transit_router_multicast_domains_output.py} +33 -33
- byteplussdktransitrouter/models/transit_router_route_entry_for_describe_transit_router_route_entries_output.py +53 -1
- byteplussdkvke/__init__.py +2 -0
- byteplussdkvke/api/vke_api.py +97 -0
- byteplussdkvke/models/__init__.py +2 -0
- byteplussdkvke/models/item_for_list_scaling_policies_output.py +27 -1
- byteplussdkvke/models/scale_node_pool_request.py +204 -0
- byteplussdkvke/models/scale_node_pool_response.py +95 -0
- byteplussdkvs/models/create_voice_task_request.py +3 -3
- {byteplus_python_sdk_v2-3.0.51.dist-info → byteplus_python_sdk_v2-3.0.53.dist-info}/licenses/LICENSE.txt +0 -0
- {byteplus_python_sdk_v2-3.0.51.dist-info → byteplus_python_sdk_v2-3.0.53.dist-info}/licenses/NOTICE.md +0 -0
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
cen
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: common-version
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
import pprint
|
|
15
|
+
import re # noqa: F401
|
|
16
|
+
|
|
17
|
+
import six
|
|
18
|
+
|
|
19
|
+
from byteplussdkcore.configuration import Configuration
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class ModifyCenBandwidthPackageAttributesRequest(object):
|
|
23
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
24
|
+
|
|
25
|
+
Do not edit the class manually.
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
"""
|
|
29
|
+
Attributes:
|
|
30
|
+
swagger_types (dict): The key is attribute name
|
|
31
|
+
and the value is attribute type.
|
|
32
|
+
attribute_map (dict): The key is attribute name
|
|
33
|
+
and the value is json key in definition.
|
|
34
|
+
"""
|
|
35
|
+
swagger_types = {
|
|
36
|
+
'bandwidth': 'int',
|
|
37
|
+
'cen_bandwidth_package_id': 'str',
|
|
38
|
+
'cen_bandwidth_package_name': 'str',
|
|
39
|
+
'description': 'str'
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
attribute_map = {
|
|
43
|
+
'bandwidth': 'Bandwidth',
|
|
44
|
+
'cen_bandwidth_package_id': 'CenBandwidthPackageId',
|
|
45
|
+
'cen_bandwidth_package_name': 'CenBandwidthPackageName',
|
|
46
|
+
'description': 'Description'
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
def __init__(self, bandwidth=None, cen_bandwidth_package_id=None, cen_bandwidth_package_name=None, description=None, _configuration=None): # noqa: E501
|
|
50
|
+
"""ModifyCenBandwidthPackageAttributesRequest - a model defined in Swagger""" # noqa: E501
|
|
51
|
+
if _configuration is None:
|
|
52
|
+
_configuration = Configuration()
|
|
53
|
+
self._configuration = _configuration
|
|
54
|
+
|
|
55
|
+
self._bandwidth = None
|
|
56
|
+
self._cen_bandwidth_package_id = None
|
|
57
|
+
self._cen_bandwidth_package_name = None
|
|
58
|
+
self._description = None
|
|
59
|
+
self.discriminator = None
|
|
60
|
+
|
|
61
|
+
if bandwidth is not None:
|
|
62
|
+
self.bandwidth = bandwidth
|
|
63
|
+
self.cen_bandwidth_package_id = cen_bandwidth_package_id
|
|
64
|
+
if cen_bandwidth_package_name is not None:
|
|
65
|
+
self.cen_bandwidth_package_name = cen_bandwidth_package_name
|
|
66
|
+
if description is not None:
|
|
67
|
+
self.description = description
|
|
68
|
+
|
|
69
|
+
@property
|
|
70
|
+
def bandwidth(self):
|
|
71
|
+
"""Gets the bandwidth of this ModifyCenBandwidthPackageAttributesRequest. # noqa: E501
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
:return: The bandwidth of this ModifyCenBandwidthPackageAttributesRequest. # noqa: E501
|
|
75
|
+
:rtype: int
|
|
76
|
+
"""
|
|
77
|
+
return self._bandwidth
|
|
78
|
+
|
|
79
|
+
@bandwidth.setter
|
|
80
|
+
def bandwidth(self, bandwidth):
|
|
81
|
+
"""Sets the bandwidth of this ModifyCenBandwidthPackageAttributesRequest.
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
:param bandwidth: The bandwidth of this ModifyCenBandwidthPackageAttributesRequest. # noqa: E501
|
|
85
|
+
:type: int
|
|
86
|
+
"""
|
|
87
|
+
|
|
88
|
+
self._bandwidth = bandwidth
|
|
89
|
+
|
|
90
|
+
@property
|
|
91
|
+
def cen_bandwidth_package_id(self):
|
|
92
|
+
"""Gets the cen_bandwidth_package_id of this ModifyCenBandwidthPackageAttributesRequest. # noqa: E501
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
:return: The cen_bandwidth_package_id of this ModifyCenBandwidthPackageAttributesRequest. # noqa: E501
|
|
96
|
+
:rtype: str
|
|
97
|
+
"""
|
|
98
|
+
return self._cen_bandwidth_package_id
|
|
99
|
+
|
|
100
|
+
@cen_bandwidth_package_id.setter
|
|
101
|
+
def cen_bandwidth_package_id(self, cen_bandwidth_package_id):
|
|
102
|
+
"""Sets the cen_bandwidth_package_id of this ModifyCenBandwidthPackageAttributesRequest.
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
:param cen_bandwidth_package_id: The cen_bandwidth_package_id of this ModifyCenBandwidthPackageAttributesRequest. # noqa: E501
|
|
106
|
+
:type: str
|
|
107
|
+
"""
|
|
108
|
+
if self._configuration.client_side_validation and cen_bandwidth_package_id is None:
|
|
109
|
+
raise ValueError("Invalid value for `cen_bandwidth_package_id`, must not be `None`") # noqa: E501
|
|
110
|
+
|
|
111
|
+
self._cen_bandwidth_package_id = cen_bandwidth_package_id
|
|
112
|
+
|
|
113
|
+
@property
|
|
114
|
+
def cen_bandwidth_package_name(self):
|
|
115
|
+
"""Gets the cen_bandwidth_package_name of this ModifyCenBandwidthPackageAttributesRequest. # noqa: E501
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
:return: The cen_bandwidth_package_name of this ModifyCenBandwidthPackageAttributesRequest. # noqa: E501
|
|
119
|
+
:rtype: str
|
|
120
|
+
"""
|
|
121
|
+
return self._cen_bandwidth_package_name
|
|
122
|
+
|
|
123
|
+
@cen_bandwidth_package_name.setter
|
|
124
|
+
def cen_bandwidth_package_name(self, cen_bandwidth_package_name):
|
|
125
|
+
"""Sets the cen_bandwidth_package_name of this ModifyCenBandwidthPackageAttributesRequest.
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
:param cen_bandwidth_package_name: The cen_bandwidth_package_name of this ModifyCenBandwidthPackageAttributesRequest. # noqa: E501
|
|
129
|
+
:type: str
|
|
130
|
+
"""
|
|
131
|
+
if (self._configuration.client_side_validation and
|
|
132
|
+
cen_bandwidth_package_name is not None and len(cen_bandwidth_package_name) > 128):
|
|
133
|
+
raise ValueError("Invalid value for `cen_bandwidth_package_name`, length must be less than or equal to `128`") # noqa: E501
|
|
134
|
+
if (self._configuration.client_side_validation and
|
|
135
|
+
cen_bandwidth_package_name is not None and len(cen_bandwidth_package_name) < 1):
|
|
136
|
+
raise ValueError("Invalid value for `cen_bandwidth_package_name`, length must be greater than or equal to `1`") # noqa: E501
|
|
137
|
+
|
|
138
|
+
self._cen_bandwidth_package_name = cen_bandwidth_package_name
|
|
139
|
+
|
|
140
|
+
@property
|
|
141
|
+
def description(self):
|
|
142
|
+
"""Gets the description of this ModifyCenBandwidthPackageAttributesRequest. # noqa: E501
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
:return: The description of this ModifyCenBandwidthPackageAttributesRequest. # noqa: E501
|
|
146
|
+
:rtype: str
|
|
147
|
+
"""
|
|
148
|
+
return self._description
|
|
149
|
+
|
|
150
|
+
@description.setter
|
|
151
|
+
def description(self, description):
|
|
152
|
+
"""Sets the description of this ModifyCenBandwidthPackageAttributesRequest.
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
:param description: The description of this ModifyCenBandwidthPackageAttributesRequest. # noqa: E501
|
|
156
|
+
:type: str
|
|
157
|
+
"""
|
|
158
|
+
if (self._configuration.client_side_validation and
|
|
159
|
+
description is not None and len(description) > 255):
|
|
160
|
+
raise ValueError("Invalid value for `description`, length must be less than or equal to `255`") # noqa: E501
|
|
161
|
+
if (self._configuration.client_side_validation and
|
|
162
|
+
description is not None and len(description) < 1):
|
|
163
|
+
raise ValueError("Invalid value for `description`, length must be greater than or equal to `1`") # noqa: E501
|
|
164
|
+
|
|
165
|
+
self._description = description
|
|
166
|
+
|
|
167
|
+
def to_dict(self):
|
|
168
|
+
"""Returns the model properties as a dict"""
|
|
169
|
+
result = {}
|
|
170
|
+
|
|
171
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
172
|
+
value = getattr(self, attr)
|
|
173
|
+
if isinstance(value, list):
|
|
174
|
+
result[attr] = list(map(
|
|
175
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
176
|
+
value
|
|
177
|
+
))
|
|
178
|
+
elif hasattr(value, "to_dict"):
|
|
179
|
+
result[attr] = value.to_dict()
|
|
180
|
+
elif isinstance(value, dict):
|
|
181
|
+
result[attr] = dict(map(
|
|
182
|
+
lambda item: (item[0], item[1].to_dict())
|
|
183
|
+
if hasattr(item[1], "to_dict") else item,
|
|
184
|
+
value.items()
|
|
185
|
+
))
|
|
186
|
+
else:
|
|
187
|
+
result[attr] = value
|
|
188
|
+
if issubclass(ModifyCenBandwidthPackageAttributesRequest, dict):
|
|
189
|
+
for key, value in self.items():
|
|
190
|
+
result[key] = value
|
|
191
|
+
|
|
192
|
+
return result
|
|
193
|
+
|
|
194
|
+
def to_str(self):
|
|
195
|
+
"""Returns the string representation of the model"""
|
|
196
|
+
return pprint.pformat(self.to_dict())
|
|
197
|
+
|
|
198
|
+
def __repr__(self):
|
|
199
|
+
"""For `print` and `pprint`"""
|
|
200
|
+
return self.to_str()
|
|
201
|
+
|
|
202
|
+
def __eq__(self, other):
|
|
203
|
+
"""Returns true if both objects are equal"""
|
|
204
|
+
if not isinstance(other, ModifyCenBandwidthPackageAttributesRequest):
|
|
205
|
+
return False
|
|
206
|
+
|
|
207
|
+
return self.to_dict() == other.to_dict()
|
|
208
|
+
|
|
209
|
+
def __ne__(self, other):
|
|
210
|
+
"""Returns true if both objects are not equal"""
|
|
211
|
+
if not isinstance(other, ModifyCenBandwidthPackageAttributesRequest):
|
|
212
|
+
return True
|
|
213
|
+
|
|
214
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
cen
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: common-version
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
import pprint
|
|
15
|
+
import re # noqa: F401
|
|
16
|
+
|
|
17
|
+
import six
|
|
18
|
+
|
|
19
|
+
from byteplussdkcore.configuration import Configuration
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class ModifyCenBandwidthPackageAttributesResponse(object):
|
|
23
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
24
|
+
|
|
25
|
+
Do not edit the class manually.
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
"""
|
|
29
|
+
Attributes:
|
|
30
|
+
swagger_types (dict): The key is attribute name
|
|
31
|
+
and the value is attribute type.
|
|
32
|
+
attribute_map (dict): The key is attribute name
|
|
33
|
+
and the value is json key in definition.
|
|
34
|
+
"""
|
|
35
|
+
swagger_types = {
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
attribute_map = {
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
def __init__(self, _configuration=None): # noqa: E501
|
|
42
|
+
"""ModifyCenBandwidthPackageAttributesResponse - a model defined in Swagger""" # noqa: E501
|
|
43
|
+
if _configuration is None:
|
|
44
|
+
_configuration = Configuration()
|
|
45
|
+
self._configuration = _configuration
|
|
46
|
+
self.discriminator = None
|
|
47
|
+
|
|
48
|
+
def to_dict(self):
|
|
49
|
+
"""Returns the model properties as a dict"""
|
|
50
|
+
result = {}
|
|
51
|
+
|
|
52
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
53
|
+
value = getattr(self, attr)
|
|
54
|
+
if isinstance(value, list):
|
|
55
|
+
result[attr] = list(map(
|
|
56
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
57
|
+
value
|
|
58
|
+
))
|
|
59
|
+
elif hasattr(value, "to_dict"):
|
|
60
|
+
result[attr] = value.to_dict()
|
|
61
|
+
elif isinstance(value, dict):
|
|
62
|
+
result[attr] = dict(map(
|
|
63
|
+
lambda item: (item[0], item[1].to_dict())
|
|
64
|
+
if hasattr(item[1], "to_dict") else item,
|
|
65
|
+
value.items()
|
|
66
|
+
))
|
|
67
|
+
else:
|
|
68
|
+
result[attr] = value
|
|
69
|
+
if issubclass(ModifyCenBandwidthPackageAttributesResponse, dict):
|
|
70
|
+
for key, value in self.items():
|
|
71
|
+
result[key] = value
|
|
72
|
+
|
|
73
|
+
return result
|
|
74
|
+
|
|
75
|
+
def to_str(self):
|
|
76
|
+
"""Returns the string representation of the model"""
|
|
77
|
+
return pprint.pformat(self.to_dict())
|
|
78
|
+
|
|
79
|
+
def __repr__(self):
|
|
80
|
+
"""For `print` and `pprint`"""
|
|
81
|
+
return self.to_str()
|
|
82
|
+
|
|
83
|
+
def __eq__(self, other):
|
|
84
|
+
"""Returns true if both objects are equal"""
|
|
85
|
+
if not isinstance(other, ModifyCenBandwidthPackageAttributesResponse):
|
|
86
|
+
return False
|
|
87
|
+
|
|
88
|
+
return self.to_dict() == other.to_dict()
|
|
89
|
+
|
|
90
|
+
def __ne__(self, other):
|
|
91
|
+
"""Returns true if both objects are not equal"""
|
|
92
|
+
if not isinstance(other, ModifyCenBandwidthPackageAttributesResponse):
|
|
93
|
+
return True
|
|
94
|
+
|
|
95
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
cen
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: common-version
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
import pprint
|
|
15
|
+
import re # noqa: F401
|
|
16
|
+
|
|
17
|
+
import six
|
|
18
|
+
|
|
19
|
+
from byteplussdkcore.configuration import Configuration
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class ModifyCenInterRegionBandwidthAttributesRequest(object):
|
|
23
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
24
|
+
|
|
25
|
+
Do not edit the class manually.
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
"""
|
|
29
|
+
Attributes:
|
|
30
|
+
swagger_types (dict): The key is attribute name
|
|
31
|
+
and the value is attribute type.
|
|
32
|
+
attribute_map (dict): The key is attribute name
|
|
33
|
+
and the value is json key in definition.
|
|
34
|
+
"""
|
|
35
|
+
swagger_types = {
|
|
36
|
+
'bandwidth': 'int',
|
|
37
|
+
'cen_bandwidth_package_id': 'str',
|
|
38
|
+
'inter_region_bandwidth_id': 'str'
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
attribute_map = {
|
|
42
|
+
'bandwidth': 'Bandwidth',
|
|
43
|
+
'cen_bandwidth_package_id': 'CenBandwidthPackageId',
|
|
44
|
+
'inter_region_bandwidth_id': 'InterRegionBandwidthId'
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
def __init__(self, bandwidth=None, cen_bandwidth_package_id=None, inter_region_bandwidth_id=None, _configuration=None): # noqa: E501
|
|
48
|
+
"""ModifyCenInterRegionBandwidthAttributesRequest - a model defined in Swagger""" # noqa: E501
|
|
49
|
+
if _configuration is None:
|
|
50
|
+
_configuration = Configuration()
|
|
51
|
+
self._configuration = _configuration
|
|
52
|
+
|
|
53
|
+
self._bandwidth = None
|
|
54
|
+
self._cen_bandwidth_package_id = None
|
|
55
|
+
self._inter_region_bandwidth_id = None
|
|
56
|
+
self.discriminator = None
|
|
57
|
+
|
|
58
|
+
if bandwidth is not None:
|
|
59
|
+
self.bandwidth = bandwidth
|
|
60
|
+
if cen_bandwidth_package_id is not None:
|
|
61
|
+
self.cen_bandwidth_package_id = cen_bandwidth_package_id
|
|
62
|
+
self.inter_region_bandwidth_id = inter_region_bandwidth_id
|
|
63
|
+
|
|
64
|
+
@property
|
|
65
|
+
def bandwidth(self):
|
|
66
|
+
"""Gets the bandwidth of this ModifyCenInterRegionBandwidthAttributesRequest. # noqa: E501
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
:return: The bandwidth of this ModifyCenInterRegionBandwidthAttributesRequest. # noqa: E501
|
|
70
|
+
:rtype: int
|
|
71
|
+
"""
|
|
72
|
+
return self._bandwidth
|
|
73
|
+
|
|
74
|
+
@bandwidth.setter
|
|
75
|
+
def bandwidth(self, bandwidth):
|
|
76
|
+
"""Sets the bandwidth of this ModifyCenInterRegionBandwidthAttributesRequest.
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
:param bandwidth: The bandwidth of this ModifyCenInterRegionBandwidthAttributesRequest. # noqa: E501
|
|
80
|
+
:type: int
|
|
81
|
+
"""
|
|
82
|
+
|
|
83
|
+
self._bandwidth = bandwidth
|
|
84
|
+
|
|
85
|
+
@property
|
|
86
|
+
def cen_bandwidth_package_id(self):
|
|
87
|
+
"""Gets the cen_bandwidth_package_id of this ModifyCenInterRegionBandwidthAttributesRequest. # noqa: E501
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
:return: The cen_bandwidth_package_id of this ModifyCenInterRegionBandwidthAttributesRequest. # noqa: E501
|
|
91
|
+
:rtype: str
|
|
92
|
+
"""
|
|
93
|
+
return self._cen_bandwidth_package_id
|
|
94
|
+
|
|
95
|
+
@cen_bandwidth_package_id.setter
|
|
96
|
+
def cen_bandwidth_package_id(self, cen_bandwidth_package_id):
|
|
97
|
+
"""Sets the cen_bandwidth_package_id of this ModifyCenInterRegionBandwidthAttributesRequest.
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
:param cen_bandwidth_package_id: The cen_bandwidth_package_id of this ModifyCenInterRegionBandwidthAttributesRequest. # noqa: E501
|
|
101
|
+
:type: str
|
|
102
|
+
"""
|
|
103
|
+
|
|
104
|
+
self._cen_bandwidth_package_id = cen_bandwidth_package_id
|
|
105
|
+
|
|
106
|
+
@property
|
|
107
|
+
def inter_region_bandwidth_id(self):
|
|
108
|
+
"""Gets the inter_region_bandwidth_id of this ModifyCenInterRegionBandwidthAttributesRequest. # noqa: E501
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
:return: The inter_region_bandwidth_id of this ModifyCenInterRegionBandwidthAttributesRequest. # noqa: E501
|
|
112
|
+
:rtype: str
|
|
113
|
+
"""
|
|
114
|
+
return self._inter_region_bandwidth_id
|
|
115
|
+
|
|
116
|
+
@inter_region_bandwidth_id.setter
|
|
117
|
+
def inter_region_bandwidth_id(self, inter_region_bandwidth_id):
|
|
118
|
+
"""Sets the inter_region_bandwidth_id of this ModifyCenInterRegionBandwidthAttributesRequest.
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
:param inter_region_bandwidth_id: The inter_region_bandwidth_id of this ModifyCenInterRegionBandwidthAttributesRequest. # noqa: E501
|
|
122
|
+
:type: str
|
|
123
|
+
"""
|
|
124
|
+
if self._configuration.client_side_validation and inter_region_bandwidth_id is None:
|
|
125
|
+
raise ValueError("Invalid value for `inter_region_bandwidth_id`, must not be `None`") # noqa: E501
|
|
126
|
+
|
|
127
|
+
self._inter_region_bandwidth_id = inter_region_bandwidth_id
|
|
128
|
+
|
|
129
|
+
def to_dict(self):
|
|
130
|
+
"""Returns the model properties as a dict"""
|
|
131
|
+
result = {}
|
|
132
|
+
|
|
133
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
134
|
+
value = getattr(self, attr)
|
|
135
|
+
if isinstance(value, list):
|
|
136
|
+
result[attr] = list(map(
|
|
137
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
138
|
+
value
|
|
139
|
+
))
|
|
140
|
+
elif hasattr(value, "to_dict"):
|
|
141
|
+
result[attr] = value.to_dict()
|
|
142
|
+
elif isinstance(value, dict):
|
|
143
|
+
result[attr] = dict(map(
|
|
144
|
+
lambda item: (item[0], item[1].to_dict())
|
|
145
|
+
if hasattr(item[1], "to_dict") else item,
|
|
146
|
+
value.items()
|
|
147
|
+
))
|
|
148
|
+
else:
|
|
149
|
+
result[attr] = value
|
|
150
|
+
if issubclass(ModifyCenInterRegionBandwidthAttributesRequest, dict):
|
|
151
|
+
for key, value in self.items():
|
|
152
|
+
result[key] = value
|
|
153
|
+
|
|
154
|
+
return result
|
|
155
|
+
|
|
156
|
+
def to_str(self):
|
|
157
|
+
"""Returns the string representation of the model"""
|
|
158
|
+
return pprint.pformat(self.to_dict())
|
|
159
|
+
|
|
160
|
+
def __repr__(self):
|
|
161
|
+
"""For `print` and `pprint`"""
|
|
162
|
+
return self.to_str()
|
|
163
|
+
|
|
164
|
+
def __eq__(self, other):
|
|
165
|
+
"""Returns true if both objects are equal"""
|
|
166
|
+
if not isinstance(other, ModifyCenInterRegionBandwidthAttributesRequest):
|
|
167
|
+
return False
|
|
168
|
+
|
|
169
|
+
return self.to_dict() == other.to_dict()
|
|
170
|
+
|
|
171
|
+
def __ne__(self, other):
|
|
172
|
+
"""Returns true if both objects are not equal"""
|
|
173
|
+
if not isinstance(other, ModifyCenInterRegionBandwidthAttributesRequest):
|
|
174
|
+
return True
|
|
175
|
+
|
|
176
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
cen
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: common-version
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
import pprint
|
|
15
|
+
import re # noqa: F401
|
|
16
|
+
|
|
17
|
+
import six
|
|
18
|
+
|
|
19
|
+
from byteplussdkcore.configuration import Configuration
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class ModifyCenInterRegionBandwidthAttributesResponse(object):
|
|
23
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
24
|
+
|
|
25
|
+
Do not edit the class manually.
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
"""
|
|
29
|
+
Attributes:
|
|
30
|
+
swagger_types (dict): The key is attribute name
|
|
31
|
+
and the value is attribute type.
|
|
32
|
+
attribute_map (dict): The key is attribute name
|
|
33
|
+
and the value is json key in definition.
|
|
34
|
+
"""
|
|
35
|
+
swagger_types = {
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
attribute_map = {
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
def __init__(self, _configuration=None): # noqa: E501
|
|
42
|
+
"""ModifyCenInterRegionBandwidthAttributesResponse - a model defined in Swagger""" # noqa: E501
|
|
43
|
+
if _configuration is None:
|
|
44
|
+
_configuration = Configuration()
|
|
45
|
+
self._configuration = _configuration
|
|
46
|
+
self.discriminator = None
|
|
47
|
+
|
|
48
|
+
def to_dict(self):
|
|
49
|
+
"""Returns the model properties as a dict"""
|
|
50
|
+
result = {}
|
|
51
|
+
|
|
52
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
53
|
+
value = getattr(self, attr)
|
|
54
|
+
if isinstance(value, list):
|
|
55
|
+
result[attr] = list(map(
|
|
56
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
57
|
+
value
|
|
58
|
+
))
|
|
59
|
+
elif hasattr(value, "to_dict"):
|
|
60
|
+
result[attr] = value.to_dict()
|
|
61
|
+
elif isinstance(value, dict):
|
|
62
|
+
result[attr] = dict(map(
|
|
63
|
+
lambda item: (item[0], item[1].to_dict())
|
|
64
|
+
if hasattr(item[1], "to_dict") else item,
|
|
65
|
+
value.items()
|
|
66
|
+
))
|
|
67
|
+
else:
|
|
68
|
+
result[attr] = value
|
|
69
|
+
if issubclass(ModifyCenInterRegionBandwidthAttributesResponse, dict):
|
|
70
|
+
for key, value in self.items():
|
|
71
|
+
result[key] = value
|
|
72
|
+
|
|
73
|
+
return result
|
|
74
|
+
|
|
75
|
+
def to_str(self):
|
|
76
|
+
"""Returns the string representation of the model"""
|
|
77
|
+
return pprint.pformat(self.to_dict())
|
|
78
|
+
|
|
79
|
+
def __repr__(self):
|
|
80
|
+
"""For `print` and `pprint`"""
|
|
81
|
+
return self.to_str()
|
|
82
|
+
|
|
83
|
+
def __eq__(self, other):
|
|
84
|
+
"""Returns true if both objects are equal"""
|
|
85
|
+
if not isinstance(other, ModifyCenInterRegionBandwidthAttributesResponse):
|
|
86
|
+
return False
|
|
87
|
+
|
|
88
|
+
return self.to_dict() == other.to_dict()
|
|
89
|
+
|
|
90
|
+
def __ne__(self, other):
|
|
91
|
+
"""Returns true if both objects are not equal"""
|
|
92
|
+
if not isinstance(other, ModifyCenInterRegionBandwidthAttributesResponse):
|
|
93
|
+
return True
|
|
94
|
+
|
|
95
|
+
return self.to_dict() != other.to_dict()
|