huaweicloudsdkgeip 3.1.177__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 (227) 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 +128 -0
  7. huaweicloudsdkgeip/v3/model/add_geip_segment_tags_response.py +108 -0
  8. huaweicloudsdkgeip/v3/model/add_global_eip_tags_request.py +128 -0
  9. huaweicloudsdkgeip/v3/model/add_global_eip_tags_response.py +108 -0
  10. huaweicloudsdkgeip/v3/model/add_internet_bandwidth_tags_request.py +128 -0
  11. huaweicloudsdkgeip/v3/model/add_internet_bandwidth_tags_response.py +108 -0
  12. huaweicloudsdkgeip/v3/model/allowed_bandwidth_types.py +166 -0
  13. huaweicloudsdkgeip/v3/model/associate_geip_segment_instance_request.py +128 -0
  14. huaweicloudsdkgeip/v3/model/associate_geip_segment_instance_response.py +162 -0
  15. huaweicloudsdkgeip/v3/model/associate_instance_global_eip_request_body.py +128 -0
  16. huaweicloudsdkgeip/v3/model/associate_instance_global_eip_request_body_global_eip.py +129 -0
  17. huaweicloudsdkgeip/v3/model/associate_instance_global_eip_request_body_global_eip_associate_instance_info.py +253 -0
  18. huaweicloudsdkgeip/v3/model/associate_instance_global_eip_request_body_global_eip_gc_bandwidth_info.py +398 -0
  19. huaweicloudsdkgeip/v3/model/associate_instance_global_eip_segment_request_body.py +103 -0
  20. huaweicloudsdkgeip/v3/model/associate_instance_global_eip_segment_request_body_global_eip_segment.py +249 -0
  21. huaweicloudsdkgeip/v3/model/associate_instance_request.py +157 -0
  22. huaweicloudsdkgeip/v3/model/associate_instance_response.py +162 -0
  23. huaweicloudsdkgeip/v3/model/attach_internet_bandwidth.py +135 -0
  24. huaweicloudsdkgeip/v3/model/attach_internet_bandwidth_global_eip.py +734 -0
  25. huaweicloudsdkgeip/v3/model/attach_internet_bandwidth_global_eip_request_body.py +128 -0
  26. huaweicloudsdkgeip/v3/model/attach_internet_bandwidth_global_eip_request_body_global_eip.py +107 -0
  27. huaweicloudsdkgeip/v3/model/attach_internet_bandwidth_request.py +128 -0
  28. huaweicloudsdkgeip/v3/model/attach_internet_bandwidth_response.py +162 -0
  29. huaweicloudsdkgeip/v3/model/batch_attach_geip_segment_internet_bandwidth_request.py +104 -0
  30. huaweicloudsdkgeip/v3/model/batch_attach_geip_segment_internet_bandwidth_response.py +137 -0
  31. huaweicloudsdkgeip/v3/model/batch_attach_internet_bandwidth_request.py +104 -0
  32. huaweicloudsdkgeip/v3/model/batch_attach_internet_bandwidth_response.py +133 -0
  33. huaweicloudsdkgeip/v3/model/batch_attach_internet_bandwidths_global_eip_request_body.py +107 -0
  34. huaweicloudsdkgeip/v3/model/batch_attach_internet_bandwidths_global_eip_segment_request_body.py +107 -0
  35. huaweicloudsdkgeip/v3/model/batch_create_geip_segment_tags_request.py +128 -0
  36. huaweicloudsdkgeip/v3/model/batch_create_geip_segment_tags_response.py +108 -0
  37. huaweicloudsdkgeip/v3/model/batch_create_global_eip_job.py +166 -0
  38. huaweicloudsdkgeip/v3/model/batch_create_global_eip_request.py +104 -0
  39. huaweicloudsdkgeip/v3/model/batch_create_global_eip_request_body.py +128 -0
  40. huaweicloudsdkgeip/v3/model/batch_create_global_eip_request_body_global_eip.py +304 -0
  41. huaweicloudsdkgeip/v3/model/batch_create_global_eip_request_body_global_eip_internet_bandwidth_info.py +282 -0
  42. huaweicloudsdkgeip/v3/model/batch_create_global_eip_response.py +166 -0
  43. huaweicloudsdkgeip/v3/model/batch_create_global_eip_tags_request.py +128 -0
  44. huaweicloudsdkgeip/v3/model/batch_create_global_eip_tags_response.py +108 -0
  45. huaweicloudsdkgeip/v3/model/batch_create_internet_bandwidth.py +598 -0
  46. huaweicloudsdkgeip/v3/model/batch_create_internet_bandwidth_request.py +104 -0
  47. huaweicloudsdkgeip/v3/model/batch_create_internet_bandwidth_request_body.py +103 -0
  48. huaweicloudsdkgeip/v3/model/batch_create_internet_bandwidth_request_body_internet_bandwidth.py +395 -0
  49. huaweicloudsdkgeip/v3/model/batch_create_internet_bandwidth_response.py +166 -0
  50. huaweicloudsdkgeip/v3/model/batch_create_internet_bandwidth_tags_request.py +128 -0
  51. huaweicloudsdkgeip/v3/model/batch_create_internet_bandwidth_tags_response.py +108 -0
  52. huaweicloudsdkgeip/v3/model/batch_create_v2_request_body.py +136 -0
  53. huaweicloudsdkgeip/v3/model/batch_delete_geip_segment_tags_request.py +128 -0
  54. huaweicloudsdkgeip/v3/model/batch_delete_geip_segment_tags_response.py +108 -0
  55. huaweicloudsdkgeip/v3/model/batch_delete_global_eip_tags_request.py +128 -0
  56. huaweicloudsdkgeip/v3/model/batch_delete_global_eip_tags_response.py +108 -0
  57. huaweicloudsdkgeip/v3/model/batch_delete_internet_bandwidth_tags_request.py +128 -0
  58. huaweicloudsdkgeip/v3/model/batch_delete_internet_bandwidth_tags_response.py +108 -0
  59. huaweicloudsdkgeip/v3/model/batch_delete_v2_request_body.py +136 -0
  60. huaweicloudsdkgeip/v3/model/batch_delete_v2_request_body_tags.py +136 -0
  61. huaweicloudsdkgeip/v3/model/batch_detach_geip_segment_internet_bandwidth_request.py +104 -0
  62. huaweicloudsdkgeip/v3/model/batch_detach_geip_segment_internet_bandwidth_response.py +137 -0
  63. huaweicloudsdkgeip/v3/model/batch_detach_internet_bandwidth_request.py +104 -0
  64. huaweicloudsdkgeip/v3/model/batch_detach_internet_bandwidth_response.py +133 -0
  65. huaweicloudsdkgeip/v3/model/batch_detach_internet_bandwidths_global_eip_request_body.py +107 -0
  66. huaweicloudsdkgeip/v3/model/batch_detach_internet_bandwidths_global_eip_segment_request_body.py +107 -0
  67. huaweicloudsdkgeip/v3/model/batch_internet_bandwidths_global_eip_response_body.py +107 -0
  68. huaweicloudsdkgeip/v3/model/count_geip_segments.py +107 -0
  69. huaweicloudsdkgeip/v3/model/count_global_eip_segment_request.py +745 -0
  70. huaweicloudsdkgeip/v3/model/count_global_eip_segment_response.py +162 -0
  71. huaweicloudsdkgeip/v3/model/count_global_eips.py +107 -0
  72. huaweicloudsdkgeip/v3/model/count_global_eips_request.py +654 -0
  73. huaweicloudsdkgeip/v3/model/count_global_eips_response.py +162 -0
  74. huaweicloudsdkgeip/v3/model/count_internet_bandwidth_request.py +279 -0
  75. huaweicloudsdkgeip/v3/model/count_internet_bandwidth_response.py +162 -0
  76. huaweicloudsdkgeip/v3/model/count_internet_bandwidths.py +107 -0
  77. huaweicloudsdkgeip/v3/model/create_global_eip.py +135 -0
  78. huaweicloudsdkgeip/v3/model/create_global_eip_request.py +104 -0
  79. huaweicloudsdkgeip/v3/model/create_global_eip_request_body.py +128 -0
  80. huaweicloudsdkgeip/v3/model/create_global_eip_request_body_global_eip.py +280 -0
  81. huaweicloudsdkgeip/v3/model/create_global_eip_request_body_global_eip_tags.py +135 -0
  82. huaweicloudsdkgeip/v3/model/create_global_eip_response.py +162 -0
  83. huaweicloudsdkgeip/v3/model/create_global_eip_segment_request.py +104 -0
  84. huaweicloudsdkgeip/v3/model/create_global_eip_segment_request_body.py +103 -0
  85. huaweicloudsdkgeip/v3/model/create_global_eip_segment_request_body_global_eip_segment.py +304 -0
  86. huaweicloudsdkgeip/v3/model/create_global_eip_segment_request_body_global_eip_segment_internet_bandwidth.py +282 -0
  87. huaweicloudsdkgeip/v3/model/create_global_eip_segment_response.py +162 -0
  88. huaweicloudsdkgeip/v3/model/create_internet_bandwidth.py +684 -0
  89. huaweicloudsdkgeip/v3/model/create_internet_bandwidth_request.py +104 -0
  90. huaweicloudsdkgeip/v3/model/create_internet_bandwidth_request_body.py +103 -0
  91. huaweicloudsdkgeip/v3/model/create_internet_bandwidth_request_body_internet_bandwidth.py +365 -0
  92. huaweicloudsdkgeip/v3/model/create_internet_bandwidth_response.py +162 -0
  93. huaweicloudsdkgeip/v3/model/create_tag.py +136 -0
  94. huaweicloudsdkgeip/v3/model/create_user_disclaimer_record.py +166 -0
  95. huaweicloudsdkgeip/v3/model/create_user_disclaimer_request.py +77 -0
  96. huaweicloudsdkgeip/v3/model/create_user_disclaimer_response.py +162 -0
  97. huaweicloudsdkgeip/v3/model/create_v2_tag_request_body.py +103 -0
  98. huaweicloudsdkgeip/v3/model/create_v2_tag_request_body_tag.py +135 -0
  99. huaweicloudsdkgeip/v3/model/delete_geip_segment_tag_request.py +127 -0
  100. huaweicloudsdkgeip/v3/model/delete_geip_segment_tag_response.py +108 -0
  101. huaweicloudsdkgeip/v3/model/delete_global_eip_request.py +103 -0
  102. huaweicloudsdkgeip/v3/model/delete_global_eip_response.py +108 -0
  103. huaweicloudsdkgeip/v3/model/delete_global_eip_segment_request.py +103 -0
  104. huaweicloudsdkgeip/v3/model/delete_global_eip_segment_response.py +108 -0
  105. huaweicloudsdkgeip/v3/model/delete_global_eip_tag_request.py +127 -0
  106. huaweicloudsdkgeip/v3/model/delete_global_eip_tag_response.py +108 -0
  107. huaweicloudsdkgeip/v3/model/delete_internet_bandwidth_request.py +103 -0
  108. huaweicloudsdkgeip/v3/model/delete_internet_bandwidth_response.py +108 -0
  109. huaweicloudsdkgeip/v3/model/delete_internet_bandwidth_tag_request.py +127 -0
  110. huaweicloudsdkgeip/v3/model/delete_internet_bandwidth_tag_response.py +108 -0
  111. huaweicloudsdkgeip/v3/model/delete_user_disclaimer_request.py +77 -0
  112. huaweicloudsdkgeip/v3/model/delete_user_disclaimer_response.py +108 -0
  113. huaweicloudsdkgeip/v3/model/detach_internet_bandwidth.py +107 -0
  114. huaweicloudsdkgeip/v3/model/detach_internet_bandwidth_global_eips.py +734 -0
  115. huaweicloudsdkgeip/v3/model/detach_internet_bandwidth_request.py +128 -0
  116. huaweicloudsdkgeip/v3/model/detach_internet_bandwidth_response.py +162 -0
  117. huaweicloudsdkgeip/v3/model/disassociate_geip_segment_instance_request.py +103 -0
  118. huaweicloudsdkgeip/v3/model/disassociate_geip_segment_instance_response.py +162 -0
  119. huaweicloudsdkgeip/v3/model/disassociate_instance_request.py +131 -0
  120. huaweicloudsdkgeip/v3/model/disassociate_instance_response.py +162 -0
  121. huaweicloudsdkgeip/v3/model/ext_limit_pojo.py +166 -0
  122. huaweicloudsdkgeip/v3/model/geip_resource.py +191 -0
  123. huaweicloudsdkgeip/v3/model/geip_tags.py +135 -0
  124. huaweicloudsdkgeip/v3/model/get_account_tags_v2.py +135 -0
  125. huaweicloudsdkgeip/v3/model/global_connection_bandwidth_info.py +253 -0
  126. huaweicloudsdkgeip/v3/model/instance_info.py +340 -0
  127. huaweicloudsdkgeip/v3/model/internet_bandwidth_info.py +137 -0
  128. huaweicloudsdkgeip/v3/model/list_access_sites.py +311 -0
  129. huaweicloudsdkgeip/v3/model/list_access_sites_request.py +378 -0
  130. huaweicloudsdkgeip/v3/model/list_access_sites_response.py +191 -0
  131. huaweicloudsdkgeip/v3/model/list_geip_pools.py +427 -0
  132. huaweicloudsdkgeip/v3/model/list_geip_pools_request.py +453 -0
  133. huaweicloudsdkgeip/v3/model/list_geip_pools_response.py +191 -0
  134. huaweicloudsdkgeip/v3/model/list_geip_resource_quotas_request.py +245 -0
  135. huaweicloudsdkgeip/v3/model/list_geip_resource_quotas_response.py +162 -0
  136. huaweicloudsdkgeip/v3/model/list_geip_segment_count_filter_tags_request.py +104 -0
  137. huaweicloudsdkgeip/v3/model/list_geip_segment_count_filter_tags_response.py +166 -0
  138. huaweicloudsdkgeip/v3/model/list_geip_segment_domain_tags_request.py +77 -0
  139. huaweicloudsdkgeip/v3/model/list_geip_segment_domain_tags_response.py +195 -0
  140. huaweicloudsdkgeip/v3/model/list_geip_segment_filter_tags_request.py +162 -0
  141. huaweicloudsdkgeip/v3/model/list_geip_segment_filter_tags_response.py +195 -0
  142. huaweicloudsdkgeip/v3/model/list_global_eip_count_filter_tags_request.py +104 -0
  143. huaweicloudsdkgeip/v3/model/list_global_eip_count_filter_tags_response.py +166 -0
  144. huaweicloudsdkgeip/v3/model/list_global_eip_domain_tags_request.py +77 -0
  145. huaweicloudsdkgeip/v3/model/list_global_eip_domain_tags_response.py +195 -0
  146. huaweicloudsdkgeip/v3/model/list_global_eip_filter_tags_request.py +154 -0
  147. huaweicloudsdkgeip/v3/model/list_global_eip_filter_tags_response.py +195 -0
  148. huaweicloudsdkgeip/v3/model/list_global_eip_segments.py +680 -0
  149. huaweicloudsdkgeip/v3/model/list_global_eip_segments_request.py +853 -0
  150. huaweicloudsdkgeip/v3/model/list_global_eip_segments_response.py +191 -0
  151. huaweicloudsdkgeip/v3/model/list_global_eips.py +734 -0
  152. huaweicloudsdkgeip/v3/model/list_global_eips_request.py +903 -0
  153. huaweicloudsdkgeip/v3/model/list_global_eips_response.py +191 -0
  154. huaweicloudsdkgeip/v3/model/list_global_eips_response_body_page_info.py +166 -0
  155. huaweicloudsdkgeip/v3/model/list_internet_bandwidth_count_filter_tags_request.py +104 -0
  156. huaweicloudsdkgeip/v3/model/list_internet_bandwidth_count_filter_tags_response.py +166 -0
  157. huaweicloudsdkgeip/v3/model/list_internet_bandwidth_domain_tags_request.py +77 -0
  158. huaweicloudsdkgeip/v3/model/list_internet_bandwidth_domain_tags_response.py +137 -0
  159. huaweicloudsdkgeip/v3/model/list_internet_bandwidth_filter_tags_request.py +154 -0
  160. huaweicloudsdkgeip/v3/model/list_internet_bandwidth_filter_tags_response.py +195 -0
  161. huaweicloudsdkgeip/v3/model/list_internet_bandwidth_limits.py +249 -0
  162. huaweicloudsdkgeip/v3/model/list_internet_bandwidth_limits_request.py +212 -0
  163. huaweicloudsdkgeip/v3/model/list_internet_bandwidth_limits_response.py +166 -0
  164. huaweicloudsdkgeip/v3/model/list_internet_bandwidths.py +746 -0
  165. huaweicloudsdkgeip/v3/model/list_internet_bandwidths_request.py +528 -0
  166. huaweicloudsdkgeip/v3/model/list_internet_bandwidths_response.py +191 -0
  167. huaweicloudsdkgeip/v3/model/list_jobs.py +311 -0
  168. huaweicloudsdkgeip/v3/model/list_jobs_request.py +353 -0
  169. huaweicloudsdkgeip/v3/model/list_jobs_response.py +191 -0
  170. huaweicloudsdkgeip/v3/model/list_quotas.py +107 -0
  171. huaweicloudsdkgeip/v3/model/list_resources_by_tags_request_body.py +107 -0
  172. huaweicloudsdkgeip/v3/model/list_support_instances_support_regions.py +311 -0
  173. huaweicloudsdkgeip/v3/model/list_support_masks.py +224 -0
  174. huaweicloudsdkgeip/v3/model/list_support_masks_request.py +353 -0
  175. huaweicloudsdkgeip/v3/model/list_support_masks_response.py +191 -0
  176. huaweicloudsdkgeip/v3/model/list_support_regions.py +340 -0
  177. huaweicloudsdkgeip/v3/model/list_support_regions_request.py +453 -0
  178. huaweicloudsdkgeip/v3/model/list_support_regions_response.py +191 -0
  179. huaweicloudsdkgeip/v3/model/list_tenant_geip_support_instances_request.py +128 -0
  180. huaweicloudsdkgeip/v3/model/list_tenant_geip_support_instances_response.py +166 -0
  181. huaweicloudsdkgeip/v3/model/lock_info.py +369 -0
  182. huaweicloudsdkgeip/v3/model/native_uuid.py +77 -0
  183. huaweicloudsdkgeip/v3/model/resources_info.py +195 -0
  184. huaweicloudsdkgeip/v3/model/short_global_eip_segment.py +137 -0
  185. huaweicloudsdkgeip/v3/model/show_geip_segment_tags_request.py +103 -0
  186. huaweicloudsdkgeip/v3/model/show_geip_segment_tags_response.py +195 -0
  187. huaweicloudsdkgeip/v3/model/show_global_eip.py +734 -0
  188. huaweicloudsdkgeip/v3/model/show_global_eip_request.py +128 -0
  189. huaweicloudsdkgeip/v3/model/show_global_eip_response.py +162 -0
  190. huaweicloudsdkgeip/v3/model/show_global_eip_segment.py +680 -0
  191. huaweicloudsdkgeip/v3/model/show_global_eip_segment_request.py +128 -0
  192. huaweicloudsdkgeip/v3/model/show_global_eip_segment_response.py +162 -0
  193. huaweicloudsdkgeip/v3/model/show_global_eip_tags_request.py +103 -0
  194. huaweicloudsdkgeip/v3/model/show_global_eip_tags_response.py +195 -0
  195. huaweicloudsdkgeip/v3/model/show_internet_bandwidth.py +688 -0
  196. huaweicloudsdkgeip/v3/model/show_internet_bandwidth_request.py +128 -0
  197. huaweicloudsdkgeip/v3/model/show_internet_bandwidth_response.py +162 -0
  198. huaweicloudsdkgeip/v3/model/show_internet_bandwidth_tags_request.py +103 -0
  199. huaweicloudsdkgeip/v3/model/show_internet_bandwidth_tags_response.py +195 -0
  200. huaweicloudsdkgeip/v3/model/show_job.py +311 -0
  201. huaweicloudsdkgeip/v3/model/show_jobs_request.py +132 -0
  202. huaweicloudsdkgeip/v3/model/show_jobs_response.py +162 -0
  203. huaweicloudsdkgeip/v3/model/show_user_disclaimer_record.py +166 -0
  204. huaweicloudsdkgeip/v3/model/show_user_disclaimer_request.py +104 -0
  205. huaweicloudsdkgeip/v3/model/show_user_disclaimer_response.py +162 -0
  206. huaweicloudsdkgeip/v3/model/sys_tag.py +135 -0
  207. huaweicloudsdkgeip/v3/model/tag.py +137 -0
  208. huaweicloudsdkgeip/v3/model/update_global_eip.py +137 -0
  209. huaweicloudsdkgeip/v3/model/update_global_eip_request.py +128 -0
  210. huaweicloudsdkgeip/v3/model/update_global_eip_request_body.py +128 -0
  211. huaweicloudsdkgeip/v3/model/update_global_eip_request_body_global_eip.py +137 -0
  212. huaweicloudsdkgeip/v3/model/update_global_eip_response.py +162 -0
  213. huaweicloudsdkgeip/v3/model/update_global_eip_segment_request.py +128 -0
  214. huaweicloudsdkgeip/v3/model/update_global_eip_segment_request_body.py +103 -0
  215. huaweicloudsdkgeip/v3/model/update_global_eip_segment_request_body_global_eip_segment.py +137 -0
  216. huaweicloudsdkgeip/v3/model/update_global_eip_segment_response.py +162 -0
  217. huaweicloudsdkgeip/v3/model/update_internet_bandwidth.py +630 -0
  218. huaweicloudsdkgeip/v3/model/update_internet_bandwidth_request.py +128 -0
  219. huaweicloudsdkgeip/v3/model/update_internet_bandwidth_request_body.py +103 -0
  220. huaweicloudsdkgeip/v3/model/update_internet_bandwidth_request_body_internet_bandwidth.py +224 -0
  221. huaweicloudsdkgeip/v3/model/update_internet_bandwidth_response.py +162 -0
  222. huaweicloudsdkgeip/v3/region/__init__.py +0 -0
  223. huaweicloudsdkgeip/v3/region/geip_region.py +31 -0
  224. huaweicloudsdkgeip-3.1.177.dist-info/METADATA +25 -0
  225. huaweicloudsdkgeip-3.1.177.dist-info/RECORD +227 -0
  226. huaweicloudsdkgeip-3.1.177.dist-info/WHEEL +4 -0
  227. huaweicloudsdkgeip-3.1.177.dist-info/licenses/LICENSE +13 -0
