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 DescribeCenRouteEntriesResponse(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_route_entries': 'list[CenRouteEntryForDescribeCenRouteEntriesOutput]',
37
+ 'page_number': 'int',
38
+ 'page_size': 'int',
39
+ 'total_count': 'int'
40
+ }
41
+
42
+ attribute_map = {
43
+ 'cen_route_entries': 'CenRouteEntries',
44
+ 'page_number': 'PageNumber',
45
+ 'page_size': 'PageSize',
46
+ 'total_count': 'TotalCount'
47
+ }
48
+
49
+ def __init__(self, cen_route_entries=None, page_number=None, page_size=None, total_count=None, _configuration=None): # noqa: E501
50
+ """DescribeCenRouteEntriesResponse - a model defined in Swagger""" # noqa: E501
51
+ if _configuration is None:
52
+ _configuration = Configuration()
53
+ self._configuration = _configuration
54
+
55
+ self._cen_route_entries = None
56
+ self._page_number = None
57
+ self._page_size = None
58
+ self._total_count = None
59
+ self.discriminator = None
60
+
61
+ if cen_route_entries is not None:
62
+ self.cen_route_entries = cen_route_entries
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_route_entries(self):
72
+ """Gets the cen_route_entries of this DescribeCenRouteEntriesResponse. # noqa: E501
73
+
74
+
75
+ :return: The cen_route_entries of this DescribeCenRouteEntriesResponse. # noqa: E501
76
+ :rtype: list[CenRouteEntryForDescribeCenRouteEntriesOutput]
77
+ """
78
+ return self._cen_route_entries
79
+
80
+ @cen_route_entries.setter
81
+ def cen_route_entries(self, cen_route_entries):
82
+ """Sets the cen_route_entries of this DescribeCenRouteEntriesResponse.
83
+
84
+
85
+ :param cen_route_entries: The cen_route_entries of this DescribeCenRouteEntriesResponse. # noqa: E501
86
+ :type: list[CenRouteEntryForDescribeCenRouteEntriesOutput]
87
+ """
88
+
89
+ self._cen_route_entries = cen_route_entries
90
+
91
+ @property
92
+ def page_number(self):
93
+ """Gets the page_number of this DescribeCenRouteEntriesResponse. # noqa: E501
94
+
95
+
96
+ :return: The page_number of this DescribeCenRouteEntriesResponse. # 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 DescribeCenRouteEntriesResponse.
104
+
105
+
106
+ :param page_number: The page_number of this DescribeCenRouteEntriesResponse. # 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 DescribeCenRouteEntriesResponse. # noqa: E501
115
+
116
+
117
+ :return: The page_size of this DescribeCenRouteEntriesResponse. # 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 DescribeCenRouteEntriesResponse.
125
+
126
+
127
+ :param page_size: The page_size of this DescribeCenRouteEntriesResponse. # 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 DescribeCenRouteEntriesResponse. # noqa: E501
136
+
137
+
138
+ :return: The total_count of this DescribeCenRouteEntriesResponse. # 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 DescribeCenRouteEntriesResponse.
146
+
147
+
148
+ :param total_count: The total_count of this DescribeCenRouteEntriesResponse. # 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(DescribeCenRouteEntriesResponse, 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, DescribeCenRouteEntriesResponse):
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, DescribeCenRouteEntriesResponse):
199
+ return True
200
+
201
+ return self.to_dict() != other.to_dict()
@@ -0,0 +1,279 @@
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 DescribeCenServiceRouteEntriesRequest(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_id': 'str',
37
+ 'cen_route_entry_ids': 'list[str]',
38
+ 'destination_cidr_block': 'str',
39
+ 'page_number': 'int',
40
+ 'page_size': 'int',
41
+ 'service_region_id': 'str',
42
+ 'service_vpc_id': 'str'
43
+ }
44
+
45
+ attribute_map = {
46
+ 'cen_id': 'CenId',
47
+ 'cen_route_entry_ids': 'CenRouteEntryIds',
48
+ 'destination_cidr_block': 'DestinationCidrBlock',
49
+ 'page_number': 'PageNumber',
50
+ 'page_size': 'PageSize',
51
+ 'service_region_id': 'ServiceRegionId',
52
+ 'service_vpc_id': 'ServiceVpcId'
53
+ }
54
+
55
+ def __init__(self, cen_id=None, cen_route_entry_ids=None, destination_cidr_block=None, page_number=None, page_size=None, service_region_id=None, service_vpc_id=None, _configuration=None): # noqa: E501
56
+ """DescribeCenServiceRouteEntriesRequest - a model defined in Swagger""" # noqa: E501
57
+ if _configuration is None:
58
+ _configuration = Configuration()
59
+ self._configuration = _configuration
60
+
61
+ self._cen_id = None
62
+ self._cen_route_entry_ids = None
63
+ self._destination_cidr_block = None
64
+ self._page_number = None
65
+ self._page_size = None
66
+ self._service_region_id = None
67
+ self._service_vpc_id = None
68
+ self.discriminator = None
69
+
70
+ if cen_id is not None:
71
+ self.cen_id = cen_id
72
+ if cen_route_entry_ids is not None:
73
+ self.cen_route_entry_ids = cen_route_entry_ids
74
+ if destination_cidr_block is not None:
75
+ self.destination_cidr_block = destination_cidr_block
76
+ if page_number is not None:
77
+ self.page_number = page_number
78
+ if page_size is not None:
79
+ self.page_size = page_size
80
+ if service_region_id is not None:
81
+ self.service_region_id = service_region_id
82
+ if service_vpc_id is not None:
83
+ self.service_vpc_id = service_vpc_id
84
+
85
+ @property
86
+ def cen_id(self):
87
+ """Gets the cen_id of this DescribeCenServiceRouteEntriesRequest. # noqa: E501
88
+
89
+
90
+ :return: The cen_id of this DescribeCenServiceRouteEntriesRequest. # noqa: E501
91
+ :rtype: str
92
+ """
93
+ return self._cen_id
94
+
95
+ @cen_id.setter
96
+ def cen_id(self, cen_id):
97
+ """Sets the cen_id of this DescribeCenServiceRouteEntriesRequest.
98
+
99
+
100
+ :param cen_id: The cen_id of this DescribeCenServiceRouteEntriesRequest. # noqa: E501
101
+ :type: str
102
+ """
103
+
104
+ self._cen_id = cen_id
105
+
106
+ @property
107
+ def cen_route_entry_ids(self):
108
+ """Gets the cen_route_entry_ids of this DescribeCenServiceRouteEntriesRequest. # noqa: E501
109
+
110
+
111
+ :return: The cen_route_entry_ids of this DescribeCenServiceRouteEntriesRequest. # noqa: E501
112
+ :rtype: list[str]
113
+ """
114
+ return self._cen_route_entry_ids
115
+
116
+ @cen_route_entry_ids.setter
117
+ def cen_route_entry_ids(self, cen_route_entry_ids):
118
+ """Sets the cen_route_entry_ids of this DescribeCenServiceRouteEntriesRequest.
119
+
120
+
121
+ :param cen_route_entry_ids: The cen_route_entry_ids of this DescribeCenServiceRouteEntriesRequest. # noqa: E501
122
+ :type: list[str]
123
+ """
124
+
125
+ self._cen_route_entry_ids = cen_route_entry_ids
126
+
127
+ @property
128
+ def destination_cidr_block(self):
129
+ """Gets the destination_cidr_block of this DescribeCenServiceRouteEntriesRequest. # noqa: E501
130
+
131
+
132
+ :return: The destination_cidr_block of this DescribeCenServiceRouteEntriesRequest. # noqa: E501
133
+ :rtype: str
134
+ """
135
+ return self._destination_cidr_block
136
+
137
+ @destination_cidr_block.setter
138
+ def destination_cidr_block(self, destination_cidr_block):
139
+ """Sets the destination_cidr_block of this DescribeCenServiceRouteEntriesRequest.
140
+
141
+
142
+ :param destination_cidr_block: The destination_cidr_block of this DescribeCenServiceRouteEntriesRequest. # noqa: E501
143
+ :type: str
144
+ """
145
+
146
+ self._destination_cidr_block = destination_cidr_block
147
+
148
+ @property
149
+ def page_number(self):
150
+ """Gets the page_number of this DescribeCenServiceRouteEntriesRequest. # noqa: E501
151
+
152
+
153
+ :return: The page_number of this DescribeCenServiceRouteEntriesRequest. # noqa: E501
154
+ :rtype: int
155
+ """
156
+ return self._page_number
157
+
158
+ @page_number.setter
159
+ def page_number(self, page_number):
160
+ """Sets the page_number of this DescribeCenServiceRouteEntriesRequest.
161
+
162
+
163
+ :param page_number: The page_number of this DescribeCenServiceRouteEntriesRequest. # noqa: E501
164
+ :type: int
165
+ """
166
+
167
+ self._page_number = page_number
168
+
169
+ @property
170
+ def page_size(self):
171
+ """Gets the page_size of this DescribeCenServiceRouteEntriesRequest. # noqa: E501
172
+
173
+
174
+ :return: The page_size of this DescribeCenServiceRouteEntriesRequest. # noqa: E501
175
+ :rtype: int
176
+ """
177
+ return self._page_size
178
+
179
+ @page_size.setter
180
+ def page_size(self, page_size):
181
+ """Sets the page_size of this DescribeCenServiceRouteEntriesRequest.
182
+
183
+
184
+ :param page_size: The page_size of this DescribeCenServiceRouteEntriesRequest. # noqa: E501
185
+ :type: int
186
+ """
187
+
188
+ self._page_size = page_size
189
+
190
+ @property
191
+ def service_region_id(self):
192
+ """Gets the service_region_id of this DescribeCenServiceRouteEntriesRequest. # noqa: E501
193
+
194
+
195
+ :return: The service_region_id of this DescribeCenServiceRouteEntriesRequest. # noqa: E501
196
+ :rtype: str
197
+ """
198
+ return self._service_region_id
199
+
200
+ @service_region_id.setter
201
+ def service_region_id(self, service_region_id):
202
+ """Sets the service_region_id of this DescribeCenServiceRouteEntriesRequest.
203
+
204
+
205
+ :param service_region_id: The service_region_id of this DescribeCenServiceRouteEntriesRequest. # noqa: E501
206
+ :type: str
207
+ """
208
+
209
+ self._service_region_id = service_region_id
210
+
211
+ @property
212
+ def service_vpc_id(self):
213
+ """Gets the service_vpc_id of this DescribeCenServiceRouteEntriesRequest. # noqa: E501
214
+
215
+
216
+ :return: The service_vpc_id of this DescribeCenServiceRouteEntriesRequest. # noqa: E501
217
+ :rtype: str
218
+ """
219
+ return self._service_vpc_id
220
+
221
+ @service_vpc_id.setter
222
+ def service_vpc_id(self, service_vpc_id):
223
+ """Sets the service_vpc_id of this DescribeCenServiceRouteEntriesRequest.
224
+
225
+
226
+ :param service_vpc_id: The service_vpc_id of this DescribeCenServiceRouteEntriesRequest. # noqa: E501
227
+ :type: str
228
+ """
229
+
230
+ self._service_vpc_id = service_vpc_id
231
+
232
+ def to_dict(self):
233
+ """Returns the model properties as a dict"""
234
+ result = {}
235
+
236
+ for attr, _ in six.iteritems(self.swagger_types):
237
+ value = getattr(self, attr)
238
+ if isinstance(value, list):
239
+ result[attr] = list(map(
240
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
241
+ value
242
+ ))
243
+ elif hasattr(value, "to_dict"):
244
+ result[attr] = value.to_dict()
245
+ elif isinstance(value, dict):
246
+ result[attr] = dict(map(
247
+ lambda item: (item[0], item[1].to_dict())
248
+ if hasattr(item[1], "to_dict") else item,
249
+ value.items()
250
+ ))
251
+ else:
252
+ result[attr] = value
253
+ if issubclass(DescribeCenServiceRouteEntriesRequest, dict):
254
+ for key, value in self.items():
255
+ result[key] = value
256
+
257
+ return result
258
+
259
+ def to_str(self):
260
+ """Returns the string representation of the model"""
261
+ return pprint.pformat(self.to_dict())
262
+
263
+ def __repr__(self):
264
+ """For `print` and `pprint`"""
265
+ return self.to_str()
266
+
267
+ def __eq__(self, other):
268
+ """Returns true if both objects are equal"""
269
+ if not isinstance(other, DescribeCenServiceRouteEntriesRequest):
270
+ return False
271
+
272
+ return self.to_dict() == other.to_dict()
273
+
274
+ def __ne__(self, other):
275
+ """Returns true if both objects are not equal"""
276
+ if not isinstance(other, DescribeCenServiceRouteEntriesRequest):
277
+ return True
278
+
279
+ return self.to_dict() != other.to_dict()
@@ -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 DescribeCenServiceRouteEntriesResponse(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
+ 'page_number': 'int',
37
+ 'page_size': 'int',
38
+ 'service_route_entries': 'list[ServiceRouteEntryForDescribeCenServiceRouteEntriesOutput]',
39
+ 'total_count': 'int'
40
+ }
41
+
42
+ attribute_map = {
43
+ 'page_number': 'PageNumber',
44
+ 'page_size': 'PageSize',
45
+ 'service_route_entries': 'ServiceRouteEntries',
46
+ 'total_count': 'TotalCount'
47
+ }
48
+
49
+ def __init__(self, page_number=None, page_size=None, service_route_entries=None, total_count=None, _configuration=None): # noqa: E501
50
+ """DescribeCenServiceRouteEntriesResponse - a model defined in Swagger""" # noqa: E501
51
+ if _configuration is None:
52
+ _configuration = Configuration()
53
+ self._configuration = _configuration
54
+
55
+ self._page_number = None
56
+ self._page_size = None
57
+ self._service_route_entries = None
58
+ self._total_count = None
59
+ self.discriminator = None
60
+
61
+ if page_number is not None:
62
+ self.page_number = page_number
63
+ if page_size is not None:
64
+ self.page_size = page_size
65
+ if service_route_entries is not None:
66
+ self.service_route_entries = service_route_entries
67
+ if total_count is not None:
68
+ self.total_count = total_count
69
+
70
+ @property
71
+ def page_number(self):
72
+ """Gets the page_number of this DescribeCenServiceRouteEntriesResponse. # noqa: E501
73
+
74
+
75
+ :return: The page_number of this DescribeCenServiceRouteEntriesResponse. # noqa: E501
76
+ :rtype: int
77
+ """
78
+ return self._page_number
79
+
80
+ @page_number.setter
81
+ def page_number(self, page_number):
82
+ """Sets the page_number of this DescribeCenServiceRouteEntriesResponse.
83
+
84
+
85
+ :param page_number: The page_number of this DescribeCenServiceRouteEntriesResponse. # noqa: E501
86
+ :type: int
87
+ """
88
+
89
+ self._page_number = page_number
90
+
91
+ @property
92
+ def page_size(self):
93
+ """Gets the page_size of this DescribeCenServiceRouteEntriesResponse. # noqa: E501
94
+
95
+
96
+ :return: The page_size of this DescribeCenServiceRouteEntriesResponse. # noqa: E501
97
+ :rtype: int
98
+ """
99
+ return self._page_size
100
+
101
+ @page_size.setter
102
+ def page_size(self, page_size):
103
+ """Sets the page_size of this DescribeCenServiceRouteEntriesResponse.
104
+
105
+
106
+ :param page_size: The page_size of this DescribeCenServiceRouteEntriesResponse. # noqa: E501
107
+ :type: int
108
+ """
109
+
110
+ self._page_size = page_size
111
+
112
+ @property
113
+ def service_route_entries(self):
114
+ """Gets the service_route_entries of this DescribeCenServiceRouteEntriesResponse. # noqa: E501
115
+
116
+
117
+ :return: The service_route_entries of this DescribeCenServiceRouteEntriesResponse. # noqa: E501
118
+ :rtype: list[ServiceRouteEntryForDescribeCenServiceRouteEntriesOutput]
119
+ """
120
+ return self._service_route_entries
121
+
122
+ @service_route_entries.setter
123
+ def service_route_entries(self, service_route_entries):
124
+ """Sets the service_route_entries of this DescribeCenServiceRouteEntriesResponse.
125
+
126
+
127
+ :param service_route_entries: The service_route_entries of this DescribeCenServiceRouteEntriesResponse. # noqa: E501
128
+ :type: list[ServiceRouteEntryForDescribeCenServiceRouteEntriesOutput]
129
+ """
130
+
131
+ self._service_route_entries = service_route_entries
132
+
133
+ @property
134
+ def total_count(self):
135
+ """Gets the total_count of this DescribeCenServiceRouteEntriesResponse. # noqa: E501
136
+
137
+
138
+ :return: The total_count of this DescribeCenServiceRouteEntriesResponse. # 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 DescribeCenServiceRouteEntriesResponse.
146
+
147
+
148
+ :param total_count: The total_count of this DescribeCenServiceRouteEntriesResponse. # 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(DescribeCenServiceRouteEntriesResponse, 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, DescribeCenServiceRouteEntriesResponse):
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, DescribeCenServiceRouteEntriesResponse):
199
+ return True
200
+
201
+ return self.to_dict() != other.to_dict()