huaweicloudsdkgeip 3.1.160__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.

Potentially problematic release.


This version of huaweicloudsdkgeip might be problematic. Click here for more details.

Files changed (228) hide show
  1. huaweicloudsdkgeip/__init__.py +0 -0
  2. huaweicloudsdkgeip/v3/__init__.py +224 -0
  3. huaweicloudsdkgeip/v3/geip_async_client.py +4984 -0
  4. huaweicloudsdkgeip/v3/geip_client.py +4981 -0
  5. huaweicloudsdkgeip/v3/model/__init__.py +221 -0
  6. huaweicloudsdkgeip/v3/model/add_geip_segment_tags_request.py +135 -0
  7. huaweicloudsdkgeip/v3/model/add_geip_segment_tags_response.py +112 -0
  8. huaweicloudsdkgeip/v3/model/add_global_eip_tags_request.py +135 -0
  9. huaweicloudsdkgeip/v3/model/add_global_eip_tags_response.py +112 -0
  10. huaweicloudsdkgeip/v3/model/add_internet_bandwidth_tags_request.py +135 -0
  11. huaweicloudsdkgeip/v3/model/add_internet_bandwidth_tags_response.py +112 -0
  12. huaweicloudsdkgeip/v3/model/allowed_bandwidth_types.py +173 -0
  13. huaweicloudsdkgeip/v3/model/associate_geip_segment_instance_request.py +135 -0
  14. huaweicloudsdkgeip/v3/model/associate_geip_segment_instance_response.py +166 -0
  15. huaweicloudsdkgeip/v3/model/associate_instance_global_eip_request_body.py +135 -0
  16. huaweicloudsdkgeip/v3/model/associate_instance_global_eip_request_body_global_eip.py +136 -0
  17. huaweicloudsdkgeip/v3/model/associate_instance_global_eip_request_body_global_eip_associate_instance_info.py +260 -0
  18. huaweicloudsdkgeip/v3/model/associate_instance_global_eip_request_body_global_eip_gc_bandwidth_info.py +405 -0
  19. huaweicloudsdkgeip/v3/model/associate_instance_global_eip_segment_request_body.py +110 -0
  20. huaweicloudsdkgeip/v3/model/associate_instance_global_eip_segment_request_body_global_eip_segment.py +256 -0
  21. huaweicloudsdkgeip/v3/model/associate_instance_request.py +164 -0
  22. huaweicloudsdkgeip/v3/model/associate_instance_response.py +166 -0
  23. huaweicloudsdkgeip/v3/model/attach_internet_bandwidth.py +142 -0
  24. huaweicloudsdkgeip/v3/model/attach_internet_bandwidth_global_eip.py +741 -0
  25. huaweicloudsdkgeip/v3/model/attach_internet_bandwidth_global_eip_request_body.py +135 -0
  26. huaweicloudsdkgeip/v3/model/attach_internet_bandwidth_global_eip_request_body_global_eip.py +114 -0
  27. huaweicloudsdkgeip/v3/model/attach_internet_bandwidth_request.py +135 -0
  28. huaweicloudsdkgeip/v3/model/attach_internet_bandwidth_response.py +166 -0
  29. huaweicloudsdkgeip/v3/model/batch_attach_geip_segment_internet_bandwidth_request.py +111 -0
  30. huaweicloudsdkgeip/v3/model/batch_attach_geip_segment_internet_bandwidth_response.py +141 -0
  31. huaweicloudsdkgeip/v3/model/batch_attach_internet_bandwidth_request.py +111 -0
  32. huaweicloudsdkgeip/v3/model/batch_attach_internet_bandwidth_response.py +137 -0
  33. huaweicloudsdkgeip/v3/model/batch_attach_internet_bandwidths_global_eip_request_body.py +114 -0
  34. huaweicloudsdkgeip/v3/model/batch_attach_internet_bandwidths_global_eip_segment_request_body.py +114 -0
  35. huaweicloudsdkgeip/v3/model/batch_create_geip_segment_tags_request.py +135 -0
  36. huaweicloudsdkgeip/v3/model/batch_create_geip_segment_tags_response.py +112 -0
  37. huaweicloudsdkgeip/v3/model/batch_create_global_eip_job.py +173 -0
  38. huaweicloudsdkgeip/v3/model/batch_create_global_eip_request.py +111 -0
  39. huaweicloudsdkgeip/v3/model/batch_create_global_eip_request_body.py +135 -0
  40. huaweicloudsdkgeip/v3/model/batch_create_global_eip_request_body_global_eip.py +311 -0
  41. huaweicloudsdkgeip/v3/model/batch_create_global_eip_request_body_global_eip_internet_bandwidth_info.py +289 -0
  42. huaweicloudsdkgeip/v3/model/batch_create_global_eip_response.py +170 -0
  43. huaweicloudsdkgeip/v3/model/batch_create_global_eip_tags_request.py +135 -0
  44. huaweicloudsdkgeip/v3/model/batch_create_global_eip_tags_response.py +112 -0
  45. huaweicloudsdkgeip/v3/model/batch_create_internet_bandwidth.py +605 -0
  46. huaweicloudsdkgeip/v3/model/batch_create_internet_bandwidth_request.py +111 -0
  47. huaweicloudsdkgeip/v3/model/batch_create_internet_bandwidth_request_body.py +110 -0
  48. huaweicloudsdkgeip/v3/model/batch_create_internet_bandwidth_request_body_internet_bandwidth.py +402 -0
  49. huaweicloudsdkgeip/v3/model/batch_create_internet_bandwidth_response.py +170 -0
  50. huaweicloudsdkgeip/v3/model/batch_create_internet_bandwidth_tags_request.py +135 -0
  51. huaweicloudsdkgeip/v3/model/batch_create_internet_bandwidth_tags_response.py +112 -0
  52. huaweicloudsdkgeip/v3/model/batch_create_v2_request_body.py +143 -0
  53. huaweicloudsdkgeip/v3/model/batch_delete_geip_segment_tags_request.py +135 -0
  54. huaweicloudsdkgeip/v3/model/batch_delete_geip_segment_tags_response.py +112 -0
  55. huaweicloudsdkgeip/v3/model/batch_delete_global_eip_tags_request.py +135 -0
  56. huaweicloudsdkgeip/v3/model/batch_delete_global_eip_tags_response.py +112 -0
  57. huaweicloudsdkgeip/v3/model/batch_delete_internet_bandwidth_tags_request.py +135 -0
  58. huaweicloudsdkgeip/v3/model/batch_delete_internet_bandwidth_tags_response.py +112 -0
  59. huaweicloudsdkgeip/v3/model/batch_delete_v2_request_body.py +143 -0
  60. huaweicloudsdkgeip/v3/model/batch_delete_v2_request_body_tags.py +143 -0
  61. huaweicloudsdkgeip/v3/model/batch_detach_geip_segment_internet_bandwidth_request.py +111 -0
  62. huaweicloudsdkgeip/v3/model/batch_detach_geip_segment_internet_bandwidth_response.py +141 -0
  63. huaweicloudsdkgeip/v3/model/batch_detach_internet_bandwidth_request.py +111 -0
  64. huaweicloudsdkgeip/v3/model/batch_detach_internet_bandwidth_response.py +137 -0
  65. huaweicloudsdkgeip/v3/model/batch_detach_internet_bandwidths_global_eip_request_body.py +114 -0
  66. huaweicloudsdkgeip/v3/model/batch_detach_internet_bandwidths_global_eip_segment_request_body.py +114 -0
  67. huaweicloudsdkgeip/v3/model/batch_internet_bandwidths_global_eip_response_body.py +114 -0
  68. huaweicloudsdkgeip/v3/model/count_geip_segments.py +114 -0
  69. huaweicloudsdkgeip/v3/model/count_global_eip_segment_request.py +752 -0
  70. huaweicloudsdkgeip/v3/model/count_global_eip_segment_response.py +166 -0
  71. huaweicloudsdkgeip/v3/model/count_global_eips.py +114 -0
  72. huaweicloudsdkgeip/v3/model/count_global_eips_request.py +661 -0
  73. huaweicloudsdkgeip/v3/model/count_global_eips_response.py +166 -0
  74. huaweicloudsdkgeip/v3/model/count_internet_bandwidth_request.py +286 -0
  75. huaweicloudsdkgeip/v3/model/count_internet_bandwidth_response.py +166 -0
  76. huaweicloudsdkgeip/v3/model/count_internet_bandwidths.py +114 -0
  77. huaweicloudsdkgeip/v3/model/create_global_eip.py +142 -0
  78. huaweicloudsdkgeip/v3/model/create_global_eip_request.py +111 -0
  79. huaweicloudsdkgeip/v3/model/create_global_eip_request_body.py +135 -0
  80. huaweicloudsdkgeip/v3/model/create_global_eip_request_body_global_eip.py +287 -0
  81. huaweicloudsdkgeip/v3/model/create_global_eip_request_body_global_eip_tags.py +142 -0
  82. huaweicloudsdkgeip/v3/model/create_global_eip_response.py +166 -0
  83. huaweicloudsdkgeip/v3/model/create_global_eip_segment_request.py +111 -0
  84. huaweicloudsdkgeip/v3/model/create_global_eip_segment_request_body.py +110 -0
  85. huaweicloudsdkgeip/v3/model/create_global_eip_segment_request_body_global_eip_segment.py +311 -0
  86. huaweicloudsdkgeip/v3/model/create_global_eip_segment_request_body_global_eip_segment_internet_bandwidth.py +289 -0
  87. huaweicloudsdkgeip/v3/model/create_global_eip_segment_response.py +166 -0
  88. huaweicloudsdkgeip/v3/model/create_internet_bandwidth.py +691 -0
  89. huaweicloudsdkgeip/v3/model/create_internet_bandwidth_request.py +111 -0
  90. huaweicloudsdkgeip/v3/model/create_internet_bandwidth_request_body.py +110 -0
  91. huaweicloudsdkgeip/v3/model/create_internet_bandwidth_request_body_internet_bandwidth.py +372 -0
  92. huaweicloudsdkgeip/v3/model/create_internet_bandwidth_response.py +166 -0
  93. huaweicloudsdkgeip/v3/model/create_tag.py +143 -0
  94. huaweicloudsdkgeip/v3/model/create_user_disclaimer_record.py +173 -0
  95. huaweicloudsdkgeip/v3/model/create_user_disclaimer_request.py +84 -0
  96. huaweicloudsdkgeip/v3/model/create_user_disclaimer_response.py +166 -0
  97. huaweicloudsdkgeip/v3/model/create_v2_tag_request_body.py +110 -0
  98. huaweicloudsdkgeip/v3/model/create_v2_tag_request_body_tag.py +142 -0
  99. huaweicloudsdkgeip/v3/model/delete_geip_segment_tag_request.py +134 -0
  100. huaweicloudsdkgeip/v3/model/delete_geip_segment_tag_response.py +112 -0
  101. huaweicloudsdkgeip/v3/model/delete_global_eip_request.py +110 -0
  102. huaweicloudsdkgeip/v3/model/delete_global_eip_response.py +112 -0
  103. huaweicloudsdkgeip/v3/model/delete_global_eip_segment_request.py +110 -0
  104. huaweicloudsdkgeip/v3/model/delete_global_eip_segment_response.py +112 -0
  105. huaweicloudsdkgeip/v3/model/delete_global_eip_tag_request.py +134 -0
  106. huaweicloudsdkgeip/v3/model/delete_global_eip_tag_response.py +112 -0
  107. huaweicloudsdkgeip/v3/model/delete_internet_bandwidth_request.py +110 -0
  108. huaweicloudsdkgeip/v3/model/delete_internet_bandwidth_response.py +112 -0
  109. huaweicloudsdkgeip/v3/model/delete_internet_bandwidth_tag_request.py +134 -0
  110. huaweicloudsdkgeip/v3/model/delete_internet_bandwidth_tag_response.py +112 -0
  111. huaweicloudsdkgeip/v3/model/delete_user_disclaimer_request.py +84 -0
  112. huaweicloudsdkgeip/v3/model/delete_user_disclaimer_response.py +112 -0
  113. huaweicloudsdkgeip/v3/model/detach_internet_bandwidth.py +114 -0
  114. huaweicloudsdkgeip/v3/model/detach_internet_bandwidth_global_eips.py +741 -0
  115. huaweicloudsdkgeip/v3/model/detach_internet_bandwidth_request.py +135 -0
  116. huaweicloudsdkgeip/v3/model/detach_internet_bandwidth_response.py +166 -0
  117. huaweicloudsdkgeip/v3/model/disassociate_geip_segment_instance_request.py +110 -0
  118. huaweicloudsdkgeip/v3/model/disassociate_geip_segment_instance_response.py +166 -0
  119. huaweicloudsdkgeip/v3/model/disassociate_instance_request.py +138 -0
  120. huaweicloudsdkgeip/v3/model/disassociate_instance_response.py +166 -0
  121. huaweicloudsdkgeip/v3/model/ext_limit_pojo.py +173 -0
  122. huaweicloudsdkgeip/v3/model/geip_resource.py +198 -0
  123. huaweicloudsdkgeip/v3/model/geip_tags.py +142 -0
  124. huaweicloudsdkgeip/v3/model/get_account_tags_v2.py +142 -0
  125. huaweicloudsdkgeip/v3/model/global_connection_bandwidth_info.py +260 -0
  126. huaweicloudsdkgeip/v3/model/instance_info.py +347 -0
  127. huaweicloudsdkgeip/v3/model/internet_bandwidth_info.py +144 -0
  128. huaweicloudsdkgeip/v3/model/list_access_sites.py +318 -0
  129. huaweicloudsdkgeip/v3/model/list_access_sites_request.py +385 -0
  130. huaweicloudsdkgeip/v3/model/list_access_sites_response.py +195 -0
  131. huaweicloudsdkgeip/v3/model/list_geip_pools.py +434 -0
  132. huaweicloudsdkgeip/v3/model/list_geip_pools_request.py +460 -0
  133. huaweicloudsdkgeip/v3/model/list_geip_pools_response.py +195 -0
  134. huaweicloudsdkgeip/v3/model/list_geip_resource_quotas_request.py +252 -0
  135. huaweicloudsdkgeip/v3/model/list_geip_resource_quotas_response.py +166 -0
  136. huaweicloudsdkgeip/v3/model/list_geip_segment_count_filter_tags_request.py +111 -0
  137. huaweicloudsdkgeip/v3/model/list_geip_segment_count_filter_tags_response.py +170 -0
  138. huaweicloudsdkgeip/v3/model/list_geip_segment_domain_tags_request.py +84 -0
  139. huaweicloudsdkgeip/v3/model/list_geip_segment_domain_tags_response.py +199 -0
  140. huaweicloudsdkgeip/v3/model/list_geip_segment_filter_tags_request.py +169 -0
  141. huaweicloudsdkgeip/v3/model/list_geip_segment_filter_tags_response.py +199 -0
  142. huaweicloudsdkgeip/v3/model/list_global_eip_count_filter_tags_request.py +111 -0
  143. huaweicloudsdkgeip/v3/model/list_global_eip_count_filter_tags_response.py +170 -0
  144. huaweicloudsdkgeip/v3/model/list_global_eip_domain_tags_request.py +84 -0
  145. huaweicloudsdkgeip/v3/model/list_global_eip_domain_tags_response.py +199 -0
  146. huaweicloudsdkgeip/v3/model/list_global_eip_filter_tags_request.py +161 -0
  147. huaweicloudsdkgeip/v3/model/list_global_eip_filter_tags_response.py +199 -0
  148. huaweicloudsdkgeip/v3/model/list_global_eip_segments.py +687 -0
  149. huaweicloudsdkgeip/v3/model/list_global_eip_segments_request.py +860 -0
  150. huaweicloudsdkgeip/v3/model/list_global_eip_segments_response.py +195 -0
  151. huaweicloudsdkgeip/v3/model/list_global_eips.py +741 -0
  152. huaweicloudsdkgeip/v3/model/list_global_eips_request.py +910 -0
  153. huaweicloudsdkgeip/v3/model/list_global_eips_response.py +195 -0
  154. huaweicloudsdkgeip/v3/model/list_global_eips_response_body_page_info.py +173 -0
  155. huaweicloudsdkgeip/v3/model/list_internet_bandwidth_count_filter_tags_request.py +111 -0
  156. huaweicloudsdkgeip/v3/model/list_internet_bandwidth_count_filter_tags_response.py +170 -0
  157. huaweicloudsdkgeip/v3/model/list_internet_bandwidth_domain_tags_request.py +84 -0
  158. huaweicloudsdkgeip/v3/model/list_internet_bandwidth_domain_tags_response.py +141 -0
  159. huaweicloudsdkgeip/v3/model/list_internet_bandwidth_filter_tags_request.py +161 -0
  160. huaweicloudsdkgeip/v3/model/list_internet_bandwidth_filter_tags_response.py +199 -0
  161. huaweicloudsdkgeip/v3/model/list_internet_bandwidth_limits.py +256 -0
  162. huaweicloudsdkgeip/v3/model/list_internet_bandwidth_limits_request.py +219 -0
  163. huaweicloudsdkgeip/v3/model/list_internet_bandwidth_limits_response.py +170 -0
  164. huaweicloudsdkgeip/v3/model/list_internet_bandwidths.py +753 -0
  165. huaweicloudsdkgeip/v3/model/list_internet_bandwidths_request.py +535 -0
  166. huaweicloudsdkgeip/v3/model/list_internet_bandwidths_response.py +195 -0
  167. huaweicloudsdkgeip/v3/model/list_jobs.py +318 -0
  168. huaweicloudsdkgeip/v3/model/list_jobs_request.py +360 -0
  169. huaweicloudsdkgeip/v3/model/list_jobs_response.py +195 -0
  170. huaweicloudsdkgeip/v3/model/list_quotas.py +114 -0
  171. huaweicloudsdkgeip/v3/model/list_resources_by_tags_request_body.py +114 -0
  172. huaweicloudsdkgeip/v3/model/list_support_instances_support_regions.py +318 -0
  173. huaweicloudsdkgeip/v3/model/list_support_masks.py +231 -0
  174. huaweicloudsdkgeip/v3/model/list_support_masks_request.py +360 -0
  175. huaweicloudsdkgeip/v3/model/list_support_masks_response.py +195 -0
  176. huaweicloudsdkgeip/v3/model/list_support_regions.py +347 -0
  177. huaweicloudsdkgeip/v3/model/list_support_regions_request.py +460 -0
  178. huaweicloudsdkgeip/v3/model/list_support_regions_response.py +195 -0
  179. huaweicloudsdkgeip/v3/model/list_tenant_geip_support_instances_request.py +135 -0
  180. huaweicloudsdkgeip/v3/model/list_tenant_geip_support_instances_response.py +170 -0
  181. huaweicloudsdkgeip/v3/model/lock_info.py +376 -0
  182. huaweicloudsdkgeip/v3/model/native_uuid.py +84 -0
  183. huaweicloudsdkgeip/v3/model/resources_info.py +202 -0
  184. huaweicloudsdkgeip/v3/model/short_global_eip_segment.py +144 -0
  185. huaweicloudsdkgeip/v3/model/show_geip_segment_tags_request.py +110 -0
  186. huaweicloudsdkgeip/v3/model/show_geip_segment_tags_response.py +199 -0
  187. huaweicloudsdkgeip/v3/model/show_global_eip.py +741 -0
  188. huaweicloudsdkgeip/v3/model/show_global_eip_request.py +135 -0
  189. huaweicloudsdkgeip/v3/model/show_global_eip_response.py +166 -0
  190. huaweicloudsdkgeip/v3/model/show_global_eip_segment.py +687 -0
  191. huaweicloudsdkgeip/v3/model/show_global_eip_segment_request.py +135 -0
  192. huaweicloudsdkgeip/v3/model/show_global_eip_segment_response.py +166 -0
  193. huaweicloudsdkgeip/v3/model/show_global_eip_tags_request.py +110 -0
  194. huaweicloudsdkgeip/v3/model/show_global_eip_tags_response.py +199 -0
  195. huaweicloudsdkgeip/v3/model/show_internet_bandwidth.py +695 -0
  196. huaweicloudsdkgeip/v3/model/show_internet_bandwidth_request.py +135 -0
  197. huaweicloudsdkgeip/v3/model/show_internet_bandwidth_response.py +166 -0
  198. huaweicloudsdkgeip/v3/model/show_internet_bandwidth_tags_request.py +110 -0
  199. huaweicloudsdkgeip/v3/model/show_internet_bandwidth_tags_response.py +199 -0
  200. huaweicloudsdkgeip/v3/model/show_job.py +318 -0
  201. huaweicloudsdkgeip/v3/model/show_jobs_request.py +139 -0
  202. huaweicloudsdkgeip/v3/model/show_jobs_response.py +166 -0
  203. huaweicloudsdkgeip/v3/model/show_user_disclaimer_record.py +173 -0
  204. huaweicloudsdkgeip/v3/model/show_user_disclaimer_request.py +111 -0
  205. huaweicloudsdkgeip/v3/model/show_user_disclaimer_response.py +166 -0
  206. huaweicloudsdkgeip/v3/model/sys_tag.py +142 -0
  207. huaweicloudsdkgeip/v3/model/tag.py +144 -0
  208. huaweicloudsdkgeip/v3/model/update_global_eip.py +144 -0
  209. huaweicloudsdkgeip/v3/model/update_global_eip_request.py +135 -0
  210. huaweicloudsdkgeip/v3/model/update_global_eip_request_body.py +135 -0
  211. huaweicloudsdkgeip/v3/model/update_global_eip_request_body_global_eip.py +144 -0
  212. huaweicloudsdkgeip/v3/model/update_global_eip_response.py +166 -0
  213. huaweicloudsdkgeip/v3/model/update_global_eip_segment_request.py +135 -0
  214. huaweicloudsdkgeip/v3/model/update_global_eip_segment_request_body.py +110 -0
  215. huaweicloudsdkgeip/v3/model/update_global_eip_segment_request_body_global_eip_segment.py +144 -0
  216. huaweicloudsdkgeip/v3/model/update_global_eip_segment_response.py +166 -0
  217. huaweicloudsdkgeip/v3/model/update_internet_bandwidth.py +637 -0
  218. huaweicloudsdkgeip/v3/model/update_internet_bandwidth_request.py +135 -0
  219. huaweicloudsdkgeip/v3/model/update_internet_bandwidth_request_body.py +110 -0
  220. huaweicloudsdkgeip/v3/model/update_internet_bandwidth_request_body_internet_bandwidth.py +231 -0
  221. huaweicloudsdkgeip/v3/model/update_internet_bandwidth_response.py +166 -0
  222. huaweicloudsdkgeip/v3/region/__init__.py +0 -0
  223. huaweicloudsdkgeip/v3/region/geip_region.py +31 -0
  224. huaweicloudsdkgeip-3.1.160.dist-info/LICENSE +13 -0
  225. huaweicloudsdkgeip-3.1.160.dist-info/METADATA +26 -0
  226. huaweicloudsdkgeip-3.1.160.dist-info/RECORD +228 -0
  227. huaweicloudsdkgeip-3.1.160.dist-info/WHEEL +5 -0
  228. huaweicloudsdkgeip-3.1.160.dist-info/top_level.txt +1 -0
