huaweicloudsdkcbr 3.0.42rc0__py3-none-any.whl → 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.
Files changed (285) hide show
  1. huaweicloudsdkcbr/v1/__init__.py +110 -5
  2. huaweicloudsdkcbr/v1/cbr_async_client.py +3641 -1490
  3. huaweicloudsdkcbr/v1/cbr_client.py +3638 -1488
  4. huaweicloudsdkcbr/v1/model/__init__.py +109 -3
  5. huaweicloudsdkcbr/v1/model/add_agent_path_request.py +139 -0
  6. huaweicloudsdkcbr/v1/model/add_agent_path_response.py +145 -0
  7. huaweicloudsdkcbr/v1/model/add_member_request.py +26 -19
  8. huaweicloudsdkcbr/v1/model/add_member_response.py +27 -19
  9. huaweicloudsdkcbr/v1/model/add_members_req.py +52 -17
  10. huaweicloudsdkcbr/v1/model/add_vault_resource_request.py +26 -19
  11. huaweicloudsdkcbr/v1/model/add_vault_resource_response.py +19 -13
  12. huaweicloudsdkcbr/v1/model/agent.py +433 -0
  13. huaweicloudsdkcbr/v1/model/agent_add_path_req.py +143 -0
  14. huaweicloudsdkcbr/v1/model/agent_register.py +285 -0
  15. huaweicloudsdkcbr/v1/model/agent_register_req.py +110 -0
  16. huaweicloudsdkcbr/v1/model/agent_remove_path_req.py +114 -0
  17. huaweicloudsdkcbr/v1/model/agent_update.py +114 -0
  18. huaweicloudsdkcbr/v1/model/agent_update_req.py +110 -0
  19. huaweicloudsdkcbr/v1/model/associate_vault_policy_request.py +26 -19
  20. huaweicloudsdkcbr/v1/model/associate_vault_policy_response.py +20 -16
  21. huaweicloudsdkcbr/v1/model/backup_extend_info.py +91 -68
  22. huaweicloudsdkcbr/v1/model/backup_replicate_req.py +19 -16
  23. huaweicloudsdkcbr/v1/model/backup_replicate_req_body.py +43 -28
  24. huaweicloudsdkcbr/v1/model/backup_replicate_resp_body.py +55 -36
  25. huaweicloudsdkcbr/v1/model/backup_resp.py +246 -87
  26. huaweicloudsdkcbr/v1/model/backup_restore.py +67 -29
  27. huaweicloudsdkcbr/v1/model/backup_restore_req.py +19 -16
  28. huaweicloudsdkcbr/v1/model/backup_restore_server_mapping.py +25 -18
  29. huaweicloudsdkcbr/v1/model/backup_sync.py +53 -34
  30. huaweicloudsdkcbr/v1/model/backup_sync_req.py +19 -14
  31. huaweicloudsdkcbr/v1/model/backup_sync_resp_body.py +23 -16
  32. huaweicloudsdkcbr/v1/model/backup_update.py +115 -0
  33. huaweicloudsdkcbr/v1/model/backup_update_req.py +111 -0
  34. huaweicloudsdkcbr/v1/model/batch_create_and_delete_vault_tags_request.py +26 -19
  35. huaweicloudsdkcbr/v1/model/batch_create_and_delete_vault_tags_response.py +14 -10
  36. huaweicloudsdkcbr/v1/model/batch_update_vault_request.py +111 -0
  37. huaweicloudsdkcbr/v1/model/batch_update_vault_request_body.py +110 -0
  38. huaweicloudsdkcbr/v1/model/batch_update_vault_response.py +116 -0
  39. huaweicloudsdkcbr/v1/model/billing.py +125 -65
  40. huaweicloudsdkcbr/v1/model/billing_create.py +99 -70
  41. huaweicloudsdkcbr/v1/model/billing_update.py +23 -16
  42. huaweicloudsdkcbr/v1/model/bind_rules_tags.py +142 -0
  43. huaweicloudsdkcbr/v1/model/bulk_create_and_delete_vault_tags_req.py +30 -21
  44. huaweicloudsdkcbr/v1/model/cbc_order_change.py +225 -0
  45. huaweicloudsdkcbr/v1/model/cbc_order_result.py +200 -0
  46. huaweicloudsdkcbr/v1/model/cbc_product_info_order_change.py +199 -0
  47. huaweicloudsdkcbr/v1/model/cbc_product_info_update.py +199 -0
  48. huaweicloudsdkcbr/v1/model/cbc_update.py +196 -0
  49. huaweicloudsdkcbr/v1/model/change_order_request.py +111 -0
  50. huaweicloudsdkcbr/v1/model/change_order_response.py +174 -0
  51. huaweicloudsdkcbr/v1/model/change_to_period.py +286 -0
  52. huaweicloudsdkcbr/v1/model/change_vault_charge_mode_request.py +111 -0
  53. huaweicloudsdkcbr/v1/model/change_vault_charge_mode_response.py +174 -0
  54. huaweicloudsdkcbr/v1/model/check_agent_request.py +111 -0
  55. huaweicloudsdkcbr/v1/model/check_agent_response.py +116 -0
  56. huaweicloudsdkcbr/v1/model/checkpoint_create.py +47 -36
  57. huaweicloudsdkcbr/v1/model/checkpoint_create_skipped_resource.py +38 -25
  58. huaweicloudsdkcbr/v1/model/checkpoint_extra_info_resp.py +28 -19
  59. huaweicloudsdkcbr/v1/model/checkpoint_param.py +78 -34
  60. huaweicloudsdkcbr/v1/model/checkpoint_plan_create.py +35 -24
  61. huaweicloudsdkcbr/v1/model/checkpoint_replicate_param.py +43 -28
  62. huaweicloudsdkcbr/v1/model/checkpoint_replicate_req.py +19 -16
  63. huaweicloudsdkcbr/v1/model/checkpoint_replicate_resp_body.py +54 -35
  64. huaweicloudsdkcbr/v1/model/checkpoint_replicate_respbackups.py +23 -16
  65. huaweicloudsdkcbr/v1/model/checkpoint_resource_resp.py +57 -38
  66. huaweicloudsdkcbr/v1/model/{billbing_create_extra_info.py → combined_order.py} +65 -29
  67. huaweicloudsdkcbr/v1/model/copy_backup_request.py +26 -19
  68. huaweicloudsdkcbr/v1/model/copy_backup_response.py +20 -16
  69. huaweicloudsdkcbr/v1/model/copy_checkpoint_request.py +19 -16
  70. huaweicloudsdkcbr/v1/model/copy_checkpoint_response.py +20 -16
  71. huaweicloudsdkcbr/v1/model/create_checkpoint_request.py +19 -16
  72. huaweicloudsdkcbr/v1/model/create_checkpoint_response.py +20 -16
  73. huaweicloudsdkcbr/v1/model/create_organization_policy_request.py +111 -0
  74. huaweicloudsdkcbr/v1/model/create_organization_policy_response.py +112 -0
  75. huaweicloudsdkcbr/v1/model/create_policy_request.py +19 -16
  76. huaweicloudsdkcbr/v1/model/create_policy_response.py +20 -16
  77. huaweicloudsdkcbr/v1/model/create_post_paid_vault_request.py +111 -0
  78. huaweicloudsdkcbr/v1/model/create_post_paid_vault_response.py +203 -0
  79. huaweicloudsdkcbr/v1/model/create_vault_request.py +19 -16
  80. huaweicloudsdkcbr/v1/model/create_vault_response.py +21 -17
  81. huaweicloudsdkcbr/v1/model/create_vault_tags_request.py +26 -19
  82. huaweicloudsdkcbr/v1/model/create_vault_tags_response.py +14 -10
  83. huaweicloudsdkcbr/v1/model/delete_backup_request.py +20 -13
  84. huaweicloudsdkcbr/v1/model/delete_backup_response.py +14 -10
  85. huaweicloudsdkcbr/v1/model/delete_member_request.py +27 -16
  86. huaweicloudsdkcbr/v1/model/delete_member_response.py +14 -10
  87. huaweicloudsdkcbr/v1/model/delete_organization_policy_request.py +114 -0
  88. huaweicloudsdkcbr/v1/model/delete_organization_policy_response.py +85 -0
  89. huaweicloudsdkcbr/v1/model/delete_policy_request.py +20 -13
  90. huaweicloudsdkcbr/v1/model/delete_policy_response.py +14 -10
  91. huaweicloudsdkcbr/v1/model/delete_vault_request.py +20 -13
  92. huaweicloudsdkcbr/v1/model/delete_vault_response.py +14 -10
  93. huaweicloudsdkcbr/v1/model/delete_vault_tag_request.py +27 -16
  94. huaweicloudsdkcbr/v1/model/delete_vault_tag_response.py +14 -10
  95. huaweicloudsdkcbr/v1/model/disassociate_vault_policy_request.py +26 -19
  96. huaweicloudsdkcbr/v1/model/disassociate_vault_policy_response.py +20 -16
  97. huaweicloudsdkcbr/v1/model/domain_migrate.py +142 -0
  98. huaweicloudsdkcbr/v1/model/domain_migrate_project_status.py +286 -0
  99. huaweicloudsdkcbr/v1/model/{vault_resource_intances_resp.py → domain_projects_info.py} +54 -49
  100. huaweicloudsdkcbr/v1/model/exclude_path.py +144 -0
  101. huaweicloudsdkcbr/v1/model/image_data.py +20 -15
  102. huaweicloudsdkcbr/v1/model/import_backup_request.py +19 -16
  103. huaweicloudsdkcbr/v1/model/import_backup_response.py +20 -14
  104. huaweicloudsdkcbr/v1/model/import_checkpoint_request.py +111 -0
  105. huaweicloudsdkcbr/v1/model/import_checkpoint_response.py +112 -0
  106. huaweicloudsdkcbr/v1/model/instances_resource_detail.py +111 -0
  107. huaweicloudsdkcbr/v1/model/list_agent_request.py +202 -0
  108. huaweicloudsdkcbr/v1/model/list_agent_response.py +203 -0
  109. huaweicloudsdkcbr/v1/model/list_backups_request.py +221 -76
  110. huaweicloudsdkcbr/v1/model/list_backups_response.py +86 -20
  111. huaweicloudsdkcbr/v1/model/list_domain_projects_request.py +114 -0
  112. huaweicloudsdkcbr/v1/model/list_domain_projects_response.py +116 -0
  113. huaweicloudsdkcbr/v1/model/list_external_vault_request.py +316 -0
  114. huaweicloudsdkcbr/v1/model/list_external_vault_response.py +203 -0
  115. huaweicloudsdkcbr/v1/model/list_op_logs_request.py +97 -46
  116. huaweicloudsdkcbr/v1/model/list_op_logs_response.py +86 -20
  117. huaweicloudsdkcbr/v1/model/list_organization_policies_request.py +172 -0
  118. huaweicloudsdkcbr/v1/model/list_organization_policies_response.py +203 -0
  119. huaweicloudsdkcbr/v1/model/list_organization_policy_detail_request.py +114 -0
  120. huaweicloudsdkcbr/v1/model/list_organization_policy_detail_response.py +203 -0
  121. huaweicloudsdkcbr/v1/model/list_policies_request.py +27 -16
  122. huaweicloudsdkcbr/v1/model/list_policies_response.py +27 -19
  123. huaweicloudsdkcbr/v1/model/list_projects_request.py +84 -0
  124. huaweicloudsdkcbr/v1/model/list_projects_response.py +141 -0
  125. huaweicloudsdkcbr/v1/model/list_protectable_request.py +69 -34
  126. huaweicloudsdkcbr/v1/model/list_protectable_response.py +20 -14
  127. huaweicloudsdkcbr/v1/model/list_vault_request.py +92 -45
  128. huaweicloudsdkcbr/v1/model/list_vault_response.py +86 -20
  129. huaweicloudsdkcbr/v1/model/match.py +23 -16
  130. huaweicloudsdkcbr/v1/model/member.py +53 -34
  131. huaweicloudsdkcbr/v1/model/migrate_domain_request.py +111 -0
  132. huaweicloudsdkcbr/v1/model/migrate_domain_response.py +112 -0
  133. huaweicloudsdkcbr/v1/model/migrate_vault_resource_request.py +24 -21
  134. huaweicloudsdkcbr/v1/model/migrate_vault_resource_response.py +19 -13
  135. huaweicloudsdkcbr/v1/model/op_error_info.py +23 -16
  136. huaweicloudsdkcbr/v1/model/op_extend_info_bckup.py +43 -28
  137. huaweicloudsdkcbr/v1/model/op_extend_info_common.py +28 -19
  138. huaweicloudsdkcbr/v1/model/op_extend_info_delete.py +23 -16
  139. huaweicloudsdkcbr/v1/model/op_extend_info_remove_resources.py +31 -22
  140. huaweicloudsdkcbr/v1/model/op_extend_info_replication.py +63 -40
  141. huaweicloudsdkcbr/v1/model/op_extend_info_restore.py +33 -22
  142. huaweicloudsdkcbr/v1/model/op_extend_info_sync.py +28 -19
  143. huaweicloudsdkcbr/v1/model/op_extend_info_vault_delete.py +27 -20
  144. huaweicloudsdkcbr/v1/model/op_extra_info.py +67 -64
  145. huaweicloudsdkcbr/v1/model/operation_log.py +90 -61
  146. huaweicloudsdkcbr/v1/model/organization_policy.py +388 -0
  147. huaweicloudsdkcbr/v1/model/organization_policy_create.py +275 -0
  148. huaweicloudsdkcbr/v1/model/organization_policy_create_req.py +110 -0
  149. huaweicloudsdkcbr/v1/model/organization_policy_status.py +198 -0
  150. huaweicloudsdkcbr/v1/model/organization_policy_update.py +252 -0
  151. huaweicloudsdkcbr/v1/model/organization_policy_update_req.py +110 -0
  152. huaweicloudsdkcbr/v1/model/path.py +231 -0
  153. huaweicloudsdkcbr/v1/model/policy.py +51 -38
  154. huaweicloudsdkcbr/v1/model/policy_associate_vault.py +23 -16
  155. huaweicloudsdkcbr/v1/model/policy_create.py +40 -31
  156. huaweicloudsdkcbr/v1/model/policy_create_req.py +19 -16
  157. huaweicloudsdkcbr/v1/model/policy_trigger_properties_req.py +20 -15
  158. huaweicloudsdkcbr/v1/model/policy_trigger_properties_resp.py +25 -18
  159. huaweicloudsdkcbr/v1/model/policy_trigger_req.py +19 -16
  160. huaweicloudsdkcbr/v1/model/policy_trigger_resp.py +34 -25
  161. huaweicloudsdkcbr/v1/model/policy_update.py +35 -28
  162. huaweicloudsdkcbr/v1/model/policy_update_req.py +19 -16
  163. huaweicloudsdkcbr/v1/model/policyo_od_create.py +97 -45
  164. huaweicloudsdkcbr/v1/model/projects_list_info.py +314 -0
  165. huaweicloudsdkcbr/v1/model/protectable_agent_req.py +114 -0
  166. huaweicloudsdkcbr/v1/model/protectable_agent_status.py +260 -0
  167. huaweicloudsdkcbr/v1/model/protectable_agent_status_resource.py +171 -0
  168. huaweicloudsdkcbr/v1/model/protectable_replication_capabilities_resp_region.py +23 -16
  169. huaweicloudsdkcbr/v1/model/protectable_result.py +68 -30
  170. huaweicloudsdkcbr/v1/model/protectables_resp.py +58 -41
  171. huaweicloudsdkcbr/v1/model/register_agent_request.py +111 -0
  172. huaweicloudsdkcbr/v1/model/register_agent_response.py +112 -0
  173. huaweicloudsdkcbr/v1/model/remove_agent_path_request.py +139 -0
  174. huaweicloudsdkcbr/v1/model/remove_agent_path_response.py +145 -0
  175. huaweicloudsdkcbr/v1/model/remove_vault_resource_request.py +26 -19
  176. huaweicloudsdkcbr/v1/model/remove_vault_resource_response.py +19 -13
  177. huaweicloudsdkcbr/v1/model/replication_record_get.py +85 -58
  178. huaweicloudsdkcbr/v1/model/replication_records_extra_info.py +231 -0
  179. huaweicloudsdkcbr/v1/model/resource.py +38 -28
  180. huaweicloudsdkcbr/v1/model/resource_create.py +36 -27
  181. huaweicloudsdkcbr/v1/model/resource_extra_info.py +28 -21
  182. huaweicloudsdkcbr/v1/model/resource_extra_info_include_volumes.py +23 -16
  183. huaweicloudsdkcbr/v1/model/resource_resp.py +88 -42
  184. huaweicloudsdkcbr/v1/model/restore_backup_request.py +26 -19
  185. huaweicloudsdkcbr/v1/model/restore_backup_response.py +14 -10
  186. huaweicloudsdkcbr/v1/model/restore_details.py +114 -0
  187. huaweicloudsdkcbr/v1/model/self_links_info.py +115 -0
  188. huaweicloudsdkcbr/v1/model/set_vault_resource_request.py +139 -0
  189. huaweicloudsdkcbr/v1/model/set_vault_resource_response.py +116 -0
  190. huaweicloudsdkcbr/v1/model/show_agent_request.py +114 -0
  191. huaweicloudsdkcbr/v1/model/show_agent_response.py +112 -0
  192. huaweicloudsdkcbr/v1/model/show_backup_request.py +20 -13
  193. huaweicloudsdkcbr/v1/model/show_backup_response.py +21 -17
  194. huaweicloudsdkcbr/v1/model/show_checkpoint_request.py +20 -13
  195. huaweicloudsdkcbr/v1/model/show_checkpoint_response.py +20 -16
  196. huaweicloudsdkcbr/v1/model/show_domain_request.py +114 -0
  197. huaweicloudsdkcbr/v1/model/show_domain_response.py +203 -0
  198. huaweicloudsdkcbr/v1/model/show_member_detail_request.py +27 -16
  199. huaweicloudsdkcbr/v1/model/show_member_detail_response.py +20 -16
  200. huaweicloudsdkcbr/v1/model/show_members_detail_request.py +76 -37
  201. huaweicloudsdkcbr/v1/model/show_members_detail_response.py +27 -19
  202. huaweicloudsdkcbr/v1/model/show_metadata_request.py +114 -0
  203. huaweicloudsdkcbr/v1/model/show_metadata_response.py +319 -0
  204. huaweicloudsdkcbr/v1/model/show_migrate_status_request.py +115 -0
  205. huaweicloudsdkcbr/v1/model/show_migrate_status_response.py +145 -0
  206. huaweicloudsdkcbr/v1/model/show_op_log_request.py +20 -13
  207. huaweicloudsdkcbr/v1/model/show_op_log_response.py +20 -16
  208. huaweicloudsdkcbr/v1/model/show_organization_policy_request.py +114 -0
  209. huaweicloudsdkcbr/v1/model/show_organization_policy_response.py +112 -0
  210. huaweicloudsdkcbr/v1/model/show_policy_request.py +20 -13
  211. huaweicloudsdkcbr/v1/model/show_policy_response.py +20 -16
  212. huaweicloudsdkcbr/v1/model/show_protectable_request.py +27 -16
  213. huaweicloudsdkcbr/v1/model/show_protectable_response.py +20 -16
  214. huaweicloudsdkcbr/v1/model/show_replication_capabilities_request.py +13 -10
  215. huaweicloudsdkcbr/v1/model/show_replication_capabilities_response.py +20 -14
  216. huaweicloudsdkcbr/v1/model/show_storage_usage_request.py +202 -0
  217. huaweicloudsdkcbr/v1/model/show_storage_usage_response.py +145 -0
  218. huaweicloudsdkcbr/v1/model/show_summary_request.py +84 -0
  219. huaweicloudsdkcbr/v1/model/show_summary_response.py +145 -0
  220. huaweicloudsdkcbr/v1/model/show_vault_project_tag_request.py +13 -10
  221. huaweicloudsdkcbr/v1/model/show_vault_project_tag_response.py +20 -14
  222. huaweicloudsdkcbr/v1/model/show_vault_request.py +20 -13
  223. huaweicloudsdkcbr/v1/model/show_vault_resource_instances_request.py +19 -16
  224. huaweicloudsdkcbr/v1/model/show_vault_resource_instances_response.py +25 -17
  225. huaweicloudsdkcbr/v1/model/show_vault_response.py +20 -16
  226. huaweicloudsdkcbr/v1/model/show_vault_tag_request.py +20 -13
  227. huaweicloudsdkcbr/v1/model/show_vault_tag_response.py +26 -18
  228. huaweicloudsdkcbr/v1/model/storage_usage.py +257 -0
  229. huaweicloudsdkcbr/v1/model/sync_param.py +142 -0
  230. huaweicloudsdkcbr/v1/model/sync_req.py +110 -0
  231. huaweicloudsdkcbr/v1/model/sync_resp_body.py +142 -0
  232. huaweicloudsdkcbr/v1/model/sys_tag.py +25 -18
  233. huaweicloudsdkcbr/v1/model/sys_tags.py +23 -16
  234. huaweicloudsdkcbr/v1/model/tag.py +28 -22
  235. huaweicloudsdkcbr/v1/model/tag_resource.py +44 -35
  236. huaweicloudsdkcbr/v1/model/tags_req.py +23 -16
  237. huaweicloudsdkcbr/v1/model/tags_resp.py +27 -20
  238. huaweicloudsdkcbr/v1/model/unregister_agent_request.py +114 -0
  239. huaweicloudsdkcbr/v1/model/unregister_agent_response.py +85 -0
  240. huaweicloudsdkcbr/v1/model/update_agent_request.py +135 -0
  241. huaweicloudsdkcbr/v1/model/update_agent_response.py +112 -0
  242. huaweicloudsdkcbr/v1/model/update_backup_request.py +139 -0
  243. huaweicloudsdkcbr/v1/model/update_backup_response.py +112 -0
  244. huaweicloudsdkcbr/v1/model/update_member.py +23 -16
  245. huaweicloudsdkcbr/v1/model/update_member_status_request.py +33 -22
  246. huaweicloudsdkcbr/v1/model/update_member_status_response.py +20 -16
  247. huaweicloudsdkcbr/v1/model/update_order_request.py +139 -0
  248. huaweicloudsdkcbr/v1/model/update_order_response.py +174 -0
  249. huaweicloudsdkcbr/v1/model/update_organization_policy_request.py +139 -0
  250. huaweicloudsdkcbr/v1/model/update_organization_policy_response.py +112 -0
  251. huaweicloudsdkcbr/v1/model/update_policy_request.py +26 -19
  252. huaweicloudsdkcbr/v1/model/update_policy_response.py +20 -16
  253. huaweicloudsdkcbr/v1/model/update_vault_request.py +26 -19
  254. huaweicloudsdkcbr/v1/model/update_vault_response.py +20 -16
  255. huaweicloudsdkcbr/v1/model/vault.py +236 -93
  256. huaweicloudsdkcbr/v1/model/vault_add_resource_req.py +19 -14
  257. huaweicloudsdkcbr/v1/model/vault_associate.py +59 -22
  258. huaweicloudsdkcbr/v1/model/vault_backup.py +24 -19
  259. huaweicloudsdkcbr/v1/model/vault_backup_req.py +19 -16
  260. huaweicloudsdkcbr/v1/model/vault_batch_update.py +144 -0
  261. huaweicloudsdkcbr/v1/model/vault_bind_rules.py +22 -17
  262. huaweicloudsdkcbr/v1/model/vault_create.py +246 -53
  263. huaweicloudsdkcbr/v1/model/vault_create_parameters.py +111 -0
  264. huaweicloudsdkcbr/v1/model/vault_create_req.py +19 -16
  265. huaweicloudsdkcbr/v1/model/vault_create_resource.py +797 -0
  266. huaweicloudsdkcbr/v1/model/vault_dissociate.py +18 -13
  267. huaweicloudsdkcbr/v1/model/vault_get.py +256 -108
  268. huaweicloudsdkcbr/v1/model/vault_migrate_resource_req.py +23 -16
  269. huaweicloudsdkcbr/v1/model/vault_order.py +478 -0
  270. huaweicloudsdkcbr/v1/model/vault_order_create_reqs.py +110 -0
  271. huaweicloudsdkcbr/v1/model/vault_policy_resp.py +28 -19
  272. huaweicloudsdkcbr/v1/model/vault_remove_resource_req.py +20 -15
  273. huaweicloudsdkcbr/v1/model/vault_resource_instances_req.py +106 -52
  274. huaweicloudsdkcbr/v1/model/vault_set_resource_req.py +142 -0
  275. huaweicloudsdkcbr/v1/model/vault_tags_create_req.py +19 -16
  276. huaweicloudsdkcbr/v1/model/vault_update.py +130 -34
  277. huaweicloudsdkcbr/v1/model/vault_update_req.py +19 -16
  278. huaweicloudsdkcbr/v1/region/cbr_region.py +119 -45
  279. {huaweicloudsdkcbr-3.0.42rc0.dist-info → huaweicloudsdkcbr-3.1.160.dist-info}/METADATA +9 -9
  280. huaweicloudsdkcbr-3.1.160.dist-info/RECORD +285 -0
  281. {huaweicloudsdkcbr-3.0.42rc0.dist-info → huaweicloudsdkcbr-3.1.160.dist-info}/WHEEL +1 -1
  282. huaweicloudsdkcbr/v1/model/backup_detail.py +0 -654
  283. huaweicloudsdkcbr-3.0.42rc0.dist-info/RECORD +0 -179
  284. {huaweicloudsdkcbr-3.0.42rc0.dist-info → huaweicloudsdkcbr-3.1.160.dist-info}/LICENSE +0 -0
  285. {huaweicloudsdkcbr-3.0.42rc0.dist-info → huaweicloudsdkcbr-3.1.160.dist-info}/top_level.txt +0 -0