@@ -0,0 +1,77 @@
1
+ # coding: utf-8
2
+
3
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
4
+
5
+
6
+ class ListGeipSegmentDomainTagsRequest:
7
+
8
+ """
9
+ Attributes:
10
+ openapi_types (dict): The key is attribute name
11
+ and the value is attribute type.
12
+ attribute_map (dict): The key is attribute name
13
+ and the value is json key in definition.
14
+ """
15
+ sensitive_list = []
16
+
17
+ openapi_types = {
18
+ }
19
+
20
+ attribute_map = {
21
+ }
22
+
23
+ def __init__(self):
24
+ r"""ListGeipSegmentDomainTagsRequest
25
+
26
+ The model defined in huaweicloud sdk
27
+
28
+ """
29
+
30
+
31
+ self.discriminator = None
32
+
33
+ def to_dict(self):
34
+ result = {}
35
+
36
+ for attr, _ in self.openapi_types.items():
37
+ value = getattr(self, attr)
38
+ if isinstance(value, list):
39
+ result[attr] = list(map(
40
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
41
+ value
42
+ ))
43
+ elif hasattr(value, "to_dict"):
44
+ result[attr] = value.to_dict()
45
+ elif isinstance(value, dict):
46
+ result[attr] = dict(map(
47
+ lambda item: (item[0], item[1].to_dict())
48
+ if hasattr(item[1], "to_dict") else item,
49
+ value.items()
50
+ ))
51
+ else:
52
+ if attr in self.sensitive_list:
53
+ result[attr] = "****"
54
+ else:
55
+ result[attr] = value
56
+
57
+ return result
58
+
59
+ def to_str(self):
60
+ """Returns the string representation of the model"""
61
+ import simplejson as json
62
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
63
+
64
+ def __repr__(self):
65
+ """For `print`"""
66
+ return self.to_str()
67
+
68
+ def __eq__(self, other):
69
+ """Returns true if both objects are equal"""
70
+ if not isinstance(other, ListGeipSegmentDomainTagsRequest):
71
+ return False
72
+
73
+ return self.__dict__ == other.__dict__
74
+
75
+ def __ne__(self, other):
76
+ """Returns true if both objects are not equal"""
77
+ return not self == other
@@ -0,0 +1,195 @@
1
+ # coding: utf-8
2
+
3
+ from huaweicloudsdkcore.sdk_response import SdkResponse
4
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
5
+
6
+
7
+ class ListGeipSegmentDomainTagsResponse(SdkResponse):
8
+
9
+ """
10
+ Attributes:
11
+ openapi_types (dict): The key is attribute name
12
+ and the value is attribute type.
13
+ attribute_map (dict): The key is attribute name
14
+ and the value is json key in definition.
15
+ """
16
+ sensitive_list = []
17
+
18
+ openapi_types = {
19
+ 'request_id': 'str',
20
+ 'total_count': 'int',
21
+ 'tags': 'list[GetAccountTagsV2]',
22
+ 'x_request_id': 'str'
23
+ }
24
+
25
+ attribute_map = {
26
+ 'request_id': 'request_id',
27
+ 'total_count': 'total_count',
28
+ 'tags': 'tags',
29
+ 'x_request_id': 'X-Request-Id'
30
+ }
31
+
32
+ def __init__(self, request_id=None, total_count=None, tags=None, x_request_id=None):
33
+ r"""ListGeipSegmentDomainTagsResponse
34
+
35
+ The model defined in huaweicloud sdk
36
+
37
+ :param request_id: 本次请求的编号
38
+ :type request_id: str
39
+ :param total_count: 当前列表中资源数量。
40
+ :type total_count: int
41
+ :param tags: tag列表信息
42
+ :type tags: list[:class:`huaweicloudsdkgeip.v3.GetAccountTagsV2`]
43
+ :param x_request_id:
44
+ :type x_request_id: str
45
+ """
46
+
47
+ super().__init__()
48
+
49
+ self._request_id = None
50
+ self._total_count = None
51
+ self._tags = None
52
+ self._x_request_id = None
53
+ self.discriminator = None
54
+
55
+ if request_id is not None:
56
+ self.request_id = request_id
57
+ if total_count is not None:
58
+ self.total_count = total_count
59
+ if tags is not None:
60
+ self.tags = tags
61
+ if x_request_id is not None:
62
+ self.x_request_id = x_request_id
63
+
64
+ @property
65
+ def request_id(self):
66
+ r"""Gets the request_id of this ListGeipSegmentDomainTagsResponse.
67
+
68
+ 本次请求的编号
69
+
70
+ :return: The request_id of this ListGeipSegmentDomainTagsResponse.
71
+ :rtype: str
72
+ """
73
+ return self._request_id
74
+
75
+ @request_id.setter
76
+ def request_id(self, request_id):
77
+ r"""Sets the request_id of this ListGeipSegmentDomainTagsResponse.
78
+
79
+ 本次请求的编号
80
+
81
+ :param request_id: The request_id of this ListGeipSegmentDomainTagsResponse.
82
+ :type request_id: str
83
+ """
84
+ self._request_id = request_id
85
+
86
+ @property
87
+ def total_count(self):
88
+ r"""Gets the total_count of this ListGeipSegmentDomainTagsResponse.
89
+
90
+ 当前列表中资源数量。
91
+
92
+ :return: The total_count of this ListGeipSegmentDomainTagsResponse.
93
+ :rtype: int
94
+ """
95
+ return self._total_count
96
+
97
+ @total_count.setter
98
+ def total_count(self, total_count):
99
+ r"""Sets the total_count of this ListGeipSegmentDomainTagsResponse.
100
+
101
+ 当前列表中资源数量。
102
+
103
+ :param total_count: The total_count of this ListGeipSegmentDomainTagsResponse.
104
+ :type total_count: int
105
+ """
106
+ self._total_count = total_count
107
+
108
+ @property
109
+ def tags(self):
110
+ r"""Gets the tags of this ListGeipSegmentDomainTagsResponse.
111
+
112
+ tag列表信息
113
+
114
+ :return: The tags of this ListGeipSegmentDomainTagsResponse.
115
+ :rtype: list[:class:`huaweicloudsdkgeip.v3.GetAccountTagsV2`]
116
+ """
117
+ return self._tags
118
+
119
+ @tags.setter
120
+ def tags(self, tags):
121
+ r"""Sets the tags of this ListGeipSegmentDomainTagsResponse.
122
+
123
+ tag列表信息
124
+
125
+ :param tags: The tags of this ListGeipSegmentDomainTagsResponse.
126
+ :type tags: list[:class:`huaweicloudsdkgeip.v3.GetAccountTagsV2`]
127
+ """
128
+ self._tags = tags
129
+
130
+ @property
131
+ def x_request_id(self):
132
+ r"""Gets the x_request_id of this ListGeipSegmentDomainTagsResponse.
133
+
134
+ :return: The x_request_id of this ListGeipSegmentDomainTagsResponse.
135
+ :rtype: str
136
+ """
137
+ return self._x_request_id
138
+
139
+ @x_request_id.setter
140
+ def x_request_id(self, x_request_id):
141
+ r"""Sets the x_request_id of this ListGeipSegmentDomainTagsResponse.
142
+
143
+ :param x_request_id: The x_request_id of this ListGeipSegmentDomainTagsResponse.
144
+ :type x_request_id: str
145
+ """
146
+ self._x_request_id = x_request_id
147
+
148
+ def to_dict(self):
149
+ import warnings
150
+ warnings.warn("ListGeipSegmentDomainTagsResponse.to_dict() is deprecated and no longer maintained, "
151
+ "use to_json_object() to get the response content.", DeprecationWarning)
152
+ result = {}
153
+
154
+ for attr, _ in self.openapi_types.items():
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
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
181
+
182
+ def __repr__(self):
183
+ """For `print`"""
184
+ return self.to_str()
185
+
186
+ def __eq__(self, other):
187
+ """Returns true if both objects are equal"""
188
+ if not isinstance(other, ListGeipSegmentDomainTagsResponse):
189
+ return False
190
+
191
+ return self.__dict__ == other.__dict__
192
+
193
+ def __ne__(self, other):
194
+ """Returns true if both objects are not equal"""
195
+ return not self == other
@@ -0,0 +1,162 @@
1
+ # coding: utf-8
2
+
3
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
4
+
5
+
6
+ class ListGeipSegmentFilterTagsRequest:
7
+
8
+ """
9
+ Attributes:
10
+ openapi_types (dict): The key is attribute name
11
+ and the value is attribute type.
12
+ attribute_map (dict): The key is attribute name
13
+ and the value is json key in definition.
14
+ """
15
+ sensitive_list = []
16
+
17
+ openapi_types = {
18
+ 'limit': 'list[int]',
19
+ 'offset': 'list[int]',
20
+ 'body': 'ListResourcesByTagsRequestBody'
21
+ }
22
+
23
+ attribute_map = {
24
+ 'limit': 'limit',
25
+ 'offset': 'offset',
26
+ 'body': 'body'
27
+ }
28
+
29
+ def __init__(self, limit=None, offset=None, body=None):
30
+ r"""ListGeipSegmentFilterTagsRequest
31
+
32
+ The model defined in huaweicloud sdk
33
+
34
+ :param limit: 每页条数
35
+ :type limit: list[int]
36
+ :param offset: 分页起始点
37
+ :type offset: list[int]
38
+ :param body: Body of the ListGeipSegmentFilterTagsRequest
39
+ :type body: :class:`huaweicloudsdkgeip.v3.ListResourcesByTagsRequestBody`
40
+ """
41
+
42
+
43
+
44
+ self._limit = None
45
+ self._offset = None
46
+ self._body = None
47
+ self.discriminator = None
48
+
49
+ if limit is not None:
50
+ self.limit = limit
51
+ if offset is not None:
52
+ self.offset = offset
53
+ if body is not None:
54
+ self.body = body
55
+
56
+ @property
57
+ def limit(self):
58
+ r"""Gets the limit of this ListGeipSegmentFilterTagsRequest.
59
+
60
+ 每页条数
61
+
62
+ :return: The limit of this ListGeipSegmentFilterTagsRequest.
63
+ :rtype: list[int]
64
+ """
65
+ return self._limit
66
+
67
+ @limit.setter
68
+ def limit(self, limit):
69
+ r"""Sets the limit of this ListGeipSegmentFilterTagsRequest.
70
+
71
+ 每页条数
72
+
73
+ :param limit: The limit of this ListGeipSegmentFilterTagsRequest.
74
+ :type limit: list[int]
75
+ """
76
+ self._limit = limit
77
+
78
+ @property
79
+ def offset(self):
80
+ r"""Gets the offset of this ListGeipSegmentFilterTagsRequest.
81
+
82
+ 分页起始点
83
+
84
+ :return: The offset of this ListGeipSegmentFilterTagsRequest.
85
+ :rtype: list[int]
86
+ """
87
+ return self._offset
88
+
89
+ @offset.setter
90
+ def offset(self, offset):
91
+ r"""Sets the offset of this ListGeipSegmentFilterTagsRequest.
92
+
93
+ 分页起始点
94
+
95
+ :param offset: The offset of this ListGeipSegmentFilterTagsRequest.
96
+ :type offset: list[int]
97
+ """
98
+ self._offset = offset
99
+
100
+ @property
101
+ def body(self):
102
+ r"""Gets the body of this ListGeipSegmentFilterTagsRequest.
103
+
104
+ :return: The body of this ListGeipSegmentFilterTagsRequest.
105
+ :rtype: :class:`huaweicloudsdkgeip.v3.ListResourcesByTagsRequestBody`
106
+ """
107
+ return self._body
108
+
109
+ @body.setter
110
+ def body(self, body):
111
+ r"""Sets the body of this ListGeipSegmentFilterTagsRequest.
112
+
113
+ :param body: The body of this ListGeipSegmentFilterTagsRequest.
114
+ :type body: :class:`huaweicloudsdkgeip.v3.ListResourcesByTagsRequestBody`
115
+ """
116
+ self._body = body
117
+
118
+ def to_dict(self):
119
+ result = {}
120
+
121
+ for attr, _ in self.openapi_types.items():
122
+ value = getattr(self, attr)
123
+ if isinstance(value, list):
124
+ result[attr] = list(map(
125
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
126
+ value
127
+ ))
128
+ elif hasattr(value, "to_dict"):
129
+ result[attr] = value.to_dict()
130
+ elif isinstance(value, dict):
131
+ result[attr] = dict(map(
132
+ lambda item: (item[0], item[1].to_dict())
133
+ if hasattr(item[1], "to_dict") else item,
134
+ value.items()
135
+ ))
136
+ else:
137
+ if attr in self.sensitive_list:
138
+ result[attr] = "****"
139
+ else:
140
+ result[attr] = value
141
+
142
+ return result
143
+
144
+ def to_str(self):
145
+ """Returns the string representation of the model"""
146
+ import simplejson as json
147
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
148
+
149
+ def __repr__(self):
150
+ """For `print`"""
151
+ return self.to_str()
152
+
153
+ def __eq__(self, other):
154
+ """Returns true if both objects are equal"""
155
+ if not isinstance(other, ListGeipSegmentFilterTagsRequest):
156
+ return False
157
+
158
+ return self.__dict__ == other.__dict__
159
+
160
+ def __ne__(self, other):
161
+ """Returns true if both objects are not equal"""
162
+ return not self == other
@@ -0,0 +1,195 @@
1
+ # coding: utf-8
2
+
3
+ from huaweicloudsdkcore.sdk_response import SdkResponse
4
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
5
+
6
+
7
+ class ListGeipSegmentFilterTagsResponse(SdkResponse):
8
+
9
+ """
10
+ Attributes:
11
+ openapi_types (dict): The key is attribute name
12
+ and the value is attribute type.
13
+ attribute_map (dict): The key is attribute name
14
+ and the value is json key in definition.
15
+ """
16
+ sensitive_list = []
17
+
18
+ openapi_types = {
19
+ 'resources': 'list[GeipResource]',
20
+ 'total_count': 'int',
21
+ 'request_id': 'str',
22
+ 'x_request_id': 'str'
23
+ }
24
+
25
+ attribute_map = {
26
+ 'resources': 'resources',
27
+ 'total_count': 'total_count',
28
+ 'request_id': 'request_id',
29
+ 'x_request_id': 'X-Request-Id'
30
+ }
31
+
32
+ def __init__(self, resources=None, total_count=None, request_id=None, x_request_id=None):
33
+ r"""ListGeipSegmentFilterTagsResponse
34
+
35
+ The model defined in huaweicloud sdk
36
+
37
+ :param resources: 资源列表
38
+ :type resources: list[:class:`huaweicloudsdkgeip.v3.GeipResource`]
39
+ :param total_count: 当前列表中资源数量。
40
+ :type total_count: int
41
+ :param request_id: 本次请求的编号
42
+ :type request_id: str
43
+ :param x_request_id:
44
+ :type x_request_id: str
45
+ """
46
+
47
+ super().__init__()
48
+
49
+ self._resources = None
50
+ self._total_count = None
51
+ self._request_id = None
52
+ self._x_request_id = None
53
+ self.discriminator = None
54
+
55
+ if resources is not None:
56
+ self.resources = resources
57
+ if total_count is not None:
58
+ self.total_count = total_count
59
+ if request_id is not None:
60
+ self.request_id = request_id
61
+ if x_request_id is not None:
62
+ self.x_request_id = x_request_id
63
+
64
+ @property
65
+ def resources(self):
66
+ r"""Gets the resources of this ListGeipSegmentFilterTagsResponse.
67
+
68
+ 资源列表
69
+
70
+ :return: The resources of this ListGeipSegmentFilterTagsResponse.
71
+ :rtype: list[:class:`huaweicloudsdkgeip.v3.GeipResource`]
72
+ """
73
+ return self._resources
74
+
75
+ @resources.setter
76
+ def resources(self, resources):
77
+ r"""Sets the resources of this ListGeipSegmentFilterTagsResponse.
78
+
79
+ 资源列表
80
+
81
+ :param resources: The resources of this ListGeipSegmentFilterTagsResponse.
82
+ :type resources: list[:class:`huaweicloudsdkgeip.v3.GeipResource`]
83
+ """
84
+ self._resources = resources
85
+
86
+ @property
87
+ def total_count(self):
88
+ r"""Gets the total_count of this ListGeipSegmentFilterTagsResponse.
89
+
90
+ 当前列表中资源数量。
91
+
92
+ :return: The total_count of this ListGeipSegmentFilterTagsResponse.
93
+ :rtype: int
94
+ """
95
+ return self._total_count
96
+
97
+ @total_count.setter
98
+ def total_count(self, total_count):
99
+ r"""Sets the total_count of this ListGeipSegmentFilterTagsResponse.
100
+
101
+ 当前列表中资源数量。
102
+
103
+ :param total_count: The total_count of this ListGeipSegmentFilterTagsResponse.
104
+ :type total_count: int
105
+ """
106
+ self._total_count = total_count
107
+
108
+ @property
109
+ def request_id(self):
110
+ r"""Gets the request_id of this ListGeipSegmentFilterTagsResponse.
111
+
112
+ 本次请求的编号
113
+
114
+ :return: The request_id of this ListGeipSegmentFilterTagsResponse.
115
+ :rtype: str
116
+ """
117
+ return self._request_id
118
+
119
+ @request_id.setter
120
+ def request_id(self, request_id):
121
+ r"""Sets the request_id of this ListGeipSegmentFilterTagsResponse.
122
+
123
+ 本次请求的编号
124
+
125
+ :param request_id: The request_id of this ListGeipSegmentFilterTagsResponse.
126
+ :type request_id: str
127
+ """
128
+ self._request_id = request_id
129
+
130
+ @property
131
+ def x_request_id(self):
132
+ r"""Gets the x_request_id of this ListGeipSegmentFilterTagsResponse.
133
+
134
+ :return: The x_request_id of this ListGeipSegmentFilterTagsResponse.
135
+ :rtype: str
136
+ """
137
+ return self._x_request_id
138
+
139
+ @x_request_id.setter
140
+ def x_request_id(self, x_request_id):
141
+ r"""Sets the x_request_id of this ListGeipSegmentFilterTagsResponse.
142
+
143
+ :param x_request_id: The x_request_id of this ListGeipSegmentFilterTagsResponse.
144
+ :type x_request_id: str
145
+ """
146
+ self._x_request_id = x_request_id
147
+
148
+ def to_dict(self):
149
+ import warnings
150
+ warnings.warn("ListGeipSegmentFilterTagsResponse.to_dict() is deprecated and no longer maintained, "
151
+ "use to_json_object() to get the response content.", DeprecationWarning)
152
+ result = {}
153
+
154
+ for attr, _ in self.openapi_types.items():
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
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
181
+
182
+ def __repr__(self):
183
+ """For `print`"""
184
+ return self.to_str()
185
+
186
+ def __eq__(self, other):
187
+ """Returns true if both objects are equal"""
188
+ if not isinstance(other, ListGeipSegmentFilterTagsResponse):
189
+ return False
190
+
191
+ return self.__dict__ == other.__dict__
192
+
193
+ def __ne__(self, other):
194
+ """Returns true if both objects are not equal"""
195
+ return not self == other