huaweicloudsdkiotanalytics 3.1.182__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 (272) hide show
  1. huaweicloudsdkiotanalytics/__init__.py +0 -0
  2. huaweicloudsdkiotanalytics/v1/__init__.py +269 -0
  3. huaweicloudsdkiotanalytics/v1/iotanalytics_async_client.py +4553 -0
  4. huaweicloudsdkiotanalytics/v1/iotanalytics_client.py +4550 -0
  5. huaweicloudsdkiotanalytics/v1/model/__init__.py +266 -0
  6. huaweicloudsdkiotanalytics/v1/model/add_dev_data_request.py +132 -0
  7. huaweicloudsdkiotanalytics/v1/model/add_dev_data_response.py +108 -0
  8. huaweicloudsdkiotanalytics/v1/model/add_pipeline_job_request.py +137 -0
  9. huaweicloudsdkiotanalytics/v1/model/add_pipeline_job_response.py +141 -0
  10. huaweicloudsdkiotanalytics/v1/model/aggregate_metric.py +163 -0
  11. huaweicloudsdkiotanalytics/v1/model/aggregate_metrics.py +246 -0
  12. huaweicloudsdkiotanalytics/v1/model/aggregate_metrics_request.py +276 -0
  13. huaweicloudsdkiotanalytics/v1/model/aggregate_model.py +213 -0
  14. huaweicloudsdkiotanalytics/v1/model/aggregate_response.py +212 -0
  15. huaweicloudsdkiotanalytics/v1/model/analysis_model_request.py +239 -0
  16. huaweicloudsdkiotanalytics/v1/model/analysis_model_response.py +268 -0
  17. huaweicloudsdkiotanalytics/v1/model/analysis_request.py +182 -0
  18. huaweicloudsdkiotanalytics/v1/model/analysis_response.py +270 -0
  19. huaweicloudsdkiotanalytics/v1/model/api_content_req.py +107 -0
  20. huaweicloudsdkiotanalytics/v1/model/api_content_rsp.py +137 -0
  21. huaweicloudsdkiotanalytics/v1/model/asset_add_request.py +251 -0
  22. huaweicloudsdkiotanalytics/v1/model/asset_mod_request.py +224 -0
  23. huaweicloudsdkiotanalytics/v1/model/asset_model_add_request.py +194 -0
  24. huaweicloudsdkiotanalytics/v1/model/asset_model_mod_request.py +166 -0
  25. huaweicloudsdkiotanalytics/v1/model/asset_model_response.py +282 -0
  26. huaweicloudsdkiotanalytics/v1/model/asset_property_last_value.py +166 -0
  27. huaweicloudsdkiotanalytics/v1/model/asset_response.py +514 -0
  28. huaweicloudsdkiotanalytics/v1/model/column.py +193 -0
  29. huaweicloudsdkiotanalytics/v1/model/computing_resource.py +340 -0
  30. huaweicloudsdkiotanalytics/v1/model/content_detail_req.py +354 -0
  31. huaweicloudsdkiotanalytics/v1/model/content_detail_rsp.py +354 -0
  32. huaweicloudsdkiotanalytics/v1/model/create_asset_model_request.py +104 -0
  33. huaweicloudsdkiotanalytics/v1/model/create_asset_model_response.py +286 -0
  34. huaweicloudsdkiotanalytics/v1/model/create_asset_new_request.py +104 -0
  35. huaweicloudsdkiotanalytics/v1/model/create_asset_new_response.py +518 -0
  36. huaweicloudsdkiotanalytics/v1/model/create_batch_job_request.py +104 -0
  37. huaweicloudsdkiotanalytics/v1/model/create_batch_job_response.py +365 -0
  38. huaweicloudsdkiotanalytics/v1/model/create_computing_resource_request.py +104 -0
  39. huaweicloudsdkiotanalytics/v1/model/create_computing_resource_request_body.py +222 -0
  40. huaweicloudsdkiotanalytics/v1/model/create_computing_resource_response.py +286 -0
  41. huaweicloudsdkiotanalytics/v1/model/create_datasource_req_dto.py +159 -0
  42. huaweicloudsdkiotanalytics/v1/model/create_datasource_request.py +104 -0
  43. huaweicloudsdkiotanalytics/v1/model/create_datasource_response.py +253 -0
  44. huaweicloudsdkiotanalytics/v1/model/create_group_request.py +104 -0
  45. huaweicloudsdkiotanalytics/v1/model/create_group_response.py +402 -0
  46. huaweicloudsdkiotanalytics/v1/model/create_run_request.py +132 -0
  47. huaweicloudsdkiotanalytics/v1/model/create_run_request_body.py +136 -0
  48. huaweicloudsdkiotanalytics/v1/model/create_run_response.py +224 -0
  49. huaweicloudsdkiotanalytics/v1/model/create_streaming_job_request.py +137 -0
  50. huaweicloudsdkiotanalytics/v1/model/create_streaming_job_response.py +141 -0
  51. huaweicloudsdkiotanalytics/v1/model/create_table_request.py +104 -0
  52. huaweicloudsdkiotanalytics/v1/model/create_table_request_body.py +482 -0
  53. huaweicloudsdkiotanalytics/v1/model/create_table_response.py +460 -0
  54. huaweicloudsdkiotanalytics/v1/model/data_schema.py +223 -0
  55. huaweicloudsdkiotanalytics/v1/model/data_store_dto.py +166 -0
  56. huaweicloudsdkiotanalytics/v1/model/datasource_rest_dto.py +249 -0
  57. huaweicloudsdkiotanalytics/v1/model/dcs_content_req.py +219 -0
  58. huaweicloudsdkiotanalytics/v1/model/dcs_content_rsp.py +253 -0
  59. huaweicloudsdkiotanalytics/v1/model/delete_asset_model_request.py +107 -0
  60. huaweicloudsdkiotanalytics/v1/model/delete_asset_model_response.py +81 -0
  61. huaweicloudsdkiotanalytics/v1/model/delete_asset_new_request.py +107 -0
  62. huaweicloudsdkiotanalytics/v1/model/delete_asset_new_response.py +81 -0
  63. huaweicloudsdkiotanalytics/v1/model/delete_batch_job_request.py +107 -0
  64. huaweicloudsdkiotanalytics/v1/model/delete_batch_job_response.py +112 -0
  65. huaweicloudsdkiotanalytics/v1/model/delete_computing_resource_request.py +107 -0
  66. huaweicloudsdkiotanalytics/v1/model/delete_computing_resource_response.py +112 -0
  67. huaweicloudsdkiotanalytics/v1/model/delete_data_store_request.py +107 -0
  68. huaweicloudsdkiotanalytics/v1/model/delete_data_store_response.py +81 -0
  69. huaweicloudsdkiotanalytics/v1/model/delete_datasource_request.py +107 -0
  70. huaweicloudsdkiotanalytics/v1/model/delete_datasource_response.py +112 -0
  71. huaweicloudsdkiotanalytics/v1/model/delete_group_request.py +107 -0
  72. huaweicloudsdkiotanalytics/v1/model/delete_group_response.py +81 -0
  73. huaweicloudsdkiotanalytics/v1/model/delete_pipeline_job_request.py +107 -0
  74. huaweicloudsdkiotanalytics/v1/model/delete_pipeline_job_response.py +108 -0
  75. huaweicloudsdkiotanalytics/v1/model/delete_run_request.py +135 -0
  76. huaweicloudsdkiotanalytics/v1/model/delete_run_response.py +112 -0
  77. huaweicloudsdkiotanalytics/v1/model/delete_streaming_job_by_id_request.py +107 -0
  78. huaweicloudsdkiotanalytics/v1/model/delete_streaming_job_by_id_response.py +108 -0
  79. huaweicloudsdkiotanalytics/v1/model/delete_table_request.py +107 -0
  80. huaweicloudsdkiotanalytics/v1/model/delete_table_response.py +141 -0
  81. huaweicloudsdkiotanalytics/v1/model/dis_content_req.py +191 -0
  82. huaweicloudsdkiotanalytics/v1/model/dis_content_rsp.py +195 -0
  83. huaweicloudsdkiotanalytics/v1/model/dt_aggregate_metrics.py +163 -0
  84. huaweicloudsdkiotanalytics/v1/model/dt_aggregate_request.py +133 -0
  85. huaweicloudsdkiotanalytics/v1/model/dt_schedule.py +107 -0
  86. huaweicloudsdkiotanalytics/v1/model/dt_stream_request.py +107 -0
  87. huaweicloudsdkiotanalytics/v1/model/dt_transform_metrics.py +163 -0
  88. huaweicloudsdkiotanalytics/v1/model/dt_transform_request.py +133 -0
  89. huaweicloudsdkiotanalytics/v1/model/edge_content_req.py +136 -0
  90. huaweicloudsdkiotanalytics/v1/model/edge_content_rsp.py +135 -0
  91. huaweicloudsdkiotanalytics/v1/model/edge_content_rule_req.py +135 -0
  92. huaweicloudsdkiotanalytics/v1/model/edge_content_rule_rsp.py +163 -0
  93. huaweicloudsdkiotanalytics/v1/model/export_dataset_request.py +135 -0
  94. huaweicloudsdkiotanalytics/v1/model/export_dataset_response.py +81 -0
  95. huaweicloudsdkiotanalytics/v1/model/expression.py +165 -0
  96. huaweicloudsdkiotanalytics/v1/model/formula.py +137 -0
  97. huaweicloudsdkiotanalytics/v1/model/function_graph_content_req.py +275 -0
  98. huaweicloudsdkiotanalytics/v1/model/function_graph_content_rsp.py +282 -0
  99. huaweicloudsdkiotanalytics/v1/model/get_data_store.py +311 -0
  100. huaweicloudsdkiotanalytics/v1/model/get_group.py +398 -0
  101. huaweicloudsdkiotanalytics/v1/model/get_history_request.py +188 -0
  102. huaweicloudsdkiotanalytics/v1/model/get_metrics_request.py +157 -0
  103. huaweicloudsdkiotanalytics/v1/model/get_metrics_value.py +157 -0
  104. huaweicloudsdkiotanalytics/v1/model/get_property_request.py +136 -0
  105. huaweicloudsdkiotanalytics/v1/model/history_values.py +137 -0
  106. huaweicloudsdkiotanalytics/v1/model/import_data_request.py +104 -0
  107. huaweicloudsdkiotanalytics/v1/model/import_data_request_body.py +394 -0
  108. huaweicloudsdkiotanalytics/v1/model/import_data_response.py +170 -0
  109. huaweicloudsdkiotanalytics/v1/model/input_model.py +131 -0
  110. huaweicloudsdkiotanalytics/v1/model/input_param.py +135 -0
  111. huaweicloudsdkiotanalytics/v1/model/input_request.py +131 -0
  112. huaweicloudsdkiotanalytics/v1/model/input_response.py +133 -0
  113. huaweicloudsdkiotanalytics/v1/model/iotda_content_req.py +135 -0
  114. huaweicloudsdkiotanalytics/v1/model/iotda_content_rsp.py +135 -0
  115. huaweicloudsdkiotanalytics/v1/model/iotda_content_rule_req.py +135 -0
  116. huaweicloudsdkiotanalytics/v1/model/iotda_content_rule_rsp.py +163 -0
  117. huaweicloudsdkiotanalytics/v1/model/iotda_rule_action.py +135 -0
  118. huaweicloudsdkiotanalytics/v1/model/job.py +359 -0
  119. huaweicloudsdkiotanalytics/v1/model/kafka_auth_info.py +132 -0
  120. huaweicloudsdkiotanalytics/v1/model/kafka_broker_info.py +135 -0
  121. huaweicloudsdkiotanalytics/v1/model/kafka_content_req.py +219 -0
  122. huaweicloudsdkiotanalytics/v1/model/kafka_content_rsp.py +220 -0
  123. huaweicloudsdkiotanalytics/v1/model/key_value.py +137 -0
  124. huaweicloudsdkiotanalytics/v1/model/last_asset_property_value_request.py +166 -0
  125. huaweicloudsdkiotanalytics/v1/model/list_asset_models_request.py +166 -0
  126. huaweicloudsdkiotanalytics/v1/model/list_asset_models_response.py +141 -0
  127. huaweicloudsdkiotanalytics/v1/model/list_assets_new_request.py +194 -0
  128. huaweicloudsdkiotanalytics/v1/model/list_assets_new_response.py +141 -0
  129. huaweicloudsdkiotanalytics/v1/model/list_batch_jobs_request.py +282 -0
  130. huaweicloudsdkiotanalytics/v1/model/list_batch_jobs_response.py +137 -0
  131. huaweicloudsdkiotanalytics/v1/model/list_computing_resources_request.py +166 -0
  132. huaweicloudsdkiotanalytics/v1/model/list_computing_resources_response.py +141 -0
  133. huaweicloudsdkiotanalytics/v1/model/list_data_stores_request.py +224 -0
  134. huaweicloudsdkiotanalytics/v1/model/list_data_stores_response.py +141 -0
  135. huaweicloudsdkiotanalytics/v1/model/list_groups_request.py +253 -0
  136. huaweicloudsdkiotanalytics/v1/model/list_groups_response.py +141 -0
  137. huaweicloudsdkiotanalytics/v1/model/list_history_request.py +132 -0
  138. huaweicloudsdkiotanalytics/v1/model/list_history_response.py +141 -0
  139. huaweicloudsdkiotanalytics/v1/model/list_metrics_request.py +132 -0
  140. huaweicloudsdkiotanalytics/v1/model/list_metrics_response.py +141 -0
  141. huaweicloudsdkiotanalytics/v1/model/list_pipeline_jobs_request.py +311 -0
  142. huaweicloudsdkiotanalytics/v1/model/list_pipeline_jobs_response.py +141 -0
  143. huaweicloudsdkiotanalytics/v1/model/list_runs_request.py +398 -0
  144. huaweicloudsdkiotanalytics/v1/model/list_runs_response.py +141 -0
  145. huaweicloudsdkiotanalytics/v1/model/list_tables_request.py +253 -0
  146. huaweicloudsdkiotanalytics/v1/model/list_tables_response.py +141 -0
  147. huaweicloudsdkiotanalytics/v1/model/list_tag_values_request.py +222 -0
  148. huaweicloudsdkiotanalytics/v1/model/list_tag_values_response.py +170 -0
  149. huaweicloudsdkiotanalytics/v1/model/metric.py +195 -0
  150. huaweicloudsdkiotanalytics/v1/model/metric_input.py +135 -0
  151. huaweicloudsdkiotanalytics/v1/model/metric_list.py +137 -0
  152. huaweicloudsdkiotanalytics/v1/model/metric_value.py +137 -0
  153. huaweicloudsdkiotanalytics/v1/model/model_arts_content_req.py +247 -0
  154. huaweicloudsdkiotanalytics/v1/model/model_arts_content_rsp.py +253 -0
  155. huaweicloudsdkiotanalytics/v1/model/model_property.py +195 -0
  156. huaweicloudsdkiotanalytics/v1/model/named_formula.py +135 -0
  157. huaweicloudsdkiotanalytics/v1/model/node_content_req.py +135 -0
  158. huaweicloudsdkiotanalytics/v1/model/node_content_rsp.py +137 -0
  159. huaweicloudsdkiotanalytics/v1/model/obs_content_req.py +163 -0
  160. huaweicloudsdkiotanalytics/v1/model/obs_content_rsp.py +166 -0
  161. huaweicloudsdkiotanalytics/v1/model/output_request.py +165 -0
  162. huaweicloudsdkiotanalytics/v1/model/output_response.py +223 -0
  163. huaweicloudsdkiotanalytics/v1/model/output_with_model.py +193 -0
  164. huaweicloudsdkiotanalytics/v1/model/pipeline_job_info_dto.py +456 -0
  165. huaweicloudsdkiotanalytics/v1/model/property_filter.py +163 -0
  166. huaweicloudsdkiotanalytics/v1/model/property_model_request.py +275 -0
  167. huaweicloudsdkiotanalytics/v1/model/property_model_response.py +304 -0
  168. huaweicloudsdkiotanalytics/v1/model/property_reference_model.py +193 -0
  169. huaweicloudsdkiotanalytics/v1/model/property_reference_req.py +108 -0
  170. huaweicloudsdkiotanalytics/v1/model/property_reference_response.py +222 -0
  171. huaweicloudsdkiotanalytics/v1/model/property_request.py +165 -0
  172. huaweicloudsdkiotanalytics/v1/model/property_response.py +333 -0
  173. huaweicloudsdkiotanalytics/v1/model/property_value.py +166 -0
  174. huaweicloudsdkiotanalytics/v1/model/publish_root_asset_request.py +107 -0
  175. huaweicloudsdkiotanalytics/v1/model/publish_root_asset_response.py +81 -0
  176. huaweicloudsdkiotanalytics/v1/model/raw_request.py +219 -0
  177. huaweicloudsdkiotanalytics/v1/model/raw_value.py +137 -0
  178. huaweicloudsdkiotanalytics/v1/model/run.py +359 -0
  179. huaweicloudsdkiotanalytics/v1/model/run_detail.py +161 -0
  180. huaweicloudsdkiotanalytics/v1/model/sasl_plain_auth_info.py +137 -0
  181. huaweicloudsdkiotanalytics/v1/model/schedule.py +335 -0
  182. huaweicloudsdkiotanalytics/v1/model/show_all_data_source_request.py +195 -0
  183. huaweicloudsdkiotanalytics/v1/model/show_all_data_source_response.py +141 -0
  184. huaweicloudsdkiotanalytics/v1/model/show_asset_model_request.py +107 -0
  185. huaweicloudsdkiotanalytics/v1/model/show_asset_model_response.py +286 -0
  186. huaweicloudsdkiotanalytics/v1/model/show_asset_new_request.py +135 -0
  187. huaweicloudsdkiotanalytics/v1/model/show_asset_new_response.py +518 -0
  188. huaweicloudsdkiotanalytics/v1/model/show_batch_job_request.py +107 -0
  189. huaweicloudsdkiotanalytics/v1/model/show_batch_job_response.py +365 -0
  190. huaweicloudsdkiotanalytics/v1/model/show_data_source_request.py +107 -0
  191. huaweicloudsdkiotanalytics/v1/model/show_data_source_response.py +253 -0
  192. huaweicloudsdkiotanalytics/v1/model/show_dataset_request.py +193 -0
  193. huaweicloudsdkiotanalytics/v1/model/show_dataset_response.py +195 -0
  194. huaweicloudsdkiotanalytics/v1/model/show_job_by_id_request.py +107 -0
  195. huaweicloudsdkiotanalytics/v1/model/show_job_by_id_response.py +137 -0
  196. huaweicloudsdkiotanalytics/v1/model/show_jobs_request.py +195 -0
  197. huaweicloudsdkiotanalytics/v1/model/show_jobs_response.py +141 -0
  198. huaweicloudsdkiotanalytics/v1/model/show_last_property_value_request.py +132 -0
  199. huaweicloudsdkiotanalytics/v1/model/show_last_property_value_response.py +112 -0
  200. huaweicloudsdkiotanalytics/v1/model/show_metric_value_request.py +132 -0
  201. huaweicloudsdkiotanalytics/v1/model/show_metric_value_response.py +141 -0
  202. huaweicloudsdkiotanalytics/v1/model/show_pipeline_job_request.py +107 -0
  203. huaweicloudsdkiotanalytics/v1/model/show_pipeline_job_response.py +137 -0
  204. huaweicloudsdkiotanalytics/v1/model/show_property_raw_value_request.py +132 -0
  205. huaweicloudsdkiotanalytics/v1/model/show_property_raw_value_response.py +141 -0
  206. huaweicloudsdkiotanalytics/v1/model/show_property_values_request.py +132 -0
  207. huaweicloudsdkiotanalytics/v1/model/show_property_values_response.py +112 -0
  208. huaweicloudsdkiotanalytics/v1/model/show_run_request.py +164 -0
  209. huaweicloudsdkiotanalytics/v1/model/show_run_response.py +286 -0
  210. huaweicloudsdkiotanalytics/v1/model/show_table_preview_request.py +107 -0
  211. huaweicloudsdkiotanalytics/v1/model/show_table_preview_response.py +141 -0
  212. huaweicloudsdkiotanalytics/v1/model/show_table_schema_request.py +107 -0
  213. huaweicloudsdkiotanalytics/v1/model/show_table_schema_response.py +369 -0
  214. huaweicloudsdkiotanalytics/v1/model/smn_content_req.py +163 -0
  215. huaweicloudsdkiotanalytics/v1/model/smn_content_rsp.py +166 -0
  216. huaweicloudsdkiotanalytics/v1/model/sql_job.py +107 -0
  217. huaweicloudsdkiotanalytics/v1/model/sql_job_query_dataset.py +165 -0
  218. huaweicloudsdkiotanalytics/v1/model/sql_job_run.py +107 -0
  219. huaweicloudsdkiotanalytics/v1/model/sql_job_run_detail.py +427 -0
  220. huaweicloudsdkiotanalytics/v1/model/sql_job_run_response_body.py +194 -0
  221. huaweicloudsdkiotanalytics/v1/model/start_job_request.py +194 -0
  222. huaweicloudsdkiotanalytics/v1/model/start_job_response.py +112 -0
  223. huaweicloudsdkiotanalytics/v1/model/start_pipeline_job_request.py +194 -0
  224. huaweicloudsdkiotanalytics/v1/model/start_pipeline_job_response.py +112 -0
  225. huaweicloudsdkiotanalytics/v1/model/stop_job_request.py +136 -0
  226. huaweicloudsdkiotanalytics/v1/model/stop_job_response.py +112 -0
  227. huaweicloudsdkiotanalytics/v1/model/stop_pipeline_job_request.py +136 -0
  228. huaweicloudsdkiotanalytics/v1/model/stop_pipeline_job_response.py +112 -0
  229. huaweicloudsdkiotanalytics/v1/model/storage_group.py +195 -0
  230. huaweicloudsdkiotanalytics/v1/model/stream_model.py +163 -0
  231. huaweicloudsdkiotanalytics/v1/model/stream_output.py +135 -0
  232. huaweicloudsdkiotanalytics/v1/model/stream_response.py +166 -0
  233. huaweicloudsdkiotanalytics/v1/model/streaming_job_info_dto.py +398 -0
  234. huaweicloudsdkiotanalytics/v1/model/table.py +456 -0
  235. huaweicloudsdkiotanalytics/v1/model/tag.py +137 -0
  236. huaweicloudsdkiotanalytics/v1/model/tag_info_dto.py +166 -0
  237. huaweicloudsdkiotanalytics/v1/model/time_span.py +135 -0
  238. huaweicloudsdkiotanalytics/v1/model/time_span_dt.py +137 -0
  239. huaweicloudsdkiotanalytics/v1/model/transform_metric.py +163 -0
  240. huaweicloudsdkiotanalytics/v1/model/transform_metrics.py +188 -0
  241. huaweicloudsdkiotanalytics/v1/model/transform_metrics_request.py +219 -0
  242. huaweicloudsdkiotanalytics/v1/model/transform_model.py +189 -0
  243. huaweicloudsdkiotanalytics/v1/model/transform_response.py +187 -0
  244. huaweicloudsdkiotanalytics/v1/model/update_asset_model_request.py +132 -0
  245. huaweicloudsdkiotanalytics/v1/model/update_asset_model_response.py +286 -0
  246. huaweicloudsdkiotanalytics/v1/model/update_asset_new_request.py +132 -0
  247. huaweicloudsdkiotanalytics/v1/model/update_asset_new_response.py +518 -0
  248. huaweicloudsdkiotanalytics/v1/model/update_batch_job_request.py +132 -0
  249. huaweicloudsdkiotanalytics/v1/model/update_batch_job_response.py +365 -0
  250. huaweicloudsdkiotanalytics/v1/model/update_data_source_request.py +132 -0
  251. huaweicloudsdkiotanalytics/v1/model/update_data_source_response.py +253 -0
  252. huaweicloudsdkiotanalytics/v1/model/update_data_store.py +195 -0
  253. huaweicloudsdkiotanalytics/v1/model/update_data_store_request.py +132 -0
  254. huaweicloudsdkiotanalytics/v1/model/update_data_store_response.py +315 -0
  255. huaweicloudsdkiotanalytics/v1/model/update_datasource_req_dto.py +160 -0
  256. huaweicloudsdkiotanalytics/v1/model/update_group_request.py +132 -0
  257. huaweicloudsdkiotanalytics/v1/model/update_group_response.py +402 -0
  258. huaweicloudsdkiotanalytics/v1/model/update_pipeline_job_request.py +165 -0
  259. huaweicloudsdkiotanalytics/v1/model/update_pipeline_job_response.py +199 -0
  260. huaweicloudsdkiotanalytics/v1/model/update_streaming_job_request.py +165 -0
  261. huaweicloudsdkiotanalytics/v1/model/update_streaming_job_response.py +199 -0
  262. huaweicloudsdkiotanalytics/v1/model/validate_sql_request.py +104 -0
  263. huaweicloudsdkiotanalytics/v1/model/validate_sql_request_body.py +108 -0
  264. huaweicloudsdkiotanalytics/v1/model/validate_sql_response.py +112 -0
  265. huaweicloudsdkiotanalytics/v1/model/vpcep_info.py +191 -0
  266. huaweicloudsdkiotanalytics/v1/model/vpcep_info_rsp.py +220 -0
  267. huaweicloudsdkiotanalytics/v1/region/__init__.py +0 -0
  268. huaweicloudsdkiotanalytics/v1/region/iotanalytics_region.py +31 -0
  269. huaweicloudsdkiotanalytics-3.1.182.dist-info/METADATA +25 -0
  270. huaweicloudsdkiotanalytics-3.1.182.dist-info/RECORD +272 -0
  271. huaweicloudsdkiotanalytics-3.1.182.dist-info/WHEEL +4 -0
  272. huaweicloudsdkiotanalytics-3.1.182.dist-info/licenses/LICENSE +13 -0