@@ -1,17 +1,12 @@
1
1
  # coding: utf-8
2
2
 
3
- import pprint
4
- import re
5
-
6
3
  import six
7
4
 
8
-
9
-
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
10
6
 
11
7
 
12
8
  class BillingCreate:
13
9
 
14
-
15
10
  """
16
11
  Attributes:
17
12
  openapi_types (dict): The key is attribute name
@@ -19,7 +14,6 @@ class BillingCreate:
19
14
  attribute_map (dict): The key is attribute name
20
15
  and the value is json key in definition.
21
16
  """
22
-
23
17
  sensitive_list = []
24
18
 
25
19
  openapi_types = {
@@ -34,7 +28,7 @@ class BillingCreate:
34
28
  'is_auto_renew': 'bool',
35
29
  'is_auto_pay': 'bool',
36
30
  'console_url': 'str',
37
- 'extra_info': 'BillbingCreateExtraInfo'
31
+ 'is_multi_az': 'bool'
38
32
  }
39
33
 
40
34
  attribute_map = {
@@ -49,11 +43,39 @@ class BillingCreate:
49
43
  'is_auto_renew': 'is_auto_renew',
50
44
  'is_auto_pay': 'is_auto_pay',
51
45
  'console_url': 'console_url',
52
- 'extra_info': 'extra_info'
46
+ 'is_multi_az': 'is_multi_az'
53
47
  }
