huaweicloudsdkcae 3.1.179__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 (259) hide show
  1. huaweicloudsdkcae/__init__.py +0 -0
  2. huaweicloudsdkcae/v1/__init__.py +256 -0
  3. huaweicloudsdkcae/v1/cae_async_client.py +3941 -0
  4. huaweicloudsdkcae/v1/cae_client.py +3938 -0
  5. huaweicloudsdkcae/v1/model/__init__.py +253 -0
  6. huaweicloudsdkcae/v1/model/access.py +137 -0
  7. huaweicloudsdkcae/v1/model/access_configuration_data_items.py +361 -0
  8. huaweicloudsdkcae/v1/model/access_configuration_http_path.py +166 -0
  9. huaweicloudsdkcae/v1/model/access_configuration_metadata.py +108 -0
  10. huaweicloudsdkcae/v1/model/access_configuration_port.py +365 -0
  11. huaweicloudsdkcae/v1/model/access_control.py +137 -0
  12. huaweicloudsdkcae/v1/model/action_kind_obj.py +80 -0
  13. huaweicloudsdkcae/v1/model/action_on_component_build.py +133 -0
  14. huaweicloudsdkcae/v1/model/action_on_component_source.py +191 -0
  15. huaweicloudsdkcae/v1/model/action_on_component_spec.py +212 -0
  16. huaweicloudsdkcae/v1/model/agency.py +151 -0
  17. huaweicloudsdkcae/v1/model/agency_item.py +108 -0
  18. huaweicloudsdkcae/v1/model/agency_kind_obj.py +80 -0
  19. huaweicloudsdkcae/v1/model/agency_metadata.py +132 -0
  20. huaweicloudsdkcae/v1/model/api_version_obj.py +80 -0
  21. huaweicloudsdkcae/v1/model/app_info.py +137 -0
  22. huaweicloudsdkcae/v1/model/application_item.py +195 -0
  23. huaweicloudsdkcae/v1/model/application_kind_obj.py +80 -0
  24. huaweicloudsdkcae/v1/model/application_metadata.py +195 -0
  25. huaweicloudsdkcae/v1/model/archive.py +108 -0
  26. huaweicloudsdkcae/v1/model/build.py +131 -0
  27. huaweicloudsdkcae/v1/model/cert_item.py +129 -0
  28. huaweicloudsdkcae/v1/model/cert_req.py +175 -0
  29. huaweicloudsdkcae/v1/model/certificate_kind_obj.py +80 -0
  30. huaweicloudsdkcae/v1/model/cloud_storage_log_path_info.py +137 -0
  31. huaweicloudsdkcae/v1/model/component_configuration_kind_obj.py +80 -0
  32. huaweicloudsdkcae/v1/model/component_execution_result.py +195 -0
  33. huaweicloudsdkcae/v1/model/component_info.py +137 -0
  34. huaweicloudsdkcae/v1/model/component_item.py +249 -0
  35. huaweicloudsdkcae/v1/model/component_kind_obj.py +80 -0
  36. huaweicloudsdkcae/v1/model/component_snapshot_context.py +717 -0
  37. huaweicloudsdkcae/v1/model/component_snapshot_item.py +220 -0
  38. huaweicloudsdkcae/v1/model/component_snapshot_kind_obj.py +80 -0
  39. huaweicloudsdkcae/v1/model/component_spec.py +473 -0
  40. huaweicloudsdkcae/v1/model/configuration.py +249 -0
  41. huaweicloudsdkcae/v1/model/configuration_data.py +129 -0
  42. huaweicloudsdkcae/v1/model/configuration_data_metadata.py +108 -0
  43. huaweicloudsdkcae/v1/model/configuration_item.py +131 -0
  44. huaweicloudsdkcae/v1/model/configuration_request_data_spec.py +896 -0
  45. huaweicloudsdkcae/v1/model/configuration_request_data_spec_post_start.py +104 -0
  46. huaweicloudsdkcae/v1/model/configuration_request_data_spec_pre_stop.py +104 -0
  47. huaweicloudsdkcae/v1/model/configuration_response_data_spec.py +1186 -0
  48. huaweicloudsdkcae/v1/model/configuration_response_data_spec_post_start.py +104 -0
  49. huaweicloudsdkcae/v1/model/configuration_response_data_spec_pre_stop.py +104 -0
  50. huaweicloudsdkcae/v1/model/create_agency_request.py +104 -0
  51. huaweicloudsdkcae/v1/model/create_agency_response.py +81 -0
  52. huaweicloudsdkcae/v1/model/create_application_request.py +161 -0
  53. huaweicloudsdkcae/v1/model/create_application_request_body.py +151 -0
  54. huaweicloudsdkcae/v1/model/create_application_request_body_metadata.py +107 -0
  55. huaweicloudsdkcae/v1/model/create_application_response.py +158 -0
  56. huaweicloudsdkcae/v1/model/create_certificate_request.py +161 -0
  57. huaweicloudsdkcae/v1/model/create_certificate_response.py +162 -0
  58. huaweicloudsdkcae/v1/model/create_component_configuration_request.py +217 -0
  59. huaweicloudsdkcae/v1/model/create_component_configuration_request_body.py +155 -0
  60. huaweicloudsdkcae/v1/model/create_component_configuration_response.py +81 -0
  61. huaweicloudsdkcae/v1/model/create_component_request.py +189 -0
  62. huaweicloudsdkcae/v1/model/create_component_request_body.py +175 -0
  63. huaweicloudsdkcae/v1/model/create_component_response.py +183 -0
  64. huaweicloudsdkcae/v1/model/create_component_spec.py +299 -0
  65. huaweicloudsdkcae/v1/model/create_component_with_configuration_request.py +189 -0
  66. huaweicloudsdkcae/v1/model/create_component_with_configuration_request_body.py +206 -0
  67. huaweicloudsdkcae/v1/model/create_component_with_configuration_request_body_metadata.py +135 -0
  68. huaweicloudsdkcae/v1/model/create_component_with_configuration_request_body_spec.py +237 -0
  69. huaweicloudsdkcae/v1/model/create_component_with_configuration_response.py +237 -0
  70. huaweicloudsdkcae/v1/model/create_component_with_configuration_response_body_status.py +108 -0
  71. huaweicloudsdkcae/v1/model/create_domain_req.py +151 -0
  72. huaweicloudsdkcae/v1/model/create_domain_request.py +161 -0
  73. huaweicloudsdkcae/v1/model/create_domain_response.py +166 -0
  74. huaweicloudsdkcae/v1/model/create_environment_request.py +133 -0
  75. huaweicloudsdkcae/v1/model/create_environment_request_body.py +151 -0
  76. huaweicloudsdkcae/v1/model/create_environment_request_body_metadata.py +136 -0
  77. huaweicloudsdkcae/v1/model/create_environment_response.py +112 -0
  78. huaweicloudsdkcae/v1/model/create_meta_cert.py +107 -0
  79. huaweicloudsdkcae/v1/model/create_meta_domain.py +107 -0
  80. huaweicloudsdkcae/v1/model/create_monitor_system_request.py +161 -0
  81. huaweicloudsdkcae/v1/model/create_monitor_system_response.py +81 -0
  82. huaweicloudsdkcae/v1/model/create_notice_rule_item.py +237 -0
  83. huaweicloudsdkcae/v1/model/create_notice_rule_req.py +159 -0
  84. huaweicloudsdkcae/v1/model/create_notice_rule_request.py +133 -0
  85. huaweicloudsdkcae/v1/model/create_notice_rule_resp_item.py +270 -0
  86. huaweicloudsdkcae/v1/model/create_notice_rule_response.py +166 -0
  87. huaweicloudsdkcae/v1/model/create_or_update_secret_detail.py +135 -0
  88. huaweicloudsdkcae/v1/model/create_or_update_secret_req.py +159 -0
  89. huaweicloudsdkcae/v1/model/create_secret_request.py +161 -0
  90. huaweicloudsdkcae/v1/model/create_secret_response.py +166 -0
  91. huaweicloudsdkcae/v1/model/create_spec_cert.py +135 -0
  92. huaweicloudsdkcae/v1/model/create_timer_rule_req.py +154 -0
  93. huaweicloudsdkcae/v1/model/create_timer_rule_request.py +161 -0
  94. huaweicloudsdkcae/v1/model/create_timer_rule_response.py +158 -0
  95. huaweicloudsdkcae/v1/model/create_volume_req.py +151 -0
  96. huaweicloudsdkcae/v1/model/create_volume_request.py +161 -0
  97. huaweicloudsdkcae/v1/model/create_volume_response.py +81 -0
  98. huaweicloudsdkcae/v1/model/create_vpc_egress_request.py +161 -0
  99. huaweicloudsdkcae/v1/model/create_vpc_egress_response.py +158 -0
  100. huaweicloudsdkcae/v1/model/cron_trigger_scheduler.py +137 -0
  101. huaweicloudsdkcae/v1/model/delete_application_request.py +164 -0
  102. huaweicloudsdkcae/v1/model/delete_application_response.py +81 -0
  103. huaweicloudsdkcae/v1/model/delete_certificate_request.py +164 -0
  104. huaweicloudsdkcae/v1/model/delete_certificate_response.py +81 -0
  105. huaweicloudsdkcae/v1/model/delete_component_configuration_request.py +192 -0
  106. huaweicloudsdkcae/v1/model/delete_component_configuration_response.py +81 -0
  107. huaweicloudsdkcae/v1/model/delete_component_request.py +192 -0
  108. huaweicloudsdkcae/v1/model/delete_component_response.py +112 -0
  109. huaweicloudsdkcae/v1/model/delete_domain_request.py +164 -0
  110. huaweicloudsdkcae/v1/model/delete_domain_response.py +81 -0
  111. huaweicloudsdkcae/v1/model/delete_environment_request.py +136 -0
  112. huaweicloudsdkcae/v1/model/delete_environment_response.py +112 -0
  113. huaweicloudsdkcae/v1/model/delete_notice_rule_request.py +132 -0
  114. huaweicloudsdkcae/v1/model/delete_notice_rule_response.py +108 -0
  115. huaweicloudsdkcae/v1/model/delete_secret_request.py +136 -0
  116. huaweicloudsdkcae/v1/model/delete_secret_response.py +81 -0
  117. huaweicloudsdkcae/v1/model/delete_timer_rule_request.py +164 -0
  118. huaweicloudsdkcae/v1/model/delete_timer_rule_response.py +81 -0
  119. huaweicloudsdkcae/v1/model/delete_volume_request.py +164 -0
  120. huaweicloudsdkcae/v1/model/delete_volume_response.py +162 -0
  121. huaweicloudsdkcae/v1/model/delete_vpc_egress_request.py +164 -0
  122. huaweicloudsdkcae/v1/model/delete_vpc_egress_response.py +81 -0
  123. huaweicloudsdkcae/v1/model/domain_item.py +104 -0
  124. huaweicloudsdkcae/v1/model/domain_kind_obj.py +80 -0
  125. huaweicloudsdkcae/v1/model/egress_cidr.py +164 -0
  126. huaweicloudsdkcae/v1/model/eip_kind_obj.py +80 -0
  127. huaweicloudsdkcae/v1/model/environment_item.py +282 -0
  128. huaweicloudsdkcae/v1/model/environment_kind_obj.py +80 -0
  129. huaweicloudsdkcae/v1/model/execute_action_request.py +217 -0
  130. huaweicloudsdkcae/v1/model/execute_action_request_body.py +177 -0
  131. huaweicloudsdkcae/v1/model/execute_action_request_body_metadata.py +136 -0
  132. huaweicloudsdkcae/v1/model/execute_action_response.py +112 -0
  133. huaweicloudsdkcae/v1/model/execution_details.py +137 -0
  134. huaweicloudsdkcae/v1/model/health_check_configuration_exec.py +108 -0
  135. huaweicloudsdkcae/v1/model/health_check_configuration_http_get.py +166 -0
  136. huaweicloudsdkcae/v1/model/health_check_configuration_liveness_probe.py +299 -0
  137. huaweicloudsdkcae/v1/model/health_check_configuration_readiness_probe.py +299 -0
  138. huaweicloudsdkcae/v1/model/health_check_configuration_startup_probe.py +299 -0
  139. huaweicloudsdkcae/v1/model/health_check_configuration_tcp_socket.py +108 -0
  140. huaweicloudsdkcae/v1/model/instance.py +166 -0
  141. huaweicloudsdkcae/v1/model/job_kind_obj.py +80 -0
  142. huaweicloudsdkcae/v1/model/job_spec.py +166 -0
  143. huaweicloudsdkcae/v1/model/life_cycle_configuration_exec.py +108 -0
  144. huaweicloudsdkcae/v1/model/list_agencies_request.py +77 -0
  145. huaweicloudsdkcae/v1/model/list_agencies_response.py +162 -0
  146. huaweicloudsdkcae/v1/model/list_applications_request.py +136 -0
  147. huaweicloudsdkcae/v1/model/list_applications_response.py +162 -0
  148. huaweicloudsdkcae/v1/model/list_certificates_request.py +136 -0
  149. huaweicloudsdkcae/v1/model/list_certificates_response.py +162 -0
  150. huaweicloudsdkcae/v1/model/list_component_configurations_request.py +221 -0
  151. huaweicloudsdkcae/v1/model/list_component_configurations_response.py +170 -0
  152. huaweicloudsdkcae/v1/model/list_component_configurations_response_data.py +129 -0
  153. huaweicloudsdkcae/v1/model/list_component_instances_request.py +192 -0
  154. huaweicloudsdkcae/v1/model/list_component_instances_response.py +162 -0
  155. huaweicloudsdkcae/v1/model/list_component_snapshots_request.py +192 -0
  156. huaweicloudsdkcae/v1/model/list_component_snapshots_response.py +162 -0
  157. huaweicloudsdkcae/v1/model/list_components_request.py +280 -0
  158. huaweicloudsdkcae/v1/model/list_components_response.py +191 -0
  159. huaweicloudsdkcae/v1/model/list_domains_request.py +136 -0
  160. huaweicloudsdkcae/v1/model/list_domains_response.py +166 -0
  161. huaweicloudsdkcae/v1/model/list_effective_components_request.py +136 -0
  162. huaweicloudsdkcae/v1/model/list_effective_components_response.py +170 -0
  163. huaweicloudsdkcae/v1/model/list_eip_response_body_spec.py +129 -0
  164. huaweicloudsdkcae/v1/model/list_eip_response_body_spec_egress.py +166 -0
  165. huaweicloudsdkcae/v1/model/list_eip_response_body_spec_ingress.py +166 -0
  166. huaweicloudsdkcae/v1/model/list_eips_request.py +136 -0
  167. huaweicloudsdkcae/v1/model/list_eips_response.py +158 -0
  168. huaweicloudsdkcae/v1/model/list_environments_request.py +108 -0
  169. huaweicloudsdkcae/v1/model/list_environments_response.py +162 -0
  170. huaweicloudsdkcae/v1/model/list_notice_rules_request.py +108 -0
  171. huaweicloudsdkcae/v1/model/list_notice_rules_response.py +170 -0
  172. huaweicloudsdkcae/v1/model/list_secrets_request.py +108 -0
  173. huaweicloudsdkcae/v1/model/list_secrets_response.py +170 -0
  174. huaweicloudsdkcae/v1/model/list_timer_rules_request.py +136 -0
  175. huaweicloudsdkcae/v1/model/list_timer_rules_response.py +158 -0
  176. huaweicloudsdkcae/v1/model/list_volumes_request.py +164 -0
  177. huaweicloudsdkcae/v1/model/list_volumes_response.py +162 -0
  178. huaweicloudsdkcae/v1/model/list_vpc_egress_request.py +136 -0
  179. huaweicloudsdkcae/v1/model/list_vpc_egress_response.py +158 -0
  180. huaweicloudsdkcae/v1/model/meta_cert.py +137 -0
  181. huaweicloudsdkcae/v1/model/meta_domain.py +166 -0
  182. huaweicloudsdkcae/v1/model/metadata_response.py +224 -0
  183. huaweicloudsdkcae/v1/model/monitor_system_kind_obj.py +80 -0
  184. huaweicloudsdkcae/v1/model/monitor_system_request_body.py +154 -0
  185. huaweicloudsdkcae/v1/model/monitor_system_request_body_spec.py +306 -0
  186. huaweicloudsdkcae/v1/model/mount_component.py +253 -0
  187. huaweicloudsdkcae/v1/model/notice_rule_notification.py +164 -0
  188. huaweicloudsdkcae/v1/model/notice_rule_scope.py +194 -0
  189. huaweicloudsdkcae/v1/model/repo.py +166 -0
  190. huaweicloudsdkcae/v1/model/resource_limit.py +135 -0
  191. huaweicloudsdkcae/v1/model/resource_limit_for_upgrade.py +137 -0
  192. huaweicloudsdkcae/v1/model/resources_credential.py +137 -0
  193. huaweicloudsdkcae/v1/model/retry_job_request.py +164 -0
  194. huaweicloudsdkcae/v1/model/retry_job_response.py +81 -0
  195. huaweicloudsdkcae/v1/model/scale_configuration_data_advanced.py +224 -0
  196. huaweicloudsdkcae/v1/model/scale_configuration_data_trigger.py +133 -0
  197. huaweicloudsdkcae/v1/model/scaling_trigger_meta.py +195 -0
  198. huaweicloudsdkcae/v1/model/secret_detail.py +276 -0
  199. huaweicloudsdkcae/v1/model/show_application_request.py +164 -0
  200. huaweicloudsdkcae/v1/model/show_application_response.py +158 -0
  201. huaweicloudsdkcae/v1/model/show_component_request.py +192 -0
  202. huaweicloudsdkcae/v1/model/show_component_response.py +183 -0
  203. huaweicloudsdkcae/v1/model/show_execution_result_request.py +164 -0
  204. huaweicloudsdkcae/v1/model/show_execution_result_response.py +158 -0
  205. huaweicloudsdkcae/v1/model/show_job_request.py +164 -0
  206. huaweicloudsdkcae/v1/model/show_job_response.py +158 -0
  207. huaweicloudsdkcae/v1/model/show_monitor_system_request.py +136 -0
  208. huaweicloudsdkcae/v1/model/show_monitor_system_response.py +158 -0
  209. huaweicloudsdkcae/v1/model/show_monitor_system_response_body_spec.py +427 -0
  210. huaweicloudsdkcae/v1/model/show_notice_rule_request.py +132 -0
  211. huaweicloudsdkcae/v1/model/show_notice_rule_response.py +166 -0
  212. huaweicloudsdkcae/v1/model/source.py +189 -0
  213. huaweicloudsdkcae/v1/model/spec_cert.py +166 -0
  214. huaweicloudsdkcae/v1/model/task.py +253 -0
  215. huaweicloudsdkcae/v1/model/time_rule_kind_obj.py +80 -0
  216. huaweicloudsdkcae/v1/model/timer_rule_details.py +427 -0
  217. huaweicloudsdkcae/v1/model/trigger_policy.py +194 -0
  218. huaweicloudsdkcae/v1/model/update_cert_req.py +151 -0
  219. huaweicloudsdkcae/v1/model/update_certificate_request.py +189 -0
  220. huaweicloudsdkcae/v1/model/update_certificate_response.py +81 -0
  221. huaweicloudsdkcae/v1/model/update_component_request.py +217 -0
  222. huaweicloudsdkcae/v1/model/update_component_request_body.py +175 -0
  223. huaweicloudsdkcae/v1/model/update_component_request_metadata.py +136 -0
  224. huaweicloudsdkcae/v1/model/update_component_request_spec.py +211 -0
  225. huaweicloudsdkcae/v1/model/update_component_response.py +81 -0
  226. huaweicloudsdkcae/v1/model/update_eip_request.py +161 -0
  227. huaweicloudsdkcae/v1/model/update_eip_request_body.py +154 -0
  228. huaweicloudsdkcae/v1/model/update_eip_request_body_spec.py +129 -0
  229. huaweicloudsdkcae/v1/model/update_eip_request_body_spec_egress.py +137 -0
  230. huaweicloudsdkcae/v1/model/update_eip_request_body_spec_ingress.py +137 -0
  231. huaweicloudsdkcae/v1/model/update_eip_response.py +81 -0
  232. huaweicloudsdkcae/v1/model/update_monitor_system_request.py +189 -0
  233. huaweicloudsdkcae/v1/model/update_monitor_system_response.py +81 -0
  234. huaweicloudsdkcae/v1/model/update_notice_rule_item.py +185 -0
  235. huaweicloudsdkcae/v1/model/update_notice_rule_req.py +159 -0
  236. huaweicloudsdkcae/v1/model/update_notice_rule_request.py +157 -0
  237. huaweicloudsdkcae/v1/model/update_notice_rule_response.py +166 -0
  238. huaweicloudsdkcae/v1/model/update_secret_request.py +161 -0
  239. huaweicloudsdkcae/v1/model/update_secret_response.py +166 -0
  240. huaweicloudsdkcae/v1/model/update_spec_cert.py +135 -0
  241. huaweicloudsdkcae/v1/model/update_timer_rule_details.py +305 -0
  242. huaweicloudsdkcae/v1/model/update_timer_rule_req.py +151 -0
  243. huaweicloudsdkcae/v1/model/update_timer_rule_request.py +189 -0
  244. huaweicloudsdkcae/v1/model/update_timer_rule_response.py +81 -0
  245. huaweicloudsdkcae/v1/model/volume.py +282 -0
  246. huaweicloudsdkcae/v1/model/volume_configuration_data_volume.py +249 -0
  247. huaweicloudsdkcae/v1/model/volume_configuration_mount_info.py +166 -0
  248. huaweicloudsdkcae/v1/model/volume_kind_obj.py +80 -0
  249. huaweicloudsdkcae/v1/model/volume_spec.py +192 -0
  250. huaweicloudsdkcae/v1/model/vpc_egress_kind_obj.py +80 -0
  251. huaweicloudsdkcae/v1/model/vpc_egress_request_body.py +154 -0
  252. huaweicloudsdkcae/v1/model/vpc_egress_request_body_spec.py +107 -0
  253. huaweicloudsdkcae/v1/model/vpc_egress_response_body_spec.py +166 -0
  254. huaweicloudsdkcae/v1/region/__init__.py +0 -0
  255. huaweicloudsdkcae/v1/region/cae_region.py +60 -0
  256. huaweicloudsdkcae-3.1.179.dist-info/METADATA +25 -0
  257. huaweicloudsdkcae-3.1.179.dist-info/RECORD +259 -0
  258. huaweicloudsdkcae-3.1.179.dist-info/WHEEL +4 -0
  259. huaweicloudsdkcae-3.1.179.dist-info/licenses/LICENSE +13 -0