@@ -0,0 +1,365 @@
1
+ # coding: utf-8
2
+
3
+ from huaweicloudsdkcore.sdk_response import SdkResponse
4
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
5
+
6
+
7
+ class CreateBatchJobResponse(SdkResponse):
8
+
9
+ """
10
+ Attributes:
11
+ openapi_types (dict): The key is attribute name
12
+ and the value is attribute type.
13
+ attribute_map (dict): The key is attribute name
14
+ and the value is json key in definition.
15
+ """
16
+ sensitive_list = []
17
+
18
+ openapi_types = {
19
+ 'job_id': 'str',
20
+ 'job_name': 'str',
21
+ 'tags': 'str',
22
+ 'created_time': 'str',
23
+ 'modified_time': 'str',
24
+ 'job_type': 'str',
25
+ 'export_path': 'str',
26
+ 'merge_result_file': 'bool',
27
+ 'sql_job': 'SqlJob',
28
+ 'schedule': 'Schedule'
29
+ }
30
+
31
+ attribute_map = {
32
+ 'job_id': 'job_id',
33
+ 'job_name': 'job_name',
34
+ 'tags': 'tags',
35
+ 'created_time': 'created_time',
36
+ 'modified_time': 'modified_time',
37
+ 'job_type': 'job_type',
38
+ 'export_path': 'export_path',
39
+ 'merge_result_file': 'merge_result_file',
40
+ 'sql_job': 'sql_job',
41
+ 'schedule': 'schedule'
42
+ }
43
+
44
+ def __init__(self, job_id=None, job_name=None, tags=None, created_time=None, modified_time=None, job_type=None, export_path=None, merge_result_file=None, sql_job=None, schedule=None):
45
+ r"""CreateBatchJobResponse
46
+
47
+ The model defined in huaweicloud sdk
48
+
49
+ :param job_id: 仅在响应返回。作业ID。
50
+ :type job_id: str
51
+ :param job_name: 作业名称。只能包含数字、英文字母、中文字母、下划线以及中划线。长度为1~128。
52
+ :type job_name: str
53
+ :param tags: 标签。只能包含数字、英文字母、中文字符、下划线、中划线、逗号以及斜杠。长度为0~128。
54
+ :type tags: str
55
+ :param created_time: 仅在响应返回。创建时间。
56
+ :type created_time: str
57
+ :param modified_time: 仅在响应返回。更新时间。
58
+ :type modified_time: str
59
+ :param job_type: 作业类型。目前仅支持SqlJob.
60
+ :type job_type: str
61
+ :param export_path: 作业查询结果导出到OBS的路径。覆写已存在文件。
62
+ :type export_path: str
63
+ :param merge_result_file: 导出文件时是否合并结果文件。true:合并成一个结果文件;false:不合并结果文件。
64
+ :type merge_result_file: bool
65
+ :param sql_job:
66
+ :type sql_job: :class:`huaweicloudsdkiotanalytics.v1.SqlJob`
67
+ :param schedule:
68
+ :type schedule: :class:`huaweicloudsdkiotanalytics.v1.Schedule`
69
+ """
70
+
71
+ super().__init__()
72
+
73
+ self._job_id = None
74
+ self._job_name = None
75
+ self._tags = None
76
+ self._created_time = None
77
+ self._modified_time = None
78
+ self._job_type = None
79
+ self._export_path = None
80
+ self._merge_result_file = None
81
+ self._sql_job = None
82
+ self._schedule = None
83
+ self.discriminator = None
84
+
85
+ if job_id is not None:
86
+ self.job_id = job_id
87
+ if job_name is not None:
88
+ self.job_name = job_name
89
+ if tags is not None:
90
+ self.tags = tags
91
+ if created_time is not None:
92
+ self.created_time = created_time
93
+ if modified_time is not None:
94
+ self.modified_time = modified_time
95
+ if job_type is not None:
96
+ self.job_type = job_type
97
+ if export_path is not None:
98
+ self.export_path = export_path
99
+ if merge_result_file is not None:
100
+ self.merge_result_file = merge_result_file
101
+ if sql_job is not None:
102
+ self.sql_job = sql_job
103
+ if schedule is not None:
104
+ self.schedule = schedule
105
+
106
+ @property
107
+ def job_id(self):
108
+ r"""Gets the job_id of this CreateBatchJobResponse.
109
+
110
+ 仅在响应返回。作业ID。
111
+
112
+ :return: The job_id of this CreateBatchJobResponse.
113
+ :rtype: str
114
+ """
115
+ return self._job_id
116
+
117
+ @job_id.setter
118
+ def job_id(self, job_id):
119
+ r"""Sets the job_id of this CreateBatchJobResponse.
120
+
121
+ 仅在响应返回。作业ID。
122
+
123
+ :param job_id: The job_id of this CreateBatchJobResponse.
124
+ :type job_id: str
125
+ """
126
+ self._job_id = job_id
127
+
128
+ @property
129
+ def job_name(self):
130
+ r"""Gets the job_name of this CreateBatchJobResponse.
131
+
132
+ 作业名称。只能包含数字、英文字母、中文字母、下划线以及中划线。长度为1~128。
133
+
134
+ :return: The job_name of this CreateBatchJobResponse.
135
+ :rtype: str
136
+ """
137
+ return self._job_name
138
+
139
+ @job_name.setter
140
+ def job_name(self, job_name):
141
+ r"""Sets the job_name of this CreateBatchJobResponse.
142
+
143
+ 作业名称。只能包含数字、英文字母、中文字母、下划线以及中划线。长度为1~128。
144
+
145
+ :param job_name: The job_name of this CreateBatchJobResponse.
146
+ :type job_name: str
147
+ """
148
+ self._job_name = job_name
149
+
150
+ @property
151
+ def tags(self):
152
+ r"""Gets the tags of this CreateBatchJobResponse.
153
+
154
+ 标签。只能包含数字、英文字母、中文字符、下划线、中划线、逗号以及斜杠。长度为0~128。
155
+
156
+ :return: The tags of this CreateBatchJobResponse.
157
+ :rtype: str
158
+ """
159
+ return self._tags
160
+
161
+ @tags.setter
162
+ def tags(self, tags):
163
+ r"""Sets the tags of this CreateBatchJobResponse.
164
+
165
+ 标签。只能包含数字、英文字母、中文字符、下划线、中划线、逗号以及斜杠。长度为0~128。
166
+
167
+ :param tags: The tags of this CreateBatchJobResponse.
168
+ :type tags: str
169
+ """
170
+ self._tags = tags
171
+
172
+ @property
173
+ def created_time(self):
174
+ r"""Gets the created_time of this CreateBatchJobResponse.
175
+
176
+ 仅在响应返回。创建时间。
177
+
178
+ :return: The created_time of this CreateBatchJobResponse.
179
+ :rtype: str
180
+ """
181
+ return self._created_time
182
+
183
+ @created_time.setter
184
+ def created_time(self, created_time):
185
+ r"""Sets the created_time of this CreateBatchJobResponse.
186
+
187
+ 仅在响应返回。创建时间。
188
+
189
+ :param created_time: The created_time of this CreateBatchJobResponse.
190
+ :type created_time: str
191
+ """
192
+ self._created_time = created_time
193
+
194
+ @property
195
+ def modified_time(self):
196
+ r"""Gets the modified_time of this CreateBatchJobResponse.
197
+
198
+ 仅在响应返回。更新时间。
199
+
200
+ :return: The modified_time of this CreateBatchJobResponse.
201
+ :rtype: str
202
+ """
203
+ return self._modified_time
204
+
205
+ @modified_time.setter
206
+ def modified_time(self, modified_time):
207
+ r"""Sets the modified_time of this CreateBatchJobResponse.
208
+
209
+ 仅在响应返回。更新时间。
210
+
211
+ :param modified_time: The modified_time of this CreateBatchJobResponse.
212
+ :type modified_time: str
213
+ """
214
+ self._modified_time = modified_time
215
+
216
+ @property
217
+ def job_type(self):
218
+ r"""Gets the job_type of this CreateBatchJobResponse.
219
+
220
+ 作业类型。目前仅支持SqlJob.
221
+
222
+ :return: The job_type of this CreateBatchJobResponse.
223
+ :rtype: str
224
+ """
225
+ return self._job_type
226
+
227
+ @job_type.setter
228
+ def job_type(self, job_type):
229
+ r"""Sets the job_type of this CreateBatchJobResponse.
230
+
231
+ 作业类型。目前仅支持SqlJob.
232
+
233
+ :param job_type: The job_type of this CreateBatchJobResponse.
234
+ :type job_type: str
235
+ """
236
+ self._job_type = job_type
237
+
238
+ @property
239
+ def export_path(self):
240
+ r"""Gets the export_path of this CreateBatchJobResponse.
241
+
242
+ 作业查询结果导出到OBS的路径。覆写已存在文件。
243
+
244
+ :return: The export_path of this CreateBatchJobResponse.
245
+ :rtype: str
246
+ """
247
+ return self._export_path
248
+
249
+ @export_path.setter
250
+ def export_path(self, export_path):
251
+ r"""Sets the export_path of this CreateBatchJobResponse.
252
+
253
+ 作业查询结果导出到OBS的路径。覆写已存在文件。
254
+
255
+ :param export_path: The export_path of this CreateBatchJobResponse.
256
+ :type export_path: str
257
+ """
258
+ self._export_path = export_path
259
+
260
+ @property
261
+ def merge_result_file(self):
262
+ r"""Gets the merge_result_file of this CreateBatchJobResponse.
263
+
264
+ 导出文件时是否合并结果文件。true:合并成一个结果文件;false:不合并结果文件。
265
+
266
+ :return: The merge_result_file of this CreateBatchJobResponse.
267
+ :rtype: bool
268
+ """
269
+ return self._merge_result_file
270
+
271
+ @merge_result_file.setter
272
+ def merge_result_file(self, merge_result_file):
273
+ r"""Sets the merge_result_file of this CreateBatchJobResponse.
274
+
275
+ 导出文件时是否合并结果文件。true:合并成一个结果文件;false:不合并结果文件。
276
+
277
+ :param merge_result_file: The merge_result_file of this CreateBatchJobResponse.
278
+ :type merge_result_file: bool
279
+ """
280
+ self._merge_result_file = merge_result_file
281
+
282
+ @property
283
+ def sql_job(self):
284
+ r"""Gets the sql_job of this CreateBatchJobResponse.
285
+
286
+ :return: The sql_job of this CreateBatchJobResponse.
287
+ :rtype: :class:`huaweicloudsdkiotanalytics.v1.SqlJob`
288
+ """
289
+ return self._sql_job
290
+
291
+ @sql_job.setter
292
+ def sql_job(self, sql_job):
293
+ r"""Sets the sql_job of this CreateBatchJobResponse.
294
+
295
+ :param sql_job: The sql_job of this CreateBatchJobResponse.
296
+ :type sql_job: :class:`huaweicloudsdkiotanalytics.v1.SqlJob`
297
+ """
298
+ self._sql_job = sql_job
299
+
300
+ @property
301
+ def schedule(self):
302
+ r"""Gets the schedule of this CreateBatchJobResponse.
303
+
304
+ :return: The schedule of this CreateBatchJobResponse.
305
+ :rtype: :class:`huaweicloudsdkiotanalytics.v1.Schedule`
306
+ """
307
+ return self._schedule
308
+
309
+ @schedule.setter
310
+ def schedule(self, schedule):
311
+ r"""Sets the schedule of this CreateBatchJobResponse.
312
+
313
+ :param schedule: The schedule of this CreateBatchJobResponse.
314
+ :type schedule: :class:`huaweicloudsdkiotanalytics.v1.Schedule`
315
+ """
316
+ self._schedule = schedule
317
+
318
+ def to_dict(self):
319
+ import warnings
320
+ warnings.warn("CreateBatchJobResponse.to_dict() is deprecated and no longer maintained, "
321
+ "use to_json_object() to get the response content.", DeprecationWarning)
322
+ result = {}
323
+
324
+ for attr, _ in self.openapi_types.items():
325
+ value = getattr(self, attr)
326
+ if isinstance(value, list):
327
+ result[attr] = list(map(
328
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
329
+ value
330
+ ))
331
+ elif hasattr(value, "to_dict"):
332
+ result[attr] = value.to_dict()
333
+ elif isinstance(value, dict):
334
+ result[attr] = dict(map(
335
+ lambda item: (item[0], item[1].to_dict())
336
+ if hasattr(item[1], "to_dict") else item,
337
+ value.items()
338
+ ))
339
+ else:
340
+ if attr in self.sensitive_list:
341
+ result[attr] = "****"
342
+ else:
343
+ result[attr] = value
344
+
345
+ return result
346
+
347
+ def to_str(self):
348
+ """Returns the string representation of the model"""
349
+ import simplejson as json
350
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
351
+
352
+ def __repr__(self):
353
+ """For `print`"""
354
+ return self.to_str()
355
+
356
+ def __eq__(self, other):
357
+ """Returns true if both objects are equal"""
358
+ if not isinstance(other, CreateBatchJobResponse):
359
+ return False
360
+
361
+ return self.__dict__ == other.__dict__
362
+
363
+ def __ne__(self, other):
364
+ """Returns true if both objects are not equal"""
365
+ return not self == other
@@ -0,0 +1,104 @@
1
+ # coding: utf-8
2
+
3
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
4
+
5
+
6
+ class CreateComputingResourceRequest:
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
+ 'body': 'CreateComputingResourceRequestBody'
19
+ }
20
+
21
+ attribute_map = {
22
+ 'body': 'body'
23
+ }
24
+
25
+ def __init__(self, body=None):
26
+ r"""CreateComputingResourceRequest
27
+
28
+ The model defined in huaweicloud sdk
29
+
30
+ :param body: Body of the CreateComputingResourceRequest
31
+ :type body: :class:`huaweicloudsdkiotanalytics.v1.CreateComputingResourceRequestBody`
32
+ """
33
+
34
+
35
+
36
+ self._body = None
37
+ self.discriminator = None
38
+
39
+ if body is not None:
40
+ self.body = body
41
+
42
+ @property
43
+ def body(self):
44
+ r"""Gets the body of this CreateComputingResourceRequest.
45
+
46
+ :return: The body of this CreateComputingResourceRequest.
47
+ :rtype: :class:`huaweicloudsdkiotanalytics.v1.CreateComputingResourceRequestBody`
48
+ """
49
+ return self._body
50
+
51
+ @body.setter
52
+ def body(self, body):
53
+ r"""Sets the body of this CreateComputingResourceRequest.
54
+
55
+ :param body: The body of this CreateComputingResourceRequest.
56
+ :type body: :class:`huaweicloudsdkiotanalytics.v1.CreateComputingResourceRequestBody`
57
+ """
58
+ self._body = body
59
+
60
+ def to_dict(self):
61
+ result = {}
62
+
63
+ for attr, _ in self.openapi_types.items():
64
+ value = getattr(self, attr)
65
+ if isinstance(value, list):
66
+ result[attr] = list(map(
67
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
68
+ value
69
+ ))
70
+ elif hasattr(value, "to_dict"):
71
+ result[attr] = value.to_dict()
72
+ elif isinstance(value, dict):
73
+ result[attr] = dict(map(
74
+ lambda item: (item[0], item[1].to_dict())
75
+ if hasattr(item[1], "to_dict") else item,
76
+ value.items()
77
+ ))
78
+ else:
79
+ if attr in self.sensitive_list:
80
+ result[attr] = "****"
81
+ else:
82
+ result[attr] = value
83
+
84
+ return result
85
+
86
+ def to_str(self):
87
+ """Returns the string representation of the model"""
88
+ import simplejson as json
89
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
90
+
91
+ def __repr__(self):
92
+ """For `print`"""
93
+ return self.to_str()
94
+
95
+ def __eq__(self, other):
96
+ """Returns true if both objects are equal"""
97
+ if not isinstance(other, CreateComputingResourceRequest):
98
+ return False
99
+
100
+ return self.__dict__ == other.__dict__
101
+
102
+ def __ne__(self, other):
103
+ """Returns true if both objects are not equal"""
104
+ return not self == other
@@ -0,0 +1,222 @@
1
+ # coding: utf-8
2
+
3
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
4
+
5
+
6
+ class CreateComputingResourceRequestBody:
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
+ 'computing_resource_name': 'str',
19
+ 'computing_resource_type': 'str',
20
+ 'description': 'str',
21
+ 'cu_count': 'int',
22
+ 'charging_mode': 'int'
23
+ }
24
+
25
+ attribute_map = {
26
+ 'computing_resource_name': 'computing_resource_name',
27
+ 'computing_resource_type': 'computing_resource_type',
28
+ 'description': 'description',
29
+ 'cu_count': 'cu_count',
30
+ 'charging_mode': 'charging_mode'
31
+ }
32
+
33
+ def __init__(self, computing_resource_name=None, computing_resource_type=None, description=None, cu_count=None, charging_mode=None):
34
+ r"""CreateComputingResourceRequestBody
35
+
36
+ The model defined in huaweicloud sdk
37
+
38
+ :param computing_resource_name: 新建的计算资源名称,名称只能包含数字、英文字母和下划线,但不能是纯数字,且不能以下划线开头。
39
+ :type computing_resource_name: str
40
+ :param computing_resource_type: 计算资源的类型。默认为sql。
41
+ :type computing_resource_type: str
42
+ :param description: 计算资源的描述信息。
43
+ :type description: str
44
+ :param cu_count: 与计算资源绑定的最小计算单元个数。设置值当前只支持16,64,256。
45
+ :type cu_count: int
46
+ :param charging_mode: 计算资源的收费模式。只能设置为“1”,表示按照CU时收费。
47
+ :type charging_mode: int
48
+ """
49
+
50
+
51
+
52
+ self._computing_resource_name = None
53
+ self._computing_resource_type = None
54
+ self._description = None
55
+ self._cu_count = None
56
+ self._charging_mode = None
57
+ self.discriminator = None
58
+
59
+ self.computing_resource_name = computing_resource_name
60
+ if computing_resource_type is not None:
61
+ self.computing_resource_type = computing_resource_type
62
+ if description is not None:
63
+ self.description = description
64
+ self.cu_count = cu_count
65
+ if charging_mode is not None:
66
+ self.charging_mode = charging_mode
67
+
68
+ @property
69
+ def computing_resource_name(self):
70
+ r"""Gets the computing_resource_name of this CreateComputingResourceRequestBody.
71
+
72
+ 新建的计算资源名称,名称只能包含数字、英文字母和下划线,但不能是纯数字,且不能以下划线开头。
73
+
74
+ :return: The computing_resource_name of this CreateComputingResourceRequestBody.
75
+ :rtype: str
76
+ """
77
+ return self._computing_resource_name
78
+
79
+ @computing_resource_name.setter
80
+ def computing_resource_name(self, computing_resource_name):
81
+ r"""Sets the computing_resource_name of this CreateComputingResourceRequestBody.
82
+
83
+ 新建的计算资源名称,名称只能包含数字、英文字母和下划线,但不能是纯数字,且不能以下划线开头。
84
+
85
+ :param computing_resource_name: The computing_resource_name of this CreateComputingResourceRequestBody.
86
+ :type computing_resource_name: str
87
+ """
88
+ self._computing_resource_name = computing_resource_name
89
+
90
+ @property
91
+ def computing_resource_type(self):
92
+ r"""Gets the computing_resource_type of this CreateComputingResourceRequestBody.
93
+
94
+ 计算资源的类型。默认为sql。
95
+
96
+ :return: The computing_resource_type of this CreateComputingResourceRequestBody.
97
+ :rtype: str
98
+ """
99
+ return self._computing_resource_type
100
+
101
+ @computing_resource_type.setter
102
+ def computing_resource_type(self, computing_resource_type):
103
+ r"""Sets the computing_resource_type of this CreateComputingResourceRequestBody.
104
+
105
+ 计算资源的类型。默认为sql。
106
+
107
+ :param computing_resource_type: The computing_resource_type of this CreateComputingResourceRequestBody.
108
+ :type computing_resource_type: str
109
+ """
110
+ self._computing_resource_type = computing_resource_type
111
+
112
+ @property
113
+ def description(self):
114
+ r"""Gets the description of this CreateComputingResourceRequestBody.
115
+
116
+ 计算资源的描述信息。
117
+
118
+ :return: The description of this CreateComputingResourceRequestBody.
119
+ :rtype: str
120
+ """
121
+ return self._description
122
+
123
+ @description.setter
124
+ def description(self, description):
125
+ r"""Sets the description of this CreateComputingResourceRequestBody.
126
+
127
+ 计算资源的描述信息。
128
+
129
+ :param description: The description of this CreateComputingResourceRequestBody.
130
+ :type description: str
131
+ """
132
+ self._description = description
133
+
134
+ @property
135
+ def cu_count(self):
136
+ r"""Gets the cu_count of this CreateComputingResourceRequestBody.
137
+
138
+ 与计算资源绑定的最小计算单元个数。设置值当前只支持16,64,256。
139
+
140
+ :return: The cu_count of this CreateComputingResourceRequestBody.
141
+ :rtype: int
142
+ """
143
+ return self._cu_count
144
+
145
+ @cu_count.setter
146
+ def cu_count(self, cu_count):
147
+ r"""Sets the cu_count of this CreateComputingResourceRequestBody.
148
+
149
+ 与计算资源绑定的最小计算单元个数。设置值当前只支持16,64,256。
150
+
151
+ :param cu_count: The cu_count of this CreateComputingResourceRequestBody.
152
+ :type cu_count: int
153
+ """
154
+ self._cu_count = cu_count
155
+
156
+ @property
157
+ def charging_mode(self):
158
+ r"""Gets the charging_mode of this CreateComputingResourceRequestBody.
159
+
160
+ 计算资源的收费模式。只能设置为“1”,表示按照CU时收费。
161
+
162
+ :return: The charging_mode of this CreateComputingResourceRequestBody.
163
+ :rtype: int
164
+ """
165
+ return self._charging_mode
166
+
167
+ @charging_mode.setter
168
+ def charging_mode(self, charging_mode):
169
+ r"""Sets the charging_mode of this CreateComputingResourceRequestBody.
170
+
171
+ 计算资源的收费模式。只能设置为“1”,表示按照CU时收费。
172
+
173
+ :param charging_mode: The charging_mode of this CreateComputingResourceRequestBody.
174
+ :type charging_mode: int
175
+ """
176
+ self._charging_mode = charging_mode
177
+
178
+ def to_dict(self):
179
+ result = {}
180
+
181
+ for attr, _ in self.openapi_types.items():
182
+ value = getattr(self, attr)
183
+ if isinstance(value, list):
184
+ result[attr] = list(map(
185
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
186
+ value
187
+ ))
188
+ elif hasattr(value, "to_dict"):
189
+ result[attr] = value.to_dict()
190
+ elif isinstance(value, dict):
191
+ result[attr] = dict(map(
192
+ lambda item: (item[0], item[1].to_dict())
193
+ if hasattr(item[1], "to_dict") else item,
194
+ value.items()
195
+ ))
196
+ else:
197
+ if attr in self.sensitive_list:
198
+ result[attr] = "****"
199
+ else:
200
+ result[attr] = value
201
+
202
+ return result
203
+
204
+ def to_str(self):
205
+ """Returns the string representation of the model"""
206
+ import simplejson as json
207
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
208
+
209
+ def __repr__(self):
210
+ """For `print`"""
211
+ return self.to_str()
212
+
213
+ def __eq__(self, other):
214
+ """Returns true if both objects are equal"""
215
+ if not isinstance(other, CreateComputingResourceRequestBody):
216
+ return False
217
+
218
+ return self.__dict__ == other.__dict__
219
+
220
+ def __ne__(self, other):
221
+ """Returns true if both objects are not equal"""
222
+ return not self == other