54
48
 
55
- def __init__(self, cloud_type=None, consistent_level=None, object_type=None, protect_type=None, size=None, charging_mode=None, period_type=None, period_num=None, is_auto_renew=None, is_auto_pay=None, console_url=None, extra_info=None):
56
- """BillingCreate - a model defined in huaweicloud sdk"""
49
+ def __init__(self, cloud_type=None, consistent_level=None, object_type=None, protect_type=None, size=None, charging_mode=None, period_type=None, period_num=None, is_auto_renew=None, is_auto_pay=None, console_url=None, is_multi_az=None):
50
+ r"""BillingCreate
51
+
52
+ The model defined in huaweicloud sdk
53
+
54
+ :param cloud_type: 云平台,公有云或者混合云
55
+ :type cloud_type: str
56
+ :param consistent_level: 规格,崩溃一致性(crash_consistent)或应用一致性(app_consistent)
57
+ :type consistent_level: str
58
+ :param object_type: 对象类型:云服务器(server),云硬盘(disk),文件系统(turbo),云桌面(workspace),VMware(vmware),关系型数据库(rds),文件(file)。
59
+ :type object_type: str
60
+ :param protect_type: 保护类型:备份(backup)、复制(replication)
61
+ :type protect_type: str
62
+ :param size: 容量,单位GB
63
+ :type size: int
64
+ :param charging_mode: 创建模式,按需:post_paid,包周期:pre_paid,默认为post_paid
65
+ :type charging_mode: str
66
+ :param period_type: 创建类型,charging_mode为pre_paid必填,按年(year)或者按月(month)
67
+ :type period_type: str
68
+ :param period_num: 创建类型的数量,charging_mode为pre_paid必填
69
+ :type period_num: int
70
+ :param is_auto_renew: 到期后是否自动续期,默认不续期
71
+ :type is_auto_renew: bool
72
+ :param is_auto_pay: 是否自动付费,默认为不自动付费
73
+ :type is_auto_pay: bool
74
+ :param console_url: 跳转URL
75
+ :type console_url: str
76
+ :param is_multi_az: 存储库多az属性,默认为false
77
+ :type is_multi_az: bool
78
+ """
57
79
 