@@ -0,0 +1,318 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class ListAccessSites:
9
+
10
+ """
11
+ Attributes:
12
+ openapi_types (dict): The key is attribute name
13
+ and the value is attribute type.
14
+ attribute_map (dict): The key is attribute name
15
+ and the value is json key in definition.
16
+ """
17
+ sensitive_list = []
18
+
19
+ openapi_types = {
20
+ 'id': 'str',
21
+ 'name': 'str',
22
+ 'proxy_region': 'str',
23
+ 'iec_az_code': 'str',
24
+ 'en_name': 'str',
25
+ 'cn_name': 'str',
26
+ 'created_at': 'datetime',
27
+ 'updated_at': 'datetime'
28
+ }
29
+
30
+ attribute_map = {
31
+ 'id': 'id',
32
+ 'name': 'name',
33
+ 'proxy_region': 'proxy_region',
34
+ 'iec_az_code': 'iec_az_code',
35
+ 'en_name': 'en_name',
36
+ 'cn_name': 'cn_name',
37
+ 'created_at': 'created_at',
38
+ 'updated_at': 'updated_at'
39
+ }
40
+
41
+ def __init__(self, id=None, name=None, proxy_region=None, iec_az_code=None, en_name=None, cn_name=None, created_at=None, updated_at=None):
42
+ r"""ListAccessSites
43
+
44
+ The model defined in huaweicloud sdk
45
+
46
+ :param id: 接入点的ID
47
+ :type id: str
48
+ :param name: - 功能说明:接入点名称 - 取值范围:1-64,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)
49
+ :type name: str
50
+ :param proxy_region: pop站点托管的region(id)
51
+ :type proxy_region: str
52
+ :param iec_az_code: 边缘站点az
53
+ :type iec_az_code: str
54
+ :param en_name: 英文名称
55
+ :type en_name: str
56
+ :param cn_name: 中文名称
57
+ :type cn_name: str
58
+ :param created_at: 创建时间
59
+ :type created_at: datetime
60
+ :param updated_at: 更新时间
61
+ :type updated_at: datetime
62
+ """
63
+
64
+
65
+
66
+ self._id = None
67
+ self._name = None
68
+ self._proxy_region = None
69
+ self._iec_az_code = None
70
+ self._en_name = None
71
+ self._cn_name = None
72
+ self._created_at = None
73
+ self._updated_at = None
74
+ self.discriminator = None
75
+
76
+ if id is not None:
77
+ self.id = id
78
+ if name is not None:
79
+ self.name = name
80
+ if proxy_region is not None:
81
+ self.proxy_region = proxy_region
82
+ if iec_az_code is not None:
83
+ self.iec_az_code = iec_az_code
84
+ if en_name is not None:
85
+ self.en_name = en_name
86
+ if cn_name is not None:
87
+ self.cn_name = cn_name
88
+ if created_at is not None:
89
+ self.created_at = created_at
90
+ if updated_at is not None:
91
+ self.updated_at = updated_at
92
+
93
+ @property
94
+ def id(self):
95
+ r"""Gets the id of this ListAccessSites.
96
+
97
+ 接入点的ID
98
+
99
+ :return: The id of this ListAccessSites.
100
+ :rtype: str
101
+ """
102
+ return self._id
103
+
104
+ @id.setter
105
+ def id(self, id):
106
+ r"""Sets the id of this ListAccessSites.
107
+
108
+ 接入点的ID
109
+
110
+ :param id: The id of this ListAccessSites.
111
+ :type id: str
112
+ """
113
+ self._id = id
114
+
115
+ @property
116
+ def name(self):
117
+ r"""Gets the name of this ListAccessSites.
118
+
119
+ - 功能说明:接入点名称 - 取值范围:1-64,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)
120
+
121
+ :return: The name of this ListAccessSites.
122
+ :rtype: str
123
+ """
124
+ return self._name
125
+
126
+ @name.setter
127
+ def name(self, name):
128
+ r"""Sets the name of this ListAccessSites.
129
+
130
+ - 功能说明:接入点名称 - 取值范围:1-64,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)
131
+
132
+ :param name: The name of this ListAccessSites.
133
+ :type name: str
134
+ """
135
+ self._name = name
136
+
137
+ @property
138
+ def proxy_region(self):
139
+ r"""Gets the proxy_region of this ListAccessSites.
140
+
141
+ pop站点托管的region(id)
142
+
143
+ :return: The proxy_region of this ListAccessSites.
144
+ :rtype: str
145
+ """
146
+ return self._proxy_region
147
+
148
+ @proxy_region.setter
149
+ def proxy_region(self, proxy_region):
150
+ r"""Sets the proxy_region of this ListAccessSites.
151
+
152
+ pop站点托管的region(id)
153
+
154
+ :param proxy_region: The proxy_region of this ListAccessSites.
155
+ :type proxy_region: str
156
+ """
157
+ self._proxy_region = proxy_region
158
+
159
+ @property
160
+ def iec_az_code(self):
161
+ r"""Gets the iec_az_code of this ListAccessSites.
162
+
163
+ 边缘站点az
164
+
165
+ :return: The iec_az_code of this ListAccessSites.
166
+ :rtype: str
167
+ """
168
+ return self._iec_az_code
169
+
170
+ @iec_az_code.setter
171
+ def iec_az_code(self, iec_az_code):
172
+ r"""Sets the iec_az_code of this ListAccessSites.
173
+
174
+ 边缘站点az
175
+
176
+ :param iec_az_code: The iec_az_code of this ListAccessSites.
177
+ :type iec_az_code: str
178
+ """
179
+ self._iec_az_code = iec_az_code
180
+
181
+ @property
182
+ def en_name(self):
183
+ r"""Gets the en_name of this ListAccessSites.
184
+
185
+ 英文名称
186
+
187
+ :return: The en_name of this ListAccessSites.
188
+ :rtype: str
189
+ """
190
+ return self._en_name
191
+
192
+ @en_name.setter
193
+ def en_name(self, en_name):
194
+ r"""Sets the en_name of this ListAccessSites.
195
+
196
+ 英文名称
197
+
198
+ :param en_name: The en_name of this ListAccessSites.
199
+ :type en_name: str
200
+ """
201
+ self._en_name = en_name
202
+
203
+ @property
204
+ def cn_name(self):
205
+ r"""Gets the cn_name of this ListAccessSites.
206
+
207
+ 中文名称
208
+
209
+ :return: The cn_name of this ListAccessSites.
210
+ :rtype: str
211
+ """
212
+ return self._cn_name
213
+
214
+ @cn_name.setter
215
+ def cn_name(self, cn_name):
216
+ r"""Sets the cn_name of this ListAccessSites.
217
+
218
+ 中文名称
219
+
220
+ :param cn_name: The cn_name of this ListAccessSites.
221
+ :type cn_name: str
222
+ """
223
+ self._cn_name = cn_name
224
+
225
+ @property
226
+ def created_at(self):
227
+ r"""Gets the created_at of this ListAccessSites.
228
+
229
+ 创建时间
230
+
231
+ :return: The created_at of this ListAccessSites.
232
+ :rtype: datetime
233
+ """
234
+ return self._created_at
235
+
236
+ @created_at.setter
237
+ def created_at(self, created_at):
238
+ r"""Sets the created_at of this ListAccessSites.
239
+
240
+ 创建时间
241
+
242
+ :param created_at: The created_at of this ListAccessSites.
243
+ :type created_at: datetime
244
+ """
245
+ self._created_at = created_at
246
+
247
+ @property
248
+ def updated_at(self):
249
+ r"""Gets the updated_at of this ListAccessSites.
250
+
251
+ 更新时间
252
+
253
+ :return: The updated_at of this ListAccessSites.
254
+ :rtype: datetime
255
+ """
256
+ return self._updated_at
257
+
258
+ @updated_at.setter
259
+ def updated_at(self, updated_at):
260
+ r"""Sets the updated_at of this ListAccessSites.
261
+
262
+ 更新时间
263
+
264
+ :param updated_at: The updated_at of this ListAccessSites.
265
+ :type updated_at: datetime
266
+ """
267
+ self._updated_at = updated_at
268
+
269
+ def to_dict(self):
270
+ """Returns the model properties as a dict"""
271
+ result = {}
272
+
273
+ for attr, _ in six.iteritems(self.openapi_types):
274
+ value = getattr(self, attr)
275
+ if isinstance(value, list):
276
+ result[attr] = list(map(
277
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
278
+ value
279
+ ))
280
+ elif hasattr(value, "to_dict"):
281
+ result[attr] = value.to_dict()
282
+ elif isinstance(value, dict):
283
+ result[attr] = dict(map(
284
+ lambda item: (item[0], item[1].to_dict())
285
+ if hasattr(item[1], "to_dict") else item,
286
+ value.items()
287
+ ))
288
+ else:
289
+ if attr in self.sensitive_list:
290
+ result[attr] = "****"
291
+ else:
292
+ result[attr] = value
293
+
294
+ return result
295
+
296
+ def to_str(self):
297
+ """Returns the string representation of the model"""
298
+ import simplejson as json
299
+ if six.PY2:
300
+ import sys
301
+ reload(sys)
302
+ sys.setdefaultencoding("utf-8")
303
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
304
+
305
+ def __repr__(self):
306
+ """For `print`"""
307
+ return self.to_str()
308
+
309
+ def __eq__(self, other):
310
+ """Returns true if both objects are equal"""
311
+ if not isinstance(other, ListAccessSites):
312
+ return False
313
+
314
+ return self.__dict__ == other.__dict__
315
+
316
+ def __ne__(self, other):
317
+ """Returns true if both objects are not equal"""
318
+ return not self == other
@@ -0,0 +1,385 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class ListAccessSitesRequest:
9
+
10
+ """
11
+ Attributes:
12
+ openapi_types (dict): The key is attribute name
13
+ and the value is attribute type.
14
+ attribute_map (dict): The key is attribute name
15
+ and the value is json key in definition.
16
+ """
17
+ sensitive_list = []
18
+
19
+ openapi_types = {
20
+ 'limit': 'int',
21
+ 'offset': 'int',
22
+ 'marker': 'str',
23
+ 'page_reverse': 'bool',
24
+ 'fields': 'list[str]',
25
+ 'sort_key': 'list[str]',
26
+ 'sort_dir': 'list[str]',
27
+ 'id': 'list[str]',
28
+ 'code': 'list[str]',
29
+ 'proxy_region': 'list[str]',
30
+ 'iec_az_code': 'list[str]'
31
+ }
32
+
33
+ attribute_map = {
34
+ 'limit': 'limit',
35
+ 'offset': 'offset',
36
+ 'marker': 'marker',
37
+ 'page_reverse': 'page_reverse',
38
+ 'fields': 'fields',
39
+ 'sort_key': 'sort_key',
40
+ 'sort_dir': 'sort_dir',
41
+ 'id': 'id',
42
+ 'code': 'code',
43
+ 'proxy_region': 'proxy_region',
44
+ 'iec_az_code': 'iec_az_code'
45
+ }
46
+
47
+ def __init__(self, limit=None, offset=None, marker=None, page_reverse=None, fields=None, sort_key=None, sort_dir=None, id=None, code=None, proxy_region=None, iec_az_code=None):
48
+ r"""ListAccessSitesRequest
49
+
50
+ The model defined in huaweicloud sdk
51
+
52
+ :param limit: 每页条数
53
+ :type limit: int
54
+ :param offset: 分页起始点
55
+ :type offset: int
56
+ :param marker: 分页起始点
57
+ :type marker: str
58
+ :param page_reverse: 翻页方向
59
+ :type page_reverse: bool
60
+ :param fields:
61
+ :type fields: list[str]
62
+ :param sort_key: 按照sort_key指定的字段排序
63
+ :type sort_key: list[str]
64
+ :param sort_dir: 排序的方向,倒序或者正序
65
+ :type sort_dir: list[str]
66
+ :param id:
67
+ :type id: list[str]
68
+ :param code:
69
+ :type code: list[str]
70
+ :param proxy_region:
71
+ :type proxy_region: list[str]
72
+ :param iec_az_code:
73
+ :type iec_az_code: list[str]
74
+ """
75
+
76
+
77
+
78
+ self._limit = None
79
+ self._offset = None
80
+ self._marker = None
81
+ self._page_reverse = None
82
+ self._fields = None
83
+ self._sort_key = None
84
+ self._sort_dir = None
85
+ self._id = None
86
+ self._code = None
87
+ self._proxy_region = None
88
+ self._iec_az_code = None
89
+ self.discriminator = None
90
+
91
+ if limit is not None:
92
+ self.limit = limit
93
+ if offset is not None:
94
+ self.offset = offset
95
+ if marker is not None:
96
+ self.marker = marker
97
+ if page_reverse is not None:
98
+ self.page_reverse = page_reverse
99
+ if fields is not None:
100
+ self.fields = fields
101
+ if sort_key is not None:
102
+ self.sort_key = sort_key
103
+ if sort_dir is not None:
104
+ self.sort_dir = sort_dir
105
+ if id is not None:
106
+ self.id = id
107
+ if code is not None:
108
+ self.code = code
109
+ if proxy_region is not None:
110
+ self.proxy_region = proxy_region
111
+ if iec_az_code is not None:
112
+ self.iec_az_code = iec_az_code
113
+
114
+ @property
115
+ def limit(self):
116
+ r"""Gets the limit of this ListAccessSitesRequest.
117
+
118
+ 每页条数
119
+
120
+ :return: The limit of this ListAccessSitesRequest.
121
+ :rtype: int
122
+ """
123
+ return self._limit
124
+
125
+ @limit.setter
126
+ def limit(self, limit):
127
+ r"""Sets the limit of this ListAccessSitesRequest.
128
+
129
+ 每页条数
130
+
131
+ :param limit: The limit of this ListAccessSitesRequest.
132
+ :type limit: int
133
+ """
134
+ self._limit = limit
135
+
136
+ @property
137
+ def offset(self):
138
+ r"""Gets the offset of this ListAccessSitesRequest.
139
+
140
+ 分页起始点
141
+
142
+ :return: The offset of this ListAccessSitesRequest.
143
+ :rtype: int
144
+ """
145
+ return self._offset
146
+
147
+ @offset.setter
148
+ def offset(self, offset):
149
+ r"""Sets the offset of this ListAccessSitesRequest.
150
+
151
+ 分页起始点
152
+
153
+ :param offset: The offset of this ListAccessSitesRequest.
154
+ :type offset: int
155
+ """
156
+ self._offset = offset
157
+
158
+ @property
159
+ def marker(self):
160
+ r"""Gets the marker of this ListAccessSitesRequest.
161
+
162
+ 分页起始点
163
+
164
+ :return: The marker of this ListAccessSitesRequest.
165
+ :rtype: str
166
+ """
167
+ return self._marker
168
+
169
+ @marker.setter
170
+ def marker(self, marker):
171
+ r"""Sets the marker of this ListAccessSitesRequest.
172
+
173
+ 分页起始点
174
+
175
+ :param marker: The marker of this ListAccessSitesRequest.
176
+ :type marker: str
177
+ """
178
+ self._marker = marker
179
+
180
+ @property
181
+ def page_reverse(self):
182
+ r"""Gets the page_reverse of this ListAccessSitesRequest.
183
+
184
+ 翻页方向
185
+
186
+ :return: The page_reverse of this ListAccessSitesRequest.
187
+ :rtype: bool
188
+ """
189
+ return self._page_reverse
190
+
191
+ @page_reverse.setter
192
+ def page_reverse(self, page_reverse):
193
+ r"""Sets the page_reverse of this ListAccessSitesRequest.
194
+
195
+ 翻页方向
196
+
197
+ :param page_reverse: The page_reverse of this ListAccessSitesRequest.
198
+ :type page_reverse: bool
199
+ """
200
+ self._page_reverse = page_reverse
201
+
202
+ @property
203
+ def fields(self):
204
+ r"""Gets the fields of this ListAccessSitesRequest.
205
+
206
+ :return: The fields of this ListAccessSitesRequest.
207
+ :rtype: list[str]
208
+ """
209
+ return self._fields
210
+
211
+ @fields.setter
212
+ def fields(self, fields):
213
+ r"""Sets the fields of this ListAccessSitesRequest.
214
+
215
+ :param fields: The fields of this ListAccessSitesRequest.
216
+ :type fields: list[str]
217
+ """
218
+ self._fields = fields
219
+
220
+ @property
221
+ def sort_key(self):
222
+ r"""Gets the sort_key of this ListAccessSitesRequest.
223
+
224
+ 按照sort_key指定的字段排序
225
+
226
+ :return: The sort_key of this ListAccessSitesRequest.
227
+ :rtype: list[str]
228
+ """
229
+ return self._sort_key
230
+
231
+ @sort_key.setter
232
+ def sort_key(self, sort_key):
233
+ r"""Sets the sort_key of this ListAccessSitesRequest.
234
+
235
+ 按照sort_key指定的字段排序
236
+
237
+ :param sort_key: The sort_key of this ListAccessSitesRequest.
238
+ :type sort_key: list[str]
239
+ """
240
+ self._sort_key = sort_key
241
+
242
+ @property
243
+ def sort_dir(self):
244
+ r"""Gets the sort_dir of this ListAccessSitesRequest.
245
+
246
+ 排序的方向,倒序或者正序
247
+
248
+ :return: The sort_dir of this ListAccessSitesRequest.
249
+ :rtype: list[str]
250
+ """
251
+ return self._sort_dir
252
+
253
+ @sort_dir.setter
254
+ def sort_dir(self, sort_dir):
255
+ r"""Sets the sort_dir of this ListAccessSitesRequest.
256
+
257
+ 排序的方向,倒序或者正序
258
+
259
+ :param sort_dir: The sort_dir of this ListAccessSitesRequest.
260
+ :type sort_dir: list[str]
261
+ """
262
+ self._sort_dir = sort_dir
263
+
264
+ @property
265
+ def id(self):
266
+ r"""Gets the id of this ListAccessSitesRequest.
267
+
268
+ :return: The id of this ListAccessSitesRequest.
269
+ :rtype: list[str]
270
+ """
271
+ return self._id
272
+
273
+ @id.setter
274
+ def id(self, id):
275
+ r"""Sets the id of this ListAccessSitesRequest.
276
+
277
+ :param id: The id of this ListAccessSitesRequest.
278
+ :type id: list[str]
279
+ """
280
+ self._id = id
281
+
282
+ @property
283
+ def code(self):
284
+ r"""Gets the code of this ListAccessSitesRequest.
285
+
286
+ :return: The code of this ListAccessSitesRequest.
287
+ :rtype: list[str]
288
+ """
289
+ return self._code
290
+
291
+ @code.setter
292
+ def code(self, code):
293
+ r"""Sets the code of this ListAccessSitesRequest.
294
+
295
+ :param code: The code of this ListAccessSitesRequest.
296
+ :type code: list[str]
297
+ """
298
+ self._code = code
299
+
300
+ @property
301
+ def proxy_region(self):
302
+ r"""Gets the proxy_region of this ListAccessSitesRequest.
303
+
304
+ :return: The proxy_region of this ListAccessSitesRequest.
305
+ :rtype: list[str]
306
+ """
307
+ return self._proxy_region
308
+
309
+ @proxy_region.setter
310
+ def proxy_region(self, proxy_region):
311
+ r"""Sets the proxy_region of this ListAccessSitesRequest.
312
+
313
+ :param proxy_region: The proxy_region of this ListAccessSitesRequest.
314
+ :type proxy_region: list[str]
315
+ """
316
+ self._proxy_region = proxy_region
317
+
318
+ @property
319
+ def iec_az_code(self):
320
+ r"""Gets the iec_az_code of this ListAccessSitesRequest.
321
+
322
+ :return: The iec_az_code of this ListAccessSitesRequest.
323
+ :rtype: list[str]
324
+ """
325
+ return self._iec_az_code
326
+
327
+ @iec_az_code.setter
328
+ def iec_az_code(self, iec_az_code):
329
+ r"""Sets the iec_az_code of this ListAccessSitesRequest.
330
+
331
+ :param iec_az_code: The iec_az_code of this ListAccessSitesRequest.
332
+ :type iec_az_code: list[str]
333
+ """
334
+ self._iec_az_code = iec_az_code
335
+
336
+ def to_dict(self):
337
+ """Returns the model properties as a dict"""
338
+ result = {}
339
+
340
+ for attr, _ in six.iteritems(self.openapi_types):
341
+ value = getattr(self, attr)
342
+ if isinstance(value, list):
343
+ result[attr] = list(map(
344
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
345
+ value
346
+ ))
347
+ elif hasattr(value, "to_dict"):
348
+ result[attr] = value.to_dict()
349
+ elif isinstance(value, dict):
350
+ result[attr] = dict(map(
351
+ lambda item: (item[0], item[1].to_dict())
352
+ if hasattr(item[1], "to_dict") else item,
353
+ value.items()
354
+ ))
355
+ else:
356
+ if attr in self.sensitive_list:
357
+ result[attr] = "****"
358
+ else:
359
+ result[attr] = value
360
+
361
+ return result
362
+
363
+ def to_str(self):
364
+ """Returns the string representation of the model"""
365
+ import simplejson as json
366
+ if six.PY2:
367
+ import sys
368
+ reload(sys)
369
+ sys.setdefaultencoding("utf-8")
370
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
371
+
372
+ def __repr__(self):
373
+ """For `print`"""
374
+ return self.to_str()
375
+
376
+ def __eq__(self, other):
377
+ """Returns true if both objects are equal"""
378
+ if not isinstance(other, ListAccessSitesRequest):
379
+ return False
380
+
381
+ return self.__dict__ == other.__dict__
382
+
383
+ def __ne__(self, other):
384
+ """Returns true if both objects are not equal"""
385
+ return not self == other