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,591 @@
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 DescribeCenBandwidthPackageAttributesResponse(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
+ 'account_id': 'str',
37
+ 'bandwidth': 'int',
38
+ 'billing_type': 'int',
39
+ 'business_status': 'str',
40
+ 'cen_bandwidth_package_id': 'str',
41
+ 'cen_bandwidth_package_name': 'str',
42
+ 'cen_ids': 'list[str]',
43
+ 'creation_time': 'str',
44
+ 'deleted_time': 'str',
45
+ 'description': 'str',
46
+ 'expired_time': 'str',
47
+ 'line_operator': 'str',
48
+ 'local_geographic_region_set_id': 'str',
49
+ 'peer_geographic_region_set_id': 'str',
50
+ 'project_name': 'str',
51
+ 'remaining_bandwidth': 'int',
52
+ 'status': 'str',
53
+ 'tags': 'list[TagForDescribeCenBandwidthPackageAttributesOutput]',
54
+ 'update_time': 'str'
55
+ }
56
+
57
+ attribute_map = {
58
+ 'account_id': 'AccountId',
59
+ 'bandwidth': 'Bandwidth',
60
+ 'billing_type': 'BillingType',
61
+ 'business_status': 'BusinessStatus',
62
+ 'cen_bandwidth_package_id': 'CenBandwidthPackageId',
63
+ 'cen_bandwidth_package_name': 'CenBandwidthPackageName',
64
+ 'cen_ids': 'CenIds',
65
+ 'creation_time': 'CreationTime',
66
+ 'deleted_time': 'DeletedTime',
67
+ 'description': 'Description',
68
+ 'expired_time': 'ExpiredTime',
69
+ 'line_operator': 'LineOperator',
70
+ 'local_geographic_region_set_id': 'LocalGeographicRegionSetId',
71
+ 'peer_geographic_region_set_id': 'PeerGeographicRegionSetId',
72
+ 'project_name': 'ProjectName',
73
+ 'remaining_bandwidth': 'RemainingBandwidth',
74
+ 'status': 'Status',
75
+ 'tags': 'Tags',
76
+ 'update_time': 'UpdateTime'
77
+ }
78
+
79
+ def __init__(self, account_id=None, bandwidth=None, billing_type=None, business_status=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, line_operator=None, local_geographic_region_set_id=None, peer_geographic_region_set_id=None, project_name=None, remaining_bandwidth=None, status=None, tags=None, update_time=None, _configuration=None): # noqa: E501
80
+ """DescribeCenBandwidthPackageAttributesResponse - a model defined in Swagger""" # noqa: E501
81
+ if _configuration is None:
82
+ _configuration = Configuration()
83
+ self._configuration = _configuration
84
+
85
+ self._account_id = None
86
+ self._bandwidth = None
87
+ self._billing_type = None
88
+ self._business_status = None
89
+ self._cen_bandwidth_package_id = None
90
+ self._cen_bandwidth_package_name = None
91
+ self._cen_ids = None
92
+ self._creation_time = None
93
+ self._deleted_time = None
94
+ self._description = None
95
+ self._expired_time = None
96
+ self._line_operator = None
97
+ self._local_geographic_region_set_id = None
98
+ self._peer_geographic_region_set_id = None
99
+ self._project_name = None
100
+ self._remaining_bandwidth = None
101
+ self._status = None
102
+ self._tags = None
103
+ self._update_time = None
104
+ self.discriminator = None
105
+
106
+ if account_id is not None:
107
+ self.account_id = account_id
108
+ if bandwidth is not None:
109
+ self.bandwidth = bandwidth
110
+ if billing_type is not None:
111
+ self.billing_type = billing_type
112
+ if business_status is not None:
113
+ self.business_status = business_status
114
+ if cen_bandwidth_package_id is not None:
115
+ self.cen_bandwidth_package_id = cen_bandwidth_package_id
116
+ if cen_bandwidth_package_name is not None:
117
+ self.cen_bandwidth_package_name = cen_bandwidth_package_name
118
+ if cen_ids is not None:
119
+ self.cen_ids = cen_ids
120
+ if creation_time is not None:
121
+ self.creation_time = creation_time
122
+ if deleted_time is not None:
123
+ self.deleted_time = deleted_time
124
+ if description is not None:
125
+ self.description = description
126
+ if expired_time is not None:
127
+ self.expired_time = expired_time
128
+ if line_operator is not None:
129
+ self.line_operator = line_operator
130
+ if local_geographic_region_set_id is not None:
131
+ self.local_geographic_region_set_id = local_geographic_region_set_id
132
+ if peer_geographic_region_set_id is not None:
133
+ self.peer_geographic_region_set_id = peer_geographic_region_set_id
134
+ if project_name is not None:
135
+ self.project_name = project_name
136
+ if remaining_bandwidth is not None:
137
+ self.remaining_bandwidth = remaining_bandwidth
138
+ if status is not None:
139
+ self.status = status
140
+ if tags is not None:
141
+ self.tags = tags
142
+ if update_time is not None:
143
+ self.update_time = update_time
144
+
145
+ @property
146
+ def account_id(self):
147
+ """Gets the account_id of this DescribeCenBandwidthPackageAttributesResponse. # noqa: E501
148
+
149
+
150
+ :return: The account_id of this DescribeCenBandwidthPackageAttributesResponse. # noqa: E501
151
+ :rtype: str
152
+ """
153
+ return self._account_id
154
+
155
+ @account_id.setter
156
+ def account_id(self, account_id):
157
+ """Sets the account_id of this DescribeCenBandwidthPackageAttributesResponse.
158
+
159
+
160
+ :param account_id: The account_id of this DescribeCenBandwidthPackageAttributesResponse. # noqa: E501
161
+ :type: str
162
+ """
163
+
164
+ self._account_id = account_id
165
+
166
+ @property
167
+ def bandwidth(self):
168
+ """Gets the bandwidth of this DescribeCenBandwidthPackageAttributesResponse. # noqa: E501
169
+
170
+
171
+ :return: The bandwidth of this DescribeCenBandwidthPackageAttributesResponse. # noqa: E501
172
+ :rtype: int
173
+ """
174
+ return self._bandwidth
175
+
176
+ @bandwidth.setter
177
+ def bandwidth(self, bandwidth):
178
+ """Sets the bandwidth of this DescribeCenBandwidthPackageAttributesResponse.
179
+
180
+
181
+ :param bandwidth: The bandwidth of this DescribeCenBandwidthPackageAttributesResponse. # noqa: E501
182
+ :type: int
183
+ """
184
+
185
+ self._bandwidth = bandwidth
186
+
187
+ @property
188
+ def billing_type(self):
189
+ """Gets the billing_type of this DescribeCenBandwidthPackageAttributesResponse. # noqa: E501
190
+
191
+
192
+ :return: The billing_type of this DescribeCenBandwidthPackageAttributesResponse. # noqa: E501
193
+ :rtype: int
194
+ """
195
+ return self._billing_type
196
+
197
+ @billing_type.setter
198
+ def billing_type(self, billing_type):
199
+ """Sets the billing_type of this DescribeCenBandwidthPackageAttributesResponse.
200
+
201
+
202
+ :param billing_type: The billing_type of this DescribeCenBandwidthPackageAttributesResponse. # noqa: E501
203
+ :type: int
204
+ """
205
+
206
+ self._billing_type = billing_type
207
+
208
+ @property
209
+ def business_status(self):
210
+ """Gets the business_status of this DescribeCenBandwidthPackageAttributesResponse. # noqa: E501
211
+
212
+
213
+ :return: The business_status of this DescribeCenBandwidthPackageAttributesResponse. # noqa: E501
214
+ :rtype: str
215
+ """
216
+ return self._business_status
217
+
218
+ @business_status.setter
219
+ def business_status(self, business_status):
220
+ """Sets the business_status of this DescribeCenBandwidthPackageAttributesResponse.
221
+
222
+
223
+ :param business_status: The business_status of this DescribeCenBandwidthPackageAttributesResponse. # noqa: E501
224
+ :type: str
225
+ """
226
+
227
+ self._business_status = business_status
228
+
229
+ @property
230
+ def cen_bandwidth_package_id(self):
231
+ """Gets the cen_bandwidth_package_id of this DescribeCenBandwidthPackageAttributesResponse. # noqa: E501
232
+
233
+
234
+ :return: The cen_bandwidth_package_id of this DescribeCenBandwidthPackageAttributesResponse. # noqa: E501
235
+ :rtype: str
236
+ """
237
+ return self._cen_bandwidth_package_id
238
+
239
+ @cen_bandwidth_package_id.setter
240
+ def cen_bandwidth_package_id(self, cen_bandwidth_package_id):
241
+ """Sets the cen_bandwidth_package_id of this DescribeCenBandwidthPackageAttributesResponse.
242
+
243
+
244
+ :param cen_bandwidth_package_id: The cen_bandwidth_package_id of this DescribeCenBandwidthPackageAttributesResponse. # noqa: E501
245
+ :type: str
246
+ """
247
+
248
+ self._cen_bandwidth_package_id = cen_bandwidth_package_id
249
+
250
+ @property
251
+ def cen_bandwidth_package_name(self):
252
+ """Gets the cen_bandwidth_package_name of this DescribeCenBandwidthPackageAttributesResponse. # noqa: E501
253
+
254
+
255
+ :return: The cen_bandwidth_package_name of this DescribeCenBandwidthPackageAttributesResponse. # noqa: E501
256
+ :rtype: str
257
+ """
258
+ return self._cen_bandwidth_package_name
259
+
260
+ @cen_bandwidth_package_name.setter
261
+ def cen_bandwidth_package_name(self, cen_bandwidth_package_name):
262
+ """Sets the cen_bandwidth_package_name of this DescribeCenBandwidthPackageAttributesResponse.
263
+
264
+
265
+ :param cen_bandwidth_package_name: The cen_bandwidth_package_name of this DescribeCenBandwidthPackageAttributesResponse. # noqa: E501
266
+ :type: str
267
+ """
268
+
269
+ self._cen_bandwidth_package_name = cen_bandwidth_package_name
270
+
271
+ @property
272
+ def cen_ids(self):
273
+ """Gets the cen_ids of this DescribeCenBandwidthPackageAttributesResponse. # noqa: E501
274
+
275
+
276
+ :return: The cen_ids of this DescribeCenBandwidthPackageAttributesResponse. # noqa: E501
277
+ :rtype: list[str]
278
+ """
279
+ return self._cen_ids
280
+
281
+ @cen_ids.setter
282
+ def cen_ids(self, cen_ids):
283
+ """Sets the cen_ids of this DescribeCenBandwidthPackageAttributesResponse.
284
+
285
+
286
+ :param cen_ids: The cen_ids of this DescribeCenBandwidthPackageAttributesResponse. # noqa: E501
287
+ :type: list[str]
288
+ """
289
+
290
+ self._cen_ids = cen_ids
291
+
292
+ @property
293
+ def creation_time(self):
294
+ """Gets the creation_time of this DescribeCenBandwidthPackageAttributesResponse. # noqa: E501
295
+
296
+
297
+ :return: The creation_time of this DescribeCenBandwidthPackageAttributesResponse. # noqa: E501
298
+ :rtype: str
299
+ """
300
+ return self._creation_time
301
+
302
+ @creation_time.setter
303
+ def creation_time(self, creation_time):
304
+ """Sets the creation_time of this DescribeCenBandwidthPackageAttributesResponse.
305
+
306
+
307
+ :param creation_time: The creation_time of this DescribeCenBandwidthPackageAttributesResponse. # noqa: E501
308
+ :type: str
309
+ """
310
+
311
+ self._creation_time = creation_time
312
+
313
+ @property
314
+ def deleted_time(self):
315
+ """Gets the deleted_time of this DescribeCenBandwidthPackageAttributesResponse. # noqa: E501
316
+
317
+
318
+ :return: The deleted_time of this DescribeCenBandwidthPackageAttributesResponse. # noqa: E501
319
+ :rtype: str
320
+ """
321
+ return self._deleted_time
322
+
323
+ @deleted_time.setter
324
+ def deleted_time(self, deleted_time):
325
+ """Sets the deleted_time of this DescribeCenBandwidthPackageAttributesResponse.
326
+
327
+
328
+ :param deleted_time: The deleted_time of this DescribeCenBandwidthPackageAttributesResponse. # noqa: E501
329
+ :type: str
330
+ """
331
+
332
+ self._deleted_time = deleted_time
333
+
334
+ @property
335
+ def description(self):
336
+ """Gets the description of this DescribeCenBandwidthPackageAttributesResponse. # noqa: E501
337
+
338
+
339
+ :return: The description of this DescribeCenBandwidthPackageAttributesResponse. # noqa: E501
340
+ :rtype: str
341
+ """
342
+ return self._description
343
+
344
+ @description.setter
345
+ def description(self, description):
346
+ """Sets the description of this DescribeCenBandwidthPackageAttributesResponse.
347
+
348
+
349
+ :param description: The description of this DescribeCenBandwidthPackageAttributesResponse. # noqa: E501
350
+ :type: str
351
+ """
352
+
353
+ self._description = description
354
+
355
+ @property
356
+ def expired_time(self):
357
+ """Gets the expired_time of this DescribeCenBandwidthPackageAttributesResponse. # noqa: E501
358
+
359
+
360
+ :return: The expired_time of this DescribeCenBandwidthPackageAttributesResponse. # noqa: E501
361
+ :rtype: str
362
+ """
363
+ return self._expired_time
364
+
365
+ @expired_time.setter
366
+ def expired_time(self, expired_time):
367
+ """Sets the expired_time of this DescribeCenBandwidthPackageAttributesResponse.
368
+
369
+
370
+ :param expired_time: The expired_time of this DescribeCenBandwidthPackageAttributesResponse. # noqa: E501
371
+ :type: str
372
+ """
373
+
374
+ self._expired_time = expired_time
375
+
376
+ @property
377
+ def line_operator(self):
378
+ """Gets the line_operator of this DescribeCenBandwidthPackageAttributesResponse. # noqa: E501
379
+
380
+
381
+ :return: The line_operator of this DescribeCenBandwidthPackageAttributesResponse. # noqa: E501
382
+ :rtype: str
383
+ """
384
+ return self._line_operator
385
+
386
+ @line_operator.setter
387
+ def line_operator(self, line_operator):
388
+ """Sets the line_operator of this DescribeCenBandwidthPackageAttributesResponse.
389
+
390
+
391
+ :param line_operator: The line_operator of this DescribeCenBandwidthPackageAttributesResponse. # noqa: E501
392
+ :type: str
393
+ """
394
+
395
+ self._line_operator = line_operator
396
+
397
+ @property
398
+ def local_geographic_region_set_id(self):
399
+ """Gets the local_geographic_region_set_id of this DescribeCenBandwidthPackageAttributesResponse. # noqa: E501
400
+
401
+
402
+ :return: The local_geographic_region_set_id of this DescribeCenBandwidthPackageAttributesResponse. # noqa: E501
403
+ :rtype: str
404
+ """
405
+ return self._local_geographic_region_set_id
406
+
407
+ @local_geographic_region_set_id.setter
408
+ def local_geographic_region_set_id(self, local_geographic_region_set_id):
409
+ """Sets the local_geographic_region_set_id of this DescribeCenBandwidthPackageAttributesResponse.
410
+
411
+
412
+ :param local_geographic_region_set_id: The local_geographic_region_set_id of this DescribeCenBandwidthPackageAttributesResponse. # noqa: E501
413
+ :type: str
414
+ """
415
+
416
+ self._local_geographic_region_set_id = local_geographic_region_set_id
417
+
418
+ @property
419
+ def peer_geographic_region_set_id(self):
420
+ """Gets the peer_geographic_region_set_id of this DescribeCenBandwidthPackageAttributesResponse. # noqa: E501
421
+
422
+
423
+ :return: The peer_geographic_region_set_id of this DescribeCenBandwidthPackageAttributesResponse. # noqa: E501
424
+ :rtype: str
425
+ """
426
+ return self._peer_geographic_region_set_id
427
+
428
+ @peer_geographic_region_set_id.setter
429
+ def peer_geographic_region_set_id(self, peer_geographic_region_set_id):
430
+ """Sets the peer_geographic_region_set_id of this DescribeCenBandwidthPackageAttributesResponse.
431
+
432
+
433
+ :param peer_geographic_region_set_id: The peer_geographic_region_set_id of this DescribeCenBandwidthPackageAttributesResponse. # noqa: E501
434
+ :type: str
435
+ """
436
+
437
+ self._peer_geographic_region_set_id = peer_geographic_region_set_id
438
+
439
+ @property
440
+ def project_name(self):
441
+ """Gets the project_name of this DescribeCenBandwidthPackageAttributesResponse. # noqa: E501
442
+
443
+
444
+ :return: The project_name of this DescribeCenBandwidthPackageAttributesResponse. # noqa: E501
445
+ :rtype: str
446
+ """
447
+ return self._project_name
448
+
449
+ @project_name.setter
450
+ def project_name(self, project_name):
451
+ """Sets the project_name of this DescribeCenBandwidthPackageAttributesResponse.
452
+
453
+
454
+ :param project_name: The project_name of this DescribeCenBandwidthPackageAttributesResponse. # noqa: E501
455
+ :type: str
456
+ """
457
+
458
+ self._project_name = project_name
459
+
460
+ @property
461
+ def remaining_bandwidth(self):
462
+ """Gets the remaining_bandwidth of this DescribeCenBandwidthPackageAttributesResponse. # noqa: E501
463
+
464
+
465
+ :return: The remaining_bandwidth of this DescribeCenBandwidthPackageAttributesResponse. # noqa: E501
466
+ :rtype: int
467
+ """
468
+ return self._remaining_bandwidth
469
+
470
+ @remaining_bandwidth.setter
471
+ def remaining_bandwidth(self, remaining_bandwidth):
472
+ """Sets the remaining_bandwidth of this DescribeCenBandwidthPackageAttributesResponse.
473
+
474
+
475
+ :param remaining_bandwidth: The remaining_bandwidth of this DescribeCenBandwidthPackageAttributesResponse. # noqa: E501
476
+ :type: int
477
+ """
478
+
479
+ self._remaining_bandwidth = remaining_bandwidth
480
+
481
+ @property
482
+ def status(self):
483
+ """Gets the status of this DescribeCenBandwidthPackageAttributesResponse. # noqa: E501
484
+
485
+
486
+ :return: The status of this DescribeCenBandwidthPackageAttributesResponse. # noqa: E501
487
+ :rtype: str
488
+ """
489
+ return self._status
490
+
491
+ @status.setter
492
+ def status(self, status):
493
+ """Sets the status of this DescribeCenBandwidthPackageAttributesResponse.
494
+
495
+
496
+ :param status: The status of this DescribeCenBandwidthPackageAttributesResponse. # noqa: E501
497
+ :type: str
498
+ """
499
+
500
+ self._status = status
501
+
502
+ @property
503
+ def tags(self):
504
+ """Gets the tags of this DescribeCenBandwidthPackageAttributesResponse. # noqa: E501
505
+
506
+
507
+ :return: The tags of this DescribeCenBandwidthPackageAttributesResponse. # noqa: E501
508
+ :rtype: list[TagForDescribeCenBandwidthPackageAttributesOutput]
509
+ """
510
+ return self._tags
511
+
512
+ @tags.setter
513
+ def tags(self, tags):
514
+ """Sets the tags of this DescribeCenBandwidthPackageAttributesResponse.
515
+
516
+
517
+ :param tags: The tags of this DescribeCenBandwidthPackageAttributesResponse. # noqa: E501
518
+ :type: list[TagForDescribeCenBandwidthPackageAttributesOutput]
519
+ """
520
+
521
+ self._tags = tags
522
+
523
+ @property
524
+ def update_time(self):
525
+ """Gets the update_time of this DescribeCenBandwidthPackageAttributesResponse. # noqa: E501
526
+
527
+
528
+ :return: The update_time of this DescribeCenBandwidthPackageAttributesResponse. # noqa: E501
529
+ :rtype: str
530
+ """
531
+ return self._update_time
532
+
533
+ @update_time.setter
534
+ def update_time(self, update_time):
535
+ """Sets the update_time of this DescribeCenBandwidthPackageAttributesResponse.
536
+
537
+
538
+ :param update_time: The update_time of this DescribeCenBandwidthPackageAttributesResponse. # noqa: E501
539
+ :type: str
540
+ """
541
+
542
+ self._update_time = update_time
543
+
544
+ def to_dict(self):
545
+ """Returns the model properties as a dict"""
546
+ result = {}
547
+
548
+ for attr, _ in six.iteritems(self.swagger_types):
549
+ value = getattr(self, attr)
550
+ if isinstance(value, list):
551
+ result[attr] = list(map(
552
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
553
+ value
554
+ ))
555
+ elif hasattr(value, "to_dict"):
556
+ result[attr] = value.to_dict()
557
+ elif isinstance(value, dict):
558
+ result[attr] = dict(map(
559
+ lambda item: (item[0], item[1].to_dict())
560
+ if hasattr(item[1], "to_dict") else item,
561
+ value.items()
562
+ ))
563
+ else:
564
+ result[attr] = value
565
+ if issubclass(DescribeCenBandwidthPackageAttributesResponse, dict):
566
+ for key, value in self.items():
567
+ result[key] = value
568
+
569
+ return result
570
+
571
+ def to_str(self):
572
+ """Returns the string representation of the model"""
573
+ return pprint.pformat(self.to_dict())
574
+
575
+ def __repr__(self):
576
+ """For `print` and `pprint`"""
577
+ return self.to_str()
578
+
579
+ def __eq__(self, other):
580
+ """Returns true if both objects are equal"""
581
+ if not isinstance(other, DescribeCenBandwidthPackageAttributesResponse):
582
+ return False
583
+
584
+ return self.to_dict() == other.to_dict()
585
+
586
+ def __ne__(self, other):
587
+ """Returns true if both objects are not equal"""
588
+ if not isinstance(other, DescribeCenBandwidthPackageAttributesResponse):
589
+ return True
590
+
591
+ return self.to_dict() != other.to_dict()