58
80
 
59
81
 
@@ -68,7 +90,7 @@ class BillingCreate:
68
90
  self._is_auto_renew = None
69
91
  self._is_auto_pay = None
70
92
  self._console_url = None
71
- self._extra_info = None
93
+ self._is_multi_az = None
72
94
  self.discriminator = None
73
95
 
74
96
  if cloud_type is not None:
@@ -89,14 +111,14 @@ class BillingCreate:
89
111
  self.is_auto_pay = is_auto_pay
90
112
  if console_url is not None:
91
113
  self.console_url = console_url
92
- if extra_info is not None:
93
- self.extra_info = extra_info
114
+ if is_multi_az is not None:
115
+ self.is_multi_az = is_multi_az
94
116
 
95
117
  @property
96
118
  def cloud_type(self):
97
- """Gets the cloud_type of this BillingCreate.
119
+ r"""Gets the cloud_type of this BillingCreate.
98
120
 
99
- [云平台,云平台,公有云或者混合云](tag:hws,hws_hk,fcs_vm,ctc) [云平台,云平台,公有云](tag:dt,ocb,tlf,sbc)
121
+ 云平台,公有云或者混合云
100
122
 
101
123
  :return: The cloud_type of this BillingCreate.
102
124
  :rtype: str
@@ -105,20 +127,20 @@ class BillingCreate:
105
127
 
