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,464 @@
|
|
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 CreateTableResponse(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
|
+
'table_id': 'str',
|
22
|
+
'table_name': 'str',
|
23
|
+
'table_alias': 'str',
|
24
|
+
'created_time': 'str',
|
25
|
+
'modified_time': 'str',
|
26
|
+
'data_location': 'str',
|
27
|
+
'data_type': 'str',
|
28
|
+
'data_source': 'str',
|
29
|
+
'table_type': 'str',
|
30
|
+
'description': 'str',
|
31
|
+
'partition_columns': 'list[str]',
|
32
|
+
'data_store_id': 'str',
|
33
|
+
'tags': 'str'
|
34
|
+
}
|
35
|
+
|
36
|
+
attribute_map = {
|
37
|
+
'table_id': 'table_id',
|
38
|
+
'table_name': 'table_name',
|
39
|
+
'table_alias': 'table_alias',
|
40
|
+
'created_time': 'created_time',
|
41
|
+
'modified_time': 'modified_time',
|
42
|
+
'data_location': 'data_location',
|
43
|
+
'data_type': 'data_type',
|
44
|
+
'data_source': 'data_source',
|
45
|
+
'table_type': 'table_type',
|
46
|
+
'description': 'description',
|
47
|
+
'partition_columns': 'partition_columns',
|
48
|
+
'data_store_id': 'data_store_id',
|
49
|
+
'tags': 'tags'
|
50
|
+
}
|
51
|
+
|
52
|
+
def __init__(self, table_id=None, table_name=None, table_alias=None, created_time=None, modified_time=None, data_location=None, data_type=None, data_source=None, table_type=None, description=None, partition_columns=None, data_store_id=None, tags=None):
|
53
|
+
r"""CreateTableResponse
|
54
|
+
|
55
|
+
The model defined in huaweicloud sdk
|
56
|
+
|
57
|
+
:param table_id: 表ID。
|
58
|
+
:type table_id: str
|
59
|
+
:param table_name: 表名称。
|
60
|
+
:type table_name: str
|
61
|
+
:param table_alias: 表别名。
|
62
|
+
:type table_alias: str
|
63
|
+
:param created_time: 表创建时间。
|
64
|
+
:type created_time: str
|
65
|
+
:param modified_time: 表更新时间。
|
66
|
+
:type modified_time: str
|
67
|
+
:param data_location: 数据存储位置,分为IoTA和VIEW
|
68
|
+
:type data_location: str
|
69
|
+
:param data_type: 数据类型,包括“csv”,“parquet”。
|
70
|
+
:type data_type: str
|
71
|
+
:param data_source: 数据来源。来源类型有:pipeline, default. 默认为default.
|
72
|
+
:type data_source: str
|
73
|
+
:param table_type: 表类型:IoTA表为MANAGED, View为VIEW
|
74
|
+
:type table_type: str
|
75
|
+
:param description: 表的描述信息。
|
76
|
+
:type description: str
|
77
|
+
:param partition_columns: 分区字段。只有OBS分区表有该参数,其他表没有该参数。
|
78
|
+
:type partition_columns: list[str]
|
79
|
+
:param data_store_id: 仅当数据来源为pipeline时返回。Data Store ID.
|
80
|
+
:type data_store_id: str
|
81
|
+
:param tags: 标签。
|
82
|
+
:type tags: str
|
83
|
+
"""
|
84
|
+
|
85
|
+
super(CreateTableResponse, self).__init__()
|
86
|
+
|
87
|
+
self._table_id = None
|
88
|
+
self._table_name = None
|
89
|
+
self._table_alias = None
|
90
|
+
self._created_time = None
|
91
|
+
self._modified_time = None
|
92
|
+
self._data_location = None
|
93
|
+
self._data_type = None
|
94
|
+
self._data_source = None
|
95
|
+
self._table_type = None
|
96
|
+
self._description = None
|
97
|
+
self._partition_columns = None
|
98
|
+
self._data_store_id = None
|
99
|
+
self._tags = None
|
100
|
+
self.discriminator = None
|
101
|
+
|
102
|
+
if table_id is not None:
|
103
|
+
self.table_id = table_id
|
104
|
+
if table_name is not None:
|
105
|
+
self.table_name = table_name
|
106
|
+
if table_alias is not None:
|
107
|
+
self.table_alias = table_alias
|
108
|
+
if created_time is not None:
|
109
|
+
self.created_time = created_time
|
110
|
+
if modified_time is not None:
|
111
|
+
self.modified_time = modified_time
|
112
|
+
if data_location is not None:
|
113
|
+
self.data_location = data_location
|
114
|
+
if data_type is not None:
|
115
|
+
self.data_type = data_type
|
116
|
+
if data_source is not None:
|
117
|
+
self.data_source = data_source
|
118
|
+
if table_type is not None:
|
119
|
+
self.table_type = table_type
|
120
|
+
if description is not None:
|
121
|
+
self.description = description
|
122
|
+
if partition_columns is not None:
|
123
|
+
self.partition_columns = partition_columns
|
124
|
+
if data_store_id is not None:
|
125
|
+
self.data_store_id = data_store_id
|
126
|
+
if tags is not None:
|
127
|
+
self.tags = tags
|
128
|
+
|
129
|
+
@property
|
130
|
+
def table_id(self):
|
131
|
+
r"""Gets the table_id of this CreateTableResponse.
|
132
|
+
|
133
|
+
表ID。
|
134
|
+
|
135
|
+
:return: The table_id of this CreateTableResponse.
|
136
|
+
:rtype: str
|
137
|
+
"""
|
138
|
+
return self._table_id
|
139
|
+
|
140
|
+
@table_id.setter
|
141
|
+
def table_id(self, table_id):
|
142
|
+
r"""Sets the table_id of this CreateTableResponse.
|
143
|
+
|
144
|
+
表ID。
|
145
|
+
|
146
|
+
:param table_id: The table_id of this CreateTableResponse.
|
147
|
+
:type table_id: str
|
148
|
+
"""
|
149
|
+
self._table_id = table_id
|
150
|
+
|
151
|
+
@property
|
152
|
+
def table_name(self):
|
153
|
+
r"""Gets the table_name of this CreateTableResponse.
|
154
|
+
|
155
|
+
表名称。
|
156
|
+
|
157
|
+
:return: The table_name of this CreateTableResponse.
|
158
|
+
:rtype: str
|
159
|
+
"""
|
160
|
+
return self._table_name
|
161
|
+
|
162
|
+
@table_name.setter
|
163
|
+
def table_name(self, table_name):
|
164
|
+
r"""Sets the table_name of this CreateTableResponse.
|
165
|
+
|
166
|
+
表名称。
|
167
|
+
|
168
|
+
:param table_name: The table_name of this CreateTableResponse.
|
169
|
+
:type table_name: str
|
170
|
+
"""
|
171
|
+
self._table_name = table_name
|
172
|
+
|
173
|
+
@property
|
174
|
+
def table_alias(self):
|
175
|
+
r"""Gets the table_alias of this CreateTableResponse.
|
176
|
+
|
177
|
+
表别名。
|
178
|
+
|
179
|
+
:return: The table_alias of this CreateTableResponse.
|
180
|
+
:rtype: str
|
181
|
+
"""
|
182
|
+
return self._table_alias
|
183
|
+
|
184
|
+
@table_alias.setter
|
185
|
+
def table_alias(self, table_alias):
|
186
|
+
r"""Sets the table_alias of this CreateTableResponse.
|
187
|
+
|
188
|
+
表别名。
|
189
|
+
|
190
|
+
:param table_alias: The table_alias of this CreateTableResponse.
|
191
|
+
:type table_alias: str
|
192
|
+
"""
|
193
|
+
self._table_alias = table_alias
|
194
|
+
|
195
|
+
@property
|
196
|
+
def created_time(self):
|
197
|
+
r"""Gets the created_time of this CreateTableResponse.
|
198
|
+
|
199
|
+
表创建时间。
|
200
|
+
|
201
|
+
:return: The created_time of this CreateTableResponse.
|
202
|
+
:rtype: str
|
203
|
+
"""
|
204
|
+
return self._created_time
|
205
|
+
|
206
|
+
@created_time.setter
|
207
|
+
def created_time(self, created_time):
|
208
|
+
r"""Sets the created_time of this CreateTableResponse.
|
209
|
+
|
210
|
+
表创建时间。
|
211
|
+
|
212
|
+
:param created_time: The created_time of this CreateTableResponse.
|
213
|
+
:type created_time: str
|
214
|
+
"""
|
215
|
+
self._created_time = created_time
|
216
|
+
|
217
|
+
@property
|
218
|
+
def modified_time(self):
|
219
|
+
r"""Gets the modified_time of this CreateTableResponse.
|
220
|
+
|
221
|
+
表更新时间。
|
222
|
+
|
223
|
+
:return: The modified_time of this CreateTableResponse.
|
224
|
+
:rtype: str
|
225
|
+
"""
|
226
|
+
return self._modified_time
|
227
|
+
|
228
|
+
@modified_time.setter
|
229
|
+
def modified_time(self, modified_time):
|
230
|
+
r"""Sets the modified_time of this CreateTableResponse.
|
231
|
+
|
232
|
+
表更新时间。
|
233
|
+
|
234
|
+
:param modified_time: The modified_time of this CreateTableResponse.
|
235
|
+
:type modified_time: str
|
236
|
+
"""
|
237
|
+
self._modified_time = modified_time
|
238
|
+
|
239
|
+
@property
|
240
|
+
def data_location(self):
|
241
|
+
r"""Gets the data_location of this CreateTableResponse.
|
242
|
+
|
243
|
+
数据存储位置,分为IoTA和VIEW
|
244
|
+
|
245
|
+
:return: The data_location of this CreateTableResponse.
|
246
|
+
:rtype: str
|
247
|
+
"""
|
248
|
+
return self._data_location
|
249
|
+
|
250
|
+
@data_location.setter
|
251
|
+
def data_location(self, data_location):
|
252
|
+
r"""Sets the data_location of this CreateTableResponse.
|
253
|
+
|
254
|
+
数据存储位置,分为IoTA和VIEW
|
255
|
+
|
256
|
+
:param data_location: The data_location of this CreateTableResponse.
|
257
|
+
:type data_location: str
|
258
|
+
"""
|
259
|
+
self._data_location = data_location
|
260
|
+
|
261
|
+
@property
|
262
|
+
def data_type(self):
|
263
|
+
r"""Gets the data_type of this CreateTableResponse.
|
264
|
+
|
265
|
+
数据类型,包括“csv”,“parquet”。
|
266
|
+
|
267
|
+
:return: The data_type of this CreateTableResponse.
|
268
|
+
:rtype: str
|
269
|
+
"""
|
270
|
+
return self._data_type
|
271
|
+
|
272
|
+
@data_type.setter
|
273
|
+
def data_type(self, data_type):
|
274
|
+
r"""Sets the data_type of this CreateTableResponse.
|
275
|
+
|
276
|
+
数据类型,包括“csv”,“parquet”。
|
277
|
+
|
278
|
+
:param data_type: The data_type of this CreateTableResponse.
|
279
|
+
:type data_type: str
|
280
|
+
"""
|
281
|
+
self._data_type = data_type
|
282
|
+
|
283
|
+
@property
|
284
|
+
def data_source(self):
|
285
|
+
r"""Gets the data_source of this CreateTableResponse.
|
286
|
+
|
287
|
+
数据来源。来源类型有:pipeline, default. 默认为default.
|
288
|
+
|
289
|
+
:return: The data_source of this CreateTableResponse.
|
290
|
+
:rtype: str
|
291
|
+
"""
|
292
|
+
return self._data_source
|
293
|
+
|
294
|
+
@data_source.setter
|
295
|
+
def data_source(self, data_source):
|
296
|
+
r"""Sets the data_source of this CreateTableResponse.
|
297
|
+
|
298
|
+
数据来源。来源类型有:pipeline, default. 默认为default.
|
299
|
+
|
300
|
+
:param data_source: The data_source of this CreateTableResponse.
|
301
|
+
:type data_source: str
|
302
|
+
"""
|
303
|
+
self._data_source = data_source
|
304
|
+
|
305
|
+
@property
|
306
|
+
def table_type(self):
|
307
|
+
r"""Gets the table_type of this CreateTableResponse.
|
308
|
+
|
309
|
+
表类型:IoTA表为MANAGED, View为VIEW
|
310
|
+
|
311
|
+
:return: The table_type of this CreateTableResponse.
|
312
|
+
:rtype: str
|
313
|
+
"""
|
314
|
+
return self._table_type
|
315
|
+
|
316
|
+
@table_type.setter
|
317
|
+
def table_type(self, table_type):
|
318
|
+
r"""Sets the table_type of this CreateTableResponse.
|
319
|
+
|
320
|
+
表类型:IoTA表为MANAGED, View为VIEW
|
321
|
+
|
322
|
+
:param table_type: The table_type of this CreateTableResponse.
|
323
|
+
:type table_type: str
|
324
|
+
"""
|
325
|
+
self._table_type = table_type
|
326
|
+
|
327
|
+
@property
|
328
|
+
def description(self):
|
329
|
+
r"""Gets the description of this CreateTableResponse.
|
330
|
+
|
331
|
+
表的描述信息。
|
332
|
+
|
333
|
+
:return: The description of this CreateTableResponse.
|
334
|
+
:rtype: str
|
335
|
+
"""
|
336
|
+
return self._description
|
337
|
+
|
338
|
+
@description.setter
|
339
|
+
def description(self, description):
|
340
|
+
r"""Sets the description of this CreateTableResponse.
|
341
|
+
|
342
|
+
表的描述信息。
|
343
|
+
|
344
|
+
:param description: The description of this CreateTableResponse.
|
345
|
+
:type description: str
|
346
|
+
"""
|
347
|
+
self._description = description
|
348
|
+
|
349
|
+
@property
|
350
|
+
def partition_columns(self):
|
351
|
+
r"""Gets the partition_columns of this CreateTableResponse.
|
352
|
+
|
353
|
+
分区字段。只有OBS分区表有该参数,其他表没有该参数。
|
354
|
+
|
355
|
+
:return: The partition_columns of this CreateTableResponse.
|
356
|
+
:rtype: list[str]
|
357
|
+
"""
|
358
|
+
return self._partition_columns
|
359
|
+
|
360
|
+
@partition_columns.setter
|
361
|
+
def partition_columns(self, partition_columns):
|
362
|
+
r"""Sets the partition_columns of this CreateTableResponse.
|
363
|
+
|
364
|
+
分区字段。只有OBS分区表有该参数,其他表没有该参数。
|
365
|
+
|
366
|
+
:param partition_columns: The partition_columns of this CreateTableResponse.
|
367
|
+
:type partition_columns: list[str]
|
368
|
+
"""
|
369
|
+
self._partition_columns = partition_columns
|
370
|
+
|
371
|
+
@property
|
372
|
+
def data_store_id(self):
|
373
|
+
r"""Gets the data_store_id of this CreateTableResponse.
|
374
|
+
|
375
|
+
仅当数据来源为pipeline时返回。Data Store ID.
|
376
|
+
|
377
|
+
:return: The data_store_id of this CreateTableResponse.
|
378
|
+
:rtype: str
|
379
|
+
"""
|
380
|
+
return self._data_store_id
|
381
|
+
|
382
|
+
@data_store_id.setter
|
383
|
+
def data_store_id(self, data_store_id):
|
384
|
+
r"""Sets the data_store_id of this CreateTableResponse.
|
385
|
+
|
386
|
+
仅当数据来源为pipeline时返回。Data Store ID.
|
387
|
+
|
388
|
+
:param data_store_id: The data_store_id of this CreateTableResponse.
|
389
|
+
:type data_store_id: str
|
390
|
+
"""
|
391
|
+
self._data_store_id = data_store_id
|
392
|
+
|
393
|
+
@property
|
394
|
+
def tags(self):
|
395
|
+
r"""Gets the tags of this CreateTableResponse.
|
396
|
+
|
397
|
+
标签。
|
398
|
+
|
399
|
+
:return: The tags of this CreateTableResponse.
|
400
|
+
:rtype: str
|
401
|
+
"""
|
402
|
+
return self._tags
|
403
|
+
|
404
|
+
@tags.setter
|
405
|
+
def tags(self, tags):
|
406
|
+
r"""Sets the tags of this CreateTableResponse.
|
407
|
+
|
408
|
+
标签。
|
409
|
+
|
410
|
+
:param tags: The tags of this CreateTableResponse.
|
411
|
+
:type tags: str
|
412
|
+
"""
|
413
|
+
self._tags = tags
|
414
|
+
|
415
|
+
def to_dict(self):
|
416
|
+
"""Returns the model properties as a dict"""
|
417
|
+
result = {}
|
418
|
+
|
419
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
420
|
+
value = getattr(self, attr)
|
421
|
+
if isinstance(value, list):
|
422
|
+
result[attr] = list(map(
|
423
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
424
|
+
value
|
425
|
+
))
|
426
|
+
elif hasattr(value, "to_dict"):
|
427
|
+
result[attr] = value.to_dict()
|
428
|
+
elif isinstance(value, dict):
|
429
|
+
result[attr] = dict(map(
|
430
|
+
lambda item: (item[0], item[1].to_dict())
|
431
|
+
if hasattr(item[1], "to_dict") else item,
|
432
|
+
value.items()
|
433
|
+
))
|
434
|
+
else:
|
435
|
+
if attr in self.sensitive_list:
|
436
|
+
result[attr] = "****"
|
437
|
+
else:
|
438
|
+
result[attr] = value
|
439
|
+
|
440
|
+
return result
|
441
|
+
|
442
|
+
def to_str(self):
|
443
|
+
"""Returns the string representation of the model"""
|
444
|
+
import simplejson as json
|
445
|
+
if six.PY2:
|
446
|
+
import sys
|
447
|
+
reload(sys)
|
448
|
+
sys.setdefaultencoding("utf-8")
|
449
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
450
|
+
|
451
|
+
def __repr__(self):
|
452
|
+
"""For `print`"""
|
453
|
+
return self.to_str()
|
454
|
+
|
455
|
+
def __eq__(self, other):
|
456
|
+
"""Returns true if both objects are equal"""
|
457
|
+
if not isinstance(other, CreateTableResponse):
|
458
|
+
return False
|
459
|
+
|
460
|
+
return self.__dict__ == other.__dict__
|
461
|
+
|
462
|
+
def __ne__(self, other):
|
463
|
+
"""Returns true if both objects are not equal"""
|
464
|
+
return not self == other
|
@@ -0,0 +1,230 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class DataSchema:
|
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
|
+
'min': 'float',
|
21
|
+
'max': 'float',
|
22
|
+
'min_length': 'int',
|
23
|
+
'max_length': 'int',
|
24
|
+
'data_type': 'str'
|
25
|
+
}
|
26
|
+
|
27
|
+
attribute_map = {
|
28
|
+
'min': 'min',
|
29
|
+
'max': 'max',
|
30
|
+
'min_length': 'min_length',
|
31
|
+
'max_length': 'max_length',
|
32
|
+
'data_type': 'data_type'
|
33
|
+
}
|
34
|
+
|
35
|
+
def __init__(self, min=None, max=None, min_length=None, max_length=None, data_type=None):
|
36
|
+
r"""DataSchema
|
37
|
+
|
38
|
+
The model defined in huaweicloud sdk
|
39
|
+
|
40
|
+
:param min: integer或double类型的的最小值,当属性值超过范围时系统不予存储,integer时范围:-9223372036854775808 ~ 9223372036854775807;double时范围:-1.7976931348623157E308 ~ 1.7976931348623157E308
|
41
|
+
:type min: float
|
42
|
+
:param max: integer或double类型的最大值,当属性值超过范围时系统不予存储,integer时范围:-9223372036854775808 ~ 9223372036854775807;double时范围:-1.7976931348623157E308 ~ 1.7976931348623157E308
|
43
|
+
:type max: float
|
44
|
+
:param min_length: string类型的最小长度,当属性值超过范围时系统不予存储,范围:0 ~ 4096
|
45
|
+
:type min_length: int
|
46
|
+
:param max_length: string类型的最大长度,当属性值超过范围时系统不予存储,范围:0 ~ 4096
|
47
|
+
:type max_length: int
|
48
|
+
:param data_type: 数据类型,字符串(string)、整数(integer)、浮点数(double)、对象(object),系统支持的对象型存储大小为1MB,超过时不予存储
|
49
|
+
:type data_type: str
|
50
|
+
"""
|
51
|
+
|
52
|
+
|
53
|
+
|
54
|
+
self._min = None
|
55
|
+
self._max = None
|
56
|
+
self._min_length = None
|
57
|
+
self._max_length = None
|
58
|
+
self._data_type = None
|
59
|
+
self.discriminator = None
|
60
|
+
|
61
|
+
if min is not None:
|
62
|
+
self.min = min
|
63
|
+
if max is not None:
|
64
|
+
self.max = max
|
65
|
+
if min_length is not None:
|
66
|
+
self.min_length = min_length
|
67
|
+
if max_length is not None:
|
68
|
+
self.max_length = max_length
|
69
|
+
self.data_type = data_type
|
70
|
+
|
71
|
+
@property
|
72
|
+
def min(self):
|
73
|
+
r"""Gets the min of this DataSchema.
|
74
|
+
|
75
|
+
integer或double类型的的最小值,当属性值超过范围时系统不予存储,integer时范围:-9223372036854775808 ~ 9223372036854775807;double时范围:-1.7976931348623157E308 ~ 1.7976931348623157E308
|
76
|
+
|
77
|
+
:return: The min of this DataSchema.
|
78
|
+
:rtype: float
|
79
|
+
"""
|
80
|
+
return self._min
|
81
|
+
|
82
|
+
@min.setter
|
83
|
+
def min(self, min):
|
84
|
+
r"""Sets the min of this DataSchema.
|
85
|
+
|
86
|
+
integer或double类型的的最小值,当属性值超过范围时系统不予存储,integer时范围:-9223372036854775808 ~ 9223372036854775807;double时范围:-1.7976931348623157E308 ~ 1.7976931348623157E308
|
87
|
+
|
88
|
+
:param min: The min of this DataSchema.
|
89
|
+
:type min: float
|
90
|
+
"""
|
91
|
+
self._min = min
|
92
|
+
|
93
|
+
@property
|
94
|
+
def max(self):
|
95
|
+
r"""Gets the max of this DataSchema.
|
96
|
+
|
97
|
+
integer或double类型的最大值,当属性值超过范围时系统不予存储,integer时范围:-9223372036854775808 ~ 9223372036854775807;double时范围:-1.7976931348623157E308 ~ 1.7976931348623157E308
|
98
|
+
|
99
|
+
:return: The max of this DataSchema.
|
100
|
+
:rtype: float
|
101
|
+
"""
|
102
|
+
return self._max
|
103
|
+
|
104
|
+
@max.setter
|
105
|
+
def max(self, max):
|
106
|
+
r"""Sets the max of this DataSchema.
|
107
|
+
|
108
|
+
integer或double类型的最大值,当属性值超过范围时系统不予存储,integer时范围:-9223372036854775808 ~ 9223372036854775807;double时范围:-1.7976931348623157E308 ~ 1.7976931348623157E308
|
109
|
+
|
110
|
+
:param max: The max of this DataSchema.
|
111
|
+
:type max: float
|
112
|
+
"""
|
113
|
+
self._max = max
|
114
|
+
|
115
|
+
@property
|
116
|
+
def min_length(self):
|
117
|
+
r"""Gets the min_length of this DataSchema.
|
118
|
+
|
119
|
+
string类型的最小长度,当属性值超过范围时系统不予存储,范围:0 ~ 4096
|
120
|
+
|
121
|
+
:return: The min_length of this DataSchema.
|
122
|
+
:rtype: int
|
123
|
+
"""
|
124
|
+
return self._min_length
|
125
|
+
|
126
|
+
@min_length.setter
|
127
|
+
def min_length(self, min_length):
|
128
|
+
r"""Sets the min_length of this DataSchema.
|
129
|
+
|
130
|
+
string类型的最小长度,当属性值超过范围时系统不予存储,范围:0 ~ 4096
|
131
|
+
|
132
|
+
:param min_length: The min_length of this DataSchema.
|
133
|
+
:type min_length: int
|
134
|
+
"""
|
135
|
+
self._min_length = min_length
|
136
|
+
|
137
|
+
@property
|
138
|
+
def max_length(self):
|
139
|
+
r"""Gets the max_length of this DataSchema.
|
140
|
+
|
141
|
+
string类型的最大长度,当属性值超过范围时系统不予存储,范围:0 ~ 4096
|
142
|
+
|
143
|
+
:return: The max_length of this DataSchema.
|
144
|
+
:rtype: int
|
145
|
+
"""
|
146
|
+
return self._max_length
|
147
|
+
|
148
|
+
@max_length.setter
|
149
|
+
def max_length(self, max_length):
|
150
|
+
r"""Sets the max_length of this DataSchema.
|
151
|
+
|
152
|
+
string类型的最大长度,当属性值超过范围时系统不予存储,范围:0 ~ 4096
|
153
|
+
|
154
|
+
:param max_length: The max_length of this DataSchema.
|
155
|
+
:type max_length: int
|
156
|
+
"""
|
157
|
+
self._max_length = max_length
|
158
|
+
|
159
|
+
@property
|
160
|
+
def data_type(self):
|
161
|
+
r"""Gets the data_type of this DataSchema.
|
162
|
+
|
163
|
+
数据类型,字符串(string)、整数(integer)、浮点数(double)、对象(object),系统支持的对象型存储大小为1MB,超过时不予存储
|
164
|
+
|
165
|
+
:return: The data_type of this DataSchema.
|
166
|
+
:rtype: str
|
167
|
+
"""
|
168
|
+
return self._data_type
|
169
|
+
|
170
|
+
@data_type.setter
|
171
|
+
def data_type(self, data_type):
|
172
|
+
r"""Sets the data_type of this DataSchema.
|
173
|
+
|
174
|
+
数据类型,字符串(string)、整数(integer)、浮点数(double)、对象(object),系统支持的对象型存储大小为1MB,超过时不予存储
|
175
|
+
|
176
|
+
:param data_type: The data_type of this DataSchema.
|
177
|
+
:type data_type: str
|
178
|
+
"""
|
179
|
+
self._data_type = data_type
|
180
|
+
|
181
|
+
def to_dict(self):
|
182
|
+
"""Returns the model properties as a dict"""
|
183
|
+
result = {}
|
184
|
+
|
185
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
186
|
+
value = getattr(self, attr)
|
187
|
+
if isinstance(value, list):
|
188
|
+
result[attr] = list(map(
|
189
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
190
|
+
value
|
191
|
+
))
|
192
|
+
elif hasattr(value, "to_dict"):
|
193
|
+
result[attr] = value.to_dict()
|
194
|
+
elif isinstance(value, dict):
|
195
|
+
result[attr] = dict(map(
|
196
|
+
lambda item: (item[0], item[1].to_dict())
|
197
|
+
if hasattr(item[1], "to_dict") else item,
|
198
|
+
value.items()
|
199
|
+
))
|
200
|
+
else:
|
201
|
+
if attr in self.sensitive_list:
|
202
|
+
result[attr] = "****"
|
203
|
+
else:
|
204
|
+
result[attr] = value
|
205
|
+
|
206
|
+
return result
|
207
|
+
|
208
|
+
def to_str(self):
|
209
|
+
"""Returns the string representation of the model"""
|
210
|
+
import simplejson as json
|
211
|
+
if six.PY2:
|
212
|
+
import sys
|
213
|
+
reload(sys)
|
214
|
+
sys.setdefaultencoding("utf-8")
|
215
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
216
|
+
|
217
|
+
def __repr__(self):
|
218
|
+
"""For `print`"""
|
219
|
+
return self.to_str()
|
220
|
+
|
221
|
+
def __eq__(self, other):
|
222
|
+
"""Returns true if both objects are equal"""
|
223
|
+
if not isinstance(other, DataSchema):
|
224
|
+
return False
|
225
|
+
|
226
|
+
return self.__dict__ == other.__dict__
|
227
|
+
|
228
|
+
def __ne__(self, other):
|
229
|
+
"""Returns true if both objects are not equal"""
|
230
|
+
return not self == other
|