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