106
128
  @cloud_type.setter
107
129
  def cloud_type(self, cloud_type):
108
- """Sets the cloud_type of this BillingCreate.
130
+ r"""Sets the cloud_type of this BillingCreate.
109
131
 
110
- [云平台,云平台,公有云或者混合云](tag:hws,hws_hk,fcs_vm,ctc) [云平台,云平台,公有云](tag:dt,ocb,tlf,sbc)
132
+ 云平台,公有云或者混合云
111
133
 
112
134
  :param cloud_type: The cloud_type of this BillingCreate.
113
- :type: str
135
+ :type cloud_type: str
114
136
  """
115
137
  self._cloud_type = cloud_type
116
138
 
117
139
  @property
118
140
  def consistent_level(self):
119
- """Gets the consistent_level of this BillingCreate.
141
+ r"""Gets the consistent_level of this BillingCreate.
120
142
 
121
- [规格,崩溃一致性(crash_consistent)或应用一致性(app_consistent)](tag:hws,hws_hk,fcs_vm,ctc) [规格,默认为崩溃一致性(crash_consistent)](tag:dt,ocb,tlf,sbc)
143
+ 规格,崩溃一致性(crash_consistent)或应用一致性(app_consistent)
122
144
 
123
145
  :return: The consistent_level of this BillingCreate.
124
146
  :rtype: str
@@ -127,20 +149,20 @@ class BillingCreate:
127
149
 
128
150
  @consistent_level.setter
129
151
  def consistent_level(self, consistent_level):
130
- """Sets the consistent_level of this BillingCreate.
152
+ r"""Sets the consistent_level of this BillingCreate.
131
153
 
132
- [规格,崩溃一致性(crash_consistent)或应用一致性(app_consistent)](tag:hws,hws_hk,fcs_vm,ctc) [规格,默认为崩溃一致性(crash_consistent)](tag:dt,ocb,tlf,sbc)
154
+ 规格,崩溃一致性(crash_consistent)或应用一致性(app_consistent)
133
155
 
134
156
  :param consistent_level: The consistent_level of this BillingCreate.
135
- :type: str
157
+ :type consistent_level: str
136
158
  """
