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,84 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class ListGeipSegmentDomainTagsRequest:
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
+ }
21
+
22
+ attribute_map = {
23
+ }
24
+
25
+ def __init__(self):
26
+ r"""ListGeipSegmentDomainTagsRequest
27
+
28
+ The model defined in huaweicloud sdk
29
+
30
+ """
31
+
32
+
33
+ self.discriminator = None
34
+
35
+ def to_dict(self):
36
+ """Returns the model properties as a dict"""
37
+ result = {}
38
+
39
+ for attr, _ in six.iteritems(self.openapi_types):
40
+ value = getattr(self, attr)
41
+ if isinstance(value, list):
42
+ result[attr] = list(map(
43
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
44
+ value
45
+ ))
46
+ elif hasattr(value, "to_dict"):
47
+ result[attr] = value.to_dict()
48
+ elif isinstance(value, dict):
49
+ result[attr] = dict(map(
50
+ lambda item: (item[0], item[1].to_dict())
51
+ if hasattr(item[1], "to_dict") else item,
52
+ value.items()
53
+ ))
54
+ else:
55
+ if attr in self.sensitive_list:
56
+ result[attr] = "****"
57
+ else:
58
+ result[attr] = value
59
+
60
+ return result
61
+
62
+ def to_str(self):
63
+ """Returns the string representation of the model"""
64
+ import simplejson as json
65
+ if six.PY2:
66
+ import sys
67
+ reload(sys)
68
+ sys.setdefaultencoding("utf-8")
69
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
70
+
71
+ def __repr__(self):
72
+ """For `print`"""
73
+ return self.to_str()
74
+
75
+ def __eq__(self, other):
76
+ """Returns true if both objects are equal"""
77
+ if not isinstance(other, ListGeipSegmentDomainTagsRequest):
78
+ return False
79
+
80
+ return self.__dict__ == other.__dict__
81
+
82
+ def __ne__(self, other):
83
+ """Returns true if both objects are not equal"""
84
+ return not self == other
@@ -0,0 +1,199 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.sdk_response import SdkResponse
6
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
7
+
8
+
9
+ class ListGeipSegmentDomainTagsResponse(SdkResponse):
10
+
11
+ """
12
+ Attributes:
13
+ openapi_types (dict): The key is attribute name
14
+ and the value is attribute type.
15
+ attribute_map (dict): The key is attribute name
16
+ and the value is json key in definition.
17
+ """
18
+ sensitive_list = []
19
+
20
+ openapi_types = {
21
+ 'request_id': 'str',
22
+ 'total_count': 'int',
23
+ 'tags': 'list[GetAccountTagsV2]',
24
+ 'x_request_id': 'str'
25
+ }
26
+
27
+ attribute_map = {
28
+ 'request_id': 'request_id',
29
+ 'total_count': 'total_count',
30
+ 'tags': 'tags',
31
+ 'x_request_id': 'X-Request-Id'
32
+ }
33
+
34
+ def __init__(self, request_id=None, total_count=None, tags=None, x_request_id=None):
35
+ r"""ListGeipSegmentDomainTagsResponse
36
+
37
+ The model defined in huaweicloud sdk
38
+
39
+ :param request_id: 本次请求的编号
40
+ :type request_id: str
41
+ :param total_count: 当前列表中资源数量。
42
+ :type total_count: int
43
+ :param tags: tag列表信息
44
+ :type tags: list[:class:`huaweicloudsdkgeip.v3.GetAccountTagsV2`]
45
+ :param x_request_id:
46
+ :type x_request_id: str
47
+ """
48
+
49
+ super(ListGeipSegmentDomainTagsResponse, self).__init__()
50
+
51
+ self._request_id = None
52
+ self._total_count = None
53
+ self._tags = None
54
+ self._x_request_id = None
55
+ self.discriminator = None
56
+
57
+ if request_id is not None:
58
+ self.request_id = request_id
59
+ if total_count is not None:
60
+ self.total_count = total_count
61
+ if tags is not None:
62
+ self.tags = tags
63
+ if x_request_id is not None:
64
+ self.x_request_id = x_request_id
65
+
66
+ @property
67
+ def request_id(self):
68
+ r"""Gets the request_id of this ListGeipSegmentDomainTagsResponse.
69
+
70
+ 本次请求的编号
71
+
72
+ :return: The request_id of this ListGeipSegmentDomainTagsResponse.
73
+ :rtype: str
74
+ """
75
+ return self._request_id
76
+
77
+ @request_id.setter
78
+ def request_id(self, request_id):
79
+ r"""Sets the request_id of this ListGeipSegmentDomainTagsResponse.
80
+
81
+ 本次请求的编号
82
+
83
+ :param request_id: The request_id of this ListGeipSegmentDomainTagsResponse.
84
+ :type request_id: str
85
+ """
86
+ self._request_id = request_id
87
+
88
+ @property
89
+ def total_count(self):
90
+ r"""Gets the total_count of this ListGeipSegmentDomainTagsResponse.
91
+
92
+ 当前列表中资源数量。
93
+
94
+ :return: The total_count of this ListGeipSegmentDomainTagsResponse.
95
+ :rtype: int
96
+ """
97
+ return self._total_count
98
+
99
+ @total_count.setter
100
+ def total_count(self, total_count):
101
+ r"""Sets the total_count of this ListGeipSegmentDomainTagsResponse.
102
+
103
+ 当前列表中资源数量。
104
+
105
+ :param total_count: The total_count of this ListGeipSegmentDomainTagsResponse.
106
+ :type total_count: int
107
+ """
108
+ self._total_count = total_count
109
+
110
+ @property
111
+ def tags(self):
112
+ r"""Gets the tags of this ListGeipSegmentDomainTagsResponse.
113
+
114
+ tag列表信息
115
+
116
+ :return: The tags of this ListGeipSegmentDomainTagsResponse.
117
+ :rtype: list[:class:`huaweicloudsdkgeip.v3.GetAccountTagsV2`]
118
+ """
119
+ return self._tags
120
+
121
+ @tags.setter
122
+ def tags(self, tags):
123
+ r"""Sets the tags of this ListGeipSegmentDomainTagsResponse.
124
+
125
+ tag列表信息
126
+
127
+ :param tags: The tags of this ListGeipSegmentDomainTagsResponse.
128
+ :type tags: list[:class:`huaweicloudsdkgeip.v3.GetAccountTagsV2`]
129
+ """
130
+ self._tags = tags
131
+
132
+ @property
133
+ def x_request_id(self):
134
+ r"""Gets the x_request_id of this ListGeipSegmentDomainTagsResponse.
135
+
136
+ :return: The x_request_id of this ListGeipSegmentDomainTagsResponse.
137
+ :rtype: str
138
+ """
139
+ return self._x_request_id
140
+
141
+ @x_request_id.setter
142
+ def x_request_id(self, x_request_id):
143
+ r"""Sets the x_request_id of this ListGeipSegmentDomainTagsResponse.
144
+
145
+ :param x_request_id: The x_request_id of this ListGeipSegmentDomainTagsResponse.
146
+ :type x_request_id: str
147
+ """
148
+ self._x_request_id = x_request_id
149
+
150
+ def to_dict(self):
151
+ """Returns the model properties as a dict"""
152
+ result = {}
153
+
154
+ for attr, _ in six.iteritems(self.openapi_types):
155
+ value = getattr(self, attr)
156
+ if isinstance(value, list):
157
+ result[attr] = list(map(
158
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
159
+ value
160
+ ))
161
+ elif hasattr(value, "to_dict"):
162
+ result[attr] = value.to_dict()
163
+ elif isinstance(value, dict):
164
+ result[attr] = dict(map(
165
+ lambda item: (item[0], item[1].to_dict())
166
+ if hasattr(item[1], "to_dict") else item,
167
+ value.items()
168
+ ))
169
+ else:
170
+ if attr in self.sensitive_list:
171
+ result[attr] = "****"
172
+ else:
173
+ result[attr] = value
174
+
175
+ return result
176
+
177
+ def to_str(self):
178
+ """Returns the string representation of the model"""
179
+ import simplejson as json
180
+ if six.PY2:
181
+ import sys
182
+ reload(sys)
183
+ sys.setdefaultencoding("utf-8")
184
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
185
+
186
+ def __repr__(self):
187
+ """For `print`"""
188
+ return self.to_str()
189
+
190
+ def __eq__(self, other):
191
+ """Returns true if both objects are equal"""
192
+ if not isinstance(other, ListGeipSegmentDomainTagsResponse):
193
+ return False
194
+
195
+ return self.__dict__ == other.__dict__
196
+
197
+ def __ne__(self, other):
198
+ """Returns true if both objects are not equal"""
199
+ return not self == other
@@ -0,0 +1,169 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class ListGeipSegmentFilterTagsRequest:
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': 'list[int]',
21
+ 'offset': 'list[int]',
22
+ 'body': 'ListResourcesByTagsRequestBody'
23
+ }
24
+
25
+ attribute_map = {
26
+ 'limit': 'limit',
27
+ 'offset': 'offset',
28
+ 'body': 'body'
29
+ }
30
+
31
+ def __init__(self, limit=None, offset=None, body=None):
32
+ r"""ListGeipSegmentFilterTagsRequest
33
+
34
+ The model defined in huaweicloud sdk
35
+
36
+ :param limit: 每页条数
37
+ :type limit: list[int]
38
+ :param offset: 分页起始点
39
+ :type offset: list[int]
40
+ :param body: Body of the ListGeipSegmentFilterTagsRequest
41
+ :type body: :class:`huaweicloudsdkgeip.v3.ListResourcesByTagsRequestBody`
42
+ """
43
+
44
+
45
+
46
+ self._limit = None
47
+ self._offset = None
48
+ self._body = None
49
+ self.discriminator = None
50
+
51
+ if limit is not None:
52
+ self.limit = limit
53
+ if offset is not None:
54
+ self.offset = offset
55
+ if body is not None:
56
+ self.body = body
57
+
58
+ @property
59
+ def limit(self):
60
+ r"""Gets the limit of this ListGeipSegmentFilterTagsRequest.
61
+
62
+ 每页条数
63
+
64
+ :return: The limit of this ListGeipSegmentFilterTagsRequest.
65
+ :rtype: list[int]
66
+ """
67
+ return self._limit
68
+
69
+ @limit.setter
70
+ def limit(self, limit):
71
+ r"""Sets the limit of this ListGeipSegmentFilterTagsRequest.
72
+
73
+ 每页条数
74
+
75
+ :param limit: The limit of this ListGeipSegmentFilterTagsRequest.
76
+ :type limit: list[int]
77
+ """
78
+ self._limit = limit
79
+
80
+ @property
81
+ def offset(self):
82
+ r"""Gets the offset of this ListGeipSegmentFilterTagsRequest.
83
+
84
+ 分页起始点
85
+
86
+ :return: The offset of this ListGeipSegmentFilterTagsRequest.
87
+ :rtype: list[int]
88
+ """
89
+ return self._offset
90
+
91
+ @offset.setter
92
+ def offset(self, offset):
93
+ r"""Sets the offset of this ListGeipSegmentFilterTagsRequest.
94
+
95
+ 分页起始点
96
+
97
+ :param offset: The offset of this ListGeipSegmentFilterTagsRequest.
98
+ :type offset: list[int]
99
+ """
100
+ self._offset = offset
101
+
102
+ @property
103
+ def body(self):
104
+ r"""Gets the body of this ListGeipSegmentFilterTagsRequest.
105
+
106
+ :return: The body of this ListGeipSegmentFilterTagsRequest.
107
+ :rtype: :class:`huaweicloudsdkgeip.v3.ListResourcesByTagsRequestBody`
108
+ """
109
+ return self._body
110
+
111
+ @body.setter
112
+ def body(self, body):
113
+ r"""Sets the body of this ListGeipSegmentFilterTagsRequest.
114
+
115
+ :param body: The body of this ListGeipSegmentFilterTagsRequest.
116
+ :type body: :class:`huaweicloudsdkgeip.v3.ListResourcesByTagsRequestBody`
117
+ """
118
+ self._body = body
119
+
120
+ def to_dict(self):
121
+ """Returns the model properties as a dict"""
122
+ result = {}
123
+
124
+ for attr, _ in six.iteritems(self.openapi_types):
125
+ value = getattr(self, attr)
126
+ if isinstance(value, list):
127
+ result[attr] = list(map(
128
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
129
+ value
130
+ ))
131
+ elif hasattr(value, "to_dict"):
132
+ result[attr] = value.to_dict()
133
+ elif isinstance(value, dict):
134
+ result[attr] = dict(map(
135
+ lambda item: (item[0], item[1].to_dict())
136
+ if hasattr(item[1], "to_dict") else item,
137
+ value.items()
138
+ ))
139
+ else:
140
+ if attr in self.sensitive_list:
141
+ result[attr] = "****"
142
+ else:
143
+ result[attr] = value
144
+
145
+ return result
146
+
147
+ def to_str(self):
148
+ """Returns the string representation of the model"""
149
+ import simplejson as json
150
+ if six.PY2:
151
+ import sys
152
+ reload(sys)
153
+ sys.setdefaultencoding("utf-8")
154
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
155
+
156
+ def __repr__(self):
157
+ """For `print`"""
158
+ return self.to_str()
159
+
160
+ def __eq__(self, other):
161
+ """Returns true if both objects are equal"""
162
+ if not isinstance(other, ListGeipSegmentFilterTagsRequest):
163
+ return False
164
+
165
+ return self.__dict__ == other.__dict__
166
+
167
+ def __ne__(self, other):
168
+ """Returns true if both objects are not equal"""
169
+ return not self == other
@@ -0,0 +1,199 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.sdk_response import SdkResponse
6
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
7
+
8
+
9
+ class ListGeipSegmentFilterTagsResponse(SdkResponse):
10
+
11
+ """
12
+ Attributes:
13
+ openapi_types (dict): The key is attribute name
14
+ and the value is attribute type.
15
+ attribute_map (dict): The key is attribute name
16
+ and the value is json key in definition.
17
+ """
18
+ sensitive_list = []
19
+
20
+ openapi_types = {
21
+ 'resources': 'list[GeipResource]',
22
+ 'total_count': 'int',
23
+ 'request_id': 'str',
24
+ 'x_request_id': 'str'
25
+ }
26
+
27
+ attribute_map = {
28
+ 'resources': 'resources',
29
+ 'total_count': 'total_count',
30
+ 'request_id': 'request_id',
31
+ 'x_request_id': 'X-Request-Id'
32
+ }
33
+
34
+ def __init__(self, resources=None, total_count=None, request_id=None, x_request_id=None):
35
+ r"""ListGeipSegmentFilterTagsResponse
36
+
37
+ The model defined in huaweicloud sdk
38
+
39
+ :param resources: 资源列表
40
+ :type resources: list[:class:`huaweicloudsdkgeip.v3.GeipResource`]
41
+ :param total_count: 当前列表中资源数量。
42
+ :type total_count: int
43
+ :param request_id: 本次请求的编号
44
+ :type request_id: str
45
+ :param x_request_id:
46
+ :type x_request_id: str
47
+ """
48
+
49
+ super(ListGeipSegmentFilterTagsResponse, self).__init__()
50
+
51
+ self._resources = None
52
+ self._total_count = None
53
+ self._request_id = None
54
+ self._x_request_id = None
55
+ self.discriminator = None
56
+
57
+ if resources is not None:
58
+ self.resources = resources
59
+ if total_count is not None:
60
+ self.total_count = total_count
61
+ if request_id is not None:
62
+ self.request_id = request_id
63
+ if x_request_id is not None:
64
+ self.x_request_id = x_request_id
65
+
66
+ @property
67
+ def resources(self):
68
+ r"""Gets the resources of this ListGeipSegmentFilterTagsResponse.
69
+
70
+ 资源列表
71
+
72
+ :return: The resources of this ListGeipSegmentFilterTagsResponse.
73
+ :rtype: list[:class:`huaweicloudsdkgeip.v3.GeipResource`]
74
+ """
75
+ return self._resources
76
+
77
+ @resources.setter
78
+ def resources(self, resources):
79
+ r"""Sets the resources of this ListGeipSegmentFilterTagsResponse.
80
+
81
+ 资源列表
82
+
83
+ :param resources: The resources of this ListGeipSegmentFilterTagsResponse.
84
+ :type resources: list[:class:`huaweicloudsdkgeip.v3.GeipResource`]
85
+ """
86
+ self._resources = resources
87
+
88
+ @property
89
+ def total_count(self):
90
+ r"""Gets the total_count of this ListGeipSegmentFilterTagsResponse.
91
+
92
+ 当前列表中资源数量。
93
+
94
+ :return: The total_count of this ListGeipSegmentFilterTagsResponse.
95
+ :rtype: int
96
+ """
97
+ return self._total_count
98
+
99
+ @total_count.setter
100
+ def total_count(self, total_count):
101
+ r"""Sets the total_count of this ListGeipSegmentFilterTagsResponse.
102
+
103
+ 当前列表中资源数量。
104
+
105
+ :param total_count: The total_count of this ListGeipSegmentFilterTagsResponse.
106
+ :type total_count: int
107
+ """
108
+ self._total_count = total_count
109
+
110
+ @property
111
+ def request_id(self):
112
+ r"""Gets the request_id of this ListGeipSegmentFilterTagsResponse.
113
+
114
+ 本次请求的编号
115
+
116
+ :return: The request_id of this ListGeipSegmentFilterTagsResponse.
117
+ :rtype: str
118
+ """
119
+ return self._request_id
120
+
121
+ @request_id.setter
122
+ def request_id(self, request_id):
123
+ r"""Sets the request_id of this ListGeipSegmentFilterTagsResponse.
124
+
125
+ 本次请求的编号
126
+
127
+ :param request_id: The request_id of this ListGeipSegmentFilterTagsResponse.
128
+ :type request_id: str
129
+ """
130
+ self._request_id = request_id
131
+
132
+ @property
133
+ def x_request_id(self):
134
+ r"""Gets the x_request_id of this ListGeipSegmentFilterTagsResponse.
135
+
136
+ :return: The x_request_id of this ListGeipSegmentFilterTagsResponse.
137
+ :rtype: str
138
+ """
139
+ return self._x_request_id
140
+
141
+ @x_request_id.setter
142
+ def x_request_id(self, x_request_id):
143
+ r"""Sets the x_request_id of this ListGeipSegmentFilterTagsResponse.
144
+
145
+ :param x_request_id: The x_request_id of this ListGeipSegmentFilterTagsResponse.
146
+ :type x_request_id: str
147
+ """
148
+ self._x_request_id = x_request_id
149
+
150
+ def to_dict(self):
151
+ """Returns the model properties as a dict"""
152
+ result = {}
153
+
154
+ for attr, _ in six.iteritems(self.openapi_types):
155
+ value = getattr(self, attr)
156
+ if isinstance(value, list):
157
+ result[attr] = list(map(
158
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
159
+ value
160
+ ))
161
+ elif hasattr(value, "to_dict"):
162
+ result[attr] = value.to_dict()
163
+ elif isinstance(value, dict):
164
+ result[attr] = dict(map(
165
+ lambda item: (item[0], item[1].to_dict())
166
+ if hasattr(item[1], "to_dict") else item,
167
+ value.items()
168
+ ))
169
+ else:
170
+ if attr in self.sensitive_list:
171
+ result[attr] = "****"
172
+ else:
173
+ result[attr] = value
174
+
175
+ return result
176
+
177
+ def to_str(self):
178
+ """Returns the string representation of the model"""
179
+ import simplejson as json
180
+ if six.PY2:
181
+ import sys
182
+ reload(sys)
183
+ sys.setdefaultencoding("utf-8")
184
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
185
+
186
+ def __repr__(self):
187
+ """For `print`"""
188
+ return self.to_str()
189
+
190
+ def __eq__(self, other):
191
+ """Returns true if both objects are equal"""
192
+ if not isinstance(other, ListGeipSegmentFilterTagsResponse):
193
+ return False
194
+
195
+ return self.__dict__ == other.__dict__
196
+
197
+ def __ne__(self, other):
198
+ """Returns true if both objects are not equal"""
199
+ return not self == other