timeplus 1.1.1__tar.gz → 1.2.1__tar.gz
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.
- {timeplus-1.1.1 → timeplus-1.2.1}/PKG-INFO +1 -1
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_client/__init__.py +12 -13
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_client/configuration.py +1 -1
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_client/models/__init__.py +3 -6
- timeplus-1.1.1/swagger_client/models/throughput.py → timeplus-1.2.1/swagger_client/models/batching_policy.py +34 -34
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_client/models/columns_resp.py +1 -53
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_client/models/create_query_request_v1_beta2.py +30 -3
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_client/models/create_source_request.py +36 -27
- timeplus-1.2.1/swagger_client/models/create_view_request.py +218 -0
- timeplus-1.2.1/swagger_client/models/global_metrics_result.py +165 -0
- timeplus-1.1.1/swagger_client/models/global_metrics_result.py → timeplus-1.2.1/swagger_client/models/metrics_query_throughput.py +19 -43
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_client/models/resource_metrics_result.py +62 -89
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_client/models/sink.py +60 -32
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_client/models/source.py +90 -28
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_client/models/source_preview_request.py +29 -1
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_client/models/stream.py +48 -17
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_client/models/stream_def.py +67 -1
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_client/models/stream_stats.py +53 -1
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_client/models/time_columns.py +1 -28
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_client/models/udf.py +63 -1
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_client/models/update_source_request.py +35 -29
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_client/models/update_stream_request.py +4 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_client/models/update_view_request.py +4 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_client/models/view.py +17 -18
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_client/rest.py +108 -201
- timeplus-1.2.1/swagger_client/timeplus/__init__.py +18 -0
- timeplus-1.2.1/swagger_client/timeplus/alerts_internal_api.py +128 -0
- timeplus-1.2.1/swagger_client/timeplus/alerts_v1beta2_api.py +128 -0
- timeplus-1.1.1/swagger_client/timeplus/api_keys_v1beta1_api.py → timeplus-1.2.1/swagger_client/timeplus/api_keys_v1beta2_api.py +26 -26
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_client/timeplus/dashboards_v1beta2_api.py +3 -3
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_client/timeplus/metrics_v1beta2_api.py +43 -42
- timeplus-1.1.1/swagger_client/timeplus/queries_v1beta1_api.py → timeplus-1.2.1/swagger_client/timeplus/queries_v1beta2_api.py +89 -180
- timeplus-1.2.1/swagger_client/timeplus/sinks_internal_api.py +128 -0
- timeplus-1.1.1/swagger_client/timeplus/persistent_queries_v1beta2_api.py → timeplus-1.2.1/swagger_client/timeplus/sinks_v1beta2_api.py +89 -89
- timeplus-1.1.1/swagger_client/timeplus/sources_v1beta1_api.py → timeplus-1.2.1/swagger_client/timeplus/sources_v1beta2_api.py +103 -103
- timeplus-1.1.1/swagger_client/timeplus/streams_v1beta1_api.py → timeplus-1.2.1/swagger_client/timeplus/streams_v1beta2_api.py +248 -58
- timeplus-1.1.1/swagger_client/timeplus/udfs_v1beta1_api.py → timeplus-1.2.1/swagger_client/timeplus/udfs_v1beta2_api.py +135 -36
- timeplus-1.1.1/swagger_client/timeplus/views_v1beta1_api.py → timeplus-1.2.1/swagger_client/timeplus/views_v1beta2_api.py +229 -39
- timeplus-1.2.1/swagger_test/__init__.py +1 -0
- timeplus-1.2.1/swagger_test/test_alerts_internal_api.py +40 -0
- timeplus-1.1.1/swagger_test/test_queries_v1beta2_api.py → timeplus-1.2.1/swagger_test/test_alerts_v1beta2_api.py +7 -7
- timeplus-1.1.1/swagger_test/test_api_keys_v1beta1_api.py → timeplus-1.2.1/swagger_test/test_api_keys_v1beta2_api.py +10 -10
- timeplus-1.1.1/swagger_test/test_connection_stat.py → timeplus-1.2.1/swagger_test/test_batching_policy.py +6 -6
- timeplus-1.2.1/swagger_test/test_create_view_request.py +39 -0
- timeplus-1.2.1/swagger_test/test_metrics_query_throughput.py +39 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_test/test_metrics_v1beta2_api.py +4 -4
- timeplus-1.2.1/swagger_test/test_queries_v1beta2_api.py +89 -0
- timeplus-1.2.1/swagger_test/test_sinks_internal_api.py +40 -0
- timeplus-1.1.1/swagger_test/test_sinks_v1beta1_api.py → timeplus-1.2.1/swagger_test/test_sinks_v1beta2_api.py +19 -12
- timeplus-1.2.1/swagger_test/test_sources_v1beta2_api.py +110 -0
- timeplus-1.2.1/swagger_test/test_streams_v1beta2_api.py +89 -0
- timeplus-1.1.1/swagger_test/test_udfs_v1beta1_api.py → timeplus-1.2.1/swagger_test/test_udfs_v1beta2_api.py +19 -12
- timeplus-1.2.1/swagger_test/test_views_v1beta2_api.py +75 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/timeplus/env.py +1 -3
- {timeplus-1.1.1 → timeplus-1.2.1}/timeplus/query.py +20 -16
- {timeplus-1.1.1 → timeplus-1.2.1}/timeplus/stream.py +26 -10
- timeplus-1.2.1/timeplus/version.py +1 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/timeplus.egg-info/PKG-INFO +1 -1
- {timeplus-1.1.1 → timeplus-1.2.1}/timeplus.egg-info/SOURCES.txt +24 -48
- timeplus-1.1.1/swagger_client/models/connection.py +0 -137
- timeplus-1.1.1/swagger_client/models/connection_config.py +0 -136
- timeplus-1.1.1/swagger_client/models/connection_stat.py +0 -138
- timeplus-1.1.1/swagger_client/models/create_persistent_query_request.py +0 -190
- timeplus-1.1.1/swagger_client/models/create_query_request_v1_beta1.py +0 -188
- timeplus-1.1.1/swagger_client/models/create_query_response.py +0 -590
- timeplus-1.1.1/swagger_client/models/internal_http_handler_v1beta2_global_metrics_request.py +0 -110
- timeplus-1.1.1/swagger_client/models/latency.py +0 -214
- timeplus-1.1.1/swagger_client/models/query_analysis.py +0 -219
- timeplus-1.1.1/swagger_client/models/query_metrics.py +0 -162
- timeplus-1.1.1/swagger_client/models/query_with_metrics.py +0 -617
- timeplus-1.1.1/swagger_client/models/sink_metrics.py +0 -136
- timeplus-1.1.1/swagger_client/models/sink_with_metrics.py +0 -377
- timeplus-1.1.1/swagger_client/models/source_metrics.py +0 -188
- timeplus-1.1.1/swagger_client/models/source_with_metrics.py +0 -404
- timeplus-1.1.1/swagger_client/timeplus/__init__.py +0 -16
- timeplus-1.1.1/swagger_client/timeplus/queries_v1beta2_api.py +0 -143
- timeplus-1.1.1/swagger_client/timeplus/sinks_v1beta1_api.py +0 -409
- timeplus-1.1.1/swagger_test/__init__.py +0 -0
- timeplus-1.1.1/swagger_test/test_connection.py +0 -39
- timeplus-1.1.1/swagger_test/test_connection_config.py +0 -39
- timeplus-1.1.1/swagger_test/test_create_persistent_query_request.py +0 -39
- timeplus-1.1.1/swagger_test/test_create_query_request_v1_beta1.py +0 -39
- timeplus-1.1.1/swagger_test/test_create_query_response.py +0 -39
- timeplus-1.1.1/swagger_test/test_internal_http_handler_v1beta2_global_metrics_request.py +0 -39
- timeplus-1.1.1/swagger_test/test_latency.py +0 -39
- timeplus-1.1.1/swagger_test/test_persistent_queries_v1beta2_api.py +0 -68
- timeplus-1.1.1/swagger_test/test_queries_v1beta1_api.py +0 -96
- timeplus-1.1.1/swagger_test/test_query_analysis.py +0 -39
- timeplus-1.1.1/swagger_test/test_query_metrics.py +0 -39
- timeplus-1.1.1/swagger_test/test_query_with_metrics.py +0 -39
- timeplus-1.1.1/swagger_test/test_sink_metrics.py +0 -39
- timeplus-1.1.1/swagger_test/test_sink_with_metrics.py +0 -39
- timeplus-1.1.1/swagger_test/test_source_metrics.py +0 -39
- timeplus-1.1.1/swagger_test/test_source_with_metrics.py +0 -39
- timeplus-1.1.1/swagger_test/test_sources_v1beta1_api.py +0 -110
- timeplus-1.1.1/swagger_test/test_streams_v1beta1_api.py +0 -75
- timeplus-1.1.1/swagger_test/test_throughput.py +0 -39
- timeplus-1.1.1/swagger_test/test_views_v1beta1_api.py +0 -61
- timeplus-1.1.1/timeplus/version.py +0 -1
- {timeplus-1.1.1 → timeplus-1.2.1}/README.md +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/setup.cfg +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/setup.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_client/api_client.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_client/models/analyze_sql_request.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_client/models/api_key.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_client/models/column.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_client/models/column_def.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_client/models/create_api_key_request.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_client/models/create_api_key_response.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_client/models/create_dashboard_request.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_client/models/create_sink_request.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_client/models/dashboard_dashboard.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_client/models/dashboard_panel.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_client/models/edge.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_client/models/error_response.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_client/models/event.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_client/models/event_infer_request.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_client/models/event_infer_response.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_client/models/external_stream_def.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_client/models/file_upload_response.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_client/models/format_query_request.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_client/models/format_query_response.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_client/models/graph.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_client/models/ingest_data.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_client/models/node.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_client/models/owner.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_client/models/query.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_client/models/query_pipeline.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_client/models/query_pipeline_edge.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_client/models/query_pipeline_node.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_client/models/query_pipeline_node_metric.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_client/models/query_result.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_client/models/sink_stat.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_client/models/source_upload_body.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_client/models/sql_analyze_column.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_client/models/sql_analyze_result.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_client/models/stream_match_request.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_client/models/stream_setting.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_client/models/udf_argument.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_client/models/udf_auth_context.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_client/models/update_dashboard_request.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_client/timeplus/topology_v1beta2_api.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_test/test_analyze_sql_request.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_test/test_api_key.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_test/test_column.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_test/test_column_def.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_test/test_columns_resp.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_test/test_create_api_key_request.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_test/test_create_api_key_response.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_test/test_create_dashboard_request.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_test/test_create_query_request_v1_beta2.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_test/test_create_sink_request.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_test/test_create_source_request.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_test/test_dashboard_dashboard.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_test/test_dashboard_panel.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_test/test_dashboards_v1beta2_api.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_test/test_edge.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_test/test_error_response.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_test/test_event.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_test/test_event_infer_request.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_test/test_event_infer_response.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_test/test_external_stream_def.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_test/test_file_upload_response.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_test/test_format_query_request.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_test/test_format_query_response.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_test/test_global_metrics_result.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_test/test_graph.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_test/test_ingest_data.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_test/test_node.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_test/test_owner.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_test/test_query.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_test/test_query_pipeline.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_test/test_query_pipeline_edge.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_test/test_query_pipeline_node.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_test/test_query_pipeline_node_metric.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_test/test_query_result.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_test/test_resource_metrics_result.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_test/test_sink.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_test/test_sink_stat.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_test/test_source.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_test/test_source_preview_request.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_test/test_source_upload_body.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_test/test_sql_analyze_column.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_test/test_sql_analyze_result.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_test/test_stream.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_test/test_stream_def.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_test/test_stream_match_request.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_test/test_stream_setting.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_test/test_stream_stats.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_test/test_time_columns.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_test/test_topology_v1beta2_api.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_test/test_udf.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_test/test_udf_argument.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_test/test_udf_auth_context.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_test/test_update_dashboard_request.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_test/test_update_source_request.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_test/test_update_stream_request.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_test/test_update_view_request.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/swagger_test/test_view.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/test/test_stream.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/timeplus/__init__.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/timeplus/error.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/timeplus/type.py +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/timeplus.egg-info/dependency_links.txt +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/timeplus.egg-info/requires.txt +0 -0
- {timeplus-1.1.1 → timeplus-1.2.1}/timeplus.egg-info/top_level.txt +0 -0
|
@@ -15,37 +15,36 @@
|
|
|
15
15
|
from __future__ import absolute_import
|
|
16
16
|
|
|
17
17
|
# import apis into sdk package
|
|
18
|
-
from swagger_client.timeplus.
|
|
18
|
+
from swagger_client.timeplus.api_keys_v1beta2_api import APIKeysV1beta2Api
|
|
19
|
+
from swagger_client.timeplus.alerts_internal_api import AlertsInternalApi
|
|
20
|
+
from swagger_client.timeplus.alerts_v1beta2_api import AlertsV1beta2Api
|
|
19
21
|
from swagger_client.timeplus.dashboards_v1beta2_api import DashboardsV1beta2Api
|
|
20
22
|
from swagger_client.timeplus.metrics_v1beta2_api import MetricsV1beta2Api
|
|
21
|
-
from swagger_client.timeplus.queries_v1beta1_api import QueriesV1beta1Api
|
|
22
23
|
from swagger_client.timeplus.queries_v1beta2_api import QueriesV1beta2Api
|
|
23
|
-
from swagger_client.timeplus.
|
|
24
|
-
from swagger_client.timeplus.
|
|
25
|
-
from swagger_client.timeplus.
|
|
24
|
+
from swagger_client.timeplus.sinks_internal_api import SinksInternalApi
|
|
25
|
+
from swagger_client.timeplus.sinks_v1beta2_api import SinksV1beta2Api
|
|
26
|
+
from swagger_client.timeplus.sources_v1beta2_api import SourcesV1beta2Api
|
|
27
|
+
from swagger_client.timeplus.streams_v1beta2_api import StreamsV1beta2Api
|
|
26
28
|
from swagger_client.timeplus.topology_v1beta2_api import TopologyV1beta2Api
|
|
27
|
-
from swagger_client.timeplus.
|
|
28
|
-
from swagger_client.timeplus.
|
|
29
|
+
from swagger_client.timeplus.udfs_v1beta2_api import UDFsV1beta2Api
|
|
30
|
+
from swagger_client.timeplus.views_v1beta2_api import ViewsV1beta2Api
|
|
29
31
|
# import ApiClient
|
|
30
32
|
from swagger_client.api_client import ApiClient
|
|
31
33
|
from swagger_client.configuration import Configuration
|
|
32
34
|
# import models into sdk package
|
|
33
35
|
from swagger_client.models.api_key import APIKey
|
|
34
36
|
from swagger_client.models.analyze_sql_request import AnalyzeSQLRequest
|
|
37
|
+
from swagger_client.models.batching_policy import BatchingPolicy
|
|
35
38
|
from swagger_client.models.column import Column
|
|
36
39
|
from swagger_client.models.column_def import ColumnDef
|
|
37
40
|
from swagger_client.models.columns_resp import ColumnsResp
|
|
38
|
-
from swagger_client.models.connection import Connection
|
|
39
|
-
from swagger_client.models.connection_config import ConnectionConfig
|
|
40
|
-
from swagger_client.models.connection_stat import ConnectionStat
|
|
41
41
|
from swagger_client.models.create_api_key_request import CreateAPIKeyRequest
|
|
42
42
|
from swagger_client.models.create_api_key_response import CreateAPIKeyResponse
|
|
43
43
|
from swagger_client.models.create_dashboard_request import CreateDashboardRequest
|
|
44
|
-
from swagger_client.models.create_query_request_v1_beta1 import CreateQueryRequestV1Beta1
|
|
45
44
|
from swagger_client.models.create_query_request_v1_beta2 import CreateQueryRequestV1Beta2
|
|
46
|
-
from swagger_client.models.create_query_response import CreateQueryResponse
|
|
47
45
|
from swagger_client.models.create_sink_request import CreateSinkRequest
|
|
48
46
|
from swagger_client.models.create_source_request import CreateSourceRequest
|
|
47
|
+
from swagger_client.models.create_view_request import CreateViewRequest
|
|
49
48
|
from swagger_client.models.dashboard_dashboard import DashboardDashboard
|
|
50
49
|
from swagger_client.models.dashboard_panel import DashboardPanel
|
|
51
50
|
from swagger_client.models.edge import Edge
|
|
@@ -60,7 +59,7 @@ from swagger_client.models.format_query_response import FormatQueryResponse
|
|
|
60
59
|
from swagger_client.models.global_metrics_result import GlobalMetricsResult
|
|
61
60
|
from swagger_client.models.graph import Graph
|
|
62
61
|
from swagger_client.models.ingest_data import IngestData
|
|
63
|
-
from swagger_client.models.
|
|
62
|
+
from swagger_client.models.metrics_query_throughput import MetricsQueryThroughput
|
|
64
63
|
from swagger_client.models.node import Node
|
|
65
64
|
from swagger_client.models.owner import Owner
|
|
66
65
|
from swagger_client.models.query import Query
|
|
@@ -46,7 +46,7 @@ class Configuration(six.with_metaclass(TypeWithDefault, object)):
|
|
|
46
46
|
def __init__(self):
|
|
47
47
|
"""Constructor"""
|
|
48
48
|
# Default Base url
|
|
49
|
-
self.host = "//
|
|
49
|
+
self.host = "//us.timeplus.cloud/{workspace-id}/api"
|
|
50
50
|
# Temp file folder for downloading files
|
|
51
51
|
self.temp_folder_path = None
|
|
52
52
|
|
|
@@ -16,20 +16,17 @@ from __future__ import absolute_import
|
|
|
16
16
|
# import models into model package
|
|
17
17
|
from swagger_client.models.api_key import APIKey
|
|
18
18
|
from swagger_client.models.analyze_sql_request import AnalyzeSQLRequest
|
|
19
|
+
from swagger_client.models.batching_policy import BatchingPolicy
|
|
19
20
|
from swagger_client.models.column import Column
|
|
20
21
|
from swagger_client.models.column_def import ColumnDef
|
|
21
22
|
from swagger_client.models.columns_resp import ColumnsResp
|
|
22
|
-
from swagger_client.models.connection import Connection
|
|
23
|
-
from swagger_client.models.connection_config import ConnectionConfig
|
|
24
|
-
from swagger_client.models.connection_stat import ConnectionStat
|
|
25
23
|
from swagger_client.models.create_api_key_request import CreateAPIKeyRequest
|
|
26
24
|
from swagger_client.models.create_api_key_response import CreateAPIKeyResponse
|
|
27
25
|
from swagger_client.models.create_dashboard_request import CreateDashboardRequest
|
|
28
|
-
from swagger_client.models.create_query_request_v1_beta1 import CreateQueryRequestV1Beta1
|
|
29
26
|
from swagger_client.models.create_query_request_v1_beta2 import CreateQueryRequestV1Beta2
|
|
30
|
-
from swagger_client.models.create_query_response import CreateQueryResponse
|
|
31
27
|
from swagger_client.models.create_sink_request import CreateSinkRequest
|
|
32
28
|
from swagger_client.models.create_source_request import CreateSourceRequest
|
|
29
|
+
from swagger_client.models.create_view_request import CreateViewRequest
|
|
33
30
|
from swagger_client.models.dashboard_dashboard import DashboardDashboard
|
|
34
31
|
from swagger_client.models.dashboard_panel import DashboardPanel
|
|
35
32
|
from swagger_client.models.edge import Edge
|
|
@@ -44,7 +41,7 @@ from swagger_client.models.format_query_response import FormatQueryResponse
|
|
|
44
41
|
from swagger_client.models.global_metrics_result import GlobalMetricsResult
|
|
45
42
|
from swagger_client.models.graph import Graph
|
|
46
43
|
from swagger_client.models.ingest_data import IngestData
|
|
47
|
-
from swagger_client.models.
|
|
44
|
+
from swagger_client.models.metrics_query_throughput import MetricsQueryThroughput
|
|
48
45
|
from swagger_client.models.node import Node
|
|
49
46
|
from swagger_client.models.owner import Owner
|
|
50
47
|
from swagger_client.models.query import Query
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Timeplus
|
|
5
5
|
|
|
6
|
-
Welcome to the Timeplus HTTP REST API specification. #
|
|
6
|
+
Welcome to the Timeplus HTTP REST API specification. # noqa: E501
|
|
7
7
|
|
|
8
|
-
OpenAPI spec version:
|
|
8
|
+
OpenAPI spec version: v1
|
|
9
9
|
Contact: support@timeplus.com
|
|
10
10
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
11
|
"""
|
|
@@ -15,7 +15,7 @@ import re # noqa: F401
|
|
|
15
15
|
|
|
16
16
|
import six
|
|
17
17
|
|
|
18
|
-
class
|
|
18
|
+
class BatchingPolicy(object):
|
|
19
19
|
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
20
20
|
|
|
21
21
|
Do not edit the class manually.
|
|
@@ -28,70 +28,70 @@ class Throughput(object):
|
|
|
28
28
|
and the value is json key in definition.
|
|
29
29
|
"""
|
|
30
30
|
swagger_types = {
|
|
31
|
-
'count': '
|
|
32
|
-
'
|
|
31
|
+
'count': 'int',
|
|
32
|
+
'time_ms': 'int'
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
attribute_map = {
|
|
36
36
|
'count': 'count',
|
|
37
|
-
'
|
|
37
|
+
'time_ms': 'time_ms'
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
def __init__(self, count=None,
|
|
41
|
-
"""
|
|
40
|
+
def __init__(self, count=None, time_ms=None): # noqa: E501
|
|
41
|
+
"""BatchingPolicy - a model defined in Swagger""" # noqa: E501
|
|
42
42
|
self._count = None
|
|
43
|
-
self.
|
|
43
|
+
self._time_ms = None
|
|
44
44
|
self.discriminator = None
|
|
45
45
|
if count is not None:
|
|
46
46
|
self.count = count
|
|
47
|
-
if
|
|
48
|
-
self.
|
|
47
|
+
if time_ms is not None:
|
|
48
|
+
self.time_ms = time_ms
|
|
49
49
|
|
|
50
50
|
@property
|
|
51
51
|
def count(self):
|
|
52
|
-
"""Gets the count of this
|
|
52
|
+
"""Gets the count of this BatchingPolicy. # noqa: E501
|
|
53
53
|
|
|
54
|
-
|
|
54
|
+
The max result count per batch # noqa: E501
|
|
55
55
|
|
|
56
|
-
:return: The count of this
|
|
57
|
-
:rtype:
|
|
56
|
+
:return: The count of this BatchingPolicy. # noqa: E501
|
|
57
|
+
:rtype: int
|
|
58
58
|
"""
|
|
59
59
|
return self._count
|
|
60
60
|
|
|
61
61
|
@count.setter
|
|
62
62
|
def count(self, count):
|
|
63
|
-
"""Sets the count of this
|
|
63
|
+
"""Sets the count of this BatchingPolicy.
|
|
64
64
|
|
|
65
|
-
|
|
65
|
+
The max result count per batch # noqa: E501
|
|
66
66
|
|
|
67
|
-
:param count: The count of this
|
|
68
|
-
:type:
|
|
67
|
+
:param count: The count of this BatchingPolicy. # noqa: E501
|
|
68
|
+
:type: int
|
|
69
69
|
"""
|
|
70
70
|
|
|
71
71
|
self._count = count
|
|
72
72
|
|
|
73
73
|
@property
|
|
74
|
-
def
|
|
75
|
-
"""Gets the
|
|
74
|
+
def time_ms(self):
|
|
75
|
+
"""Gets the time_ms of this BatchingPolicy. # noqa: E501
|
|
76
76
|
|
|
77
|
-
|
|
77
|
+
The max interval per batch in milliseconds # noqa: E501
|
|
78
78
|
|
|
79
|
-
:return: The
|
|
80
|
-
:rtype:
|
|
79
|
+
:return: The time_ms of this BatchingPolicy. # noqa: E501
|
|
80
|
+
:rtype: int
|
|
81
81
|
"""
|
|
82
|
-
return self.
|
|
82
|
+
return self._time_ms
|
|
83
83
|
|
|
84
|
-
@
|
|
85
|
-
def
|
|
86
|
-
"""Sets the
|
|
84
|
+
@time_ms.setter
|
|
85
|
+
def time_ms(self, time_ms):
|
|
86
|
+
"""Sets the time_ms of this BatchingPolicy.
|
|
87
87
|
|
|
88
|
-
|
|
88
|
+
The max interval per batch in milliseconds # noqa: E501
|
|
89
89
|
|
|
90
|
-
:param
|
|
91
|
-
:type:
|
|
90
|
+
:param time_ms: The time_ms of this BatchingPolicy. # noqa: E501
|
|
91
|
+
:type: int
|
|
92
92
|
"""
|
|
93
93
|
|
|
94
|
-
self.
|
|
94
|
+
self._time_ms = time_ms
|
|
95
95
|
|
|
96
96
|
def to_dict(self):
|
|
97
97
|
"""Returns the model properties as a dict"""
|
|
@@ -114,7 +114,7 @@ class Throughput(object):
|
|
|
114
114
|
))
|
|
115
115
|
else:
|
|
116
116
|
result[attr] = value
|
|
117
|
-
if issubclass(
|
|
117
|
+
if issubclass(BatchingPolicy, dict):
|
|
118
118
|
for key, value in self.items():
|
|
119
119
|
result[key] = value
|
|
120
120
|
|
|
@@ -130,7 +130,7 @@ class Throughput(object):
|
|
|
130
130
|
|
|
131
131
|
def __eq__(self, other):
|
|
132
132
|
"""Returns true if both objects are equal"""
|
|
133
|
-
if not isinstance(other,
|
|
133
|
+
if not isinstance(other, BatchingPolicy):
|
|
134
134
|
return False
|
|
135
135
|
|
|
136
136
|
return self.__dict__ == other.__dict__
|
|
@@ -28,8 +28,6 @@ class ColumnsResp(object):
|
|
|
28
28
|
and the value is json key in definition.
|
|
29
29
|
"""
|
|
30
30
|
swagger_types = {
|
|
31
|
-
'alias': 'str',
|
|
32
|
-
'comment': 'str',
|
|
33
31
|
'default': 'str',
|
|
34
32
|
'name': 'str',
|
|
35
33
|
'nullable': 'bool',
|
|
@@ -37,27 +35,19 @@ class ColumnsResp(object):
|
|
|
37
35
|
}
|
|
38
36
|
|
|
39
37
|
attribute_map = {
|
|
40
|
-
'alias': 'alias',
|
|
41
|
-
'comment': 'comment',
|
|
42
38
|
'default': 'default',
|
|
43
39
|
'name': 'name',
|
|
44
40
|
'nullable': 'nullable',
|
|
45
41
|
'type': 'type'
|
|
46
42
|
}
|
|
47
43
|
|
|
48
|
-
def __init__(self,
|
|
44
|
+
def __init__(self, default=None, name=None, nullable=None, type=None): # noqa: E501
|
|
49
45
|
"""ColumnsResp - a model defined in Swagger""" # noqa: E501
|
|
50
|
-
self._alias = None
|
|
51
|
-
self._comment = None
|
|
52
46
|
self._default = None
|
|
53
47
|
self._name = None
|
|
54
48
|
self._nullable = None
|
|
55
49
|
self._type = None
|
|
56
50
|
self.discriminator = None
|
|
57
|
-
if alias is not None:
|
|
58
|
-
self.alias = alias
|
|
59
|
-
if comment is not None:
|
|
60
|
-
self.comment = comment
|
|
61
51
|
if default is not None:
|
|
62
52
|
self.default = default
|
|
63
53
|
if name is not None:
|
|
@@ -67,48 +57,6 @@ class ColumnsResp(object):
|
|
|
67
57
|
if type is not None:
|
|
68
58
|
self.type = type
|
|
69
59
|
|
|
70
|
-
@property
|
|
71
|
-
def alias(self):
|
|
72
|
-
"""Gets the alias of this ColumnsResp. # noqa: E501
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
:return: The alias of this ColumnsResp. # noqa: E501
|
|
76
|
-
:rtype: str
|
|
77
|
-
"""
|
|
78
|
-
return self._alias
|
|
79
|
-
|
|
80
|
-
@alias.setter
|
|
81
|
-
def alias(self, alias):
|
|
82
|
-
"""Sets the alias of this ColumnsResp.
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
:param alias: The alias of this ColumnsResp. # noqa: E501
|
|
86
|
-
:type: str
|
|
87
|
-
"""
|
|
88
|
-
|
|
89
|
-
self._alias = alias
|
|
90
|
-
|
|
91
|
-
@property
|
|
92
|
-
def comment(self):
|
|
93
|
-
"""Gets the comment of this ColumnsResp. # noqa: E501
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
:return: The comment of this ColumnsResp. # noqa: E501
|
|
97
|
-
:rtype: str
|
|
98
|
-
"""
|
|
99
|
-
return self._comment
|
|
100
|
-
|
|
101
|
-
@comment.setter
|
|
102
|
-
def comment(self, comment):
|
|
103
|
-
"""Sets the comment of this ColumnsResp.
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
:param comment: The comment of this ColumnsResp. # noqa: E501
|
|
107
|
-
:type: str
|
|
108
|
-
"""
|
|
109
|
-
|
|
110
|
-
self._comment = comment
|
|
111
|
-
|
|
112
60
|
@property
|
|
113
61
|
def default(self):
|
|
114
62
|
"""Gets the default of this ColumnsResp. # noqa: E501
|
|
@@ -28,6 +28,7 @@ class CreateQueryRequestV1Beta2(object):
|
|
|
28
28
|
and the value is json key in definition.
|
|
29
29
|
"""
|
|
30
30
|
swagger_types = {
|
|
31
|
+
'batching_policy': 'BatchingPolicy',
|
|
31
32
|
'description': 'str',
|
|
32
33
|
'name': 'str',
|
|
33
34
|
'sql': 'str',
|
|
@@ -35,28 +36,52 @@ class CreateQueryRequestV1Beta2(object):
|
|
|
35
36
|
}
|
|
36
37
|
|
|
37
38
|
attribute_map = {
|
|
39
|
+
'batching_policy': 'batching_policy',
|
|
38
40
|
'description': 'description',
|
|
39
41
|
'name': 'name',
|
|
40
42
|
'sql': 'sql',
|
|
41
43
|
'tags': 'tags'
|
|
42
44
|
}
|
|
43
45
|
|
|
44
|
-
def __init__(self, description=None, name=None, sql=None, tags=None): # noqa: E501
|
|
46
|
+
def __init__(self, batching_policy=None, description=None, name=None, sql=None, tags=None): # noqa: E501
|
|
45
47
|
"""CreateQueryRequestV1Beta2 - a model defined in Swagger""" # noqa: E501
|
|
48
|
+
self._batching_policy = None
|
|
46
49
|
self._description = None
|
|
47
50
|
self._name = None
|
|
48
51
|
self._sql = None
|
|
49
52
|
self._tags = None
|
|
50
53
|
self.discriminator = None
|
|
54
|
+
if batching_policy is not None:
|
|
55
|
+
self.batching_policy = batching_policy
|
|
51
56
|
if description is not None:
|
|
52
57
|
self.description = description
|
|
53
58
|
if name is not None:
|
|
54
59
|
self.name = name
|
|
55
|
-
|
|
56
|
-
self.sql = sql
|
|
60
|
+
self.sql = sql
|
|
57
61
|
if tags is not None:
|
|
58
62
|
self.tags = tags
|
|
59
63
|
|
|
64
|
+
@property
|
|
65
|
+
def batching_policy(self):
|
|
66
|
+
"""Gets the batching_policy of this CreateQueryRequestV1Beta2. # noqa: E501
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
:return: The batching_policy of this CreateQueryRequestV1Beta2. # noqa: E501
|
|
70
|
+
:rtype: BatchingPolicy
|
|
71
|
+
"""
|
|
72
|
+
return self._batching_policy
|
|
73
|
+
|
|
74
|
+
@batching_policy.setter
|
|
75
|
+
def batching_policy(self, batching_policy):
|
|
76
|
+
"""Sets the batching_policy of this CreateQueryRequestV1Beta2.
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
:param batching_policy: The batching_policy of this CreateQueryRequestV1Beta2. # noqa: E501
|
|
80
|
+
:type: BatchingPolicy
|
|
81
|
+
"""
|
|
82
|
+
|
|
83
|
+
self._batching_policy = batching_policy
|
|
84
|
+
|
|
60
85
|
@property
|
|
61
86
|
def description(self):
|
|
62
87
|
"""Gets the description of this CreateQueryRequestV1Beta2. # noqa: E501
|
|
@@ -117,6 +142,8 @@ class CreateQueryRequestV1Beta2(object):
|
|
|
117
142
|
:param sql: The sql of this CreateQueryRequestV1Beta2. # noqa: E501
|
|
118
143
|
:type: str
|
|
119
144
|
"""
|
|
145
|
+
if sql is None:
|
|
146
|
+
raise ValueError("Invalid value for `sql`, must not be `None`") # noqa: E501
|
|
120
147
|
|
|
121
148
|
self._sql = sql
|
|
122
149
|
|
|
@@ -28,59 +28,37 @@ class CreateSourceRequest(object):
|
|
|
28
28
|
and the value is json key in definition.
|
|
29
29
|
"""
|
|
30
30
|
swagger_types = {
|
|
31
|
-
'connection_config': 'ConnectionConfig',
|
|
32
31
|
'description': 'str',
|
|
33
32
|
'name': 'str',
|
|
34
33
|
'properties': 'dict(str, object)',
|
|
34
|
+
'stream': 'str',
|
|
35
35
|
'type': 'str'
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
attribute_map = {
|
|
39
|
-
'connection_config': 'connection_config',
|
|
40
39
|
'description': 'description',
|
|
41
40
|
'name': 'name',
|
|
42
41
|
'properties': 'properties',
|
|
42
|
+
'stream': 'stream',
|
|
43
43
|
'type': 'type'
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
def __init__(self,
|
|
46
|
+
def __init__(self, description=None, name=None, properties=None, stream=None, type=None): # noqa: E501
|
|
47
47
|
"""CreateSourceRequest - a model defined in Swagger""" # noqa: E501
|
|
48
|
-
self._connection_config = None
|
|
49
48
|
self._description = None
|
|
50
49
|
self._name = None
|
|
51
50
|
self._properties = None
|
|
51
|
+
self._stream = None
|
|
52
52
|
self._type = None
|
|
53
53
|
self.discriminator = None
|
|
54
|
-
if connection_config is not None:
|
|
55
|
-
self.connection_config = connection_config
|
|
56
54
|
if description is not None:
|
|
57
55
|
self.description = description
|
|
58
56
|
self.name = name
|
|
59
57
|
if properties is not None:
|
|
60
58
|
self.properties = properties
|
|
59
|
+
self.stream = stream
|
|
61
60
|
self.type = type
|
|
62
61
|
|
|
63
|
-
@property
|
|
64
|
-
def connection_config(self):
|
|
65
|
-
"""Gets the connection_config of this CreateSourceRequest. # noqa: E501
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
:return: The connection_config of this CreateSourceRequest. # noqa: E501
|
|
69
|
-
:rtype: ConnectionConfig
|
|
70
|
-
"""
|
|
71
|
-
return self._connection_config
|
|
72
|
-
|
|
73
|
-
@connection_config.setter
|
|
74
|
-
def connection_config(self, connection_config):
|
|
75
|
-
"""Sets the connection_config of this CreateSourceRequest.
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
:param connection_config: The connection_config of this CreateSourceRequest. # noqa: E501
|
|
79
|
-
:type: ConnectionConfig
|
|
80
|
-
"""
|
|
81
|
-
|
|
82
|
-
self._connection_config = connection_config
|
|
83
|
-
|
|
84
62
|
@property
|
|
85
63
|
def description(self):
|
|
86
64
|
"""Gets the description of this CreateSourceRequest. # noqa: E501
|
|
@@ -106,6 +84,7 @@ class CreateSourceRequest(object):
|
|
|
106
84
|
def name(self):
|
|
107
85
|
"""Gets the name of this CreateSourceRequest. # noqa: E501
|
|
108
86
|
|
|
87
|
+
Source name should only contain a maximum of 64 letters, numbers, or _, and start with a letter # noqa: E501
|
|
109
88
|
|
|
110
89
|
:return: The name of this CreateSourceRequest. # noqa: E501
|
|
111
90
|
:rtype: str
|
|
@@ -116,6 +95,7 @@ class CreateSourceRequest(object):
|
|
|
116
95
|
def name(self, name):
|
|
117
96
|
"""Sets the name of this CreateSourceRequest.
|
|
118
97
|
|
|
98
|
+
Source name should only contain a maximum of 64 letters, numbers, or _, and start with a letter # noqa: E501
|
|
119
99
|
|
|
120
100
|
:param name: The name of this CreateSourceRequest. # noqa: E501
|
|
121
101
|
:type: str
|
|
@@ -129,6 +109,7 @@ class CreateSourceRequest(object):
|
|
|
129
109
|
def properties(self):
|
|
130
110
|
"""Gets the properties of this CreateSourceRequest. # noqa: E501
|
|
131
111
|
|
|
112
|
+
Additional properties that required to read the data from source. Please refer to the documentation for this source type # noqa: E501
|
|
132
113
|
|
|
133
114
|
:return: The properties of this CreateSourceRequest. # noqa: E501
|
|
134
115
|
:rtype: dict(str, object)
|
|
@@ -139,6 +120,7 @@ class CreateSourceRequest(object):
|
|
|
139
120
|
def properties(self, properties):
|
|
140
121
|
"""Sets the properties of this CreateSourceRequest.
|
|
141
122
|
|
|
123
|
+
Additional properties that required to read the data from source. Please refer to the documentation for this source type # noqa: E501
|
|
142
124
|
|
|
143
125
|
:param properties: The properties of this CreateSourceRequest. # noqa: E501
|
|
144
126
|
:type: dict(str, object)
|
|
@@ -146,10 +128,36 @@ class CreateSourceRequest(object):
|
|
|
146
128
|
|
|
147
129
|
self._properties = properties
|
|
148
130
|
|
|
131
|
+
@property
|
|
132
|
+
def stream(self):
|
|
133
|
+
"""Gets the stream of this CreateSourceRequest. # noqa: E501
|
|
134
|
+
|
|
135
|
+
The name of the target stream that this source writes to. The stream needs to be created first. # noqa: E501
|
|
136
|
+
|
|
137
|
+
:return: The stream of this CreateSourceRequest. # noqa: E501
|
|
138
|
+
:rtype: str
|
|
139
|
+
"""
|
|
140
|
+
return self._stream
|
|
141
|
+
|
|
142
|
+
@stream.setter
|
|
143
|
+
def stream(self, stream):
|
|
144
|
+
"""Sets the stream of this CreateSourceRequest.
|
|
145
|
+
|
|
146
|
+
The name of the target stream that this source writes to. The stream needs to be created first. # noqa: E501
|
|
147
|
+
|
|
148
|
+
:param stream: The stream of this CreateSourceRequest. # noqa: E501
|
|
149
|
+
:type: str
|
|
150
|
+
"""
|
|
151
|
+
if stream is None:
|
|
152
|
+
raise ValueError("Invalid value for `stream`, must not be `None`") # noqa: E501
|
|
153
|
+
|
|
154
|
+
self._stream = stream
|
|
155
|
+
|
|
149
156
|
@property
|
|
150
157
|
def type(self):
|
|
151
158
|
"""Gets the type of this CreateSourceRequest. # noqa: E501
|
|
152
159
|
|
|
160
|
+
Type of the source # noqa: E501
|
|
153
161
|
|
|
154
162
|
:return: The type of this CreateSourceRequest. # noqa: E501
|
|
155
163
|
:rtype: str
|
|
@@ -160,6 +168,7 @@ class CreateSourceRequest(object):
|
|
|
160
168
|
def type(self, type):
|
|
161
169
|
"""Sets the type of this CreateSourceRequest.
|
|
162
170
|
|
|
171
|
+
Type of the source # noqa: E501
|
|
163
172
|
|
|
164
173
|
:param type: The type of this CreateSourceRequest. # noqa: E501
|
|
165
174
|
:type: str
|