137
159
  self._consistent_level = consistent_level
138
160
 
139
161
  @property
140
162
  def object_type(self):
141
- """Gets the object_type of this BillingCreate.
163
+ r"""Gets the object_type of this BillingCreate.
142
164
 
143
- 对象类型:云服务器(server),云硬盘(disk),文件系统(turbo)。
165
+ 对象类型:云服务器(server),云硬盘(disk),文件系统(turbo),云桌面(workspace),VMware(vmware),关系型数据库(rds),文件(file)。
144
166
 
145
167
  :return: The object_type of this BillingCreate.
146
168
  :rtype: str
@@ -149,18 +171,18 @@ class BillingCreate:
149
171
 
150
172
  @object_type.setter
151
173
  def object_type(self, object_type):
152
- """Sets the object_type of this BillingCreate.
174
+ r"""Sets the object_type of this BillingCreate.
153
175
 
154
- 对象类型:云服务器(server),云硬盘(disk),文件系统(turbo)。
176
+ 对象类型:云服务器(server),云硬盘(disk),文件系统(turbo),云桌面(workspace),VMware(vmware),关系型数据库(rds),文件(file)。
155
177
 
156
178
  :param object_type: The object_type of this BillingCreate.
157
- :type: str
179
+ :type object_type: str
158
180
  """
159
181
  self._object_type = object_type
160
182
 
161
183
  @property
162
184
  def protect_type(self):
163
- """Gets the protect_type of this BillingCreate.
185
+ r"""Gets the protect_type of this BillingCreate.
164
186
 
165
187
  保护类型:备份(backup)、复制(replication)
166
188
 
@@ -171,18 +193,18 @@ class BillingCreate:
171
193
 
172
194
  @protect_type.setter
173
195
  def protect_type(self, protect_type):
174
- """Sets the protect_type of this BillingCreate.
196
+ r"""Sets the protect_type of this BillingCreate.
175
197
 
176
198
  保护类型:备份(backup)、复制(replication)
177
199
 
178
200
  :param protect_type: The protect_type of this BillingCreate.
179
- :type: str
201
+ :type protect_type: str
180
202
  """
181
203
  self._protect_type = protect_type
182
204
 
183
205
  @property
184
206
  def size(self):
185
- """Gets the size of this BillingCreate.
207
+ r"""Gets the size of this BillingCreate.
186
208
 
187
209
  容量,单位GB
188
210
 
@@ -193,18 +215,18 @@ class BillingCreate:
193
215
 
194
216
  @size.setter
195
217
  def size(self, size):
196
- """Sets the size of this BillingCreate.
218
+ r"""Sets the size of this BillingCreate.
197
219
 
198
220
  容量,单位GB
199
221
 
200
222
  :param size: The size of this BillingCreate.
201
- :type: int
223
+ :type size: int
202
224
  """
203
225
  self._size = size
204
226
 
205
227
  @property
206
228
  def charging_mode(self):
207
- """Gets the charging_mode of this BillingCreate.
229
+ r"""Gets the charging_mode of this BillingCreate.
208
230
 
209
231
  创建模式,按需:post_paid,包周期:pre_paid,默认为post_paid
210
232
 
@@ -215,20 +237,20 @@ class BillingCreate:
215
237
 
216
238
  @charging_mode.setter
217
239
  def charging_mode(self, charging_mode):
218
- """Sets the charging_mode of this BillingCreate.
240
+ r"""Sets the charging_mode of this BillingCreate.
219
241
 
220
242
  创建模式,按需:post_paid,包周期:pre_paid,默认为post_paid
221
243
 
222
244
  :param charging_mode: The charging_mode of this BillingCreate.
223
- :type: str
245
+ :type charging_mode: str
224
246
  """
225
247
  self._charging_mode = charging_mode
226
248
 
227
249
  @property
228
250
  def period_type(self):
229
- """Gets the period_type of this BillingCreate.
251
+ r"""Gets the period_type of this BillingCreate.
230
252
 
231
- 创建类型,按年(year)或者按月(month)
253
+ 创建类型,charging_mode为pre_paid必填,按年(year)或者按月(month)
232
254
 
233
255
  :return: The period_type of this BillingCreate.
234
256
  :rtype: str
@@ -237,20 +259,20 @@ class BillingCreate:
237
259
 
238
260
  @period_type.setter
239
261
  def period_type(self, period_type):
240
- """Sets the period_type of this BillingCreate.
262
+ r"""Sets the period_type of this BillingCreate.
241
263
 
242
- 创建类型,按年(year)或者按月(month)
264
+ 创建类型,charging_mode为pre_paid必填,按年(year)或者按月(month)
243
265
 
244
266
  :param period_type: The period_type of this BillingCreate.
245
- :type: str
267
+ :type period_type: str
246
268
  """
247
269
  self._period_type = period_type
248
270
 
249
271
  @property
250
272
  def period_num(self):
251
- """Gets the period_num of this BillingCreate.
273
+ r"""Gets the period_num of this BillingCreate.
252
274
 
253
- 创建类型的数量
275
+ 创建类型的数量,charging_mode为pre_paid必填
254
276
 
255
277
  :return: The period_num of this BillingCreate.
256
278
  :rtype: int
@@ -259,18 +281,18 @@ class BillingCreate:
259
281
 
260
282
  @period_num.setter
261
283
  def period_num(self, period_num):
262
- """Sets the period_num of this BillingCreate.
284
+ r"""Sets the period_num of this BillingCreate.
263
285
 
264
- 创建类型的数量
286
+ 创建类型的数量,charging_mode为pre_paid必填
265
287
 
266
288
  :param period_num: The period_num of this BillingCreate.
267
- :type: int
289
+ :type period_num: int
268
290
  """
269
291
  self._period_num = period_num
270
292
 
271
293
  @property
272
294
  def is_auto_renew(self):
273
- """Gets the is_auto_renew of this BillingCreate.
295
+ r"""Gets the is_auto_renew of this BillingCreate.
274
296
 
275
297
  到期后是否自动续期,默认不续期
276
298
 
@@ -281,18 +303,18 @@ class BillingCreate:
281
303
 
