byteplus-python-sdk-v2 3.0.52__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.
Files changed (184) hide show
  1. {byteplus_python_sdk_v2-3.0.52.dist-info → byteplus_python_sdk_v2-3.0.53.dist-info}/METADATA +1 -1
  2. {byteplus_python_sdk_v2-3.0.52.dist-info → byteplus_python_sdk_v2-3.0.53.dist-info}/RECORD +184 -43
  3. {byteplus_python_sdk_v2-3.0.52.dist-info → byteplus_python_sdk_v2-3.0.53.dist-info}/WHEEL +1 -1
  4. {byteplus_python_sdk_v2-3.0.52.dist-info → byteplus_python_sdk_v2-3.0.53.dist-info}/top_level.txt +1 -0
  5. byteplussdkarkruntime/resources/content_generation/tasks.py +4 -0
  6. byteplussdkarkruntime/types/content_generation/content_generation_task.py +3 -0
  7. byteplussdkarkruntime/types/content_generation/create_task_content_param.py +31 -1
  8. byteplussdkcen/__init__.py +133 -0
  9. byteplussdkcen/api/__init__.py +6 -0
  10. byteplussdkcen/api/cen_api.py +4205 -0
  11. byteplussdkcen/models/__init__.py +129 -0
  12. byteplussdkcen/models/associate_cen_bandwidth_package_request.py +151 -0
  13. byteplussdkcen/models/associate_cen_bandwidth_package_response.py +95 -0
  14. byteplussdkcen/models/attach_instance_to_cen_request.py +231 -0
  15. byteplussdkcen/models/attach_instance_to_cen_response.py +95 -0
  16. byteplussdkcen/models/attached_instance_for_describe_cen_attached_instances_output.py +279 -0
  17. byteplussdkcen/models/cen_bandwidth_package_for_describe_cen_bandwidth_packages_billing_output.py +279 -0
  18. byteplussdkcen/models/cen_bandwidth_package_for_describe_cen_bandwidth_packages_output.py +617 -0
  19. byteplussdkcen/models/cen_for_describe_cens_output.py +357 -0
  20. byteplussdkcen/models/cen_grant_rule_for_describe_grant_rules_to_cen_output.py +253 -0
  21. byteplussdkcen/models/cen_grant_rule_for_describe_instance_granted_rules_output.py +253 -0
  22. byteplussdkcen/models/cen_route_entry_for_describe_cen_route_entries_output.py +331 -0
  23. byteplussdkcen/models/cen_summary_route_entry_for_describe_cen_summary_route_entries_output.py +253 -0
  24. byteplussdkcen/models/create_cen_bandwidth_package_request.py +462 -0
  25. byteplussdkcen/models/create_cen_bandwidth_package_response.py +123 -0
  26. byteplussdkcen/models/create_cen_inter_region_bandwidth_request.py +231 -0
  27. byteplussdkcen/models/create_cen_inter_region_bandwidth_response.py +123 -0
  28. byteplussdkcen/models/create_cen_request.py +230 -0
  29. byteplussdkcen/models/create_cen_response.py +123 -0
  30. byteplussdkcen/models/create_cen_service_route_entry_request.py +283 -0
  31. byteplussdkcen/models/create_cen_service_route_entry_response.py +95 -0
  32. byteplussdkcen/models/create_cen_summary_route_entry_request.py +177 -0
  33. byteplussdkcen/models/create_cen_summary_route_entry_response.py +95 -0
  34. byteplussdkcen/models/delete_cen_bandwidth_package_request.py +124 -0
  35. byteplussdkcen/models/delete_cen_bandwidth_package_response.py +95 -0
  36. byteplussdkcen/models/delete_cen_inter_region_bandwidth_request.py +124 -0
  37. byteplussdkcen/models/delete_cen_inter_region_bandwidth_response.py +95 -0
  38. byteplussdkcen/models/delete_cen_request.py +124 -0
  39. byteplussdkcen/models/delete_cen_response.py +95 -0
  40. byteplussdkcen/models/delete_cen_service_route_entry_request.py +178 -0
  41. byteplussdkcen/models/delete_cen_service_route_entry_response.py +95 -0
  42. byteplussdkcen/models/delete_cen_summary_route_entry_request.py +151 -0
  43. byteplussdkcen/models/delete_cen_summary_route_entry_response.py +95 -0
  44. byteplussdkcen/models/describe95_traffic_request.py +178 -0
  45. byteplussdkcen/models/describe95_traffic_response.py +123 -0
  46. byteplussdkcen/models/describe_cen_attached_instance_attributes_request.py +205 -0
  47. byteplussdkcen/models/describe_cen_attached_instance_attributes_response.py +279 -0
  48. byteplussdkcen/models/describe_cen_attached_instances_request.py +253 -0
  49. byteplussdkcen/models/describe_cen_attached_instances_response.py +201 -0
  50. byteplussdkcen/models/describe_cen_attributes_request.py +124 -0
  51. byteplussdkcen/models/describe_cen_attributes_response.py +357 -0
  52. byteplussdkcen/models/describe_cen_bandwidth_package_attributes_request.py +124 -0
  53. byteplussdkcen/models/describe_cen_bandwidth_package_attributes_response.py +591 -0
  54. byteplussdkcen/models/describe_cen_bandwidth_packages_billing_request.py +175 -0
  55. byteplussdkcen/models/describe_cen_bandwidth_packages_billing_response.py +201 -0
  56. byteplussdkcen/models/describe_cen_bandwidth_packages_request.py +331 -0
  57. byteplussdkcen/models/describe_cen_bandwidth_packages_response.py +201 -0
  58. byteplussdkcen/models/describe_cen_inter_region_bandwidth_attributes_request.py +124 -0
  59. byteplussdkcen/models/describe_cen_inter_region_bandwidth_attributes_response.py +331 -0
  60. byteplussdkcen/models/describe_cen_inter_region_bandwidths_request.py +201 -0
  61. byteplussdkcen/models/describe_cen_inter_region_bandwidths_response.py +201 -0
  62. byteplussdkcen/models/describe_cen_route_entries_request.py +279 -0
  63. byteplussdkcen/models/describe_cen_route_entries_response.py +201 -0
  64. byteplussdkcen/models/describe_cen_service_route_entries_request.py +279 -0
  65. byteplussdkcen/models/describe_cen_service_route_entries_response.py +201 -0
  66. byteplussdkcen/models/describe_cen_summary_route_entries_request.py +202 -0
  67. byteplussdkcen/models/describe_cen_summary_route_entries_response.py +201 -0
  68. byteplussdkcen/models/describe_cens_request.py +253 -0
  69. byteplussdkcen/models/describe_cens_response.py +201 -0
  70. byteplussdkcen/models/describe_grant_rules_to_cen_request.py +260 -0
  71. byteplussdkcen/models/describe_grant_rules_to_cen_response.py +201 -0
  72. byteplussdkcen/models/describe_instance_granted_rules_request.py +234 -0
  73. byteplussdkcen/models/describe_instance_granted_rules_response.py +201 -0
  74. byteplussdkcen/models/detach_instance_from_cen_request.py +205 -0
  75. byteplussdkcen/models/detach_instance_from_cen_response.py +95 -0
  76. byteplussdkcen/models/disassociate_cen_bandwidth_package_request.py +151 -0
  77. byteplussdkcen/models/disassociate_cen_bandwidth_package_response.py +95 -0
  78. byteplussdkcen/models/grant_instance_to_cen_request.py +239 -0
  79. byteplussdkcen/models/grant_instance_to_cen_response.py +95 -0
  80. byteplussdkcen/models/inter_region_bandwidth_for_describe_cen_inter_region_bandwidths_output.py +331 -0
  81. byteplussdkcen/models/list_tags_for_resources_request.py +264 -0
  82. byteplussdkcen/models/list_tags_for_resources_response.py +149 -0
  83. byteplussdkcen/models/modify_cen_attributes_request.py +176 -0
  84. byteplussdkcen/models/modify_cen_attributes_response.py +95 -0
  85. byteplussdkcen/models/modify_cen_bandwidth_package_association_request.py +151 -0
  86. byteplussdkcen/models/modify_cen_bandwidth_package_association_response.py +95 -0
  87. byteplussdkcen/models/modify_cen_bandwidth_package_attributes_request.py +214 -0
  88. byteplussdkcen/models/modify_cen_bandwidth_package_attributes_response.py +95 -0
  89. byteplussdkcen/models/modify_cen_inter_region_bandwidth_attributes_request.py +176 -0
  90. byteplussdkcen/models/modify_cen_inter_region_bandwidth_attributes_response.py +95 -0
  91. byteplussdkcen/models/modify_cen_service_route_entry_attributes_request.py +256 -0
  92. byteplussdkcen/models/modify_cen_service_route_entry_attributes_response.py +95 -0
  93. byteplussdkcen/models/publish_cen_route_entry_request.py +232 -0
  94. byteplussdkcen/models/publish_cen_route_entry_response.py +95 -0
  95. byteplussdkcen/models/publish_to_instance_for_create_cen_service_route_entry_input.py +175 -0
  96. byteplussdkcen/models/publish_to_instance_for_describe_cen_service_route_entries_output.py +175 -0
  97. byteplussdkcen/models/publish_to_instance_for_modify_cen_service_route_entry_attributes_input.py +175 -0
  98. byteplussdkcen/models/renew_cen_bandwidth_package_request.py +176 -0
  99. byteplussdkcen/models/renew_cen_bandwidth_package_response.py +95 -0
  100. byteplussdkcen/models/resource_tag_for_list_tags_for_resources_output.py +201 -0
  101. byteplussdkcen/models/revoke_instance_from_cen_request.py +239 -0
  102. byteplussdkcen/models/revoke_instance_from_cen_response.py +95 -0
  103. byteplussdkcen/models/service_route_entry_for_describe_cen_service_route_entries_output.py +331 -0
  104. byteplussdkcen/models/set_cen_bandwidth_package_renewal_request.py +203 -0
  105. byteplussdkcen/models/set_cen_bandwidth_package_renewal_response.py +95 -0
  106. byteplussdkcen/models/tag_filter_for_describe_cen_bandwidth_packages_input.py +149 -0
  107. byteplussdkcen/models/tag_filter_for_describe_cens_input.py +149 -0
  108. byteplussdkcen/models/tag_filter_for_list_tags_for_resources_input.py +149 -0
  109. byteplussdkcen/models/tag_for_create_cen_bandwidth_package_input.py +149 -0
  110. byteplussdkcen/models/tag_for_create_cen_input.py +149 -0
  111. byteplussdkcen/models/tag_for_describe_cen_attributes_output.py +149 -0
  112. byteplussdkcen/models/tag_for_describe_cen_bandwidth_package_attributes_output.py +149 -0
  113. byteplussdkcen/models/tag_for_describe_cen_bandwidth_packages_output.py +149 -0
  114. byteplussdkcen/models/tag_for_describe_cens_output.py +149 -0
  115. byteplussdkcen/models/tag_for_tag_resources_input.py +150 -0
  116. byteplussdkcen/models/tag_resources_request.py +183 -0
  117. byteplussdkcen/models/tag_resources_response.py +95 -0
  118. byteplussdkcen/models/traffic_data_for_describe95_traffic_output.py +201 -0
  119. byteplussdkcen/models/traffic_detail_data_for_describe95_traffic_output.py +175 -0
  120. byteplussdkcen/models/untag_resources_request.py +183 -0
  121. byteplussdkcen/models/untag_resources_response.py +95 -0
  122. byteplussdkcen/models/withdraw_cen_route_entry_request.py +232 -0
  123. byteplussdkcen/models/withdraw_cen_route_entry_response.py +95 -0
  124. byteplussdkcore/api_client.py +1 -1
  125. byteplussdkcore/configuration.py +1 -1
  126. byteplussdkcore/endpoint/providers/default_provider.py +14 -0
  127. byteplussdkexamples/byteplussdkarkruntime/content_generation_tasks.py +8 -0
  128. byteplussdktransitrouter/__init__.py +24 -1
  129. byteplussdktransitrouter/api/transitrouter_api.py +983 -13
  130. byteplussdktransitrouter/models/__init__.py +24 -1
  131. byteplussdktransitrouter/models/accept_shared_transit_router_request.py +124 -0
  132. byteplussdktransitrouter/models/accept_shared_transit_router_response.py +95 -0
  133. byteplussdktransitrouter/models/accept_transit_router_peer_attachment_request.py +124 -0
  134. byteplussdktransitrouter/models/accept_transit_router_peer_attachment_response.py +95 -0
  135. byteplussdktransitrouter/models/create_transit_router_grant_rule_request.py +177 -0
  136. byteplussdktransitrouter/models/create_transit_router_grant_rule_response.py +95 -0
  137. byteplussdktransitrouter/models/create_transit_router_peer_attachment_request.py +79 -1
  138. byteplussdktransitrouter/models/create_transit_router_route_entry_request.py +29 -4
  139. byteplussdktransitrouter/models/create_transit_router_route_policy_entry_request.py +33 -1
  140. byteplussdktransitrouter/models/create_transit_router_traffic_qos_queue_entry_request.py +39 -4
  141. byteplussdktransitrouter/models/create_transit_router_vpn_attachment_request.py +27 -1
  142. byteplussdktransitrouter/models/delete_transit_router_grant_rule_request.py +151 -0
  143. byteplussdktransitrouter/models/delete_transit_router_grant_rule_response.py +95 -0
  144. byteplussdktransitrouter/models/describe95_traffic_request.py +185 -0
  145. byteplussdktransitrouter/models/describe95_traffic_response.py +123 -0
  146. byteplussdktransitrouter/models/describe_transit_router_attachments_request.py +3 -0
  147. byteplussdktransitrouter/models/describe_transit_router_grant_rules_request.py +202 -0
  148. byteplussdktransitrouter/models/describe_transit_router_grant_rules_response.py +201 -0
  149. byteplussdktransitrouter/models/describe_transit_router_multicast_domains_response.py +3 -3
  150. byteplussdktransitrouter/models/describe_transit_router_route_entries_request.py +3 -0
  151. byteplussdktransitrouter/models/describe_transit_router_route_policy_entries_request.py +3 -0
  152. byteplussdktransitrouter/models/describe_transit_router_traffic_qos_queue_entries_request.py +3 -0
  153. byteplussdktransitrouter/models/describe_transit_router_vpn_attachments_request.py +3 -0
  154. byteplussdktransitrouter/models/describe_transit_routers_request.py +3 -0
  155. byteplussdktransitrouter/models/enable_transit_router_route_table_propagation_request.py +27 -1
  156. byteplussdktransitrouter/models/models.py +1522 -1447
  157. byteplussdktransitrouter/models/modify_transit_router_attributes_request.py +34 -1
  158. byteplussdktransitrouter/models/modify_transit_router_grant_rule_attributes_request.py +177 -0
  159. byteplussdktransitrouter/models/modify_transit_router_grant_rule_attributes_response.py +95 -0
  160. byteplussdktransitrouter/models/modify_transit_router_peer_attachment_attributes_request.py +53 -1
  161. byteplussdktransitrouter/models/modify_transit_router_route_policy_entry_attributes_request.py +33 -1
  162. byteplussdktransitrouter/models/modify_transit_router_traffic_qos_queue_entry_attributes_request.py +208 -0
  163. byteplussdktransitrouter/models/modify_transit_router_traffic_qos_queue_entry_attributes_response.py +95 -0
  164. byteplussdktransitrouter/models/reject_shared_transit_router_request.py +124 -0
  165. byteplussdktransitrouter/models/reject_shared_transit_router_response.py +95 -0
  166. byteplussdktransitrouter/models/reject_transit_router_peer_attachment_request.py +124 -0
  167. byteplussdktransitrouter/models/reject_transit_router_peer_attachment_response.py +95 -0
  168. byteplussdktransitrouter/models/traffic_data_for_describe95_traffic_output.py +201 -0
  169. byteplussdktransitrouter/models/traffic_detail_data_for_describe95_traffic_output.py +175 -0
  170. byteplussdktransitrouter/models/transit_router_attachment_for_describe_transit_router_attachments_output.py +27 -1
  171. byteplussdktransitrouter/models/transit_router_attachment_for_describe_transit_router_peer_attachments_output.py +105 -1
  172. byteplussdktransitrouter/models/transit_router_attachment_for_describe_transit_router_vpn_attachments_output.py +27 -1
  173. byteplussdktransitrouter/models/transit_router_for_describe_transit_routers_output.py +27 -1
  174. byteplussdktransitrouter/models/transit_router_grant_rule_for_describe_transit_router_grant_rules_output.py +253 -0
  175. 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
  176. byteplussdktransitrouter/models/transit_router_route_entry_for_describe_transit_router_route_entries_output.py +53 -1
  177. byteplussdkvke/__init__.py +2 -0
  178. byteplussdkvke/api/vke_api.py +97 -0
  179. byteplussdkvke/models/__init__.py +2 -0
  180. byteplussdkvke/models/item_for_list_scaling_policies_output.py +27 -1
  181. byteplussdkvke/models/scale_node_pool_request.py +204 -0
  182. byteplussdkvke/models/scale_node_pool_response.py +95 -0
  183. {byteplus_python_sdk_v2-3.0.52.dist-info → byteplus_python_sdk_v2-3.0.53.dist-info}/licenses/LICENSE.txt +0 -0
  184. {byteplus_python_sdk_v2-3.0.52.dist-info → byteplus_python_sdk_v2-3.0.53.dist-info}/licenses/NOTICE.md +0 -0