@@ -0,0 +1,717 @@
1
+ # coding: utf-8
2
+
3
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
4
+
5
+
6
+ class ComponentSnapshotContext:
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
+ 'app_id': 'str',
19
+ 'available_replica': 'int',
20
+ 'build': 'str',
21
+ 'build_id': 'str',
22
+ 'build_log_id': 'str',
23
+ 'env_id': 'str',
24
+ 'id': 'str',
25
+ 'image_url': 'str',
26
+ 'job_id': 'str',
27
+ 'log_group_id': 'str',
28
+ 'log_stream_id': 'str',
29
+ 'name': 'str',
30
+ 'operation': 'str',
31
+ 'operation_status': 'str',
32
+ 'replica': 'int',
33
+ 'resource_limit': 'str',
34
+ 'runtime': 'str',
35
+ 'source': 'str',
36
+ 'status': 'str',
37
+ 'version': 'str',
38
+ 'created_at': 'str',
39
+ 'updated_at': 'str'
40
+ }
41
+
42
+ attribute_map = {
43
+ 'app_id': 'app_id',
44
+ 'available_replica': 'available_replica',
45
+ 'build': 'build',
46
+ 'build_id': 'build_id',
47
+ 'build_log_id': 'build_log_id',
48
+ 'env_id': 'env_id',
49
+ 'id': 'id',
50
+ 'image_url': 'image_url',
51
+ 'job_id': 'job_id',
52
+ 'log_group_id': 'log_group_id',
53
+ 'log_stream_id': 'log_stream_id',
54
+ 'name': 'name',
55
+ 'operation': 'operation',
56
+ 'operation_status': 'operation_status',
57
+ 'replica': 'replica',
58
+ 'resource_limit': 'resource_limit',
59
+ 'runtime': 'runtime',
60
+ 'source': 'source',
61
+ 'status': 'status',
62
+ 'version': 'version',
63
+ 'created_at': 'created_at',
64
+ 'updated_at': 'updated_at'
65
+ }
66
+
67
+ def __init__(self, app_id=None, available_replica=None, build=None, build_id=None, build_log_id=None, env_id=None, id=None, image_url=None, job_id=None, log_group_id=None, log_stream_id=None, name=None, operation=None, operation_status=None, replica=None, resource_limit=None, runtime=None, source=None, status=None, version=None, created_at=None, updated_at=None):
68
+ r"""ComponentSnapshotContext
69
+
70
+ The model defined in huaweicloud sdk
71
+
72
+ :param app_id: 应用ID。
73
+ :type app_id: str
74
+ :param available_replica: 可用实例个数。
75
+ :type available_replica: int
76
+ :param build: 组件构建信息。
77
+ :type build: str
78
+ :param build_id: 构建任务ID。
79
+ :type build_id: str
80
+ :param build_log_id: 构建日志ID。
81
+ :type build_log_id: str
82
+ :param env_id: 环境ID。
83
+ :type env_id: str
84
+ :param id: 组件ID。
85
+ :type id: str
86
+ :param image_url: 镜像地址。
87
+ :type image_url: str
88
+ :param job_id: 任务ID。
89
+ :type job_id: str
90
+ :param log_group_id: LTS日志组的ID。
91
+ :type log_group_id: str
92
+ :param log_stream_id: LTS日志流的ID
93
+ :type log_stream_id: str
94
+ :param name: 组件名称。
95
+ :type name: str
96
+ :param operation: 组件操作。
97
+ :type operation: str
98
+ :param operation_status: 组件操作状态。
99
+ :type operation_status: str
100
+ :param replica: 实例个数。
101
+ :type replica: int
102
+ :param resource_limit: 组件规格。
103
+ :type resource_limit: str
104
+ :param runtime: 语言/运行时。
105
+ :type runtime: str
106
+ :param source: 组件源信息。
107
+ :type source: str
108
+ :param status: 组件状态。
109
+ :type status: str
110
+ :param version: 组件版本。
111
+ :type version: str
112
+ :param created_at: 创建时间。
113
+ :type created_at: str
114
+ :param updated_at: 更新时间。
115
+ :type updated_at: str
116
+ """
117
+
118
+
119
+
120
+ self._app_id = None
121
+ self._available_replica = None
122
+ self._build = None
123
+ self._build_id = None
124
+ self._build_log_id = None
125
+ self._env_id = None
126
+ self._id = None
127
+ self._image_url = None
128
+ self._job_id = None
129
+ self._log_group_id = None
130
+ self._log_stream_id = None
131
+ self._name = None
132
+ self._operation = None
133
+ self._operation_status = None
134
+ self._replica = None
135
+ self._resource_limit = None
136
+ self._runtime = None
137
+ self._source = None
138
+ self._status = None
139
+ self._version = None
140
+ self._created_at = None
141
+ self._updated_at = None
142
+ self.discriminator = None
143
+
144
+ if app_id is not None:
145
+ self.app_id = app_id
146
+ if available_replica is not None:
147
+ self.available_replica = available_replica
148
+ if build is not None:
149
+ self.build = build
150
+ if build_id is not None:
151
+ self.build_id = build_id
152
+ if build_log_id is not None:
153
+ self.build_log_id = build_log_id
154
+ if env_id is not None:
155
+ self.env_id = env_id
156
+ if id is not None:
157
+ self.id = id
158
+ if image_url is not None:
159
+ self.image_url = image_url
160
+ if job_id is not None:
161
+ self.job_id = job_id
162
+ if log_group_id is not None:
163
+ self.log_group_id = log_group_id
164
+ if log_stream_id is not None:
165
+ self.log_stream_id = log_stream_id
166
+ if name is not None:
167
+ self.name = name
168
+ if operation is not None:
169
+ self.operation = operation
170
+ if operation_status is not None:
171
+ self.operation_status = operation_status
172
+ if replica is not None:
173
+ self.replica = replica
174
+ if resource_limit is not None:
175
+ self.resource_limit = resource_limit
176
+ if runtime is not None:
177
+ self.runtime = runtime
178
+ if source is not None:
179
+ self.source = source
180
+ if status is not None:
181
+ self.status = status
182
+ if version is not None:
183
+ self.version = version
184
+ if created_at is not None:
185
+ self.created_at = created_at
186
+ if updated_at is not None:
187
+ self.updated_at = updated_at
188
+
189
+ @property
190
+ def app_id(self):
191
+ r"""Gets the app_id of this ComponentSnapshotContext.
192
+
193
+ 应用ID。
194
+
195
+ :return: The app_id of this ComponentSnapshotContext.
196
+ :rtype: str
197
+ """
198
+ return self._app_id
199
+
200
+ @app_id.setter
201
+ def app_id(self, app_id):
202
+ r"""Sets the app_id of this ComponentSnapshotContext.
203
+
204
+ 应用ID。
205
+
206
+ :param app_id: The app_id of this ComponentSnapshotContext.
207
+ :type app_id: str
208
+ """
209
+ self._app_id = app_id
210
+
211
+ @property
212
+ def available_replica(self):
213
+ r"""Gets the available_replica of this ComponentSnapshotContext.
214
+
215
+ 可用实例个数。
216
+
217
+ :return: The available_replica of this ComponentSnapshotContext.
218
+ :rtype: int
219
+ """
220
+ return self._available_replica
221
+
222
+ @available_replica.setter
223
+ def available_replica(self, available_replica):
224
+ r"""Sets the available_replica of this ComponentSnapshotContext.
225
+
226
+ 可用实例个数。
227
+
228
+ :param available_replica: The available_replica of this ComponentSnapshotContext.
229
+ :type available_replica: int
230
+ """
231
+ self._available_replica = available_replica
232
+
233
+ @property
234
+ def build(self):
235
+ r"""Gets the build of this ComponentSnapshotContext.
236
+
237
+ 组件构建信息。
238
+
239
+ :return: The build of this ComponentSnapshotContext.
240
+ :rtype: str
241
+ """
242
+ return self._build
243
+
244
+ @build.setter
245
+ def build(self, build):
246
+ r"""Sets the build of this ComponentSnapshotContext.
247
+
248
+ 组件构建信息。
249
+
250
+ :param build: The build of this ComponentSnapshotContext.
251
+ :type build: str
252
+ """
253
+ self._build = build
254
+
255
+ @property
256
+ def build_id(self):
257
+ r"""Gets the build_id of this ComponentSnapshotContext.
258
+
259
+ 构建任务ID。
260
+
261
+ :return: The build_id of this ComponentSnapshotContext.
262
+ :rtype: str
263
+ """
264
+ return self._build_id
265
+
266
+ @build_id.setter
267
+ def build_id(self, build_id):
268
+ r"""Sets the build_id of this ComponentSnapshotContext.
269
+
270
+ 构建任务ID。
271
+
272
+ :param build_id: The build_id of this ComponentSnapshotContext.
273
+ :type build_id: str
274
+ """
275
+ self._build_id = build_id
276
+
277
+ @property
278
+ def build_log_id(self):
279
+ r"""Gets the build_log_id of this ComponentSnapshotContext.
280
+
281
+ 构建日志ID。
282
+
283
+ :return: The build_log_id of this ComponentSnapshotContext.
284
+ :rtype: str
285
+ """
286
+ return self._build_log_id
287
+
288
+ @build_log_id.setter
289
+ def build_log_id(self, build_log_id):
290
+ r"""Sets the build_log_id of this ComponentSnapshotContext.
291
+
292
+ 构建日志ID。
293
+
294
+ :param build_log_id: The build_log_id of this ComponentSnapshotContext.
295
+ :type build_log_id: str
296
+ """
297
+ self._build_log_id = build_log_id
298
+
299
+ @property
300
+ def env_id(self):
301
+ r"""Gets the env_id of this ComponentSnapshotContext.
302
+
303
+ 环境ID。
304
+
305
+ :return: The env_id of this ComponentSnapshotContext.
306
+ :rtype: str
307
+ """
308
+ return self._env_id
309
+
310
+ @env_id.setter
311
+ def env_id(self, env_id):
312
+ r"""Sets the env_id of this ComponentSnapshotContext.
313
+
314
+ 环境ID。
315
+
316
+ :param env_id: The env_id of this ComponentSnapshotContext.
317
+ :type env_id: str
318
+ """
319
+ self._env_id = env_id
320
+
321
+ @property
322
+ def id(self):
323
+ r"""Gets the id of this ComponentSnapshotContext.
324
+
325
+ 组件ID。
326
+
327
+ :return: The id of this ComponentSnapshotContext.
328
+ :rtype: str
329
+ """
330
+ return self._id
331
+
332
+ @id.setter
333
+ def id(self, id):
334
+ r"""Sets the id of this ComponentSnapshotContext.
335
+
336
+ 组件ID。
337
+
338
+ :param id: The id of this ComponentSnapshotContext.
339
+ :type id: str
340
+ """
341
+ self._id = id
342
+
343
+ @property
344
+ def image_url(self):
345
+ r"""Gets the image_url of this ComponentSnapshotContext.
346
+
347
+ 镜像地址。
348
+
349
+ :return: The image_url of this ComponentSnapshotContext.
350
+ :rtype: str
351
+ """
352
+ return self._image_url
353
+
354
+ @image_url.setter
355
+ def image_url(self, image_url):
356
+ r"""Sets the image_url of this ComponentSnapshotContext.
357
+
358
+ 镜像地址。
359
+
360
+ :param image_url: The image_url of this ComponentSnapshotContext.
361
+ :type image_url: str
362
+ """
363
+ self._image_url = image_url
364
+
365
+ @property
366
+ def job_id(self):
367
+ r"""Gets the job_id of this ComponentSnapshotContext.
368
+
369
+ 任务ID。
370
+
371
+ :return: The job_id of this ComponentSnapshotContext.
372
+ :rtype: str
373
+ """
374
+ return self._job_id
375
+
376
+ @job_id.setter
377
+ def job_id(self, job_id):
378
+ r"""Sets the job_id of this ComponentSnapshotContext.
379
+
380
+ 任务ID。
381
+
382
+ :param job_id: The job_id of this ComponentSnapshotContext.
383
+ :type job_id: str
384
+ """
385
+ self._job_id = job_id
386
+
387
+ @property
388
+ def log_group_id(self):
389
+ r"""Gets the log_group_id of this ComponentSnapshotContext.
390
+
391
+ LTS日志组的ID。
392
+
393
+ :return: The log_group_id of this ComponentSnapshotContext.
394
+ :rtype: str
395
+ """
396
+ return self._log_group_id
397
+
398
+ @log_group_id.setter
399
+ def log_group_id(self, log_group_id):
400
+ r"""Sets the log_group_id of this ComponentSnapshotContext.
401
+
402
+ LTS日志组的ID。
403
+
404
+ :param log_group_id: The log_group_id of this ComponentSnapshotContext.
405
+ :type log_group_id: str
406
+ """
407
+ self._log_group_id = log_group_id
408
+
409
+ @property
410
+ def log_stream_id(self):
411
+ r"""Gets the log_stream_id of this ComponentSnapshotContext.
412
+
413
+ LTS日志流的ID
414
+
415
+ :return: The log_stream_id of this ComponentSnapshotContext.
416
+ :rtype: str
417
+ """
418
+ return self._log_stream_id
419
+
420
+ @log_stream_id.setter
421
+ def log_stream_id(self, log_stream_id):
422
+ r"""Sets the log_stream_id of this ComponentSnapshotContext.
423
+
424
+ LTS日志流的ID
425
+
426
+ :param log_stream_id: The log_stream_id of this ComponentSnapshotContext.
427
+ :type log_stream_id: str
428
+ """
429
+ self._log_stream_id = log_stream_id
430
+
431
+ @property
432
+ def name(self):
433
+ r"""Gets the name of this ComponentSnapshotContext.
434
+
435
+ 组件名称。
436
+
437
+ :return: The name of this ComponentSnapshotContext.
438
+ :rtype: str
439
+ """
440
+ return self._name
441
+
442
+ @name.setter
443
+ def name(self, name):
444
+ r"""Sets the name of this ComponentSnapshotContext.
445
+
446
+ 组件名称。
447
+
448
+ :param name: The name of this ComponentSnapshotContext.
449
+ :type name: str
450
+ """
451
+ self._name = name
452
+
453
+ @property
454
+ def operation(self):
455
+ r"""Gets the operation of this ComponentSnapshotContext.
456
+
457
+ 组件操作。
458
+
459
+ :return: The operation of this ComponentSnapshotContext.
460
+ :rtype: str
461
+ """
462
+ return self._operation
463
+
464
+ @operation.setter
465
+ def operation(self, operation):
466
+ r"""Sets the operation of this ComponentSnapshotContext.
467
+
468
+ 组件操作。
469
+
470
+ :param operation: The operation of this ComponentSnapshotContext.
471
+ :type operation: str
472
+ """
473
+ self._operation = operation
474
+
475
+ @property
476
+ def operation_status(self):
477
+ r"""Gets the operation_status of this ComponentSnapshotContext.
478
+
479
+ 组件操作状态。
480
+
481
+ :return: The operation_status of this ComponentSnapshotContext.
482
+ :rtype: str
483
+ """
484
+ return self._operation_status
485
+
486
+ @operation_status.setter
487
+ def operation_status(self, operation_status):
488
+ r"""Sets the operation_status of this ComponentSnapshotContext.
489
+
490
+ 组件操作状态。
491
+
492
+ :param operation_status: The operation_status of this ComponentSnapshotContext.
493
+ :type operation_status: str
494
+ """
495
+ self._operation_status = operation_status
496
+
497
+ @property
498
+ def replica(self):
499
+ r"""Gets the replica of this ComponentSnapshotContext.
500
+
501
+ 实例个数。
502
+
503
+ :return: The replica of this ComponentSnapshotContext.
504
+ :rtype: int
505
+ """
506
+ return self._replica
507
+
508
+ @replica.setter
509
+ def replica(self, replica):
510
+ r"""Sets the replica of this ComponentSnapshotContext.
511
+
512
+ 实例个数。
513
+
514
+ :param replica: The replica of this ComponentSnapshotContext.
515
+ :type replica: int
516
+ """
517
+ self._replica = replica
518
+
519
+ @property
520
+ def resource_limit(self):
521
+ r"""Gets the resource_limit of this ComponentSnapshotContext.
522
+
523
+ 组件规格。
524
+
525
+ :return: The resource_limit of this ComponentSnapshotContext.
526
+ :rtype: str
527
+ """
528
+ return self._resource_limit
529
+
530
+ @resource_limit.setter
531
+ def resource_limit(self, resource_limit):
532
+ r"""Sets the resource_limit of this ComponentSnapshotContext.
533
+
534
+ 组件规格。
535
+
536
+ :param resource_limit: The resource_limit of this ComponentSnapshotContext.
537
+ :type resource_limit: str
538
+ """
539
+ self._resource_limit = resource_limit
540
+
541
+ @property
542
+ def runtime(self):
543
+ r"""Gets the runtime of this ComponentSnapshotContext.
544
+
545
+ 语言/运行时。
546
+
547
+ :return: The runtime of this ComponentSnapshotContext.
548
+ :rtype: str
549
+ """
550
+ return self._runtime
551
+
552
+ @runtime.setter
553
+ def runtime(self, runtime):
554
+ r"""Sets the runtime of this ComponentSnapshotContext.
555
+
556
+ 语言/运行时。
557
+
558
+ :param runtime: The runtime of this ComponentSnapshotContext.
559
+ :type runtime: str
560
+ """
561
+ self._runtime = runtime
562
+
563
+ @property
564
+ def source(self):
565
+ r"""Gets the source of this ComponentSnapshotContext.
566
+
567
+ 组件源信息。
568
+
569
+ :return: The source of this ComponentSnapshotContext.
570
+ :rtype: str
571
+ """
572
+ return self._source
573
+
574
+ @source.setter
575
+ def source(self, source):
576
+ r"""Sets the source of this ComponentSnapshotContext.
577
+
578
+ 组件源信息。
579
+
580
+ :param source: The source of this ComponentSnapshotContext.
581
+ :type source: str
582
+ """
583
+ self._source = source
584
+
585
+ @property
586
+ def status(self):
587
+ r"""Gets the status of this ComponentSnapshotContext.
588
+
589
+ 组件状态。
590
+
591
+ :return: The status of this ComponentSnapshotContext.
592
+ :rtype: str
593
+ """
594
+ return self._status
595
+
596
+ @status.setter
597
+ def status(self, status):
598
+ r"""Sets the status of this ComponentSnapshotContext.
599
+
600
+ 组件状态。
601
+
602
+ :param status: The status of this ComponentSnapshotContext.
603
+ :type status: str
604
+ """
605
+ self._status = status
606
+
607
+ @property
608
+ def version(self):
609
+ r"""Gets the version of this ComponentSnapshotContext.
610
+
611
+ 组件版本。
612
+
613
+ :return: The version of this ComponentSnapshotContext.
614
+ :rtype: str
615
+ """
616
+ return self._version
617
+
618
+ @version.setter
619
+ def version(self, version):
620
+ r"""Sets the version of this ComponentSnapshotContext.
621
+
622
+ 组件版本。
623
+
624
+ :param version: The version of this ComponentSnapshotContext.
625
+ :type version: str
626
+ """
627
+ self._version = version
628
+
629
+ @property
630
+ def created_at(self):
631
+ r"""Gets the created_at of this ComponentSnapshotContext.
632
+
633
+ 创建时间。
634
+
635
+ :return: The created_at of this ComponentSnapshotContext.
636
+ :rtype: str
637
+ """
638
+ return self._created_at
639
+
640
+ @created_at.setter
641
+ def created_at(self, created_at):
642
+ r"""Sets the created_at of this ComponentSnapshotContext.
643
+
644
+ 创建时间。
645
+
646
+ :param created_at: The created_at of this ComponentSnapshotContext.
647
+ :type created_at: str
648
+ """
649
+ self._created_at = created_at
650
+
651
+ @property
652
+ def updated_at(self):
653
+ r"""Gets the updated_at of this ComponentSnapshotContext.
654
+
655
+ 更新时间。
656
+
657
+ :return: The updated_at of this ComponentSnapshotContext.
658
+ :rtype: str
659
+ """
660
+ return self._updated_at
661
+
662
+ @updated_at.setter
663
+ def updated_at(self, updated_at):
664
+ r"""Sets the updated_at of this ComponentSnapshotContext.
665
+
666
+ 更新时间。
667
+
668
+ :param updated_at: The updated_at of this ComponentSnapshotContext.
669
+ :type updated_at: str
670
+ """
671
+ self._updated_at = updated_at
672
+
673
+ def to_dict(self):
674
+ result = {}
675
+
676
+ for attr, _ in self.openapi_types.items():
677
+ value = getattr(self, attr)
678
+ if isinstance(value, list):
679
+ result[attr] = list(map(
680
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
681
+ value
682
+ ))
683
+ elif hasattr(value, "to_dict"):
684
+ result[attr] = value.to_dict()
685
+ elif isinstance(value, dict):
686
+ result[attr] = dict(map(
687
+ lambda item: (item[0], item[1].to_dict())
688
+ if hasattr(item[1], "to_dict") else item,
689
+ value.items()
690
+ ))
691
+ else:
692
+ if attr in self.sensitive_list:
693
+ result[attr] = "****"
694
+ else:
695
+ result[attr] = value
696
+
697
+ return result
698
+
699
+ def to_str(self):
700
+ """Returns the string representation of the model"""
701
+ import simplejson as json
702
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
703
+
704
+ def __repr__(self):
705
+ """For `print`"""
706
+ return self.to_str()
707
+
708
+ def __eq__(self, other):
709
+ """Returns true if both objects are equal"""
710
+ if not isinstance(other, ComponentSnapshotContext):
711
+ return False
712
+
713
+ return self.__dict__ == other.__dict__
714
+
715
+ def __ne__(self, other):
716
+ """Returns true if both objects are not equal"""
717
+ return not self == other