282
304
  @is_auto_renew.setter
283
305
  def is_auto_renew(self, is_auto_renew):
284
- """Sets the is_auto_renew of this BillingCreate.
306
+ r"""Sets the is_auto_renew of this BillingCreate.
285
307
 
286
308
  到期后是否自动续期,默认不续期
287
309
 
288
310
  :param is_auto_renew: The is_auto_renew of this BillingCreate.
289
- :type: bool
311
+ :type is_auto_renew: bool
290
312
  """
291
313
  self._is_auto_renew = is_auto_renew
292
314
 
293
315
  @property
294
316
  def is_auto_pay(self):
295
- """Gets the is_auto_pay of this BillingCreate.
317
+ r"""Gets the is_auto_pay of this BillingCreate.
296
318
 
297
319
  是否自动付费,默认为不自动付费
298
320
 
@@ -303,18 +325,18 @@ class BillingCreate:
303
325
 
304
326
  @is_auto_pay.setter
305
327
  def is_auto_pay(self, is_auto_pay):
306
- """Sets the is_auto_pay of this BillingCreate.
328
+ r"""Sets the is_auto_pay of this BillingCreate.
307
329
 
308
330
  是否自动付费,默认为不自动付费
309
331
 
310
332
  :param is_auto_pay: The is_auto_pay of this BillingCreate.
311
- :type: bool
333
+ :type is_auto_pay: bool
312
334
  """
313
335
  self._is_auto_pay = is_auto_pay
314
336
 
315
337
  @property
316
338
  def console_url(self):
317
- """Gets the console_url of this BillingCreate.
339
+ r"""Gets the console_url of this BillingCreate.
318
340
 
319
341
  跳转URL
320
342
 
@@ -325,34 +347,36 @@ class BillingCreate:
325
347
 
326
348
  @console_url.setter
327
349
  def console_url(self, console_url):
328
- """Sets the console_url of this BillingCreate.
350
+ r"""Sets the console_url of this BillingCreate.
329
351
 
330
352
  跳转URL
331
353
 
332
354
  :param console_url: The console_url of this BillingCreate.
333
- :type: str
355
+ :type console_url: str
334
356
  """
335
357
  self._console_url = console_url
336
358
 
337
359
  @property
338
- def extra_info(self):
339
- """Gets the extra_info of this BillingCreate.
360
+ def is_multi_az(self):
361
+ r"""Gets the is_multi_az of this BillingCreate.
340
362
 
363
+ 存储库多az属性,默认为false
341
364
 
342
- :return: The extra_info of this BillingCreate.
343
- :rtype: BillbingCreateExtraInfo
365
+ :return: The is_multi_az of this BillingCreate.
366
+ :rtype: bool
344
367
  """
345
- return self._extra_info
368
+ return self._is_multi_az
346
369
 
347
- @extra_info.setter
348
- def extra_info(self, extra_info):
349
- """Sets the extra_info of this BillingCreate.
370
+ @is_multi_az.setter
371
+ def is_multi_az(self, is_multi_az):
372
+ r"""Sets the is_multi_az of this BillingCreate.
350
373
 
374
+ 存储库多az属性,默认为false
351
375
 
352
- :param extra_info: The extra_info of this BillingCreate.
353
- :type: BillbingCreateExtraInfo
376
+ :param is_multi_az: The is_multi_az of this BillingCreate.
377
+ :type is_multi_az: bool
354
378
  """
355
- self._extra_info = extra_info
379
+ self._is_multi_az = is_multi_az
356
380
 
357
381
  def to_dict(self):
358
382
  """Returns the model properties as a dict"""
@@ -383,10 +407,15 @@ class BillingCreate:
383
407
 
384
408
  def to_str(self):
385
409
  """Returns the string representation of the model"""
386
- return pprint.pformat(self.to_dict())
410
+ import simplejson as json
411
+ if six.PY2:
412
+ import sys
413
+ reload(sys)
414
+ sys.setdefaultencoding("utf-8")
415
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
387
416
 
388
417
  def __repr__(self):
389
- """For `print` and `pprint`"""
418
+ """For `print`"""
390
419
  return self.to_str()
391
420
 
392
421
  def __eq__(self, other):
@@ -1,17 +1,12 @@
1
1
  # coding: utf-8
2
2
 
3
- import pprint
4
- import re
5
-
6
3
  import six
7
4
 
8
-
9
-
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
10
6
 
11
7
 
12
8
  class BillingUpdate:
13
9
 
14
-
15
10
  """
16
11
  Attributes:
17
12
  openapi_types (dict): The key is attribute name
@@ -19,7 +14,6 @@ class BillingUpdate:
19
14
  attribute_map (dict): The key is attribute name
20
15
  and the value is json key in definition.
21
16
  """
22
-
23
17
  sensitive_list = []
24
18
 
25
19
  openapi_types = {
@@ -33,7 +27,15 @@ class BillingUpdate:
33
27
  }
34
28
 
35
29
  def __init__(self, consistent_level=None, size=None):
36
- """BillingUpdate - a model defined in huaweicloud sdk"""
30
+ r"""BillingUpdate
31
+
32
+ The model defined in huaweicloud sdk
33
+
34
+ :param consistent_level: 存储库规格
35
+ :type consistent_level: str
36
+ :param size: 存储库大小,单位为GB
37
+ :type size: int
38
+ """
37
39
 
38
40
 
39
41
 
@@ -48,7 +50,7 @@ class BillingUpdate:
48
50
 
49
51
  @property
50
52
  def consistent_level(self):
51
- """Gets the consistent_level of this BillingUpdate.
53
+ r"""Gets the consistent_level of this BillingUpdate.
52
54
 
53
55
  存储库规格
54
56
 
@@ -59,18 +61,18 @@ class BillingUpdate:
59
61
 
60
62
  @consistent_level.setter
61
63
  def consistent_level(self, consistent_level):
62
- """Sets the consistent_level of this BillingUpdate.
64
+ r"""Sets the consistent_level of this BillingUpdate.
63
65
 
64
66
  存储库规格
65
67
 
66
68
  :param consistent_level: The consistent_level of this BillingUpdate.
67
- :type: str
69
+ :type consistent_level: str
68
70
  """
69
71
  self._consistent_level = consistent_level
70
72
 
71
73
  @property
72
74
  def size(self):
73
- """Gets the size of this BillingUpdate.
75
+ r"""Gets the size of this BillingUpdate.
74
76
 
75
77
  存储库大小,单位为GB
76
78
 
@@ -81,12 +83,12 @@ class BillingUpdate:
81
83
 
82
84
  @size.setter