@@ -0,0 +1,201 @@
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 DescribeCenBandwidthPackagesResponse(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
+ 'cen_bandwidth_packages': 'list[CenBandwidthPackageForDescribeCenBandwidthPackagesOutput]',
37
+ 'page_number': 'int',
38
+ 'page_size': 'int',
39
+ 'total_count': 'int'
40
+ }
41
+
42
+ attribute_map = {
43
+ 'cen_bandwidth_packages': 'CenBandwidthPackages',
44
+ 'page_number': 'PageNumber',
45
+ 'page_size': 'PageSize',
46
+ 'total_count': 'TotalCount'
47
+ }
48
+
49
+ def __init__(self, cen_bandwidth_packages=None, page_number=None, page_size=None, total_count=None, _configuration=None): # noqa: E501
50
+ """DescribeCenBandwidthPackagesResponse - a model defined in Swagger""" # noqa: E501
51
+ if _configuration is None:
52
+ _configuration = Configuration()
53
+ self._configuration = _configuration
54
+
55
+ self._cen_bandwidth_packages = None
56
+ self._page_number = None
57
+ self._page_size = None
58
+ self._total_count = None
59
+ self.discriminator = None
60
+
61
+ if cen_bandwidth_packages is not None:
62
+ self.cen_bandwidth_packages = cen_bandwidth_packages
63
+ if page_number is not None:
64
+ self.page_number = page_number
65
+ if page_size is not None:
66
+ self.page_size = page_size
67
+ if total_count is not None:
68
+ self.total_count = total_count
69
+
70
+ @property
71
+ def cen_bandwidth_packages(self):
72
+ """Gets the cen_bandwidth_packages of this DescribeCenBandwidthPackagesResponse. # noqa: E501
73
+
74
+
75
+ :return: The cen_bandwidth_packages of this DescribeCenBandwidthPackagesResponse. # noqa: E501
76
+ :rtype: list[CenBandwidthPackageForDescribeCenBandwidthPackagesOutput]
77
+ """
78
+ return self._cen_bandwidth_packages
79
+
80
+ @cen_bandwidth_packages.setter
81
+ def cen_bandwidth_packages(self, cen_bandwidth_packages):
82
+ """Sets the cen_bandwidth_packages of this DescribeCenBandwidthPackagesResponse.
83
+
84
+
85
+ :param cen_bandwidth_packages: The cen_bandwidth_packages of this DescribeCenBandwidthPackagesResponse. # noqa: E501
86
+ :type: list[CenBandwidthPackageForDescribeCenBandwidthPackagesOutput]
87
+ """
88
+
89
+ self._cen_bandwidth_packages = cen_bandwidth_packages
90
+
91
+ @property
92
+ def page_number(self):
93
+ """Gets the page_number of this DescribeCenBandwidthPackagesResponse. # noqa: E501
94
+
95
+
96
+ :return: The page_number of this DescribeCenBandwidthPackagesResponse. # noqa: E501
97
+ :rtype: int
98
+ """
99
+ return self._page_number
100
+
101
+ @page_number.setter
102
+ def page_number(self, page_number):
103
+ """Sets the page_number of this DescribeCenBandwidthPackagesResponse.
104
+
105
+
106
+ :param page_number: The page_number of this DescribeCenBandwidthPackagesResponse. # noqa: E501
107
+ :type: int
108
+ """
109
+
110
+ self._page_number = page_number
111
+
112
+ @property
113
+ def page_size(self):
114
+ """Gets the page_size of this DescribeCenBandwidthPackagesResponse. # noqa: E501
115
+
116
+
117
+ :return: The page_size of this DescribeCenBandwidthPackagesResponse. # noqa: E501
118
+ :rtype: int
119
+ """
120
+ return self._page_size
121
+
122
+ @page_size.setter
123
+ def page_size(self, page_size):
124
+ """Sets the page_size of this DescribeCenBandwidthPackagesResponse.
125
+
126
+
127
+ :param page_size: The page_size of this DescribeCenBandwidthPackagesResponse. # noqa: E501
128
+ :type: int
129
+ """
130
+
131
+ self._page_size = page_size
132
+
133
+ @property
134
+ def total_count(self):
135
+ """Gets the total_count of this DescribeCenBandwidthPackagesResponse. # noqa: E501
136
+
137
+
138
+ :return: The total_count of this DescribeCenBandwidthPackagesResponse. # noqa: E501
139
+ :rtype: int
140
+ """
141
+ return self._total_count
142
+
143
+ @total_count.setter
144
+ def total_count(self, total_count):
145
+ """Sets the total_count of this DescribeCenBandwidthPackagesResponse.
146
+
147
+
148
+ :param total_count: The total_count of this DescribeCenBandwidthPackagesResponse. # noqa: E501
149
+ :type: int
150
+ """
151
+
152
+ self._total_count = total_count
153
+
154
+ def to_dict(self):
155
+ """Returns the model properties as a dict"""
156
+ result = {}
157
+
158
+ for attr, _ in six.iteritems(self.swagger_types):
159
+ value = getattr(self, attr)
160
+ if isinstance(value, list):
161
+ result[attr] = list(map(
162
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
163
+ value
164
+ ))
165
+ elif hasattr(value, "to_dict"):
166
+ result[attr] = value.to_dict()
167
+ elif isinstance(value, dict):
168
+ result[attr] = dict(map(
169
+ lambda item: (item[0], item[1].to_dict())
170
+ if hasattr(item[1], "to_dict") else item,
171
+ value.items()
172
+ ))
173
+ else:
174
+ result[attr] = value
175
+ if issubclass(DescribeCenBandwidthPackagesResponse, dict):
176
+ for key, value in self.items():
177
+ result[key] = value
178
+
179
+ return result
180
+
181
+ def to_str(self):
182
+ """Returns the string representation of the model"""
183
+ return pprint.pformat(self.to_dict())
184
+
185
+ def __repr__(self):
186
+ """For `print` and `pprint`"""
187
+ return self.to_str()
188
+
189
+ def __eq__(self, other):
190
+ """Returns true if both objects are equal"""
191
+ if not isinstance(other, DescribeCenBandwidthPackagesResponse):
192
+ return False
193
+
194
+ return self.to_dict() == other.to_dict()
195
+
196
+ def __ne__(self, other):
197
+ """Returns true if both objects are not equal"""
198
+ if not isinstance(other, DescribeCenBandwidthPackagesResponse):
199
+ return True
200
+
201
+ return self.to_dict() != other.to_dict()
@@ -0,0 +1,124 @@
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 DescribeCenInterRegionBandwidthAttributesRequest(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
+ 'inter_region_bandwidth_id': 'str'
37
+ }
38
+
39
+ attribute_map = {
40
+ 'inter_region_bandwidth_id': 'InterRegionBandwidthId'
41
+ }
42
+
43
+ def __init__(self, inter_region_bandwidth_id=None, _configuration=None): # noqa: E501
44
+ """DescribeCenInterRegionBandwidthAttributesRequest - a model defined in Swagger""" # noqa: E501
45
+ if _configuration is None:
46
+ _configuration = Configuration()
47
+ self._configuration = _configuration
48
+
49
+ self._inter_region_bandwidth_id = None
50
+ self.discriminator = None
51
+
52
+ self.inter_region_bandwidth_id = inter_region_bandwidth_id
53
+
54
+ @property
55
+ def inter_region_bandwidth_id(self):
56
+ """Gets the inter_region_bandwidth_id of this DescribeCenInterRegionBandwidthAttributesRequest. # noqa: E501
57
+
58
+
59
+ :return: The inter_region_bandwidth_id of this DescribeCenInterRegionBandwidthAttributesRequest. # noqa: E501
60
+ :rtype: str
61
+ """
62
+ return self._inter_region_bandwidth_id
63
+
64
+ @inter_region_bandwidth_id.setter
65
+ def inter_region_bandwidth_id(self, inter_region_bandwidth_id):
66
+ """Sets the inter_region_bandwidth_id of this DescribeCenInterRegionBandwidthAttributesRequest.
67
+
68
+
69
+ :param inter_region_bandwidth_id: The inter_region_bandwidth_id of this DescribeCenInterRegionBandwidthAttributesRequest. # noqa: E501
70
+ :type: str
71
+ """
72
+ if self._configuration.client_side_validation and inter_region_bandwidth_id is None:
73
+ raise ValueError("Invalid value for `inter_region_bandwidth_id`, must not be `None`") # noqa: E501
74
+
75
+ self._inter_region_bandwidth_id = inter_region_bandwidth_id
76
+
77
+ def to_dict(self):
78
+ """Returns the model properties as a dict"""
79
+ result = {}
80
+
81
+ for attr, _ in six.iteritems(self.swagger_types):
82
+ value = getattr(self, attr)
83
+ if isinstance(value, list):
84
+ result[attr] = list(map(
85
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
86
+ value
87
+ ))
88
+ elif hasattr(value, "to_dict"):
89
+ result[attr] = value.to_dict()
90
+ elif isinstance(value, dict):
91
+ result[attr] = dict(map(
92
+ lambda item: (item[0], item[1].to_dict())
93
+ if hasattr(item[1], "to_dict") else item,
94
+ value.items()
95
+ ))
96
+ else:
97
+ result[attr] = value
98
+ if issubclass(DescribeCenInterRegionBandwidthAttributesRequest, dict):
99
+ for key, value in self.items():
100
+ result[key] = value
101
+
102
+ return result
103
+
104
+ def to_str(self):
105
+ """Returns the string representation of the model"""
106
+ return pprint.pformat(self.to_dict())
107
+
108
+ def __repr__(self):
109
+ """For `print` and `pprint`"""
110
+ return self.to_str()
111
+
112
+ def __eq__(self, other):
113
+ """Returns true if both objects are equal"""
114
+ if not isinstance(other, DescribeCenInterRegionBandwidthAttributesRequest):
115
+ return False
116
+
117
+ return self.to_dict() == other.to_dict()
118
+
119
+ def __ne__(self, other):
120
+ """Returns true if both objects are not equal"""
121
+ if not isinstance(other, DescribeCenInterRegionBandwidthAttributesRequest):
122
+ return True
123
+
124
+ return self.to_dict() != other.to_dict()
@@ -0,0 +1,331 @@
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 DescribeCenInterRegionBandwidthAttributesResponse(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_id': 'str',
39
+ 'creation_time': 'str',
40
+ 'inter_region_bandwidth_id': 'str',
41
+ 'local_region_id': 'str',
42
+ 'peer_region_id': 'str',
43
+ 'status': 'str',
44
+ 'update_time': 'str'
45
+ }
46
+
47
+ attribute_map = {
48
+ 'bandwidth': 'Bandwidth',
49
+ 'cen_bandwidth_package_id': 'CenBandwidthPackageId',
50
+ 'cen_id': 'CenId',
51
+ 'creation_time': 'CreationTime',
52
+ 'inter_region_bandwidth_id': 'InterRegionBandwidthId',
53
+ 'local_region_id': 'LocalRegionId',
54
+ 'peer_region_id': 'PeerRegionId',
55
+ 'status': 'Status',
56
+ 'update_time': 'UpdateTime'
57
+ }
58
+
59
+ def __init__(self, bandwidth=None, cen_bandwidth_package_id=None, cen_id=None, creation_time=None, inter_region_bandwidth_id=None, local_region_id=None, peer_region_id=None, status=None, update_time=None, _configuration=None): # noqa: E501
60
+ """DescribeCenInterRegionBandwidthAttributesResponse - a model defined in Swagger""" # noqa: E501
61
+ if _configuration is None:
62
+ _configuration = Configuration()
63
+ self._configuration = _configuration
64
+
65
+ self._bandwidth = None
66
+ self._cen_bandwidth_package_id = None
67
+ self._cen_id = None
68
+ self._creation_time = None
69
+ self._inter_region_bandwidth_id = None
70
+ self._local_region_id = None
71
+ self._peer_region_id = None
72
+ self._status = None
73
+ self._update_time = None
74
+ self.discriminator = None
75
+
76
+ if bandwidth is not None:
77
+ self.bandwidth = bandwidth
78
+ if cen_bandwidth_package_id is not None:
79
+ self.cen_bandwidth_package_id = cen_bandwidth_package_id
80
+ if cen_id is not None:
81
+ self.cen_id = cen_id
82
+ if creation_time is not None:
83
+ self.creation_time = creation_time
84
+ if inter_region_bandwidth_id is not None:
85
+ self.inter_region_bandwidth_id = inter_region_bandwidth_id
86
+ if local_region_id is not None:
87
+ self.local_region_id = local_region_id
88
+ if peer_region_id is not None:
89
+ self.peer_region_id = peer_region_id
90
+ if status is not None:
91
+ self.status = status
92
+ if update_time is not None:
93
+ self.update_time = update_time
94
+
95
+ @property
96
+ def bandwidth(self):
97
+ """Gets the bandwidth of this DescribeCenInterRegionBandwidthAttributesResponse. # noqa: E501
98
+
99
+
100
+ :return: The bandwidth of this DescribeCenInterRegionBandwidthAttributesResponse. # noqa: E501
101
+ :rtype: int
102
+ """
103
+ return self._bandwidth
104
+
105
+ @bandwidth.setter
106
+ def bandwidth(self, bandwidth):
107
+ """Sets the bandwidth of this DescribeCenInterRegionBandwidthAttributesResponse.
108
+
109
+
110
+ :param bandwidth: The bandwidth of this DescribeCenInterRegionBandwidthAttributesResponse. # noqa: E501
111
+ :type: int
112
+ """
113
+
114
+ self._bandwidth = bandwidth
115
+
116
+ @property
117
+ def cen_bandwidth_package_id(self):
118
+ """Gets the cen_bandwidth_package_id of this DescribeCenInterRegionBandwidthAttributesResponse. # noqa: E501
119
+
120
+
121
+ :return: The cen_bandwidth_package_id of this DescribeCenInterRegionBandwidthAttributesResponse. # noqa: E501
122
+ :rtype: str
123
+ """
124
+ return self._cen_bandwidth_package_id
125
+
126
+ @cen_bandwidth_package_id.setter
127
+ def cen_bandwidth_package_id(self, cen_bandwidth_package_id):
128
+ """Sets the cen_bandwidth_package_id of this DescribeCenInterRegionBandwidthAttributesResponse.
129
+
130
+
131
+ :param cen_bandwidth_package_id: The cen_bandwidth_package_id of this DescribeCenInterRegionBandwidthAttributesResponse. # noqa: E501
132
+ :type: str
133
+ """
134
+
135
+ self._cen_bandwidth_package_id = cen_bandwidth_package_id
136
+
137
+ @property
138
+ def cen_id(self):
139
+ """Gets the cen_id of this DescribeCenInterRegionBandwidthAttributesResponse. # noqa: E501
140
+
141
+
142
+ :return: The cen_id of this DescribeCenInterRegionBandwidthAttributesResponse. # noqa: E501
143
+ :rtype: str
144
+ """
145
+ return self._cen_id
146
+
147
+ @cen_id.setter
148
+ def cen_id(self, cen_id):
149
+ """Sets the cen_id of this DescribeCenInterRegionBandwidthAttributesResponse.
150
+
151
+
152
+ :param cen_id: The cen_id of this DescribeCenInterRegionBandwidthAttributesResponse. # noqa: E501
153
+ :type: str
154
+ """
155
+
156
+ self._cen_id = cen_id
157
+
158
+ @property
159
+ def creation_time(self):
160
+ """Gets the creation_time of this DescribeCenInterRegionBandwidthAttributesResponse. # noqa: E501
161
+
162
+
163
+ :return: The creation_time of this DescribeCenInterRegionBandwidthAttributesResponse. # noqa: E501
164
+ :rtype: str
165
+ """
166
+ return self._creation_time
167
+
168
+ @creation_time.setter
169
+ def creation_time(self, creation_time):
170
+ """Sets the creation_time of this DescribeCenInterRegionBandwidthAttributesResponse.
171
+
172
+
173
+ :param creation_time: The creation_time of this DescribeCenInterRegionBandwidthAttributesResponse. # noqa: E501
174
+ :type: str
175
+ """
176
+
177
+ self._creation_time = creation_time
178
+
179
+ @property
180
+ def inter_region_bandwidth_id(self):
181
+ """Gets the inter_region_bandwidth_id of this DescribeCenInterRegionBandwidthAttributesResponse. # noqa: E501
182
+
183
+
184
+ :return: The inter_region_bandwidth_id of this DescribeCenInterRegionBandwidthAttributesResponse. # noqa: E501
185
+ :rtype: str
186
+ """
187
+ return self._inter_region_bandwidth_id
188
+
189
+ @inter_region_bandwidth_id.setter
190
+ def inter_region_bandwidth_id(self, inter_region_bandwidth_id):
191
+ """Sets the inter_region_bandwidth_id of this DescribeCenInterRegionBandwidthAttributesResponse.
192
+
193
+
194
+ :param inter_region_bandwidth_id: The inter_region_bandwidth_id of this DescribeCenInterRegionBandwidthAttributesResponse. # noqa: E501
195
+ :type: str
196
+ """
197
+
198
+ self._inter_region_bandwidth_id = inter_region_bandwidth_id
199
+
200
+ @property
201
+ def local_region_id(self):
202
+ """Gets the local_region_id of this DescribeCenInterRegionBandwidthAttributesResponse. # noqa: E501
203
+
204
+
205
+ :return: The local_region_id of this DescribeCenInterRegionBandwidthAttributesResponse. # noqa: E501
206
+ :rtype: str
207
+ """
208
+ return self._local_region_id
209
+
210
+ @local_region_id.setter
211
+ def local_region_id(self, local_region_id):
212
+ """Sets the local_region_id of this DescribeCenInterRegionBandwidthAttributesResponse.
213
+
214
+
215
+ :param local_region_id: The local_region_id of this DescribeCenInterRegionBandwidthAttributesResponse. # noqa: E501
216
+ :type: str
217
+ """
218
+
219
+ self._local_region_id = local_region_id
220
+
221
+ @property
222
+ def peer_region_id(self):
223
+ """Gets the peer_region_id of this DescribeCenInterRegionBandwidthAttributesResponse. # noqa: E501
224
+
225
+
226
+ :return: The peer_region_id of this DescribeCenInterRegionBandwidthAttributesResponse. # noqa: E501
227
+ :rtype: str
228
+ """
229
+ return self._peer_region_id
230
+
231
+ @peer_region_id.setter
232
+ def peer_region_id(self, peer_region_id):
233
+ """Sets the peer_region_id of this DescribeCenInterRegionBandwidthAttributesResponse.
234
+
235
+
236
+ :param peer_region_id: The peer_region_id of this DescribeCenInterRegionBandwidthAttributesResponse. # noqa: E501
237
+ :type: str
238
+ """
239
+
240
+ self._peer_region_id = peer_region_id
241
+
242
+ @property
243
+ def status(self):
244
+ """Gets the status of this DescribeCenInterRegionBandwidthAttributesResponse. # noqa: E501
245
+
246
+
247
+ :return: The status of this DescribeCenInterRegionBandwidthAttributesResponse. # noqa: E501
248
+ :rtype: str
249
+ """
250
+ return self._status
251
+
252
+ @status.setter
253
+ def status(self, status):
254
+ """Sets the status of this DescribeCenInterRegionBandwidthAttributesResponse.
255
+
256
+
257
+ :param status: The status of this DescribeCenInterRegionBandwidthAttributesResponse. # noqa: E501
258
+ :type: str
259
+ """
260
+
261
+ self._status = status
262
+
263
+ @property
264
+ def update_time(self):
265
+ """Gets the update_time of this DescribeCenInterRegionBandwidthAttributesResponse. # noqa: E501
266
+
267
+
268
+ :return: The update_time of this DescribeCenInterRegionBandwidthAttributesResponse. # noqa: E501
269
+ :rtype: str
270
+ """
271
+ return self._update_time
272
+
273
+ @update_time.setter
274
+ def update_time(self, update_time):
275
+ """Sets the update_time of this DescribeCenInterRegionBandwidthAttributesResponse.
276
+
277
+
278
+ :param update_time: The update_time of this DescribeCenInterRegionBandwidthAttributesResponse. # noqa: E501
279
+ :type: str
280
+ """
281
+
282
+ self._update_time = update_time
283
+
284
+ def to_dict(self):
285
+ """Returns the model properties as a dict"""
286
+ result = {}
287
+
288
+ for attr, _ in six.iteritems(self.swagger_types):
289
+ value = getattr(self, attr)
290
+ if isinstance(value, list):
291
+ result[attr] = list(map(
292
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
293
+ value
294
+ ))
295
+ elif hasattr(value, "to_dict"):
296
+ result[attr] = value.to_dict()
297
+ elif isinstance(value, dict):
298
+ result[attr] = dict(map(
299
+ lambda item: (item[0], item[1].to_dict())
300
+ if hasattr(item[1], "to_dict") else item,
301
+ value.items()
302
+ ))
303
+ else:
304
+ result[attr] = value
305
+ if issubclass(DescribeCenInterRegionBandwidthAttributesResponse, dict):
306
+ for key, value in self.items():
307
+ result[key] = value
308
+
309
+ return result
310
+
311
+ def to_str(self):
312
+ """Returns the string representation of the model"""
313
+ return pprint.pformat(self.to_dict())
314
+
315
+ def __repr__(self):
316
+ """For `print` and `pprint`"""
317
+ return self.to_str()
318
+
319
+ def __eq__(self, other):
320
+ """Returns true if both objects are equal"""
321
+ if not isinstance(other, DescribeCenInterRegionBandwidthAttributesResponse):
322
+ return False
323
+
324
+ return self.to_dict() == other.to_dict()
325
+
326
+ def __ne__(self, other):
327
+ """Returns true if both objects are not equal"""
328
+ if not isinstance(other, DescribeCenInterRegionBandwidthAttributesResponse):
329
+ return True
330
+
331
+ return self.to_dict() != other.to_dict()