huaweicloudsdkiotanalytics 3.1.160__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +139 -0
- huaweicloudsdkiotanalytics/v1/model/add_dev_data_response.py +112 -0
- huaweicloudsdkiotanalytics/v1/model/add_pipeline_job_request.py +144 -0
- huaweicloudsdkiotanalytics/v1/model/add_pipeline_job_response.py +145 -0
- huaweicloudsdkiotanalytics/v1/model/aggregate_metric.py +170 -0
- huaweicloudsdkiotanalytics/v1/model/aggregate_metrics.py +253 -0
- huaweicloudsdkiotanalytics/v1/model/aggregate_metrics_request.py +283 -0
- huaweicloudsdkiotanalytics/v1/model/aggregate_model.py +220 -0
- huaweicloudsdkiotanalytics/v1/model/aggregate_response.py +219 -0
- huaweicloudsdkiotanalytics/v1/model/analysis_model_request.py +246 -0
- huaweicloudsdkiotanalytics/v1/model/analysis_model_response.py +275 -0
- huaweicloudsdkiotanalytics/v1/model/analysis_request.py +189 -0
- huaweicloudsdkiotanalytics/v1/model/analysis_response.py +277 -0
- huaweicloudsdkiotanalytics/v1/model/api_content_req.py +114 -0
- huaweicloudsdkiotanalytics/v1/model/api_content_rsp.py +144 -0
- huaweicloudsdkiotanalytics/v1/model/asset_add_request.py +258 -0
- huaweicloudsdkiotanalytics/v1/model/asset_mod_request.py +231 -0
- huaweicloudsdkiotanalytics/v1/model/asset_model_add_request.py +201 -0
- huaweicloudsdkiotanalytics/v1/model/asset_model_mod_request.py +173 -0
- huaweicloudsdkiotanalytics/v1/model/asset_model_response.py +289 -0
- huaweicloudsdkiotanalytics/v1/model/asset_property_last_value.py +173 -0
- huaweicloudsdkiotanalytics/v1/model/asset_response.py +521 -0
- huaweicloudsdkiotanalytics/v1/model/column.py +200 -0
- huaweicloudsdkiotanalytics/v1/model/computing_resource.py +347 -0
- huaweicloudsdkiotanalytics/v1/model/content_detail_req.py +361 -0
- huaweicloudsdkiotanalytics/v1/model/content_detail_rsp.py +361 -0
- huaweicloudsdkiotanalytics/v1/model/create_asset_model_request.py +111 -0
- huaweicloudsdkiotanalytics/v1/model/create_asset_model_response.py +290 -0
- huaweicloudsdkiotanalytics/v1/model/create_asset_new_request.py +111 -0
- huaweicloudsdkiotanalytics/v1/model/create_asset_new_response.py +522 -0
- huaweicloudsdkiotanalytics/v1/model/create_batch_job_request.py +111 -0
- huaweicloudsdkiotanalytics/v1/model/create_batch_job_response.py +369 -0
- huaweicloudsdkiotanalytics/v1/model/create_computing_resource_request.py +111 -0
- huaweicloudsdkiotanalytics/v1/model/create_computing_resource_request_body.py +229 -0
- huaweicloudsdkiotanalytics/v1/model/create_computing_resource_response.py +290 -0
- huaweicloudsdkiotanalytics/v1/model/create_datasource_req_dto.py +166 -0
- huaweicloudsdkiotanalytics/v1/model/create_datasource_request.py +111 -0
- huaweicloudsdkiotanalytics/v1/model/create_datasource_response.py +257 -0
- huaweicloudsdkiotanalytics/v1/model/create_group_request.py +111 -0
- huaweicloudsdkiotanalytics/v1/model/create_group_response.py +406 -0
- huaweicloudsdkiotanalytics/v1/model/create_run_request.py +139 -0
- huaweicloudsdkiotanalytics/v1/model/create_run_request_body.py +143 -0
- huaweicloudsdkiotanalytics/v1/model/create_run_response.py +228 -0
- huaweicloudsdkiotanalytics/v1/model/create_streaming_job_request.py +144 -0
- huaweicloudsdkiotanalytics/v1/model/create_streaming_job_response.py +145 -0
- huaweicloudsdkiotanalytics/v1/model/create_table_request.py +111 -0
- huaweicloudsdkiotanalytics/v1/model/create_table_request_body.py +489 -0
- huaweicloudsdkiotanalytics/v1/model/create_table_response.py +464 -0
- huaweicloudsdkiotanalytics/v1/model/data_schema.py +230 -0
- huaweicloudsdkiotanalytics/v1/model/data_store_dto.py +173 -0
- huaweicloudsdkiotanalytics/v1/model/datasource_rest_dto.py +256 -0
- huaweicloudsdkiotanalytics/v1/model/dcs_content_req.py +226 -0
- huaweicloudsdkiotanalytics/v1/model/dcs_content_rsp.py +260 -0
- huaweicloudsdkiotanalytics/v1/model/delete_asset_model_request.py +114 -0
- huaweicloudsdkiotanalytics/v1/model/delete_asset_model_response.py +85 -0
- huaweicloudsdkiotanalytics/v1/model/delete_asset_new_request.py +114 -0
- huaweicloudsdkiotanalytics/v1/model/delete_asset_new_response.py +85 -0
- huaweicloudsdkiotanalytics/v1/model/delete_batch_job_request.py +114 -0
- huaweicloudsdkiotanalytics/v1/model/delete_batch_job_response.py +116 -0
- huaweicloudsdkiotanalytics/v1/model/delete_computing_resource_request.py +114 -0
- huaweicloudsdkiotanalytics/v1/model/delete_computing_resource_response.py +116 -0
- huaweicloudsdkiotanalytics/v1/model/delete_data_store_request.py +114 -0
- huaweicloudsdkiotanalytics/v1/model/delete_data_store_response.py +85 -0
- huaweicloudsdkiotanalytics/v1/model/delete_datasource_request.py +114 -0
- huaweicloudsdkiotanalytics/v1/model/delete_datasource_response.py +116 -0
- huaweicloudsdkiotanalytics/v1/model/delete_group_request.py +114 -0
- huaweicloudsdkiotanalytics/v1/model/delete_group_response.py +85 -0
- huaweicloudsdkiotanalytics/v1/model/delete_pipeline_job_request.py +114 -0
- huaweicloudsdkiotanalytics/v1/model/delete_pipeline_job_response.py +112 -0
- huaweicloudsdkiotanalytics/v1/model/delete_run_request.py +142 -0
- huaweicloudsdkiotanalytics/v1/model/delete_run_response.py +116 -0
- huaweicloudsdkiotanalytics/v1/model/delete_streaming_job_by_id_request.py +114 -0
- huaweicloudsdkiotanalytics/v1/model/delete_streaming_job_by_id_response.py +112 -0
- huaweicloudsdkiotanalytics/v1/model/delete_table_request.py +114 -0
- huaweicloudsdkiotanalytics/v1/model/delete_table_response.py +145 -0
- huaweicloudsdkiotanalytics/v1/model/dis_content_req.py +198 -0
- huaweicloudsdkiotanalytics/v1/model/dis_content_rsp.py +202 -0
- huaweicloudsdkiotanalytics/v1/model/dt_aggregate_metrics.py +170 -0
- huaweicloudsdkiotanalytics/v1/model/dt_aggregate_request.py +140 -0
- huaweicloudsdkiotanalytics/v1/model/dt_schedule.py +114 -0
- huaweicloudsdkiotanalytics/v1/model/dt_stream_request.py +114 -0
- huaweicloudsdkiotanalytics/v1/model/dt_transform_metrics.py +170 -0
- huaweicloudsdkiotanalytics/v1/model/dt_transform_request.py +140 -0
- huaweicloudsdkiotanalytics/v1/model/edge_content_req.py +143 -0
- huaweicloudsdkiotanalytics/v1/model/edge_content_rsp.py +142 -0
- huaweicloudsdkiotanalytics/v1/model/edge_content_rule_req.py +142 -0
- huaweicloudsdkiotanalytics/v1/model/edge_content_rule_rsp.py +170 -0
- huaweicloudsdkiotanalytics/v1/model/export_dataset_request.py +142 -0
- huaweicloudsdkiotanalytics/v1/model/export_dataset_response.py +85 -0
- huaweicloudsdkiotanalytics/v1/model/expression.py +172 -0
- huaweicloudsdkiotanalytics/v1/model/formula.py +144 -0
- huaweicloudsdkiotanalytics/v1/model/function_graph_content_req.py +282 -0
- huaweicloudsdkiotanalytics/v1/model/function_graph_content_rsp.py +289 -0
- huaweicloudsdkiotanalytics/v1/model/get_data_store.py +318 -0
- huaweicloudsdkiotanalytics/v1/model/get_group.py +405 -0
- huaweicloudsdkiotanalytics/v1/model/get_history_request.py +195 -0
- huaweicloudsdkiotanalytics/v1/model/get_metrics_request.py +164 -0
- huaweicloudsdkiotanalytics/v1/model/get_metrics_value.py +164 -0
- huaweicloudsdkiotanalytics/v1/model/get_property_request.py +143 -0
- huaweicloudsdkiotanalytics/v1/model/history_values.py +144 -0
- huaweicloudsdkiotanalytics/v1/model/import_data_request.py +111 -0
- huaweicloudsdkiotanalytics/v1/model/import_data_request_body.py +401 -0
- huaweicloudsdkiotanalytics/v1/model/import_data_response.py +174 -0
- huaweicloudsdkiotanalytics/v1/model/input_model.py +138 -0
- huaweicloudsdkiotanalytics/v1/model/input_param.py +142 -0
- huaweicloudsdkiotanalytics/v1/model/input_request.py +138 -0
- huaweicloudsdkiotanalytics/v1/model/input_response.py +140 -0
- huaweicloudsdkiotanalytics/v1/model/iotda_content_req.py +142 -0
- huaweicloudsdkiotanalytics/v1/model/iotda_content_rsp.py +142 -0
- huaweicloudsdkiotanalytics/v1/model/iotda_content_rule_req.py +142 -0
- huaweicloudsdkiotanalytics/v1/model/iotda_content_rule_rsp.py +170 -0
- huaweicloudsdkiotanalytics/v1/model/iotda_rule_action.py +142 -0
- huaweicloudsdkiotanalytics/v1/model/job.py +366 -0
- huaweicloudsdkiotanalytics/v1/model/kafka_auth_info.py +139 -0
- huaweicloudsdkiotanalytics/v1/model/kafka_broker_info.py +142 -0
- huaweicloudsdkiotanalytics/v1/model/kafka_content_req.py +226 -0
- huaweicloudsdkiotanalytics/v1/model/kafka_content_rsp.py +227 -0
- huaweicloudsdkiotanalytics/v1/model/key_value.py +144 -0
- huaweicloudsdkiotanalytics/v1/model/last_asset_property_value_request.py +173 -0
- huaweicloudsdkiotanalytics/v1/model/list_asset_models_request.py +173 -0
- huaweicloudsdkiotanalytics/v1/model/list_asset_models_response.py +145 -0
- huaweicloudsdkiotanalytics/v1/model/list_assets_new_request.py +201 -0
- huaweicloudsdkiotanalytics/v1/model/list_assets_new_response.py +145 -0
- huaweicloudsdkiotanalytics/v1/model/list_batch_jobs_request.py +289 -0
- huaweicloudsdkiotanalytics/v1/model/list_batch_jobs_response.py +141 -0
- huaweicloudsdkiotanalytics/v1/model/list_computing_resources_request.py +173 -0
- huaweicloudsdkiotanalytics/v1/model/list_computing_resources_response.py +145 -0
- huaweicloudsdkiotanalytics/v1/model/list_data_stores_request.py +231 -0
- huaweicloudsdkiotanalytics/v1/model/list_data_stores_response.py +145 -0
- huaweicloudsdkiotanalytics/v1/model/list_groups_request.py +260 -0
- huaweicloudsdkiotanalytics/v1/model/list_groups_response.py +145 -0
- huaweicloudsdkiotanalytics/v1/model/list_history_request.py +139 -0
- huaweicloudsdkiotanalytics/v1/model/list_history_response.py +145 -0
- huaweicloudsdkiotanalytics/v1/model/list_metrics_request.py +139 -0
- huaweicloudsdkiotanalytics/v1/model/list_metrics_response.py +145 -0
- huaweicloudsdkiotanalytics/v1/model/list_pipeline_jobs_request.py +318 -0
- huaweicloudsdkiotanalytics/v1/model/list_pipeline_jobs_response.py +145 -0
- huaweicloudsdkiotanalytics/v1/model/list_runs_request.py +405 -0
- huaweicloudsdkiotanalytics/v1/model/list_runs_response.py +145 -0
- huaweicloudsdkiotanalytics/v1/model/list_tables_request.py +260 -0
- huaweicloudsdkiotanalytics/v1/model/list_tables_response.py +145 -0
- huaweicloudsdkiotanalytics/v1/model/list_tag_values_request.py +229 -0
- huaweicloudsdkiotanalytics/v1/model/list_tag_values_response.py +174 -0
- huaweicloudsdkiotanalytics/v1/model/metric.py +202 -0
- huaweicloudsdkiotanalytics/v1/model/metric_input.py +142 -0
- huaweicloudsdkiotanalytics/v1/model/metric_list.py +144 -0
- huaweicloudsdkiotanalytics/v1/model/metric_value.py +144 -0
- huaweicloudsdkiotanalytics/v1/model/model_arts_content_req.py +254 -0
- huaweicloudsdkiotanalytics/v1/model/model_arts_content_rsp.py +260 -0
- huaweicloudsdkiotanalytics/v1/model/model_property.py +202 -0
- huaweicloudsdkiotanalytics/v1/model/named_formula.py +142 -0
- huaweicloudsdkiotanalytics/v1/model/node_content_req.py +142 -0
- huaweicloudsdkiotanalytics/v1/model/node_content_rsp.py +144 -0
- huaweicloudsdkiotanalytics/v1/model/obs_content_req.py +170 -0
- huaweicloudsdkiotanalytics/v1/model/obs_content_rsp.py +173 -0
- huaweicloudsdkiotanalytics/v1/model/output_request.py +172 -0
- huaweicloudsdkiotanalytics/v1/model/output_response.py +230 -0
- huaweicloudsdkiotanalytics/v1/model/output_with_model.py +200 -0
- huaweicloudsdkiotanalytics/v1/model/pipeline_job_info_dto.py +463 -0
- huaweicloudsdkiotanalytics/v1/model/property_filter.py +170 -0
- huaweicloudsdkiotanalytics/v1/model/property_model_request.py +282 -0
- huaweicloudsdkiotanalytics/v1/model/property_model_response.py +311 -0
- huaweicloudsdkiotanalytics/v1/model/property_reference_model.py +200 -0
- huaweicloudsdkiotanalytics/v1/model/property_reference_req.py +115 -0
- huaweicloudsdkiotanalytics/v1/model/property_reference_response.py +229 -0
- huaweicloudsdkiotanalytics/v1/model/property_request.py +172 -0
- huaweicloudsdkiotanalytics/v1/model/property_response.py +340 -0
- huaweicloudsdkiotanalytics/v1/model/property_value.py +173 -0
- huaweicloudsdkiotanalytics/v1/model/publish_root_asset_request.py +114 -0
- huaweicloudsdkiotanalytics/v1/model/publish_root_asset_response.py +85 -0
- huaweicloudsdkiotanalytics/v1/model/raw_request.py +226 -0
- huaweicloudsdkiotanalytics/v1/model/raw_value.py +144 -0
- huaweicloudsdkiotanalytics/v1/model/run.py +366 -0
- huaweicloudsdkiotanalytics/v1/model/run_detail.py +168 -0
- huaweicloudsdkiotanalytics/v1/model/sasl_plain_auth_info.py +144 -0
- huaweicloudsdkiotanalytics/v1/model/schedule.py +342 -0
- huaweicloudsdkiotanalytics/v1/model/show_all_data_source_request.py +202 -0
- huaweicloudsdkiotanalytics/v1/model/show_all_data_source_response.py +145 -0
- huaweicloudsdkiotanalytics/v1/model/show_asset_model_request.py +114 -0
- huaweicloudsdkiotanalytics/v1/model/show_asset_model_response.py +290 -0
- huaweicloudsdkiotanalytics/v1/model/show_asset_new_request.py +142 -0
- huaweicloudsdkiotanalytics/v1/model/show_asset_new_response.py +522 -0
- huaweicloudsdkiotanalytics/v1/model/show_batch_job_request.py +114 -0
- huaweicloudsdkiotanalytics/v1/model/show_batch_job_response.py +369 -0
- huaweicloudsdkiotanalytics/v1/model/show_data_source_request.py +114 -0
- huaweicloudsdkiotanalytics/v1/model/show_data_source_response.py +257 -0
- huaweicloudsdkiotanalytics/v1/model/show_dataset_request.py +200 -0
- huaweicloudsdkiotanalytics/v1/model/show_dataset_response.py +199 -0
- huaweicloudsdkiotanalytics/v1/model/show_job_by_id_request.py +114 -0
- huaweicloudsdkiotanalytics/v1/model/show_job_by_id_response.py +141 -0
- huaweicloudsdkiotanalytics/v1/model/show_jobs_request.py +202 -0
- huaweicloudsdkiotanalytics/v1/model/show_jobs_response.py +145 -0
- huaweicloudsdkiotanalytics/v1/model/show_last_property_value_request.py +139 -0
- huaweicloudsdkiotanalytics/v1/model/show_last_property_value_response.py +116 -0
- huaweicloudsdkiotanalytics/v1/model/show_metric_value_request.py +139 -0
- huaweicloudsdkiotanalytics/v1/model/show_metric_value_response.py +145 -0
- huaweicloudsdkiotanalytics/v1/model/show_pipeline_job_request.py +114 -0
- huaweicloudsdkiotanalytics/v1/model/show_pipeline_job_response.py +141 -0
- huaweicloudsdkiotanalytics/v1/model/show_property_raw_value_request.py +139 -0
- huaweicloudsdkiotanalytics/v1/model/show_property_raw_value_response.py +145 -0
- huaweicloudsdkiotanalytics/v1/model/show_property_values_request.py +139 -0
- huaweicloudsdkiotanalytics/v1/model/show_property_values_response.py +116 -0
- huaweicloudsdkiotanalytics/v1/model/show_run_request.py +171 -0
- huaweicloudsdkiotanalytics/v1/model/show_run_response.py +290 -0
- huaweicloudsdkiotanalytics/v1/model/show_table_preview_request.py +114 -0
- huaweicloudsdkiotanalytics/v1/model/show_table_preview_response.py +145 -0
- huaweicloudsdkiotanalytics/v1/model/show_table_schema_request.py +114 -0
- huaweicloudsdkiotanalytics/v1/model/show_table_schema_response.py +373 -0
- huaweicloudsdkiotanalytics/v1/model/smn_content_req.py +170 -0
- huaweicloudsdkiotanalytics/v1/model/smn_content_rsp.py +173 -0
- huaweicloudsdkiotanalytics/v1/model/sql_job.py +114 -0
- huaweicloudsdkiotanalytics/v1/model/sql_job_query_dataset.py +172 -0
- huaweicloudsdkiotanalytics/v1/model/sql_job_run.py +114 -0
- huaweicloudsdkiotanalytics/v1/model/sql_job_run_detail.py +434 -0
- huaweicloudsdkiotanalytics/v1/model/sql_job_run_response_body.py +201 -0
- huaweicloudsdkiotanalytics/v1/model/start_job_request.py +201 -0
- huaweicloudsdkiotanalytics/v1/model/start_job_response.py +116 -0
- huaweicloudsdkiotanalytics/v1/model/start_pipeline_job_request.py +201 -0
- huaweicloudsdkiotanalytics/v1/model/start_pipeline_job_response.py +116 -0
- huaweicloudsdkiotanalytics/v1/model/stop_job_request.py +143 -0
- huaweicloudsdkiotanalytics/v1/model/stop_job_response.py +116 -0
- huaweicloudsdkiotanalytics/v1/model/stop_pipeline_job_request.py +143 -0
- huaweicloudsdkiotanalytics/v1/model/stop_pipeline_job_response.py +116 -0
- huaweicloudsdkiotanalytics/v1/model/storage_group.py +202 -0
- huaweicloudsdkiotanalytics/v1/model/stream_model.py +170 -0
- huaweicloudsdkiotanalytics/v1/model/stream_output.py +142 -0
- huaweicloudsdkiotanalytics/v1/model/stream_response.py +173 -0
- huaweicloudsdkiotanalytics/v1/model/streaming_job_info_dto.py +405 -0
- huaweicloudsdkiotanalytics/v1/model/table.py +463 -0
- huaweicloudsdkiotanalytics/v1/model/tag.py +144 -0
- huaweicloudsdkiotanalytics/v1/model/tag_info_dto.py +173 -0
- huaweicloudsdkiotanalytics/v1/model/time_span.py +142 -0
- huaweicloudsdkiotanalytics/v1/model/time_span_dt.py +144 -0
- huaweicloudsdkiotanalytics/v1/model/transform_metric.py +170 -0
- huaweicloudsdkiotanalytics/v1/model/transform_metrics.py +195 -0
- huaweicloudsdkiotanalytics/v1/model/transform_metrics_request.py +226 -0
- huaweicloudsdkiotanalytics/v1/model/transform_model.py +196 -0
- huaweicloudsdkiotanalytics/v1/model/transform_response.py +194 -0
- huaweicloudsdkiotanalytics/v1/model/update_asset_model_request.py +139 -0
- huaweicloudsdkiotanalytics/v1/model/update_asset_model_response.py +290 -0
- huaweicloudsdkiotanalytics/v1/model/update_asset_new_request.py +139 -0
- huaweicloudsdkiotanalytics/v1/model/update_asset_new_response.py +522 -0
- huaweicloudsdkiotanalytics/v1/model/update_batch_job_request.py +139 -0
- huaweicloudsdkiotanalytics/v1/model/update_batch_job_response.py +369 -0
- huaweicloudsdkiotanalytics/v1/model/update_data_source_request.py +139 -0
- huaweicloudsdkiotanalytics/v1/model/update_data_source_response.py +257 -0
- huaweicloudsdkiotanalytics/v1/model/update_data_store.py +202 -0
- huaweicloudsdkiotanalytics/v1/model/update_data_store_request.py +139 -0
- huaweicloudsdkiotanalytics/v1/model/update_data_store_response.py +319 -0
- huaweicloudsdkiotanalytics/v1/model/update_datasource_req_dto.py +167 -0
- huaweicloudsdkiotanalytics/v1/model/update_group_request.py +139 -0
- huaweicloudsdkiotanalytics/v1/model/update_group_response.py +406 -0
- huaweicloudsdkiotanalytics/v1/model/update_pipeline_job_request.py +172 -0
- huaweicloudsdkiotanalytics/v1/model/update_pipeline_job_response.py +203 -0
- huaweicloudsdkiotanalytics/v1/model/update_streaming_job_request.py +172 -0
- huaweicloudsdkiotanalytics/v1/model/update_streaming_job_response.py +203 -0
- huaweicloudsdkiotanalytics/v1/model/validate_sql_request.py +111 -0
- huaweicloudsdkiotanalytics/v1/model/validate_sql_request_body.py +115 -0
- huaweicloudsdkiotanalytics/v1/model/validate_sql_response.py +116 -0
- huaweicloudsdkiotanalytics/v1/model/vpcep_info.py +198 -0
- huaweicloudsdkiotanalytics/v1/model/vpcep_info_rsp.py +227 -0
- huaweicloudsdkiotanalytics/v1/region/__init__.py +0 -0
- huaweicloudsdkiotanalytics/v1/region/iotanalytics_region.py +31 -0
- huaweicloudsdkiotanalytics-3.1.160.dist-info/LICENSE +13 -0
- huaweicloudsdkiotanalytics-3.1.160.dist-info/METADATA +26 -0
- huaweicloudsdkiotanalytics-3.1.160.dist-info/RECORD +273 -0
- huaweicloudsdkiotanalytics-3.1.160.dist-info/WHEEL +5 -0
- huaweicloudsdkiotanalytics-3.1.160.dist-info/top_level.txt +1 -0
@@ -0,0 +1,290 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.sdk_response import SdkResponse
|
6
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
7
|
+
|
8
|
+
|
9
|
+
class CreateComputingResourceResponse(SdkResponse):
|
10
|
+
|
11
|
+
"""
|
12
|
+
Attributes:
|
13
|
+
openapi_types (dict): The key is attribute name
|
14
|
+
and the value is attribute type.
|
15
|
+
attribute_map (dict): The key is attribute name
|
16
|
+
and the value is json key in definition.
|
17
|
+
"""
|
18
|
+
sensitive_list = []
|
19
|
+
|
20
|
+
openapi_types = {
|
21
|
+
'computing_resource_id': 'str',
|
22
|
+
'computing_resource_name': 'str',
|
23
|
+
'computing_resource_type': 'str',
|
24
|
+
'description': 'str',
|
25
|
+
'cu_count': 'int',
|
26
|
+
'charging_mode': 'int',
|
27
|
+
'created_time': 'str'
|
28
|
+
}
|
29
|
+
|
30
|
+
attribute_map = {
|
31
|
+
'computing_resource_id': 'computing_resource_id',
|
32
|
+
'computing_resource_name': 'computing_resource_name',
|
33
|
+
'computing_resource_type': 'computing_resource_type',
|
34
|
+
'description': 'description',
|
35
|
+
'cu_count': 'cu_count',
|
36
|
+
'charging_mode': 'charging_mode',
|
37
|
+
'created_time': 'created_time'
|
38
|
+
}
|
39
|
+
|
40
|
+
def __init__(self, computing_resource_id=None, computing_resource_name=None, computing_resource_type=None, description=None, cu_count=None, charging_mode=None, created_time=None):
|
41
|
+
r"""CreateComputingResourceResponse
|
42
|
+
|
43
|
+
The model defined in huaweicloud sdk
|
44
|
+
|
45
|
+
:param computing_resource_id: 新增计算资源ID。
|
46
|
+
:type computing_resource_id: str
|
47
|
+
:param computing_resource_name: 新增计算资源名称。
|
48
|
+
:type computing_resource_name: str
|
49
|
+
:param computing_resource_type: 计算资源的类型。目前支持:sql。如果不指定,默认为sql。
|
50
|
+
:type computing_resource_type: str
|
51
|
+
:param description: 计算资源的描述信息。
|
52
|
+
:type description: str
|
53
|
+
:param cu_count: 与计算资源绑定的最小计算单元个数。设置值当前只支持16,64,256。
|
54
|
+
:type cu_count: int
|
55
|
+
:param charging_mode: 计算资源的收费模式。只能设置为“1”,表示按照CU时收费。
|
56
|
+
:type charging_mode: int
|
57
|
+
:param created_time: 创建计算资源时间。时间格式为ISO日期时间格式yyyy-MM-dd'T'HH:mm:ss'Z'。
|
58
|
+
:type created_time: str
|
59
|
+
"""
|
60
|
+
|
61
|
+
super(CreateComputingResourceResponse, self).__init__()
|
62
|
+
|
63
|
+
self._computing_resource_id = None
|
64
|
+
self._computing_resource_name = None
|
65
|
+
self._computing_resource_type = None
|
66
|
+
self._description = None
|
67
|
+
self._cu_count = None
|
68
|
+
self._charging_mode = None
|
69
|
+
self._created_time = None
|
70
|
+
self.discriminator = None
|
71
|
+
|
72
|
+
if computing_resource_id is not None:
|
73
|
+
self.computing_resource_id = computing_resource_id
|
74
|
+
if computing_resource_name is not None:
|
75
|
+
self.computing_resource_name = computing_resource_name
|
76
|
+
if computing_resource_type is not None:
|
77
|
+
self.computing_resource_type = computing_resource_type
|
78
|
+
if description is not None:
|
79
|
+
self.description = description
|
80
|
+
if cu_count is not None:
|
81
|
+
self.cu_count = cu_count
|
82
|
+
if charging_mode is not None:
|
83
|
+
self.charging_mode = charging_mode
|
84
|
+
if created_time is not None:
|
85
|
+
self.created_time = created_time
|
86
|
+
|
87
|
+
@property
|
88
|
+
def computing_resource_id(self):
|
89
|
+
r"""Gets the computing_resource_id of this CreateComputingResourceResponse.
|
90
|
+
|
91
|
+
新增计算资源ID。
|
92
|
+
|
93
|
+
:return: The computing_resource_id of this CreateComputingResourceResponse.
|
94
|
+
:rtype: str
|
95
|
+
"""
|
96
|
+
return self._computing_resource_id
|
97
|
+
|
98
|
+
@computing_resource_id.setter
|
99
|
+
def computing_resource_id(self, computing_resource_id):
|
100
|
+
r"""Sets the computing_resource_id of this CreateComputingResourceResponse.
|
101
|
+
|
102
|
+
新增计算资源ID。
|
103
|
+
|
104
|
+
:param computing_resource_id: The computing_resource_id of this CreateComputingResourceResponse.
|
105
|
+
:type computing_resource_id: str
|
106
|
+
"""
|
107
|
+
self._computing_resource_id = computing_resource_id
|
108
|
+
|
109
|
+
@property
|
110
|
+
def computing_resource_name(self):
|
111
|
+
r"""Gets the computing_resource_name of this CreateComputingResourceResponse.
|
112
|
+
|
113
|
+
新增计算资源名称。
|
114
|
+
|
115
|
+
:return: The computing_resource_name of this CreateComputingResourceResponse.
|
116
|
+
:rtype: str
|
117
|
+
"""
|
118
|
+
return self._computing_resource_name
|
119
|
+
|
120
|
+
@computing_resource_name.setter
|
121
|
+
def computing_resource_name(self, computing_resource_name):
|
122
|
+
r"""Sets the computing_resource_name of this CreateComputingResourceResponse.
|
123
|
+
|
124
|
+
新增计算资源名称。
|
125
|
+
|
126
|
+
:param computing_resource_name: The computing_resource_name of this CreateComputingResourceResponse.
|
127
|
+
:type computing_resource_name: str
|
128
|
+
"""
|
129
|
+
self._computing_resource_name = computing_resource_name
|
130
|
+
|
131
|
+
@property
|
132
|
+
def computing_resource_type(self):
|
133
|
+
r"""Gets the computing_resource_type of this CreateComputingResourceResponse.
|
134
|
+
|
135
|
+
计算资源的类型。目前支持:sql。如果不指定,默认为sql。
|
136
|
+
|
137
|
+
:return: The computing_resource_type of this CreateComputingResourceResponse.
|
138
|
+
:rtype: str
|
139
|
+
"""
|
140
|
+
return self._computing_resource_type
|
141
|
+
|
142
|
+
@computing_resource_type.setter
|
143
|
+
def computing_resource_type(self, computing_resource_type):
|
144
|
+
r"""Sets the computing_resource_type of this CreateComputingResourceResponse.
|
145
|
+
|
146
|
+
计算资源的类型。目前支持:sql。如果不指定,默认为sql。
|
147
|
+
|
148
|
+
:param computing_resource_type: The computing_resource_type of this CreateComputingResourceResponse.
|
149
|
+
:type computing_resource_type: str
|
150
|
+
"""
|
151
|
+
self._computing_resource_type = computing_resource_type
|
152
|
+
|
153
|
+
@property
|
154
|
+
def description(self):
|
155
|
+
r"""Gets the description of this CreateComputingResourceResponse.
|
156
|
+
|
157
|
+
计算资源的描述信息。
|
158
|
+
|
159
|
+
:return: The description of this CreateComputingResourceResponse.
|
160
|
+
:rtype: str
|
161
|
+
"""
|
162
|
+
return self._description
|
163
|
+
|
164
|
+
@description.setter
|
165
|
+
def description(self, description):
|
166
|
+
r"""Sets the description of this CreateComputingResourceResponse.
|
167
|
+
|
168
|
+
计算资源的描述信息。
|
169
|
+
|
170
|
+
:param description: The description of this CreateComputingResourceResponse.
|
171
|
+
:type description: str
|
172
|
+
"""
|
173
|
+
self._description = description
|
174
|
+
|
175
|
+
@property
|
176
|
+
def cu_count(self):
|
177
|
+
r"""Gets the cu_count of this CreateComputingResourceResponse.
|
178
|
+
|
179
|
+
与计算资源绑定的最小计算单元个数。设置值当前只支持16,64,256。
|
180
|
+
|
181
|
+
:return: The cu_count of this CreateComputingResourceResponse.
|
182
|
+
:rtype: int
|
183
|
+
"""
|
184
|
+
return self._cu_count
|
185
|
+
|
186
|
+
@cu_count.setter
|
187
|
+
def cu_count(self, cu_count):
|
188
|
+
r"""Sets the cu_count of this CreateComputingResourceResponse.
|
189
|
+
|
190
|
+
与计算资源绑定的最小计算单元个数。设置值当前只支持16,64,256。
|
191
|
+
|
192
|
+
:param cu_count: The cu_count of this CreateComputingResourceResponse.
|
193
|
+
:type cu_count: int
|
194
|
+
"""
|
195
|
+
self._cu_count = cu_count
|
196
|
+
|
197
|
+
@property
|
198
|
+
def charging_mode(self):
|
199
|
+
r"""Gets the charging_mode of this CreateComputingResourceResponse.
|
200
|
+
|
201
|
+
计算资源的收费模式。只能设置为“1”,表示按照CU时收费。
|
202
|
+
|
203
|
+
:return: The charging_mode of this CreateComputingResourceResponse.
|
204
|
+
:rtype: int
|
205
|
+
"""
|
206
|
+
return self._charging_mode
|
207
|
+
|
208
|
+
@charging_mode.setter
|
209
|
+
def charging_mode(self, charging_mode):
|
210
|
+
r"""Sets the charging_mode of this CreateComputingResourceResponse.
|
211
|
+
|
212
|
+
计算资源的收费模式。只能设置为“1”,表示按照CU时收费。
|
213
|
+
|
214
|
+
:param charging_mode: The charging_mode of this CreateComputingResourceResponse.
|
215
|
+
:type charging_mode: int
|
216
|
+
"""
|
217
|
+
self._charging_mode = charging_mode
|
218
|
+
|
219
|
+
@property
|
220
|
+
def created_time(self):
|
221
|
+
r"""Gets the created_time of this CreateComputingResourceResponse.
|
222
|
+
|
223
|
+
创建计算资源时间。时间格式为ISO日期时间格式yyyy-MM-dd'T'HH:mm:ss'Z'。
|
224
|
+
|
225
|
+
:return: The created_time of this CreateComputingResourceResponse.
|
226
|
+
:rtype: str
|
227
|
+
"""
|
228
|
+
return self._created_time
|
229
|
+
|
230
|
+
@created_time.setter
|
231
|
+
def created_time(self, created_time):
|
232
|
+
r"""Sets the created_time of this CreateComputingResourceResponse.
|
233
|
+
|
234
|
+
创建计算资源时间。时间格式为ISO日期时间格式yyyy-MM-dd'T'HH:mm:ss'Z'。
|
235
|
+
|
236
|
+
:param created_time: The created_time of this CreateComputingResourceResponse.
|
237
|
+
:type created_time: str
|
238
|
+
"""
|
239
|
+
self._created_time = created_time
|
240
|
+
|
241
|
+
def to_dict(self):
|
242
|
+
"""Returns the model properties as a dict"""
|
243
|
+
result = {}
|
244
|
+
|
245
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
246
|
+
value = getattr(self, attr)
|
247
|
+
if isinstance(value, list):
|
248
|
+
result[attr] = list(map(
|
249
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
250
|
+
value
|
251
|
+
))
|
252
|
+
elif hasattr(value, "to_dict"):
|
253
|
+
result[attr] = value.to_dict()
|
254
|
+
elif isinstance(value, dict):
|
255
|
+
result[attr] = dict(map(
|
256
|
+
lambda item: (item[0], item[1].to_dict())
|
257
|
+
if hasattr(item[1], "to_dict") else item,
|
258
|
+
value.items()
|
259
|
+
))
|
260
|
+
else:
|
261
|
+
if attr in self.sensitive_list:
|
262
|
+
result[attr] = "****"
|
263
|
+
else:
|
264
|
+
result[attr] = value
|
265
|
+
|
266
|
+
return result
|
267
|
+
|
268
|
+
def to_str(self):
|
269
|
+
"""Returns the string representation of the model"""
|
270
|
+
import simplejson as json
|
271
|
+
if six.PY2:
|
272
|
+
import sys
|
273
|
+
reload(sys)
|
274
|
+
sys.setdefaultencoding("utf-8")
|
275
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
276
|
+
|
277
|
+
def __repr__(self):
|
278
|
+
"""For `print`"""
|
279
|
+
return self.to_str()
|
280
|
+
|
281
|
+
def __eq__(self, other):
|
282
|
+
"""Returns true if both objects are equal"""
|
283
|
+
if not isinstance(other, CreateComputingResourceResponse):
|
284
|
+
return False
|
285
|
+
|
286
|
+
return self.__dict__ == other.__dict__
|
287
|
+
|
288
|
+
def __ne__(self, other):
|
289
|
+
"""Returns true if both objects are not equal"""
|
290
|
+
return not self == other
|
@@ -0,0 +1,166 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class CreateDatasourceReqDTO:
|
9
|
+
|
10
|
+
"""
|
11
|
+
Attributes:
|
12
|
+
openapi_types (dict): The key is attribute name
|
13
|
+
and the value is attribute type.
|
14
|
+
attribute_map (dict): The key is attribute name
|
15
|
+
and the value is json key in definition.
|
16
|
+
"""
|
17
|
+
sensitive_list = []
|
18
|
+
|
19
|
+
openapi_types = {
|
20
|
+
'name': 'str',
|
21
|
+
'type': 'str',
|
22
|
+
'content': 'ContentDetailReq'
|
23
|
+
}
|
24
|
+
|
25
|
+
attribute_map = {
|
26
|
+
'name': 'name',
|
27
|
+
'type': 'type',
|
28
|
+
'content': 'content'
|
29
|
+
}
|
30
|
+
|
31
|
+
def __init__(self, name=None, type=None, content=None):
|
32
|
+
r"""CreateDatasourceReqDTO
|
33
|
+
|
34
|
+
The model defined in huaweicloud sdk
|
35
|
+
|
36
|
+
:param name: 数据源名称
|
37
|
+
:type name: str
|
38
|
+
:param type: 数据源类型, 包括:IOTDA、API[、OBS、DIS、SMN、FUNCTION_GRAPH、MODEL_ARTS、DCS、KAFKA](tag:IoTA-Cloud-Only)、NODE
|
39
|
+
:type type: str
|
40
|
+
:param content:
|
41
|
+
:type content: :class:`huaweicloudsdkiotanalytics.v1.ContentDetailReq`
|
42
|
+
"""
|
43
|
+
|
44
|
+
|
45
|
+
|
46
|
+
self._name = None
|
47
|
+
self._type = None
|
48
|
+
self._content = None
|
49
|
+
self.discriminator = None
|
50
|
+
|
51
|
+
self.name = name
|
52
|
+
self.type = type
|
53
|
+
self.content = content
|
54
|
+
|
55
|
+
@property
|
56
|
+
def name(self):
|
57
|
+
r"""Gets the name of this CreateDatasourceReqDTO.
|
58
|
+
|
59
|
+
数据源名称
|
60
|
+
|
61
|
+
:return: The name of this CreateDatasourceReqDTO.
|
62
|
+
:rtype: str
|
63
|
+
"""
|
64
|
+
return self._name
|
65
|
+
|
66
|
+
@name.setter
|
67
|
+
def name(self, name):
|
68
|
+
r"""Sets the name of this CreateDatasourceReqDTO.
|
69
|
+
|
70
|
+
数据源名称
|
71
|
+
|
72
|
+
:param name: The name of this CreateDatasourceReqDTO.
|
73
|
+
:type name: str
|
74
|
+
"""
|
75
|
+
self._name = name
|
76
|
+
|
77
|
+
@property
|
78
|
+
def type(self):
|
79
|
+
r"""Gets the type of this CreateDatasourceReqDTO.
|
80
|
+
|
81
|
+
数据源类型, 包括:IOTDA、API[、OBS、DIS、SMN、FUNCTION_GRAPH、MODEL_ARTS、DCS、KAFKA](tag:IoTA-Cloud-Only)、NODE
|
82
|
+
|
83
|
+
:return: The type of this CreateDatasourceReqDTO.
|
84
|
+
:rtype: str
|
85
|
+
"""
|
86
|
+
return self._type
|
87
|
+
|
88
|
+
@type.setter
|
89
|
+
def type(self, type):
|
90
|
+
r"""Sets the type of this CreateDatasourceReqDTO.
|
91
|
+
|
92
|
+
数据源类型, 包括:IOTDA、API[、OBS、DIS、SMN、FUNCTION_GRAPH、MODEL_ARTS、DCS、KAFKA](tag:IoTA-Cloud-Only)、NODE
|
93
|
+
|
94
|
+
:param type: The type of this CreateDatasourceReqDTO.
|
95
|
+
:type type: str
|
96
|
+
"""
|
97
|
+
self._type = type
|
98
|
+
|
99
|
+
@property
|
100
|
+
def content(self):
|
101
|
+
r"""Gets the content of this CreateDatasourceReqDTO.
|
102
|
+
|
103
|
+
:return: The content of this CreateDatasourceReqDTO.
|
104
|
+
:rtype: :class:`huaweicloudsdkiotanalytics.v1.ContentDetailReq`
|
105
|
+
"""
|
106
|
+
return self._content
|
107
|
+
|
108
|
+
@content.setter
|
109
|
+
def content(self, content):
|
110
|
+
r"""Sets the content of this CreateDatasourceReqDTO.
|
111
|
+
|
112
|
+
:param content: The content of this CreateDatasourceReqDTO.
|
113
|
+
:type content: :class:`huaweicloudsdkiotanalytics.v1.ContentDetailReq`
|
114
|
+
"""
|
115
|
+
self._content = content
|
116
|
+
|
117
|
+
def to_dict(self):
|
118
|
+
"""Returns the model properties as a dict"""
|
119
|
+
result = {}
|
120
|
+
|
121
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
122
|
+
value = getattr(self, attr)
|
123
|
+
if isinstance(value, list):
|
124
|
+
result[attr] = list(map(
|
125
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
126
|
+
value
|
127
|
+
))
|
128
|
+
elif hasattr(value, "to_dict"):
|
129
|
+
result[attr] = value.to_dict()
|
130
|
+
elif isinstance(value, dict):
|
131
|
+
result[attr] = dict(map(
|
132
|
+
lambda item: (item[0], item[1].to_dict())
|
133
|
+
if hasattr(item[1], "to_dict") else item,
|
134
|
+
value.items()
|
135
|
+
))
|
136
|
+
else:
|
137
|
+
if attr in self.sensitive_list:
|
138
|
+
result[attr] = "****"
|
139
|
+
else:
|
140
|
+
result[attr] = value
|
141
|
+
|
142
|
+
return result
|
143
|
+
|
144
|
+
def to_str(self):
|
145
|
+
"""Returns the string representation of the model"""
|
146
|
+
import simplejson as json
|
147
|
+
if six.PY2:
|
148
|
+
import sys
|
149
|
+
reload(sys)
|
150
|
+
sys.setdefaultencoding("utf-8")
|
151
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
152
|
+
|
153
|
+
def __repr__(self):
|
154
|
+
"""For `print`"""
|
155
|
+
return self.to_str()
|
156
|
+
|
157
|
+
def __eq__(self, other):
|
158
|
+
"""Returns true if both objects are equal"""
|
159
|
+
if not isinstance(other, CreateDatasourceReqDTO):
|
160
|
+
return False
|
161
|
+
|
162
|
+
return self.__dict__ == other.__dict__
|
163
|
+
|
164
|
+
def __ne__(self, other):
|
165
|
+
"""Returns true if both objects are not equal"""
|
166
|
+
return not self == other
|
@@ -0,0 +1,111 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class CreateDatasourceRequest:
|
9
|
+
|
10
|
+
"""
|
11
|
+
Attributes:
|
12
|
+
openapi_types (dict): The key is attribute name
|
13
|
+
and the value is attribute type.
|
14
|
+
attribute_map (dict): The key is attribute name
|
15
|
+
and the value is json key in definition.
|
16
|
+
"""
|
17
|
+
sensitive_list = []
|
18
|
+
|
19
|
+
openapi_types = {
|
20
|
+
'body': 'CreateDatasourceReqDTO'
|
21
|
+
}
|
22
|
+
|
23
|
+
attribute_map = {
|
24
|
+
'body': 'body'
|
25
|
+
}
|
26
|
+
|
27
|
+
def __init__(self, body=None):
|
28
|
+
r"""CreateDatasourceRequest
|
29
|
+
|
30
|
+
The model defined in huaweicloud sdk
|
31
|
+
|
32
|
+
:param body: Body of the CreateDatasourceRequest
|
33
|
+
:type body: :class:`huaweicloudsdkiotanalytics.v1.CreateDatasourceReqDTO`
|
34
|
+
"""
|
35
|
+
|
36
|
+
|
37
|
+
|
38
|
+
self._body = None
|
39
|
+
self.discriminator = None
|
40
|
+
|
41
|
+
if body is not None:
|
42
|
+
self.body = body
|
43
|
+
|
44
|
+
@property
|
45
|
+
def body(self):
|
46
|
+
r"""Gets the body of this CreateDatasourceRequest.
|
47
|
+
|
48
|
+
:return: The body of this CreateDatasourceRequest.
|
49
|
+
:rtype: :class:`huaweicloudsdkiotanalytics.v1.CreateDatasourceReqDTO`
|
50
|
+
"""
|
51
|
+
return self._body
|
52
|
+
|
53
|
+
@body.setter
|
54
|
+
def body(self, body):
|
55
|
+
r"""Sets the body of this CreateDatasourceRequest.
|
56
|
+
|
57
|
+
:param body: The body of this CreateDatasourceRequest.
|
58
|
+
:type body: :class:`huaweicloudsdkiotanalytics.v1.CreateDatasourceReqDTO`
|
59
|
+
"""
|
60
|
+
self._body = body
|
61
|
+
|
62
|
+
def to_dict(self):
|
63
|
+
"""Returns the model properties as a dict"""
|
64
|
+
result = {}
|
65
|
+
|
66
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
67
|
+
value = getattr(self, attr)
|
68
|
+
if isinstance(value, list):
|
69
|
+
result[attr] = list(map(
|
70
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
71
|
+
value
|
72
|
+
))
|
73
|
+
elif hasattr(value, "to_dict"):
|
74
|
+
result[attr] = value.to_dict()
|
75
|
+
elif isinstance(value, dict):
|
76
|
+
result[attr] = dict(map(
|
77
|
+
lambda item: (item[0], item[1].to_dict())
|
78
|
+
if hasattr(item[1], "to_dict") else item,
|
79
|
+
value.items()
|
80
|
+
))
|
81
|
+
else:
|
82
|
+
if attr in self.sensitive_list:
|
83
|
+
result[attr] = "****"
|
84
|
+
else:
|
85
|
+
result[attr] = value
|
86
|
+
|
87
|
+
return result
|
88
|
+
|
89
|
+
def to_str(self):
|
90
|
+
"""Returns the string representation of the model"""
|
91
|
+
import simplejson as json
|
92
|
+
if six.PY2:
|
93
|
+
import sys
|
94
|
+
reload(sys)
|
95
|
+
sys.setdefaultencoding("utf-8")
|
96
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
97
|
+
|
98
|
+
def __repr__(self):
|
99
|
+
"""For `print`"""
|
100
|
+
return self.to_str()
|
101
|
+
|
102
|
+
def __eq__(self, other):
|
103
|
+
"""Returns true if both objects are equal"""
|
104
|
+
if not isinstance(other, CreateDatasourceRequest):
|
105
|
+
return False
|
106
|
+
|
107
|
+
return self.__dict__ == other.__dict__
|
108
|
+
|
109
|
+
def __ne__(self, other):
|
110
|
+
"""Returns true if both objects are not equal"""
|
111
|
+
return not self == other
|