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,311 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class BatchCreateGlobalEipRequestBodyGlobalEip:
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
+ 'name': 'str',
21
+ 'description': 'str',
22
+ 'geip_pool_name': 'str',
23
+ 'access_site': 'str',
24
+ 'internet_bandwidth_info': 'BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo',
25
+ 'count': 'int',
26
+ 'tags': 'list[CreateGlobalEipRequestBodyGlobalEipTags]',
27
+ 'enterprise_project_id': 'str'
28
+ }
29
+
30
+ attribute_map = {
31
+ 'name': 'name',
32
+ 'description': 'description',
33
+ 'geip_pool_name': 'geip_pool_name',
34
+ 'access_site': 'access_site',
35
+ 'internet_bandwidth_info': 'internet_bandwidth_info',
36
+ 'count': 'count',
37
+ 'tags': 'tags',
38
+ 'enterprise_project_id': 'enterprise_project_id'
39
+ }
40
+
41
+ def __init__(self, name=None, description=None, geip_pool_name=None, access_site=None, internet_bandwidth_info=None, count=None, tags=None, enterprise_project_id=None):
42
+ r"""BatchCreateGlobalEipRequestBodyGlobalEip
43
+
44
+ The model defined in huaweicloud sdk
45
+
46
+ :param name: - 功能说明:全域弹性公网IP名称 - 取值范围:1-64,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)
47
+ :type name: str
48
+ :param description: - 功能说明:用户自定义的资源描述 - 约束: - 值的长度最大512字符,由数字、字母、中文、_(下划线)、-(中划线)、.(点)组成。
49
+ :type description: str
50
+ :param geip_pool_name: 全域弹性公网IP池子名称
51
+ :type geip_pool_name: str
52
+ :param access_site: 接入点信息
53
+ :type access_site: str
54
+ :param internet_bandwidth_info:
55
+ :type internet_bandwidth_info: :class:`huaweicloudsdkgeip.v3.BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo`
56
+ :param count: 批创个数
57
+ :type count: int
58
+ :param tags: 全域弹性公网IP标签
59
+ :type tags: list[:class:`huaweicloudsdkgeip.v3.CreateGlobalEipRequestBodyGlobalEipTags`]
60
+ :param enterprise_project_id: - 企业项目ID。最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。 - 创建全域弹性公网IP时,给全域弹性公网IP绑定企业项目ID。 - 不指定该参数时,默认值是 0 - 关于企业项目ID的获取及企业项目特性的详细信息,请参见[《企业管理用户指南》](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)。
61
+ :type enterprise_project_id: str
62
+ """
63
+
64
+
65
+
66
+ self._name = None
67
+ self._description = None
68
+ self._geip_pool_name = None
69
+ self._access_site = None
70
+ self._internet_bandwidth_info = None
71
+ self._count = None
72
+ self._tags = None
73
+ self._enterprise_project_id = None
74
+ self.discriminator = None
75
+
76
+ if name is not None:
77
+ self.name = name
78
+ if description is not None:
79
+ self.description = description
80
+ self.geip_pool_name = geip_pool_name
81
+ self.access_site = access_site
82
+ self.internet_bandwidth_info = internet_bandwidth_info
83
+ if count is not None:
84
+ self.count = count
85
+ if tags is not None:
86
+ self.tags = tags
87
+ if enterprise_project_id is not None:
88
+ self.enterprise_project_id = enterprise_project_id
89
+
90
+ @property
91
+ def name(self):
92
+ r"""Gets the name of this BatchCreateGlobalEipRequestBodyGlobalEip.
93
+
94
+ - 功能说明:全域弹性公网IP名称 - 取值范围:1-64,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)
95
+
96
+ :return: The name of this BatchCreateGlobalEipRequestBodyGlobalEip.
97
+ :rtype: str
98
+ """
99
+ return self._name
100
+
101
+ @name.setter
102
+ def name(self, name):
103
+ r"""Sets the name of this BatchCreateGlobalEipRequestBodyGlobalEip.
104
+
105
+ - 功能说明:全域弹性公网IP名称 - 取值范围:1-64,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)
106
+
107
+ :param name: The name of this BatchCreateGlobalEipRequestBodyGlobalEip.
108
+ :type name: str
109
+ """
110
+ self._name = name
111
+
112
+ @property
113
+ def description(self):
114
+ r"""Gets the description of this BatchCreateGlobalEipRequestBodyGlobalEip.
115
+
116
+ - 功能说明:用户自定义的资源描述 - 约束: - 值的长度最大512字符,由数字、字母、中文、_(下划线)、-(中划线)、.(点)组成。
117
+
118
+ :return: The description of this BatchCreateGlobalEipRequestBodyGlobalEip.
119
+ :rtype: str
120
+ """
121
+ return self._description
122
+
123
+ @description.setter
124
+ def description(self, description):
125
+ r"""Sets the description of this BatchCreateGlobalEipRequestBodyGlobalEip.
126
+
127
+ - 功能说明:用户自定义的资源描述 - 约束: - 值的长度最大512字符,由数字、字母、中文、_(下划线)、-(中划线)、.(点)组成。
128
+
129
+ :param description: The description of this BatchCreateGlobalEipRequestBodyGlobalEip.
130
+ :type description: str
131
+ """
132
+ self._description = description
133
+
134
+ @property
135
+ def geip_pool_name(self):
136
+ r"""Gets the geip_pool_name of this BatchCreateGlobalEipRequestBodyGlobalEip.
137
+
138
+ 全域弹性公网IP池子名称
139
+
140
+ :return: The geip_pool_name of this BatchCreateGlobalEipRequestBodyGlobalEip.
141
+ :rtype: str
142
+ """
143
+ return self._geip_pool_name
144
+
145
+ @geip_pool_name.setter
146
+ def geip_pool_name(self, geip_pool_name):
147
+ r"""Sets the geip_pool_name of this BatchCreateGlobalEipRequestBodyGlobalEip.
148
+
149
+ 全域弹性公网IP池子名称
150
+
151
+ :param geip_pool_name: The geip_pool_name of this BatchCreateGlobalEipRequestBodyGlobalEip.
152
+ :type geip_pool_name: str
153
+ """
154
+ self._geip_pool_name = geip_pool_name
155
+
156
+ @property
157
+ def access_site(self):
158
+ r"""Gets the access_site of this BatchCreateGlobalEipRequestBodyGlobalEip.
159
+
160
+ 接入点信息
161
+
162
+ :return: The access_site of this BatchCreateGlobalEipRequestBodyGlobalEip.
163
+ :rtype: str
164
+ """
165
+ return self._access_site
166
+
167
+ @access_site.setter
168
+ def access_site(self, access_site):
169
+ r"""Sets the access_site of this BatchCreateGlobalEipRequestBodyGlobalEip.
170
+
171
+ 接入点信息
172
+
173
+ :param access_site: The access_site of this BatchCreateGlobalEipRequestBodyGlobalEip.
174
+ :type access_site: str
175
+ """
176
+ self._access_site = access_site
177
+
178
+ @property
179
+ def internet_bandwidth_info(self):
180
+ r"""Gets the internet_bandwidth_info of this BatchCreateGlobalEipRequestBodyGlobalEip.
181
+
182
+ :return: The internet_bandwidth_info of this BatchCreateGlobalEipRequestBodyGlobalEip.
183
+ :rtype: :class:`huaweicloudsdkgeip.v3.BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo`
184
+ """
185
+ return self._internet_bandwidth_info
186
+
187
+ @internet_bandwidth_info.setter
188
+ def internet_bandwidth_info(self, internet_bandwidth_info):
189
+ r"""Sets the internet_bandwidth_info of this BatchCreateGlobalEipRequestBodyGlobalEip.
190
+
191
+ :param internet_bandwidth_info: The internet_bandwidth_info of this BatchCreateGlobalEipRequestBodyGlobalEip.
192
+ :type internet_bandwidth_info: :class:`huaweicloudsdkgeip.v3.BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo`
193
+ """
194
+ self._internet_bandwidth_info = internet_bandwidth_info
195
+
196
+ @property
197
+ def count(self):
198
+ r"""Gets the count of this BatchCreateGlobalEipRequestBodyGlobalEip.
199
+
200
+ 批创个数
201
+
202
+ :return: The count of this BatchCreateGlobalEipRequestBodyGlobalEip.
203
+ :rtype: int
204
+ """
205
+ return self._count
206
+
207
+ @count.setter
208
+ def count(self, count):
209
+ r"""Sets the count of this BatchCreateGlobalEipRequestBodyGlobalEip.
210
+
211
+ 批创个数
212
+
213
+ :param count: The count of this BatchCreateGlobalEipRequestBodyGlobalEip.
214
+ :type count: int
215
+ """
216
+ self._count = count
217
+
218
+ @property
219
+ def tags(self):
220
+ r"""Gets the tags of this BatchCreateGlobalEipRequestBodyGlobalEip.
221
+
222
+ 全域弹性公网IP标签
223
+
224
+ :return: The tags of this BatchCreateGlobalEipRequestBodyGlobalEip.
225
+ :rtype: list[:class:`huaweicloudsdkgeip.v3.CreateGlobalEipRequestBodyGlobalEipTags`]
226
+ """
227
+ return self._tags
228
+
229
+ @tags.setter
230
+ def tags(self, tags):
231
+ r"""Sets the tags of this BatchCreateGlobalEipRequestBodyGlobalEip.
232
+
233
+ 全域弹性公网IP标签
234
+
235
+ :param tags: The tags of this BatchCreateGlobalEipRequestBodyGlobalEip.
236
+ :type tags: list[:class:`huaweicloudsdkgeip.v3.CreateGlobalEipRequestBodyGlobalEipTags`]
237
+ """
238
+ self._tags = tags
239
+
240
+ @property
241
+ def enterprise_project_id(self):
242
+ r"""Gets the enterprise_project_id of this BatchCreateGlobalEipRequestBodyGlobalEip.
243
+
244
+ - 企业项目ID。最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。 - 创建全域弹性公网IP时,给全域弹性公网IP绑定企业项目ID。 - 不指定该参数时,默认值是 0 - 关于企业项目ID的获取及企业项目特性的详细信息,请参见[《企业管理用户指南》](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)。
245
+
246
+ :return: The enterprise_project_id of this BatchCreateGlobalEipRequestBodyGlobalEip.
247
+ :rtype: str
248
+ """
249
+ return self._enterprise_project_id
250
+
251
+ @enterprise_project_id.setter
252
+ def enterprise_project_id(self, enterprise_project_id):
253
+ r"""Sets the enterprise_project_id of this BatchCreateGlobalEipRequestBodyGlobalEip.
254
+
255
+ - 企业项目ID。最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。 - 创建全域弹性公网IP时,给全域弹性公网IP绑定企业项目ID。 - 不指定该参数时,默认值是 0 - 关于企业项目ID的获取及企业项目特性的详细信息,请参见[《企业管理用户指南》](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)。
256
+
257
+ :param enterprise_project_id: The enterprise_project_id of this BatchCreateGlobalEipRequestBodyGlobalEip.
258
+ :type enterprise_project_id: str
259
+ """
260
+ self._enterprise_project_id = enterprise_project_id
261
+
262
+ def to_dict(self):
263
+ """Returns the model properties as a dict"""
264
+ result = {}
265
+
266
+ for attr, _ in six.iteritems(self.openapi_types):
267
+ value = getattr(self, attr)
268
+ if isinstance(value, list):
269
+ result[attr] = list(map(
270
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
271
+ value
272
+ ))
273
+ elif hasattr(value, "to_dict"):
274
+ result[attr] = value.to_dict()
275
+ elif isinstance(value, dict):
276
+ result[attr] = dict(map(
277
+ lambda item: (item[0], item[1].to_dict())
278
+ if hasattr(item[1], "to_dict") else item,
279
+ value.items()
280
+ ))
281
+ else:
282
+ if attr in self.sensitive_list:
283
+ result[attr] = "****"
284
+ else:
285
+ result[attr] = value
286
+
287
+ return result
288
+
289
+ def to_str(self):
290
+ """Returns the string representation of the model"""
291
+ import simplejson as json
292
+ if six.PY2:
293
+ import sys
294
+ reload(sys)
295
+ sys.setdefaultencoding("utf-8")
296
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
297
+
298
+ def __repr__(self):
299
+ """For `print`"""
300
+ return self.to_str()
301
+
302
+ def __eq__(self, other):
303
+ """Returns true if both objects are equal"""
304
+ if not isinstance(other, BatchCreateGlobalEipRequestBodyGlobalEip):
305
+ return False
306
+
307
+ return self.__dict__ == other.__dict__
308
+
309
+ def __ne__(self, other):
310
+ """Returns true if both objects are not equal"""
311
+ return not self == other
@@ -0,0 +1,289 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo:
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
+ 'ingress_size': 'int',
22
+ 'charge_mode': 'str',
23
+ 'size': 'int',
24
+ 'name': 'str',
25
+ 'tags': 'list[CreateGlobalEipRequestBodyGlobalEipTags]',
26
+ 'type': 'str'
27
+ }
28
+
29
+ attribute_map = {
30
+ 'id': 'id',
31
+ 'ingress_size': 'ingress_size',
32
+ 'charge_mode': 'charge_mode',
33
+ 'size': 'size',
34
+ 'name': 'name',
35
+ 'tags': 'tags',
36
+ 'type': 'type'
37
+ }
38
+
39
+ def __init__(self, id=None, ingress_size=None, charge_mode=None, size=None, name=None, tags=None, type=None):
40
+ r"""BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo
41
+
42
+ The model defined in huaweicloud sdk
43
+
44
+ :param id: 全域公网带宽的ID
45
+ :type id: str
46
+ :param ingress_size: 全域公网带宽大小(入云方向)
47
+ :type ingress_size: int
48
+ :param charge_mode: 计费模式
49
+ :type charge_mode: str
50
+ :param size: 全域公网带宽大小(出云方向)
51
+ :type size: int
52
+ :param name: - 功能说明:全域弹性公网IP名称 - 取值范围:1-64,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)
53
+ :type name: str
54
+ :param tags: 全域弹性公网IP标签
55
+ :type tags: list[:class:`huaweicloudsdkgeip.v3.CreateGlobalEipRequestBodyGlobalEipTags`]
56
+ :param type: 全域公网带宽类型
57
+ :type type: str
58
+ """
59
+
60
+
61
+
62
+ self._id = None
63
+ self._ingress_size = None
64
+ self._charge_mode = None
65
+ self._size = None
66
+ self._name = None
67
+ self._tags = None
68
+ self._type = None
69
+ self.discriminator = None
70
+
71
+ if id is not None:
72
+ self.id = id
73
+ if ingress_size is not None:
74
+ self.ingress_size = ingress_size
75
+ if charge_mode is not None:
76
+ self.charge_mode = charge_mode
77
+ if size is not None:
78
+ self.size = size
79
+ if name is not None:
80
+ self.name = name
81
+ if tags is not None:
82
+ self.tags = tags
83
+ if type is not None:
84
+ self.type = type
85
+
86
+ @property
87
+ def id(self):
88
+ r"""Gets the id of this BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo.
89
+
90
+ 全域公网带宽的ID
91
+
92
+ :return: The id of this BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo.
93
+ :rtype: str
94
+ """
95
+ return self._id
96
+
97
+ @id.setter
98
+ def id(self, id):
99
+ r"""Sets the id of this BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo.
100
+
101
+ 全域公网带宽的ID
102
+
103
+ :param id: The id of this BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo.
104
+ :type id: str
105
+ """
106
+ self._id = id
107
+
108
+ @property
109
+ def ingress_size(self):
110
+ r"""Gets the ingress_size of this BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo.
111
+
112
+ 全域公网带宽大小(入云方向)
113
+
114
+ :return: The ingress_size of this BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo.
115
+ :rtype: int
116
+ """
117
+ return self._ingress_size
118
+
119
+ @ingress_size.setter
120
+ def ingress_size(self, ingress_size):
121
+ r"""Sets the ingress_size of this BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo.
122
+
123
+ 全域公网带宽大小(入云方向)
124
+
125
+ :param ingress_size: The ingress_size of this BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo.
126
+ :type ingress_size: int
127
+ """
128
+ self._ingress_size = ingress_size
129
+
130
+ @property
131
+ def charge_mode(self):
132
+ r"""Gets the charge_mode of this BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo.
133
+
134
+ 计费模式
135
+
136
+ :return: The charge_mode of this BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo.
137
+ :rtype: str
138
+ """
139
+ return self._charge_mode
140
+
141
+ @charge_mode.setter
142
+ def charge_mode(self, charge_mode):
143
+ r"""Sets the charge_mode of this BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo.
144
+
145
+ 计费模式
146
+
147
+ :param charge_mode: The charge_mode of this BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo.
148
+ :type charge_mode: str
149
+ """
150
+ self._charge_mode = charge_mode
151
+
152
+ @property
153
+ def size(self):
154
+ r"""Gets the size of this BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo.
155
+
156
+ 全域公网带宽大小(出云方向)
157
+
158
+ :return: The size of this BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo.
159
+ :rtype: int
160
+ """
161
+ return self._size
162
+
163
+ @size.setter
164
+ def size(self, size):
165
+ r"""Sets the size of this BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo.
166
+
167
+ 全域公网带宽大小(出云方向)
168
+
169
+ :param size: The size of this BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo.
170
+ :type size: int
171
+ """
172
+ self._size = size
173
+
174
+ @property
175
+ def name(self):
176
+ r"""Gets the name of this BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo.
177
+
178
+ - 功能说明:全域弹性公网IP名称 - 取值范围:1-64,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)
179
+
180
+ :return: The name of this BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo.
181
+ :rtype: str
182
+ """
183
+ return self._name
184
+
185
+ @name.setter
186
+ def name(self, name):
187
+ r"""Sets the name of this BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo.
188
+
189
+ - 功能说明:全域弹性公网IP名称 - 取值范围:1-64,支持数字、字母、中文、_(下划线)、-(中划线)、.(点)
190
+
191
+ :param name: The name of this BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo.
192
+ :type name: str
193
+ """
194
+ self._name = name
195
+
196
+ @property
197
+ def tags(self):
198
+ r"""Gets the tags of this BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo.
199
+
200
+ 全域弹性公网IP标签
201
+
202
+ :return: The tags of this BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo.
203
+ :rtype: list[:class:`huaweicloudsdkgeip.v3.CreateGlobalEipRequestBodyGlobalEipTags`]
204
+ """
205
+ return self._tags
206
+
207
+ @tags.setter
208
+ def tags(self, tags):
209
+ r"""Sets the tags of this BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo.
210
+
211
+ 全域弹性公网IP标签
212
+
213
+ :param tags: The tags of this BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo.
214
+ :type tags: list[:class:`huaweicloudsdkgeip.v3.CreateGlobalEipRequestBodyGlobalEipTags`]
215
+ """
216
+ self._tags = tags
217
+
218
+ @property
219
+ def type(self):
220
+ r"""Gets the type of this BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo.
221
+
222
+ 全域公网带宽类型
223
+
224
+ :return: The type of this BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo.
225
+ :rtype: str
226
+ """
227
+ return self._type
228
+
229
+ @type.setter
230
+ def type(self, type):
231
+ r"""Sets the type of this BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo.
232
+
233
+ 全域公网带宽类型
234
+
235
+ :param type: The type of this BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo.
236
+ :type type: str
237
+ """
238
+ self._type = type
239
+
240
+ def to_dict(self):
241
+ """Returns the model properties as a dict"""
242
+ result = {}
243
+
244
+ for attr, _ in six.iteritems(self.openapi_types):
245
+ value = getattr(self, attr)
246
+ if isinstance(value, list):
247
+ result[attr] = list(map(
248
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
249
+ value
250
+ ))
251
+ elif hasattr(value, "to_dict"):
252
+ result[attr] = value.to_dict()
253
+ elif isinstance(value, dict):
254
+ result[attr] = dict(map(
255
+ lambda item: (item[0], item[1].to_dict())
256
+ if hasattr(item[1], "to_dict") else item,
257
+ value.items()
258
+ ))
259
+ else:
260
+ if attr in self.sensitive_list:
261
+ result[attr] = "****"
262
+ else:
263
+ result[attr] = value
264
+
265
+ return result
266
+
267
+ def to_str(self):
268
+ """Returns the string representation of the model"""
269
+ import simplejson as json
270
+ if six.PY2:
271
+ import sys
272
+ reload(sys)
273
+ sys.setdefaultencoding("utf-8")
274
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
275
+
276
+ def __repr__(self):
277
+ """For `print`"""
278
+ return self.to_str()
279
+
280
+ def __eq__(self, other):
281
+ """Returns true if both objects are equal"""
282
+ if not isinstance(other, BatchCreateGlobalEipRequestBodyGlobalEipInternetBandwidthInfo):
283
+ return False
284
+
285
+ return self.__dict__ == other.__dict__
286
+
287
+ def __ne__(self, other):
288
+ """Returns true if both objects are not equal"""
289
+ return not self == other