83
85
  def size(self, size):
84
- """Sets the size of this BillingUpdate.
86
+ r"""Sets the size of this BillingUpdate.
85
87
 
86
88
  存储库大小,单位为GB
87
89
 
88
90
  :param size: The size of this BillingUpdate.
89
- :type: int
91
+ :type size: int
90
92
  """
91
93
  self._size = size
92
94
 
@@ -119,10 +121,15 @@ class BillingUpdate:
119
121
 
120
122
  def to_str(self):
121
123
  """Returns the string representation of the model"""
122
- return pprint.pformat(self.to_dict())
124
+ import simplejson as json
125
+ if six.PY2:
126
+ import sys
127
+ reload(sys)
128
+ sys.setdefaultencoding("utf-8")
129
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
123
130
 
124
131
  def __repr__(self):
125
- """For `print` and `pprint`"""
132
+ """For `print`"""
126
133
  return self.to_str()
127
134
 
128
135
  def __eq__(self, other):
@@ -0,0 +1,142 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class BindRulesTags:
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
+ 'key': 'str',
21
+ 'value': 'str'
22
+ }
23
+
24
+ attribute_map = {
25
+ 'key': 'key',
26
+ 'value': 'value'
27
+ }
28
+
29
+ def __init__(self, key=None, value=None):
30
+ r"""BindRulesTags
31
+
32
+ The model defined in huaweicloud sdk
33
+
34
+ :param key: key不能包含非打印字符ASCII(0-31),“=”,“*”,“<”,“>”,“\\\\”,“,”,“|”,“/”。 [key只能由中文,字母,数字,“-”,“_”组成。](tag:hws,hws_hk,fcs_vm,ctc) [key只能由字母,数字,“_”,“-”组成。](tag:dt,ocb,tlf,sbc,g42,hcso_dt)
35
+ :type key: str
36
+ :param value: value不能包含非打印字符ASCII(0-31),“=”,“*”,“<”,“>”,“\\”,“,”,“|”,“/”。 [value只能由中文,字母,数字,“-”,“_”,“.”组成。](tag:hws,hws_hk,fcs_vm,ctc) [value只能由字母,数字,“_”,“-”组成。](tag:dt,ocb,tlf,sbc,g42,hcso_dt)
37
+ :type value: str
38
+ """
39
+
40
+
41
+
42
+ self._key = None
43
+ self._value = None
44
+ self.discriminator = None
45
+
46
+ self.key = key
47
+ self.value = value
48
+
49
+ @property
50
+ def key(self):
51
+ r"""Gets the key of this BindRulesTags.
52
+
53
+ key不能包含非打印字符ASCII(0-31),“=”,“*”,“<”,“>”,“\\\\”,“,”,“|”,“/”。 [key只能由中文,字母,数字,“-”,“_”组成。](tag:hws,hws_hk,fcs_vm,ctc) [key只能由字母,数字,“_”,“-”组成。](tag:dt,ocb,tlf,sbc,g42,hcso_dt)
54
+
55
+ :return: The key of this BindRulesTags.
56
+ :rtype: str
57
+ """
58
+ return self._key
59
+
60
+ @key.setter
61
+ def key(self, key):
62
+ r"""Sets the key of this BindRulesTags.
63
+
64
+ key不能包含非打印字符ASCII(0-31),“=”,“*”,“<”,“>”,“\\\\”,“,”,“|”,“/”。 [key只能由中文,字母,数字,“-”,“_”组成。](tag:hws,hws_hk,fcs_vm,ctc) [key只能由字母,数字,“_”,“-”组成。](tag:dt,ocb,tlf,sbc,g42,hcso_dt)
65
+
66
+ :param key: The key of this BindRulesTags.
67
+ :type key: str
68
+ """
69
+ self._key = key
70
+
71
+ @property
72
+ def value(self):
73
+ r"""Gets the value of this BindRulesTags.
74
+
75
+ value不能包含非打印字符ASCII(0-31),“=”,“*”,“<”,“>”,“\\”,“,”,“|”,“/”。 [value只能由中文,字母,数字,“-”,“_”,“.”组成。](tag:hws,hws_hk,fcs_vm,ctc) [value只能由字母,数字,“_”,“-”组成。](tag:dt,ocb,tlf,sbc,g42,hcso_dt)
76
+
77
+ :return: The value of this BindRulesTags.
78
+ :rtype: str
79
+ """
80
+ return self._value
81
+
82
+ @value.setter
83
+ def value(self, value):
84
+ r"""Sets the value of this BindRulesTags.
85
+
86
+ value不能包含非打印字符ASCII(0-31),“=”,“*”,“<”,“>”,“\\”,“,”,“|”,“/”。 [value只能由中文,字母,数字,“-”,“_”,“.”组成。](tag:hws,hws_hk,fcs_vm,ctc) [value只能由字母,数字,“_”,“-”组成。](tag:dt,ocb,tlf,sbc,g42,hcso_dt)
87
+
88
+ :param value: The value of this BindRulesTags.
89
+ :type value: str
90
+ """
91
+ self._value = value
92
+
93
+ def to_dict(self):
94
+ """Returns the model properties as a dict"""
95
+ result = {}
96
+
97
+ for attr, _ in six.iteritems(self.openapi_types):
98
+ value = getattr(self, attr)
99
+ if isinstance(value, list):
100
+ result[attr] = list(map(
101
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
102
+ value
103
+ ))
104
+ elif hasattr(value, "to_dict"):
105
+ result[attr] = value.to_dict()
106
+ elif isinstance(value, dict):
107
+ result[attr] = dict(map(
108
+ lambda item: (item[0], item[1].to_dict())
109
+ if hasattr(item[1], "to_dict") else item,
110
+ value.items()
111
+ ))
112
+ else:
113
+ if attr in self.sensitive_list:
114
+ result[attr] = "****"
115
+ else:
116
+ result[attr] = value
117
+
118
+ return result
119
+
120
+ def to_str(self):
121
+ """Returns the string representation of the model"""
122
+ import simplejson as json
123
+ if six.PY2:
124
+ import sys
125
+ reload(sys)
126
+ sys.setdefaultencoding("utf-8")
127
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
128
+
129
+ def __repr__(self):
130
+ """For `print`"""
131
+ return self.to_str()
132
+
133
+ def __eq__(self, other):
134
+ """Returns true if both objects are equal"""
135
+ if not isinstance(other, BindRulesTags):
136
+ return False
137
+
138
+ return self.__dict__ == other.__dict__
139
+
140
+ def __ne__(self, other):
141
+ """Returns true if both objects are not equal"""
142
+ return not self == other