From d6382d31b1e126597418d22380df40a30c616989 Mon Sep 17 00:00:00 2001 From: Dan Homola Date: Wed, 18 Mar 2026 13:43:00 +0100 Subject: [PATCH 1/4] chore: re-generate api-client This is to bring in the new attribute filter types. JIRA: CQ-2005 risk: low --- gooddata-api-client/.openapi-generator/FILES | 24 + gooddata-api-client/README.md | 20 + gooddata-api-client/docs/APITokensApi.md | 10 - gooddata-api-client/docs/ActionsApi.md | 577 ++++++++ .../docs/AnalyticalDashboardControllerApi.md | 10 - .../docs/ApiTokenControllerApi.md | 10 - .../docs/AttributeHierarchiesApi.md | 10 - .../docs/AttributeHierarchyControllerApi.md | 10 - .../docs/AutomationControllerApi.md | 10 - gooddata-api-client/docs/AutomationsApi.md | 10 - .../CustomApplicationSettingControllerApi.md | 10 - .../docs/CustomGeoCollectionControllerApi.md | 10 - .../docs/DashboardArbitraryAttributeFilter.md | 12 + ...AttributeFilterArbitraryAttributeFilter.md | 18 + gooddata-api-client/docs/DashboardFilter.md | 2 + .../docs/DashboardMatchAttributeFilter.md | 12 + ...atchAttributeFilterMatchAttributeFilter.md | 18 + .../docs/DashboardPluginControllerApi.md | 10 - .../docs/DashboardSummaryRequestDto.md | 20 + .../docs/DashboardSummaryResponseDto.md | 14 + gooddata-api-client/docs/DashboardsApi.md | 10 - gooddata-api-client/docs/DataFiltersApi.md | 30 - .../docs/DataSourceControllerApi.md | 10 - .../docs/DataSourceEntityAPIsApi.md | 10 - gooddata-api-client/docs/EntitiesApi.md | 190 --- .../docs/ExportDefinitionControllerApi.md | 10 - .../docs/ExportDefinitionsApi.md | 10 - .../docs/FeedbackRequestDto.md | 12 + gooddata-api-client/docs/FilterContextApi.md | 10 - .../docs/FilterContextControllerApi.md | 10 - .../docs/FilterViewControllerApi.md | 10 - gooddata-api-client/docs/FilterViewsApi.md | 10 - gooddata-api-client/docs/GeographicDataApi.md | 10 - gooddata-api-client/docs/JWKSApi.md | 10 - gooddata-api-client/docs/JwkControllerApi.md | 10 - .../KnowledgeRecommendationsRequestDto.md | 27 + .../KnowledgeRecommendationsResponseDto.md | 14 + .../docs/MetricControllerApi.md | 10 - gooddata-api-client/docs/MetricsApi.md | 10 - gooddata-api-client/docs/PluginsApi.md | 10 - .../docs/UserDataFilterControllerApi.md | 10 - .../docs/UserSettingControllerApi.md | 10 - gooddata-api-client/docs/UserSettingsApi.md | 10 - .../docs/VisualizationObjectApi.md | 10 - .../docs/VisualizationObjectControllerApi.md | 10 - .../WorkflowDashboardSummaryRequestDto.md | 15 + .../WorkflowDashboardSummaryResponseDto.md | 14 + .../docs/WorkflowStatusResponseDto.md | 17 + .../docs/WorkspaceDataFilterControllerApi.md | 10 - ...WorkspaceDataFilterSettingControllerApi.md | 10 - .../docs/WorkspaceSettingControllerApi.md | 10 - .../docs/WorkspacesSettingsApi.md | 20 - .../gooddata_api_client/api/actions_api.py | 1304 ++++++++++++++++- .../analytical_dashboard_controller_api.py | 6 - .../api/api_token_controller_api.py | 6 - .../gooddata_api_client/api/api_tokens_api.py | 6 - .../api/attribute_hierarchies_api.py | 6 - .../api/attribute_hierarchy_controller_api.py | 6 - .../api/automation_controller_api.py | 6 - .../api/automations_api.py | 6 - ...stom_application_setting_controller_api.py | 6 - .../custom_geo_collection_controller_api.py | 6 - .../api/dashboard_plugin_controller_api.py | 6 - .../gooddata_api_client/api/dashboards_api.py | 6 - .../api/data_filters_api.py | 18 - .../api/data_source_controller_api.py | 6 - .../api/data_source_entity_apis_api.py | 6 - .../gooddata_api_client/api/entities_api.py | 114 -- .../api/export_definition_controller_api.py | 6 - .../api/export_definitions_api.py | 6 - .../api/filter_context_api.py | 6 - .../api/filter_context_controller_api.py | 6 - .../api/filter_view_controller_api.py | 6 - .../api/filter_views_api.py | 6 - .../api/geographic_data_api.py | 6 - .../api/jwk_controller_api.py | 6 - .../gooddata_api_client/api/jwks_api.py | 6 - .../api/metric_controller_api.py | 6 - .../gooddata_api_client/api/metrics_api.py | 6 - .../gooddata_api_client/api/plugins_api.py | 6 - .../api/user_data_filter_controller_api.py | 6 - .../api/user_setting_controller_api.py | 6 - .../api/user_settings_api.py | 6 - .../api/visualization_object_api.py | 6 - .../visualization_object_controller_api.py | 6 - .../workspace_data_filter_controller_api.py | 6 - ...pace_data_filter_setting_controller_api.py | 6 - .../api/workspace_setting_controller_api.py | 6 - .../api/workspaces_settings_api.py | 12 - .../attribute_header_attribute_header.py | 1 + .../model/column_override.py | 1 + .../dashboard_arbitrary_attribute_filter.py | 276 ++++ ...ibute_filter_arbitrary_attribute_filter.py | 308 ++++ .../model/dashboard_filter.py | 18 + .../model/dashboard_match_attribute_filter.py | 276 ++++ ...attribute_filter_match_attribute_filter.py | 313 ++++ .../model/dashboard_summary_request_dto.py | 302 ++++ .../model/dashboard_summary_response_dto.py | 282 ++++ .../model/declarative_label.py | 1 + .../model/declarative_setting.py | 1 + .../model/feedback_request_dto.py | 274 ++++ .../model/json_api_label_out_attributes.py | 1 + ..._api_organization_setting_in_attributes.py | 1 + .../model/key_drivers_dimension.py | 1 + .../knowledge_recommendations_request_dto.py | 341 +++++ .../knowledge_recommendations_response_dto.py | 282 ++++ .../model/resolved_setting.py | 1 + .../workflow_dashboard_summary_request_dto.py | 282 ++++ ...workflow_dashboard_summary_response_dto.py | 282 ++++ .../model/workflow_status_response_dto.py | 294 ++++ .../gooddata_api_client/models/__init__.py | 12 + schemas/gooddata-afm-client.json | 588 +++++++- schemas/gooddata-api-client.json | 879 ++++++++--- schemas/gooddata-automation-client.json | 100 ++ schemas/gooddata-export-client.json | 100 ++ schemas/gooddata-metadata-client.json | 291 ++-- schemas/gooddata-result-client.json | 2 +- 117 files changed, 7228 insertions(+), 1314 deletions(-) create mode 100644 gooddata-api-client/docs/DashboardArbitraryAttributeFilter.md create mode 100644 gooddata-api-client/docs/DashboardArbitraryAttributeFilterArbitraryAttributeFilter.md create mode 100644 gooddata-api-client/docs/DashboardMatchAttributeFilter.md create mode 100644 gooddata-api-client/docs/DashboardMatchAttributeFilterMatchAttributeFilter.md create mode 100644 gooddata-api-client/docs/DashboardSummaryRequestDto.md create mode 100644 gooddata-api-client/docs/DashboardSummaryResponseDto.md create mode 100644 gooddata-api-client/docs/FeedbackRequestDto.md create mode 100644 gooddata-api-client/docs/KnowledgeRecommendationsRequestDto.md create mode 100644 gooddata-api-client/docs/KnowledgeRecommendationsResponseDto.md create mode 100644 gooddata-api-client/docs/WorkflowDashboardSummaryRequestDto.md create mode 100644 gooddata-api-client/docs/WorkflowDashboardSummaryResponseDto.md create mode 100644 gooddata-api-client/docs/WorkflowStatusResponseDto.md create mode 100644 gooddata-api-client/gooddata_api_client/model/dashboard_arbitrary_attribute_filter.py create mode 100644 gooddata-api-client/gooddata_api_client/model/dashboard_arbitrary_attribute_filter_arbitrary_attribute_filter.py create mode 100644 gooddata-api-client/gooddata_api_client/model/dashboard_match_attribute_filter.py create mode 100644 gooddata-api-client/gooddata_api_client/model/dashboard_match_attribute_filter_match_attribute_filter.py create mode 100644 gooddata-api-client/gooddata_api_client/model/dashboard_summary_request_dto.py create mode 100644 gooddata-api-client/gooddata_api_client/model/dashboard_summary_response_dto.py create mode 100644 gooddata-api-client/gooddata_api_client/model/feedback_request_dto.py create mode 100644 gooddata-api-client/gooddata_api_client/model/knowledge_recommendations_request_dto.py create mode 100644 gooddata-api-client/gooddata_api_client/model/knowledge_recommendations_response_dto.py create mode 100644 gooddata-api-client/gooddata_api_client/model/workflow_dashboard_summary_request_dto.py create mode 100644 gooddata-api-client/gooddata_api_client/model/workflow_dashboard_summary_response_dto.py create mode 100644 gooddata-api-client/gooddata_api_client/model/workflow_status_response_dto.py diff --git a/gooddata-api-client/.openapi-generator/FILES b/gooddata-api-client/.openapi-generator/FILES index c19e2f23e..2d214b9cc 100644 --- a/gooddata-api-client/.openapi-generator/FILES +++ b/gooddata-api-client/.openapi-generator/FILES @@ -217,6 +217,8 @@ docs/CustomGeoCollectionControllerApi.md docs/CustomLabel.md docs/CustomMetric.md docs/CustomOverride.md +docs/DashboardArbitraryAttributeFilter.md +docs/DashboardArbitraryAttributeFilterArbitraryAttributeFilter.md docs/DashboardAttributeFilter.md docs/DashboardAttributeFilterAttributeFilter.md docs/DashboardContext.md @@ -225,10 +227,14 @@ docs/DashboardDateFilter.md docs/DashboardDateFilterDateFilter.md docs/DashboardExportSettings.md docs/DashboardFilter.md +docs/DashboardMatchAttributeFilter.md +docs/DashboardMatchAttributeFilterMatchAttributeFilter.md docs/DashboardPermissions.md docs/DashboardPermissionsAssignment.md docs/DashboardPluginControllerApi.md docs/DashboardSlidesTemplate.md +docs/DashboardSummaryRequestDto.md +docs/DashboardSummaryResponseDto.md docs/DashboardTabularExportRequest.md docs/DashboardTabularExportRequestV2.md docs/DashboardsApi.md @@ -396,6 +402,7 @@ docs/FactIdentifier.md docs/FactsApi.md docs/FailedOperation.md docs/FailedOperationAllOf.md +docs/FeedbackRequestDto.md docs/File.md docs/Filter.md docs/FilterBy.md @@ -1057,6 +1064,8 @@ docs/KeyDriversRequest.md docs/KeyDriversResponse.md docs/KeyDriversResult.md docs/KnowledgeDocumentMetadataDto.md +docs/KnowledgeRecommendationsRequestDto.md +docs/KnowledgeRecommendationsResponseDto.md docs/KnowledgeSearchResultDto.md docs/LDMDeclarativeAPIsApi.md docs/LLMEndpointsApi.md @@ -1343,6 +1352,9 @@ docs/WhatIfScenarioConfig.md docs/WhatIfScenarioItem.md docs/WidgetDescriptor.md docs/WidgetSlidesTemplate.md +docs/WorkflowDashboardSummaryRequestDto.md +docs/WorkflowDashboardSummaryResponseDto.md +docs/WorkflowStatusResponseDto.md docs/WorkspaceAutomationIdentifier.md docs/WorkspaceAutomationManagementBulkRequest.md docs/WorkspaceCacheSettings.md @@ -1671,6 +1683,8 @@ gooddata_api_client/model/csv_read_options.py gooddata_api_client/model/custom_label.py gooddata_api_client/model/custom_metric.py gooddata_api_client/model/custom_override.py +gooddata_api_client/model/dashboard_arbitrary_attribute_filter.py +gooddata_api_client/model/dashboard_arbitrary_attribute_filter_arbitrary_attribute_filter.py gooddata_api_client/model/dashboard_attribute_filter.py gooddata_api_client/model/dashboard_attribute_filter_attribute_filter.py gooddata_api_client/model/dashboard_context.py @@ -1679,9 +1693,13 @@ gooddata_api_client/model/dashboard_date_filter.py gooddata_api_client/model/dashboard_date_filter_date_filter.py gooddata_api_client/model/dashboard_export_settings.py gooddata_api_client/model/dashboard_filter.py +gooddata_api_client/model/dashboard_match_attribute_filter.py +gooddata_api_client/model/dashboard_match_attribute_filter_match_attribute_filter.py gooddata_api_client/model/dashboard_permissions.py gooddata_api_client/model/dashboard_permissions_assignment.py gooddata_api_client/model/dashboard_slides_template.py +gooddata_api_client/model/dashboard_summary_request_dto.py +gooddata_api_client/model/dashboard_summary_response_dto.py gooddata_api_client/model/dashboard_tabular_export_request.py gooddata_api_client/model/dashboard_tabular_export_request_v2.py gooddata_api_client/model/data_column_locator.py @@ -1828,6 +1846,7 @@ gooddata_api_client/model/export_result.py gooddata_api_client/model/fact_identifier.py gooddata_api_client/model/failed_operation.py gooddata_api_client/model/failed_operation_all_of.py +gooddata_api_client/model/feedback_request_dto.py gooddata_api_client/model/file.py gooddata_api_client/model/filter.py gooddata_api_client/model/filter_by.py @@ -2477,6 +2496,8 @@ gooddata_api_client/model/key_drivers_request.py gooddata_api_client/model/key_drivers_response.py gooddata_api_client/model/key_drivers_result.py gooddata_api_client/model/knowledge_document_metadata_dto.py +gooddata_api_client/model/knowledge_recommendations_request_dto.py +gooddata_api_client/model/knowledge_recommendations_response_dto.py gooddata_api_client/model/knowledge_search_result_dto.py gooddata_api_client/model/label_identifier.py gooddata_api_client/model/list_database_instances_response.py @@ -2720,6 +2741,9 @@ gooddata_api_client/model/what_if_scenario_config.py gooddata_api_client/model/what_if_scenario_item.py gooddata_api_client/model/widget_descriptor.py gooddata_api_client/model/widget_slides_template.py +gooddata_api_client/model/workflow_dashboard_summary_request_dto.py +gooddata_api_client/model/workflow_dashboard_summary_response_dto.py +gooddata_api_client/model/workflow_status_response_dto.py gooddata_api_client/model/workspace_automation_identifier.py gooddata_api_client/model/workspace_automation_management_bulk_request.py gooddata_api_client/model/workspace_cache_settings.py diff --git a/gooddata-api-client/README.md b/gooddata-api-client/README.md index 1081d7f63..e0d17f148 100644 --- a/gooddata-api-client/README.md +++ b/gooddata-api-client/README.md @@ -542,6 +542,8 @@ Class | Method | HTTP request | Description *ActionsApi* | [**anomaly_detection_result**](docs/ActionsApi.md#anomaly_detection_result) | **GET** /api/v1/actions/workspaces/{workspaceId}/execution/functions/anomalyDetection/result/{resultId} | (EXPERIMENTAL) Smart functions - Anomaly Detection Result *ActionsApi* | [**available_assignees**](docs/ActionsApi.md#available_assignees) | **GET** /api/v1/actions/workspaces/{workspaceId}/analyticalDashboards/{dashboardId}/availableAssignees | Get Available Assignees *ActionsApi* | [**cancel_executions**](docs/ActionsApi.md#cancel_executions) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/afm/cancel | Applies all the given cancel tokens. +*ActionsApi* | [**cancel_workflow**](docs/ActionsApi.md#cancel_workflow) | **POST** /api/v1/actions/workspaces/{workspaceId}/ai/workflow/{runId}/cancel | +*ActionsApi* | [**cancel_workflow1**](docs/ActionsApi.md#cancel_workflow1) | **POST** /api/v1/actions/workspaces/{workspaceId}/ai/agent/{runId}/cancel | *ActionsApi* | [**change_analysis**](docs/ActionsApi.md#change_analysis) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/computeChangeAnalysis | Compute change analysis *ActionsApi* | [**change_analysis_result**](docs/ActionsApi.md#change_analysis_result) | **GET** /api/v1/actions/workspaces/{workspaceId}/execution/computeChangeAnalysis/result/{resultId} | Get change analysis result *ActionsApi* | [**check_entity_overrides**](docs/ActionsApi.md#check_entity_overrides) | **POST** /api/v1/actions/workspaces/{workspaceId}/checkEntityOverrides | Finds entities with given ID in hierarchy. @@ -572,7 +574,10 @@ Class | Method | HTTP request | Description *ActionsApi* | [**explain_afm**](docs/ActionsApi.md#explain_afm) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/afm/explain | AFM explain resource. *ActionsApi* | [**forecast**](docs/ActionsApi.md#forecast) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/functions/forecast/{resultId} | (BETA) Smart functions - Forecast *ActionsApi* | [**forecast_result**](docs/ActionsApi.md#forecast_result) | **GET** /api/v1/actions/workspaces/{workspaceId}/execution/functions/forecast/result/{resultId} | (BETA) Smart functions - Forecast Result +*ActionsApi* | [**generate_dashboard_summary**](docs/ActionsApi.md#generate_dashboard_summary) | **POST** /api/v1/actions/workspaces/{workspaceId}/ai/workflow/dashboardSummary | +*ActionsApi* | [**generate_dashboard_summary1**](docs/ActionsApi.md#generate_dashboard_summary1) | **POST** /api/v1/actions/workspaces/{workspaceId}/ai/agent/dashboardSummary | *ActionsApi* | [**generate_description**](docs/ActionsApi.md#generate_description) | **POST** /api/v1/actions/workspaces/{workspaceId}/ai/analyticsCatalog/generateDescription | Generate Description for Analytics Object +*ActionsApi* | [**generate_knowledge_recommendations**](docs/ActionsApi.md#generate_knowledge_recommendations) | **POST** /api/v1/actions/workspaces/{workspaceId}/ai/agent/knowledgeRecommendations | *ActionsApi* | [**generate_logical_model**](docs/ActionsApi.md#generate_logical_model) | **POST** /api/v1/actions/dataSources/{dataSourceId}/generateLogicalModel | Generate logical data model (LDM) from physical data model (PDM) *ActionsApi* | [**generate_logical_model_aac**](docs/ActionsApi.md#generate_logical_model_aac) | **POST** /api/v1/actions/dataSources/{dataSourceId}/generateLogicalModelAac | Generate logical data model in AAC format from physical data model (PDM) *ActionsApi* | [**generate_title**](docs/ActionsApi.md#generate_title) | **POST** /api/v1/actions/workspaces/{workspaceId}/ai/analyticsCatalog/generateTitle | Generate Title for Analytics Object @@ -592,6 +597,8 @@ Class | Method | HTTP request | Description *ActionsApi* | [**get_slides_export_metadata**](docs/ActionsApi.md#get_slides_export_metadata) | **GET** /api/v1/actions/workspaces/{workspaceId}/export/slides/{exportId}/metadata | (EXPERIMENTAL) Retrieve metadata context *ActionsApi* | [**get_tabular_export**](docs/ActionsApi.md#get_tabular_export) | **GET** /api/v1/actions/workspaces/{workspaceId}/export/tabular/{exportId} | Retrieve exported files *ActionsApi* | [**get_translation_tags**](docs/ActionsApi.md#get_translation_tags) | **GET** /api/v1/actions/workspaces/{workspaceId}/translations | Get translation tags. +*ActionsApi* | [**get_workflow_status**](docs/ActionsApi.md#get_workflow_status) | **GET** /api/v1/actions/workspaces/{workspaceId}/ai/workflow/{runId}/status | +*ActionsApi* | [**get_workflow_status1**](docs/ActionsApi.md#get_workflow_status1) | **GET** /api/v1/actions/workspaces/{workspaceId}/ai/agent/{runId}/status | *ActionsApi* | [**import_csv**](docs/ActionsApi.md#import_csv) | **POST** /api/v1/actions/fileStorage/dataSources/{dataSourceId}/importCsv | Import CSV *ActionsApi* | [**import_custom_geo_collection**](docs/ActionsApi.md#import_custom_geo_collection) | **POST** /api/v1/actions/customGeoCollection/{collectionId}/import | Import custom geo collection *ActionsApi* | [**inherited_entity_conflicts**](docs/ActionsApi.md#inherited_entity_conflicts) | **GET** /api/v1/actions/workspaces/{workspaceId}/inheritedEntityConflicts | Finds identifier conflicts in workspace hierarchy. @@ -659,6 +666,7 @@ Class | Method | HTTP request | Description *ActionsApi* | [**unsubscribe_selected_workspace_automations**](docs/ActionsApi.md#unsubscribe_selected_workspace_automations) | **POST** /api/v1/actions/workspaces/{workspaceId}/automations/unsubscribe | Unsubscribe from selected automations in the workspace *ActionsApi* | [**unsubscribe_workspace_automations**](docs/ActionsApi.md#unsubscribe_workspace_automations) | **DELETE** /api/v1/actions/workspaces/{workspaceId}/automations/unsubscribe | Unsubscribe from all automations in the workspace *ActionsApi* | [**upsert_document**](docs/ActionsApi.md#upsert_document) | **PUT** /api/v1/actions/workspaces/{workspaceId}/ai/knowledge/documents | +*ActionsApi* | [**user_feedback**](docs/ActionsApi.md#user_feedback) | **POST** /api/v1/actions/workspaces/{workspaceId}/ai/agent/{runId}/feedback | *ActionsApi* | [**validate_llm_endpoint**](docs/ActionsApi.md#validate_llm_endpoint) | **POST** /api/v1/actions/ai/llmEndpoint/test | Validate LLM Endpoint *ActionsApi* | [**validate_llm_endpoint_by_id**](docs/ActionsApi.md#validate_llm_endpoint_by_id) | **POST** /api/v1/actions/ai/llmEndpoint/{llmEndpointId}/test | Validate LLM Endpoint By Id *ActionsApi* | [**workspace_resolve_all_settings**](docs/ActionsApi.md#workspace_resolve_all_settings) | **GET** /api/v1/actions/workspaces/{workspaceId}/resolveSettings | Values for all settings. @@ -1396,6 +1404,8 @@ Class | Method | HTTP request | Description - [CustomLabel](docs/CustomLabel.md) - [CustomMetric](docs/CustomMetric.md) - [CustomOverride](docs/CustomOverride.md) + - [DashboardArbitraryAttributeFilter](docs/DashboardArbitraryAttributeFilter.md) + - [DashboardArbitraryAttributeFilterArbitraryAttributeFilter](docs/DashboardArbitraryAttributeFilterArbitraryAttributeFilter.md) - [DashboardAttributeFilter](docs/DashboardAttributeFilter.md) - [DashboardAttributeFilterAttributeFilter](docs/DashboardAttributeFilterAttributeFilter.md) - [DashboardContext](docs/DashboardContext.md) @@ -1404,9 +1414,13 @@ Class | Method | HTTP request | Description - [DashboardDateFilterDateFilter](docs/DashboardDateFilterDateFilter.md) - [DashboardExportSettings](docs/DashboardExportSettings.md) - [DashboardFilter](docs/DashboardFilter.md) + - [DashboardMatchAttributeFilter](docs/DashboardMatchAttributeFilter.md) + - [DashboardMatchAttributeFilterMatchAttributeFilter](docs/DashboardMatchAttributeFilterMatchAttributeFilter.md) - [DashboardPermissions](docs/DashboardPermissions.md) - [DashboardPermissionsAssignment](docs/DashboardPermissionsAssignment.md) - [DashboardSlidesTemplate](docs/DashboardSlidesTemplate.md) + - [DashboardSummaryRequestDto](docs/DashboardSummaryRequestDto.md) + - [DashboardSummaryResponseDto](docs/DashboardSummaryResponseDto.md) - [DashboardTabularExportRequest](docs/DashboardTabularExportRequest.md) - [DashboardTabularExportRequestV2](docs/DashboardTabularExportRequestV2.md) - [DataColumnLocator](docs/DataColumnLocator.md) @@ -1553,6 +1567,7 @@ Class | Method | HTTP request | Description - [FactIdentifier](docs/FactIdentifier.md) - [FailedOperation](docs/FailedOperation.md) - [FailedOperationAllOf](docs/FailedOperationAllOf.md) + - [FeedbackRequestDto](docs/FeedbackRequestDto.md) - [File](docs/File.md) - [Filter](docs/Filter.md) - [FilterBy](docs/FilterBy.md) @@ -2202,6 +2217,8 @@ Class | Method | HTTP request | Description - [KeyDriversResponse](docs/KeyDriversResponse.md) - [KeyDriversResult](docs/KeyDriversResult.md) - [KnowledgeDocumentMetadataDto](docs/KnowledgeDocumentMetadataDto.md) + - [KnowledgeRecommendationsRequestDto](docs/KnowledgeRecommendationsRequestDto.md) + - [KnowledgeRecommendationsResponseDto](docs/KnowledgeRecommendationsResponseDto.md) - [KnowledgeSearchResultDto](docs/KnowledgeSearchResultDto.md) - [LabelIdentifier](docs/LabelIdentifier.md) - [ListDatabaseInstancesResponse](docs/ListDatabaseInstancesResponse.md) @@ -2445,6 +2462,9 @@ Class | Method | HTTP request | Description - [WhatIfScenarioItem](docs/WhatIfScenarioItem.md) - [WidgetDescriptor](docs/WidgetDescriptor.md) - [WidgetSlidesTemplate](docs/WidgetSlidesTemplate.md) + - [WorkflowDashboardSummaryRequestDto](docs/WorkflowDashboardSummaryRequestDto.md) + - [WorkflowDashboardSummaryResponseDto](docs/WorkflowDashboardSummaryResponseDto.md) + - [WorkflowStatusResponseDto](docs/WorkflowStatusResponseDto.md) - [WorkspaceAutomationIdentifier](docs/WorkspaceAutomationIdentifier.md) - [WorkspaceAutomationManagementBulkRequest](docs/WorkspaceAutomationManagementBulkRequest.md) - [WorkspaceCacheSettings](docs/WorkspaceCacheSettings.md) diff --git a/gooddata-api-client/docs/APITokensApi.md b/gooddata-api-client/docs/APITokensApi.md index db1091142..3573b3313 100644 --- a/gooddata-api-client/docs/APITokensApi.md +++ b/gooddata-api-client/docs/APITokensApi.md @@ -109,7 +109,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance = api_tokens_api.APITokensApi(api_client) user_id = "userId_example" # str | id = "/6bUUGjjNSwg0_bs" # str | - filter = "bearerToken==someString" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) # example passing only required values which don't have defaults set try: @@ -117,14 +116,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance.delete_entity_api_tokens(user_id, id) except gooddata_api_client.ApiException as e: print("Exception when calling APITokensApi->delete_entity_api_tokens: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Delete an API Token for a user - api_instance.delete_entity_api_tokens(user_id, id, filter=filter) - except gooddata_api_client.ApiException as e: - print("Exception when calling APITokensApi->delete_entity_api_tokens: %s\n" % e) ``` @@ -134,7 +125,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **user_id** | **str**| | **id** | **str**| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] ### Return type diff --git a/gooddata-api-client/docs/ActionsApi.md b/gooddata-api-client/docs/ActionsApi.md index 5662f810b..fae9b50d3 100644 --- a/gooddata-api-client/docs/ActionsApi.md +++ b/gooddata-api-client/docs/ActionsApi.md @@ -15,6 +15,8 @@ Method | HTTP request | Description [**anomaly_detection_result**](ActionsApi.md#anomaly_detection_result) | **GET** /api/v1/actions/workspaces/{workspaceId}/execution/functions/anomalyDetection/result/{resultId} | (EXPERIMENTAL) Smart functions - Anomaly Detection Result [**available_assignees**](ActionsApi.md#available_assignees) | **GET** /api/v1/actions/workspaces/{workspaceId}/analyticalDashboards/{dashboardId}/availableAssignees | Get Available Assignees [**cancel_executions**](ActionsApi.md#cancel_executions) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/afm/cancel | Applies all the given cancel tokens. +[**cancel_workflow**](ActionsApi.md#cancel_workflow) | **POST** /api/v1/actions/workspaces/{workspaceId}/ai/workflow/{runId}/cancel | +[**cancel_workflow1**](ActionsApi.md#cancel_workflow1) | **POST** /api/v1/actions/workspaces/{workspaceId}/ai/agent/{runId}/cancel | [**change_analysis**](ActionsApi.md#change_analysis) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/computeChangeAnalysis | Compute change analysis [**change_analysis_result**](ActionsApi.md#change_analysis_result) | **GET** /api/v1/actions/workspaces/{workspaceId}/execution/computeChangeAnalysis/result/{resultId} | Get change analysis result [**check_entity_overrides**](ActionsApi.md#check_entity_overrides) | **POST** /api/v1/actions/workspaces/{workspaceId}/checkEntityOverrides | Finds entities with given ID in hierarchy. @@ -45,7 +47,10 @@ Method | HTTP request | Description [**explain_afm**](ActionsApi.md#explain_afm) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/afm/explain | AFM explain resource. [**forecast**](ActionsApi.md#forecast) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/functions/forecast/{resultId} | (BETA) Smart functions - Forecast [**forecast_result**](ActionsApi.md#forecast_result) | **GET** /api/v1/actions/workspaces/{workspaceId}/execution/functions/forecast/result/{resultId} | (BETA) Smart functions - Forecast Result +[**generate_dashboard_summary**](ActionsApi.md#generate_dashboard_summary) | **POST** /api/v1/actions/workspaces/{workspaceId}/ai/workflow/dashboardSummary | +[**generate_dashboard_summary1**](ActionsApi.md#generate_dashboard_summary1) | **POST** /api/v1/actions/workspaces/{workspaceId}/ai/agent/dashboardSummary | [**generate_description**](ActionsApi.md#generate_description) | **POST** /api/v1/actions/workspaces/{workspaceId}/ai/analyticsCatalog/generateDescription | Generate Description for Analytics Object +[**generate_knowledge_recommendations**](ActionsApi.md#generate_knowledge_recommendations) | **POST** /api/v1/actions/workspaces/{workspaceId}/ai/agent/knowledgeRecommendations | [**generate_logical_model**](ActionsApi.md#generate_logical_model) | **POST** /api/v1/actions/dataSources/{dataSourceId}/generateLogicalModel | Generate logical data model (LDM) from physical data model (PDM) [**generate_logical_model_aac**](ActionsApi.md#generate_logical_model_aac) | **POST** /api/v1/actions/dataSources/{dataSourceId}/generateLogicalModelAac | Generate logical data model in AAC format from physical data model (PDM) [**generate_title**](ActionsApi.md#generate_title) | **POST** /api/v1/actions/workspaces/{workspaceId}/ai/analyticsCatalog/generateTitle | Generate Title for Analytics Object @@ -65,6 +70,8 @@ Method | HTTP request | Description [**get_slides_export_metadata**](ActionsApi.md#get_slides_export_metadata) | **GET** /api/v1/actions/workspaces/{workspaceId}/export/slides/{exportId}/metadata | (EXPERIMENTAL) Retrieve metadata context [**get_tabular_export**](ActionsApi.md#get_tabular_export) | **GET** /api/v1/actions/workspaces/{workspaceId}/export/tabular/{exportId} | Retrieve exported files [**get_translation_tags**](ActionsApi.md#get_translation_tags) | **GET** /api/v1/actions/workspaces/{workspaceId}/translations | Get translation tags. +[**get_workflow_status**](ActionsApi.md#get_workflow_status) | **GET** /api/v1/actions/workspaces/{workspaceId}/ai/workflow/{runId}/status | +[**get_workflow_status1**](ActionsApi.md#get_workflow_status1) | **GET** /api/v1/actions/workspaces/{workspaceId}/ai/agent/{runId}/status | [**import_csv**](ActionsApi.md#import_csv) | **POST** /api/v1/actions/fileStorage/dataSources/{dataSourceId}/importCsv | Import CSV [**import_custom_geo_collection**](ActionsApi.md#import_custom_geo_collection) | **POST** /api/v1/actions/customGeoCollection/{collectionId}/import | Import custom geo collection [**inherited_entity_conflicts**](ActionsApi.md#inherited_entity_conflicts) | **GET** /api/v1/actions/workspaces/{workspaceId}/inheritedEntityConflicts | Finds identifier conflicts in workspace hierarchy. @@ -132,6 +139,7 @@ Method | HTTP request | Description [**unsubscribe_selected_workspace_automations**](ActionsApi.md#unsubscribe_selected_workspace_automations) | **POST** /api/v1/actions/workspaces/{workspaceId}/automations/unsubscribe | Unsubscribe from selected automations in the workspace [**unsubscribe_workspace_automations**](ActionsApi.md#unsubscribe_workspace_automations) | **DELETE** /api/v1/actions/workspaces/{workspaceId}/automations/unsubscribe | Unsubscribe from all automations in the workspace [**upsert_document**](ActionsApi.md#upsert_document) | **PUT** /api/v1/actions/workspaces/{workspaceId}/ai/knowledge/documents | +[**user_feedback**](ActionsApi.md#user_feedback) | **POST** /api/v1/actions/workspaces/{workspaceId}/ai/agent/{runId}/feedback | [**validate_llm_endpoint**](ActionsApi.md#validate_llm_endpoint) | **POST** /api/v1/actions/ai/llmEndpoint/test | Validate LLM Endpoint [**validate_llm_endpoint_by_id**](ActionsApi.md#validate_llm_endpoint_by_id) | **POST** /api/v1/actions/ai/llmEndpoint/{llmEndpointId}/test | Validate LLM Endpoint By Id [**workspace_resolve_all_settings**](ActionsApi.md#workspace_resolve_all_settings) | **GET** /api/v1/actions/workspaces/{workspaceId}/resolveSettings | Values for all settings. @@ -1069,6 +1077,136 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **cancel_workflow** +> {str: (str,)} cancel_workflow(workspace_id, run_id) + + + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import actions_api +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = actions_api.ActionsApi(api_client) + workspace_id = "/6bUUGjjNSwg0_bs" # str | Workspace identifier + run_id = "runId_example" # str | + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.cancel_workflow(workspace_id, run_id) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling ActionsApi->cancel_workflow: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| Workspace identifier | + **run_id** | **str**| | + +### Return type + +**{str: (str,)}** + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **cancel_workflow1** +> {str: (str,)} cancel_workflow1(workspace_id, run_id) + + + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import actions_api +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = actions_api.ActionsApi(api_client) + workspace_id = "/6bUUGjjNSwg0_bs" # str | Workspace identifier + run_id = "runId_example" # str | + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.cancel_workflow1(workspace_id, run_id) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling ActionsApi->cancel_workflow1: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| Workspace identifier | + **run_id** | **str**| | + +### Return type + +**{str: (str,)}** + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **change_analysis** > ChangeAnalysisResponse change_analysis(workspace_id, change_analysis_request) @@ -3712,6 +3850,159 @@ No authorization required - **Accept**: application/json +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **generate_dashboard_summary** +> WorkflowDashboardSummaryResponseDto generate_dashboard_summary(workspace_id, workflow_dashboard_summary_request_dto) + + + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import actions_api +from gooddata_api_client.model.workflow_dashboard_summary_request_dto import WorkflowDashboardSummaryRequestDto +from gooddata_api_client.model.workflow_dashboard_summary_response_dto import WorkflowDashboardSummaryResponseDto +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = actions_api.ActionsApi(api_client) + workspace_id = "/6bUUGjjNSwg0_bs" # str | Workspace identifier + workflow_dashboard_summary_request_dto = WorkflowDashboardSummaryRequestDto( + custom_user_prompt="custom_user_prompt_example", + dashboard_id="dashboard_id_example", + key_metric_ids=[ + "key_metric_ids_example", + ], + reference_quarter="reference_quarter_example", + ) # WorkflowDashboardSummaryRequestDto | + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.generate_dashboard_summary(workspace_id, workflow_dashboard_summary_request_dto) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling ActionsApi->generate_dashboard_summary: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| Workspace identifier | + **workflow_dashboard_summary_request_dto** | [**WorkflowDashboardSummaryRequestDto**](WorkflowDashboardSummaryRequestDto.md)| | + +### Return type + +[**WorkflowDashboardSummaryResponseDto**](WorkflowDashboardSummaryResponseDto.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **generate_dashboard_summary1** +> DashboardSummaryResponseDto generate_dashboard_summary1(workspace_id, dashboard_summary_request_dto) + + + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import actions_api +from gooddata_api_client.model.dashboard_summary_response_dto import DashboardSummaryResponseDto +from gooddata_api_client.model.dashboard_summary_request_dto import DashboardSummaryRequestDto +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = actions_api.ActionsApi(api_client) + workspace_id = "/6bUUGjjNSwg0_bs" # str | Workspace identifier + dashboard_summary_request_dto = DashboardSummaryRequestDto( + ai_model="ai_model_example", + custom_user_prompt="custom_user_prompt_example", + dashboard_id="dashboard_id_example", + dry_run=True, + gooddata_host="gooddata_host_example", + gooddata_token="gooddata_token_example", + key_metric_ids=[ + "key_metric_ids_example", + ], + reference_quarter="reference_quarter_example", + temperature=3.14, + ) # DashboardSummaryRequestDto | + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.generate_dashboard_summary1(workspace_id, dashboard_summary_request_dto) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling ActionsApi->generate_dashboard_summary1: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| Workspace identifier | + **dashboard_summary_request_dto** | [**DashboardSummaryRequestDto**](DashboardSummaryRequestDto.md)| | + +### Return type + +[**DashboardSummaryResponseDto**](DashboardSummaryResponseDto.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + ### HTTP response details | Status code | Description | Response headers | @@ -3785,6 +4076,90 @@ No authorization required - **Accept**: application/json +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **generate_knowledge_recommendations** +> KnowledgeRecommendationsResponseDto generate_knowledge_recommendations(workspace_id, knowledge_recommendations_request_dto) + + + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import actions_api +from gooddata_api_client.model.knowledge_recommendations_response_dto import KnowledgeRecommendationsResponseDto +from gooddata_api_client.model.knowledge_recommendations_request_dto import KnowledgeRecommendationsRequestDto +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = actions_api.ActionsApi(api_client) + workspace_id = "/6bUUGjjNSwg0_bs" # str | Workspace identifier + knowledge_recommendations_request_dto = KnowledgeRecommendationsRequestDto( + ai_model="ai_model_example", + analytical_dashboard_id="analytical_dashboard_id_example", + analyzed_value=3.14, + comparison_type="MONTH", + direction="INCREASED", + dry_run=True, + gooddata_host="gooddata_host_example", + gooddata_token="gooddata_token_example", + limit=1, + max_tokens=1, + metric_id="metric_id_example", + min_score=3.14, + reference_value=3.14, + temperature=3.14, + widget_id="widget_id_example", + widget_name="widget_name_example", + ) # KnowledgeRecommendationsRequestDto | + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.generate_knowledge_recommendations(workspace_id, knowledge_recommendations_request_dto) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling ActionsApi->generate_knowledge_recommendations: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| Workspace identifier | + **knowledge_recommendations_request_dto** | [**KnowledgeRecommendationsRequestDto**](KnowledgeRecommendationsRequestDto.md)| | + +### Return type + +[**KnowledgeRecommendationsResponseDto**](KnowledgeRecommendationsResponseDto.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + ### HTTP response details | Status code | Description | Response headers | @@ -5246,6 +5621,138 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **get_workflow_status** +> WorkflowStatusResponseDto get_workflow_status(workspace_id, run_id) + + + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import actions_api +from gooddata_api_client.model.workflow_status_response_dto import WorkflowStatusResponseDto +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = actions_api.ActionsApi(api_client) + workspace_id = "/6bUUGjjNSwg0_bs" # str | Workspace identifier + run_id = "runId_example" # str | + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.get_workflow_status(workspace_id, run_id) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling ActionsApi->get_workflow_status: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| Workspace identifier | + **run_id** | **str**| | + +### Return type + +[**WorkflowStatusResponseDto**](WorkflowStatusResponseDto.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_workflow_status1** +> WorkflowStatusResponseDto get_workflow_status1(workspace_id, run_id) + + + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import actions_api +from gooddata_api_client.model.workflow_status_response_dto import WorkflowStatusResponseDto +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = actions_api.ActionsApi(api_client) + workspace_id = "/6bUUGjjNSwg0_bs" # str | Workspace identifier + run_id = "runId_example" # str | + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.get_workflow_status1(workspace_id, run_id) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling ActionsApi->get_workflow_status1: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| Workspace identifier | + **run_id** | **str**| | + +### Return type + +[**WorkflowStatusResponseDto**](WorkflowStatusResponseDto.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **import_csv** > [ImportCsvResponse] import_csv(data_source_id, import_csv_request) @@ -10495,6 +11002,76 @@ No authorization required - **Accept**: application/json +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **user_feedback** +> {str: (str,)} user_feedback(workspace_id, run_id, feedback_request_dto) + + + +### Example + + +```python +import time +import gooddata_api_client +from gooddata_api_client.api import actions_api +from gooddata_api_client.model.feedback_request_dto import FeedbackRequestDto +from pprint import pprint +# Defining the host is optional and defaults to http://localhost +# See configuration.py for a list of all supported configuration parameters. +configuration = gooddata_api_client.Configuration( + host = "http://localhost" +) + + +# Enter a context with an instance of the API client +with gooddata_api_client.ApiClient() as api_client: + # Create an instance of the API class + api_instance = actions_api.ActionsApi(api_client) + workspace_id = "/6bUUGjjNSwg0_bs" # str | Workspace identifier + run_id = "runId_example" # str | + feedback_request_dto = FeedbackRequestDto( + sentiment="POSITIVE", + ) # FeedbackRequestDto | + + # example passing only required values which don't have defaults set + try: + api_response = api_instance.user_feedback(workspace_id, run_id, feedback_request_dto) + pprint(api_response) + except gooddata_api_client.ApiException as e: + print("Exception when calling ActionsApi->user_feedback: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **workspace_id** | **str**| Workspace identifier | + **run_id** | **str**| | + **feedback_request_dto** | [**FeedbackRequestDto**](FeedbackRequestDto.md)| | + +### Return type + +**{str: (str,)}** + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + ### HTTP response details | Status code | Description | Response headers | diff --git a/gooddata-api-client/docs/AnalyticalDashboardControllerApi.md b/gooddata-api-client/docs/AnalyticalDashboardControllerApi.md index f9c0b96bc..f870e9410 100644 --- a/gooddata-api-client/docs/AnalyticalDashboardControllerApi.md +++ b/gooddata-api-client/docs/AnalyticalDashboardControllerApi.md @@ -139,7 +139,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance = analytical_dashboard_controller_api.AnalyticalDashboardControllerApi(api_client) workspace_id = "workspaceId_example" # str | object_id = "objectId_example" # str | - filter = "title==someString;description==someString;createdBy.id==321;modifiedBy.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) # example passing only required values which don't have defaults set try: @@ -147,14 +146,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance.delete_entity_analytical_dashboards(workspace_id, object_id) except gooddata_api_client.ApiException as e: print("Exception when calling AnalyticalDashboardControllerApi->delete_entity_analytical_dashboards: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Delete a Dashboard - api_instance.delete_entity_analytical_dashboards(workspace_id, object_id, filter=filter) - except gooddata_api_client.ApiException as e: - print("Exception when calling AnalyticalDashboardControllerApi->delete_entity_analytical_dashboards: %s\n" % e) ``` @@ -164,7 +155,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **workspace_id** | **str**| | **object_id** | **str**| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] ### Return type diff --git a/gooddata-api-client/docs/ApiTokenControllerApi.md b/gooddata-api-client/docs/ApiTokenControllerApi.md index ee8ae5568..2c5434d78 100644 --- a/gooddata-api-client/docs/ApiTokenControllerApi.md +++ b/gooddata-api-client/docs/ApiTokenControllerApi.md @@ -109,7 +109,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance = api_token_controller_api.ApiTokenControllerApi(api_client) user_id = "userId_example" # str | id = "/6bUUGjjNSwg0_bs" # str | - filter = "bearerToken==someString" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) # example passing only required values which don't have defaults set try: @@ -117,14 +116,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance.delete_entity_api_tokens(user_id, id) except gooddata_api_client.ApiException as e: print("Exception when calling ApiTokenControllerApi->delete_entity_api_tokens: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Delete an API Token for a user - api_instance.delete_entity_api_tokens(user_id, id, filter=filter) - except gooddata_api_client.ApiException as e: - print("Exception when calling ApiTokenControllerApi->delete_entity_api_tokens: %s\n" % e) ``` @@ -134,7 +125,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **user_id** | **str**| | **id** | **str**| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] ### Return type diff --git a/gooddata-api-client/docs/AttributeHierarchiesApi.md b/gooddata-api-client/docs/AttributeHierarchiesApi.md index dbcdc632d..762d3a220 100644 --- a/gooddata-api-client/docs/AttributeHierarchiesApi.md +++ b/gooddata-api-client/docs/AttributeHierarchiesApi.md @@ -138,7 +138,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance = attribute_hierarchies_api.AttributeHierarchiesApi(api_client) workspace_id = "workspaceId_example" # str | object_id = "objectId_example" # str | - filter = "title==someString;description==someString;createdBy.id==321;modifiedBy.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) # example passing only required values which don't have defaults set try: @@ -146,14 +145,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance.delete_entity_attribute_hierarchies(workspace_id, object_id) except gooddata_api_client.ApiException as e: print("Exception when calling AttributeHierarchiesApi->delete_entity_attribute_hierarchies: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Delete an Attribute Hierarchy - api_instance.delete_entity_attribute_hierarchies(workspace_id, object_id, filter=filter) - except gooddata_api_client.ApiException as e: - print("Exception when calling AttributeHierarchiesApi->delete_entity_attribute_hierarchies: %s\n" % e) ``` @@ -163,7 +154,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **workspace_id** | **str**| | **object_id** | **str**| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] ### Return type diff --git a/gooddata-api-client/docs/AttributeHierarchyControllerApi.md b/gooddata-api-client/docs/AttributeHierarchyControllerApi.md index f963340f3..26c3543c0 100644 --- a/gooddata-api-client/docs/AttributeHierarchyControllerApi.md +++ b/gooddata-api-client/docs/AttributeHierarchyControllerApi.md @@ -138,7 +138,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance = attribute_hierarchy_controller_api.AttributeHierarchyControllerApi(api_client) workspace_id = "workspaceId_example" # str | object_id = "objectId_example" # str | - filter = "title==someString;description==someString;createdBy.id==321;modifiedBy.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) # example passing only required values which don't have defaults set try: @@ -146,14 +145,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance.delete_entity_attribute_hierarchies(workspace_id, object_id) except gooddata_api_client.ApiException as e: print("Exception when calling AttributeHierarchyControllerApi->delete_entity_attribute_hierarchies: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Delete an Attribute Hierarchy - api_instance.delete_entity_attribute_hierarchies(workspace_id, object_id, filter=filter) - except gooddata_api_client.ApiException as e: - print("Exception when calling AttributeHierarchyControllerApi->delete_entity_attribute_hierarchies: %s\n" % e) ``` @@ -163,7 +154,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **workspace_id** | **str**| | **object_id** | **str**| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] ### Return type diff --git a/gooddata-api-client/docs/AutomationControllerApi.md b/gooddata-api-client/docs/AutomationControllerApi.md index 8ea53a656..207854cec 100644 --- a/gooddata-api-client/docs/AutomationControllerApi.md +++ b/gooddata-api-client/docs/AutomationControllerApi.md @@ -395,7 +395,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance = automation_controller_api.AutomationControllerApi(api_client) workspace_id = "workspaceId_example" # str | object_id = "objectId_example" # str | - filter = "title==someString;description==someString;notificationChannel.id==321;analyticalDashboard.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) # example passing only required values which don't have defaults set try: @@ -403,14 +402,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance.delete_entity_automations(workspace_id, object_id) except gooddata_api_client.ApiException as e: print("Exception when calling AutomationControllerApi->delete_entity_automations: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Delete an Automation - api_instance.delete_entity_automations(workspace_id, object_id, filter=filter) - except gooddata_api_client.ApiException as e: - print("Exception when calling AutomationControllerApi->delete_entity_automations: %s\n" % e) ``` @@ -420,7 +411,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **workspace_id** | **str**| | **object_id** | **str**| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] ### Return type diff --git a/gooddata-api-client/docs/AutomationsApi.md b/gooddata-api-client/docs/AutomationsApi.md index 2722b65e3..65ffbb19c 100644 --- a/gooddata-api-client/docs/AutomationsApi.md +++ b/gooddata-api-client/docs/AutomationsApi.md @@ -412,7 +412,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance = automations_api.AutomationsApi(api_client) workspace_id = "workspaceId_example" # str | object_id = "objectId_example" # str | - filter = "title==someString;description==someString;notificationChannel.id==321;analyticalDashboard.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) # example passing only required values which don't have defaults set try: @@ -420,14 +419,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance.delete_entity_automations(workspace_id, object_id) except gooddata_api_client.ApiException as e: print("Exception when calling AutomationsApi->delete_entity_automations: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Delete an Automation - api_instance.delete_entity_automations(workspace_id, object_id, filter=filter) - except gooddata_api_client.ApiException as e: - print("Exception when calling AutomationsApi->delete_entity_automations: %s\n" % e) ``` @@ -437,7 +428,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **workspace_id** | **str**| | **object_id** | **str**| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] ### Return type diff --git a/gooddata-api-client/docs/CustomApplicationSettingControllerApi.md b/gooddata-api-client/docs/CustomApplicationSettingControllerApi.md index b31cc8818..26cc1d3f8 100644 --- a/gooddata-api-client/docs/CustomApplicationSettingControllerApi.md +++ b/gooddata-api-client/docs/CustomApplicationSettingControllerApi.md @@ -129,7 +129,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance = custom_application_setting_controller_api.CustomApplicationSettingControllerApi(api_client) workspace_id = "workspaceId_example" # str | object_id = "objectId_example" # str | - filter = "applicationName==someString;content==JsonNodeValue" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) # example passing only required values which don't have defaults set try: @@ -137,14 +136,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance.delete_entity_custom_application_settings(workspace_id, object_id) except gooddata_api_client.ApiException as e: print("Exception when calling CustomApplicationSettingControllerApi->delete_entity_custom_application_settings: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Delete a Custom Application Setting - api_instance.delete_entity_custom_application_settings(workspace_id, object_id, filter=filter) - except gooddata_api_client.ApiException as e: - print("Exception when calling CustomApplicationSettingControllerApi->delete_entity_custom_application_settings: %s\n" % e) ``` @@ -154,7 +145,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **workspace_id** | **str**| | **object_id** | **str**| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] ### Return type diff --git a/gooddata-api-client/docs/CustomGeoCollectionControllerApi.md b/gooddata-api-client/docs/CustomGeoCollectionControllerApi.md index acbf75afe..89e1a1579 100644 --- a/gooddata-api-client/docs/CustomGeoCollectionControllerApi.md +++ b/gooddata-api-client/docs/CustomGeoCollectionControllerApi.md @@ -112,7 +112,6 @@ with gooddata_api_client.ApiClient() as api_client: # Create an instance of the API class api_instance = custom_geo_collection_controller_api.CustomGeoCollectionControllerApi(api_client) id = "/6bUUGjjNSwg0_bs" # str | - filter = "name==someString;description==someString" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) # example passing only required values which don't have defaults set try: @@ -120,14 +119,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance.delete_entity_custom_geo_collections(id) except gooddata_api_client.ApiException as e: print("Exception when calling CustomGeoCollectionControllerApi->delete_entity_custom_geo_collections: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Delete Custom Geo Collection - api_instance.delete_entity_custom_geo_collections(id, filter=filter) - except gooddata_api_client.ApiException as e: - print("Exception when calling CustomGeoCollectionControllerApi->delete_entity_custom_geo_collections: %s\n" % e) ``` @@ -136,7 +127,6 @@ with gooddata_api_client.ApiClient() as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **str**| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] ### Return type diff --git a/gooddata-api-client/docs/DashboardArbitraryAttributeFilter.md b/gooddata-api-client/docs/DashboardArbitraryAttributeFilter.md new file mode 100644 index 000000000..ffa2b86fd --- /dev/null +++ b/gooddata-api-client/docs/DashboardArbitraryAttributeFilter.md @@ -0,0 +1,12 @@ +# DashboardArbitraryAttributeFilter + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**arbitrary_attribute_filter** | [**DashboardArbitraryAttributeFilterArbitraryAttributeFilter**](DashboardArbitraryAttributeFilterArbitraryAttributeFilter.md) | | +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/gooddata-api-client/docs/DashboardArbitraryAttributeFilterArbitraryAttributeFilter.md b/gooddata-api-client/docs/DashboardArbitraryAttributeFilterArbitraryAttributeFilter.md new file mode 100644 index 000000000..4a26966e3 --- /dev/null +++ b/gooddata-api-client/docs/DashboardArbitraryAttributeFilterArbitraryAttributeFilter.md @@ -0,0 +1,18 @@ +# DashboardArbitraryAttributeFilterArbitraryAttributeFilter + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**display_form** | [**IdentifierRef**](IdentifierRef.md) | | +**negative_selection** | **bool** | | +**values** | **[str]** | | +**filter_elements_by** | [**[AttributeFilterParent]**](AttributeFilterParent.md) | | [optional] +**filter_elements_by_date** | [**[AttributeFilterByDate]**](AttributeFilterByDate.md) | | [optional] +**local_identifier** | **str** | | [optional] +**title** | **str** | | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/gooddata-api-client/docs/DashboardFilter.md b/gooddata-api-client/docs/DashboardFilter.md index 0ba59320f..9b603399f 100644 --- a/gooddata-api-client/docs/DashboardFilter.md +++ b/gooddata-api-client/docs/DashboardFilter.md @@ -6,6 +6,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **attribute_filter** | [**DashboardAttributeFilterAttributeFilter**](DashboardAttributeFilterAttributeFilter.md) | | [optional] **date_filter** | [**DashboardDateFilterDateFilter**](DashboardDateFilterDateFilter.md) | | [optional] +**arbitrary_attribute_filter** | [**DashboardArbitraryAttributeFilterArbitraryAttributeFilter**](DashboardArbitraryAttributeFilterArbitraryAttributeFilter.md) | | [optional] +**match_attribute_filter** | [**DashboardMatchAttributeFilterMatchAttributeFilter**](DashboardMatchAttributeFilterMatchAttributeFilter.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/gooddata-api-client/docs/DashboardMatchAttributeFilter.md b/gooddata-api-client/docs/DashboardMatchAttributeFilter.md new file mode 100644 index 000000000..d6d150d50 --- /dev/null +++ b/gooddata-api-client/docs/DashboardMatchAttributeFilter.md @@ -0,0 +1,12 @@ +# DashboardMatchAttributeFilter + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**match_attribute_filter** | [**DashboardMatchAttributeFilterMatchAttributeFilter**](DashboardMatchAttributeFilterMatchAttributeFilter.md) | | +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/gooddata-api-client/docs/DashboardMatchAttributeFilterMatchAttributeFilter.md b/gooddata-api-client/docs/DashboardMatchAttributeFilterMatchAttributeFilter.md new file mode 100644 index 000000000..b42e0eb1e --- /dev/null +++ b/gooddata-api-client/docs/DashboardMatchAttributeFilterMatchAttributeFilter.md @@ -0,0 +1,18 @@ +# DashboardMatchAttributeFilterMatchAttributeFilter + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**case_sensitive** | **bool** | | +**display_form** | [**IdentifierRef**](IdentifierRef.md) | | +**literal** | **str** | | +**negative_selection** | **bool** | | +**operator** | **str** | | +**local_identifier** | **str** | | [optional] +**title** | **str** | | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/gooddata-api-client/docs/DashboardPluginControllerApi.md b/gooddata-api-client/docs/DashboardPluginControllerApi.md index 02a369ed3..d75aacbed 100644 --- a/gooddata-api-client/docs/DashboardPluginControllerApi.md +++ b/gooddata-api-client/docs/DashboardPluginControllerApi.md @@ -138,7 +138,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance = dashboard_plugin_controller_api.DashboardPluginControllerApi(api_client) workspace_id = "workspaceId_example" # str | object_id = "objectId_example" # str | - filter = "title==someString;description==someString;createdBy.id==321;modifiedBy.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) # example passing only required values which don't have defaults set try: @@ -146,14 +145,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance.delete_entity_dashboard_plugins(workspace_id, object_id) except gooddata_api_client.ApiException as e: print("Exception when calling DashboardPluginControllerApi->delete_entity_dashboard_plugins: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Delete a Plugin - api_instance.delete_entity_dashboard_plugins(workspace_id, object_id, filter=filter) - except gooddata_api_client.ApiException as e: - print("Exception when calling DashboardPluginControllerApi->delete_entity_dashboard_plugins: %s\n" % e) ``` @@ -163,7 +154,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **workspace_id** | **str**| | **object_id** | **str**| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] ### Return type diff --git a/gooddata-api-client/docs/DashboardSummaryRequestDto.md b/gooddata-api-client/docs/DashboardSummaryRequestDto.md new file mode 100644 index 000000000..062f81c2b --- /dev/null +++ b/gooddata-api-client/docs/DashboardSummaryRequestDto.md @@ -0,0 +1,20 @@ +# DashboardSummaryRequestDto + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**dashboard_id** | **str** | | +**ai_model** | **str** | | [optional] +**custom_user_prompt** | **str** | | [optional] +**dry_run** | **bool** | | [optional] +**gooddata_host** | **str** | | [optional] +**gooddata_token** | **str** | | [optional] +**key_metric_ids** | **[str]** | | [optional] +**reference_quarter** | **str** | | [optional] +**temperature** | **float** | | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/gooddata-api-client/docs/DashboardSummaryResponseDto.md b/gooddata-api-client/docs/DashboardSummaryResponseDto.md new file mode 100644 index 000000000..9db456b6e --- /dev/null +++ b/gooddata-api-client/docs/DashboardSummaryResponseDto.md @@ -0,0 +1,14 @@ +# DashboardSummaryResponseDto + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**message** | **str** | | +**run_id** | **str** | | +**status** | **str** | | +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/gooddata-api-client/docs/DashboardsApi.md b/gooddata-api-client/docs/DashboardsApi.md index 55f29993e..6210a7c43 100644 --- a/gooddata-api-client/docs/DashboardsApi.md +++ b/gooddata-api-client/docs/DashboardsApi.md @@ -139,7 +139,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance = dashboards_api.DashboardsApi(api_client) workspace_id = "workspaceId_example" # str | object_id = "objectId_example" # str | - filter = "title==someString;description==someString;createdBy.id==321;modifiedBy.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) # example passing only required values which don't have defaults set try: @@ -147,14 +146,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance.delete_entity_analytical_dashboards(workspace_id, object_id) except gooddata_api_client.ApiException as e: print("Exception when calling DashboardsApi->delete_entity_analytical_dashboards: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Delete a Dashboard - api_instance.delete_entity_analytical_dashboards(workspace_id, object_id, filter=filter) - except gooddata_api_client.ApiException as e: - print("Exception when calling DashboardsApi->delete_entity_analytical_dashboards: %s\n" % e) ``` @@ -164,7 +155,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **workspace_id** | **str**| | **object_id** | **str**| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] ### Return type diff --git a/gooddata-api-client/docs/DataFiltersApi.md b/gooddata-api-client/docs/DataFiltersApi.md index c2a1a296b..d77d312f6 100644 --- a/gooddata-api-client/docs/DataFiltersApi.md +++ b/gooddata-api-client/docs/DataFiltersApi.md @@ -369,7 +369,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance = data_filters_api.DataFiltersApi(api_client) workspace_id = "workspaceId_example" # str | object_id = "objectId_example" # str | - filter = "title==someString;description==someString;user.id==321;userGroup.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) # example passing only required values which don't have defaults set try: @@ -377,14 +376,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance.delete_entity_user_data_filters(workspace_id, object_id) except gooddata_api_client.ApiException as e: print("Exception when calling DataFiltersApi->delete_entity_user_data_filters: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Delete a User Data Filter - api_instance.delete_entity_user_data_filters(workspace_id, object_id, filter=filter) - except gooddata_api_client.ApiException as e: - print("Exception when calling DataFiltersApi->delete_entity_user_data_filters: %s\n" % e) ``` @@ -394,7 +385,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **workspace_id** | **str**| | **object_id** | **str**| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] ### Return type @@ -444,7 +434,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance = data_filters_api.DataFiltersApi(api_client) workspace_id = "workspaceId_example" # str | object_id = "objectId_example" # str | - filter = "title==someString;description==someString;workspaceDataFilter.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) # example passing only required values which don't have defaults set try: @@ -452,14 +441,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance.delete_entity_workspace_data_filter_settings(workspace_id, object_id) except gooddata_api_client.ApiException as e: print("Exception when calling DataFiltersApi->delete_entity_workspace_data_filter_settings: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Delete a Settings for Workspace Data Filter - api_instance.delete_entity_workspace_data_filter_settings(workspace_id, object_id, filter=filter) - except gooddata_api_client.ApiException as e: - print("Exception when calling DataFiltersApi->delete_entity_workspace_data_filter_settings: %s\n" % e) ``` @@ -469,7 +450,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **workspace_id** | **str**| | **object_id** | **str**| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] ### Return type @@ -519,7 +499,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance = data_filters_api.DataFiltersApi(api_client) workspace_id = "workspaceId_example" # str | object_id = "objectId_example" # str | - filter = "title==someString;description==someString" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) # example passing only required values which don't have defaults set try: @@ -527,14 +506,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance.delete_entity_workspace_data_filters(workspace_id, object_id) except gooddata_api_client.ApiException as e: print("Exception when calling DataFiltersApi->delete_entity_workspace_data_filters: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Delete a Workspace Data Filter - api_instance.delete_entity_workspace_data_filters(workspace_id, object_id, filter=filter) - except gooddata_api_client.ApiException as e: - print("Exception when calling DataFiltersApi->delete_entity_workspace_data_filters: %s\n" % e) ``` @@ -544,7 +515,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **workspace_id** | **str**| | **object_id** | **str**| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] ### Return type diff --git a/gooddata-api-client/docs/DataSourceControllerApi.md b/gooddata-api-client/docs/DataSourceControllerApi.md index 9e83fffb6..db5439c6d 100644 --- a/gooddata-api-client/docs/DataSourceControllerApi.md +++ b/gooddata-api-client/docs/DataSourceControllerApi.md @@ -146,7 +146,6 @@ with gooddata_api_client.ApiClient() as api_client: # Create an instance of the API class api_instance = data_source_controller_api.DataSourceControllerApi(api_client) id = "/6bUUGjjNSwg0_bs" # str | - filter = "name==someString;type==DatabaseTypeValue" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) # example passing only required values which don't have defaults set try: @@ -154,14 +153,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance.delete_entity_data_sources(id) except gooddata_api_client.ApiException as e: print("Exception when calling DataSourceControllerApi->delete_entity_data_sources: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Delete Data Source entity - api_instance.delete_entity_data_sources(id, filter=filter) - except gooddata_api_client.ApiException as e: - print("Exception when calling DataSourceControllerApi->delete_entity_data_sources: %s\n" % e) ``` @@ -170,7 +161,6 @@ with gooddata_api_client.ApiClient() as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **str**| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] ### Return type diff --git a/gooddata-api-client/docs/DataSourceEntityAPIsApi.md b/gooddata-api-client/docs/DataSourceEntityAPIsApi.md index e5a5697b7..f9c4e8e92 100644 --- a/gooddata-api-client/docs/DataSourceEntityAPIsApi.md +++ b/gooddata-api-client/docs/DataSourceEntityAPIsApi.md @@ -148,7 +148,6 @@ with gooddata_api_client.ApiClient() as api_client: # Create an instance of the API class api_instance = data_source_entity_apis_api.DataSourceEntityAPIsApi(api_client) id = "/6bUUGjjNSwg0_bs" # str | - filter = "name==someString;type==DatabaseTypeValue" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) # example passing only required values which don't have defaults set try: @@ -156,14 +155,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance.delete_entity_data_sources(id) except gooddata_api_client.ApiException as e: print("Exception when calling DataSourceEntityAPIsApi->delete_entity_data_sources: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Delete Data Source entity - api_instance.delete_entity_data_sources(id, filter=filter) - except gooddata_api_client.ApiException as e: - print("Exception when calling DataSourceEntityAPIsApi->delete_entity_data_sources: %s\n" % e) ``` @@ -172,7 +163,6 @@ with gooddata_api_client.ApiClient() as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **str**| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] ### Return type diff --git a/gooddata-api-client/docs/EntitiesApi.md b/gooddata-api-client/docs/EntitiesApi.md index 6d97f8084..3eaeda258 100644 --- a/gooddata-api-client/docs/EntitiesApi.md +++ b/gooddata-api-client/docs/EntitiesApi.md @@ -3664,7 +3664,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance = entities_api.EntitiesApi(api_client) workspace_id = "workspaceId_example" # str | object_id = "objectId_example" # str | - filter = "title==someString;description==someString;createdBy.id==321;modifiedBy.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) # example passing only required values which don't have defaults set try: @@ -3672,14 +3671,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance.delete_entity_analytical_dashboards(workspace_id, object_id) except gooddata_api_client.ApiException as e: print("Exception when calling EntitiesApi->delete_entity_analytical_dashboards: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Delete a Dashboard - api_instance.delete_entity_analytical_dashboards(workspace_id, object_id, filter=filter) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->delete_entity_analytical_dashboards: %s\n" % e) ``` @@ -3689,7 +3680,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **workspace_id** | **str**| | **object_id** | **str**| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] ### Return type @@ -3739,7 +3729,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance = entities_api.EntitiesApi(api_client) user_id = "userId_example" # str | id = "/6bUUGjjNSwg0_bs" # str | - filter = "bearerToken==someString" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) # example passing only required values which don't have defaults set try: @@ -3747,14 +3736,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance.delete_entity_api_tokens(user_id, id) except gooddata_api_client.ApiException as e: print("Exception when calling EntitiesApi->delete_entity_api_tokens: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Delete an API Token for a user - api_instance.delete_entity_api_tokens(user_id, id, filter=filter) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->delete_entity_api_tokens: %s\n" % e) ``` @@ -3764,7 +3745,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **user_id** | **str**| | **id** | **str**| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] ### Return type @@ -3814,7 +3794,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance = entities_api.EntitiesApi(api_client) workspace_id = "workspaceId_example" # str | object_id = "objectId_example" # str | - filter = "title==someString;description==someString;createdBy.id==321;modifiedBy.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) # example passing only required values which don't have defaults set try: @@ -3822,14 +3801,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance.delete_entity_attribute_hierarchies(workspace_id, object_id) except gooddata_api_client.ApiException as e: print("Exception when calling EntitiesApi->delete_entity_attribute_hierarchies: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Delete an Attribute Hierarchy - api_instance.delete_entity_attribute_hierarchies(workspace_id, object_id, filter=filter) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->delete_entity_attribute_hierarchies: %s\n" % e) ``` @@ -3839,7 +3810,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **workspace_id** | **str**| | **object_id** | **str**| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] ### Return type @@ -3889,7 +3859,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance = entities_api.EntitiesApi(api_client) workspace_id = "workspaceId_example" # str | object_id = "objectId_example" # str | - filter = "title==someString;description==someString;notificationChannel.id==321;analyticalDashboard.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) # example passing only required values which don't have defaults set try: @@ -3897,14 +3866,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance.delete_entity_automations(workspace_id, object_id) except gooddata_api_client.ApiException as e: print("Exception when calling EntitiesApi->delete_entity_automations: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Delete an Automation - api_instance.delete_entity_automations(workspace_id, object_id, filter=filter) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->delete_entity_automations: %s\n" % e) ``` @@ -3914,7 +3875,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **workspace_id** | **str**| | **object_id** | **str**| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] ### Return type @@ -4112,7 +4072,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance = entities_api.EntitiesApi(api_client) workspace_id = "workspaceId_example" # str | object_id = "objectId_example" # str | - filter = "applicationName==someString;content==JsonNodeValue" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) # example passing only required values which don't have defaults set try: @@ -4120,14 +4079,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance.delete_entity_custom_application_settings(workspace_id, object_id) except gooddata_api_client.ApiException as e: print("Exception when calling EntitiesApi->delete_entity_custom_application_settings: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Delete a Custom Application Setting - api_instance.delete_entity_custom_application_settings(workspace_id, object_id, filter=filter) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->delete_entity_custom_application_settings: %s\n" % e) ``` @@ -4137,7 +4088,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **workspace_id** | **str**| | **object_id** | **str**| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] ### Return type @@ -4186,7 +4136,6 @@ with gooddata_api_client.ApiClient() as api_client: # Create an instance of the API class api_instance = entities_api.EntitiesApi(api_client) id = "/6bUUGjjNSwg0_bs" # str | - filter = "name==someString;description==someString" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) # example passing only required values which don't have defaults set try: @@ -4194,14 +4143,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance.delete_entity_custom_geo_collections(id) except gooddata_api_client.ApiException as e: print("Exception when calling EntitiesApi->delete_entity_custom_geo_collections: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Delete Custom Geo Collection - api_instance.delete_entity_custom_geo_collections(id, filter=filter) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->delete_entity_custom_geo_collections: %s\n" % e) ``` @@ -4210,7 +4151,6 @@ with gooddata_api_client.ApiClient() as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **str**| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] ### Return type @@ -4260,7 +4200,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance = entities_api.EntitiesApi(api_client) workspace_id = "workspaceId_example" # str | object_id = "objectId_example" # str | - filter = "title==someString;description==someString;createdBy.id==321;modifiedBy.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) # example passing only required values which don't have defaults set try: @@ -4268,14 +4207,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance.delete_entity_dashboard_plugins(workspace_id, object_id) except gooddata_api_client.ApiException as e: print("Exception when calling EntitiesApi->delete_entity_dashboard_plugins: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Delete a Plugin - api_instance.delete_entity_dashboard_plugins(workspace_id, object_id, filter=filter) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->delete_entity_dashboard_plugins: %s\n" % e) ``` @@ -4285,7 +4216,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **workspace_id** | **str**| | **object_id** | **str**| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] ### Return type @@ -4336,7 +4266,6 @@ with gooddata_api_client.ApiClient() as api_client: # Create an instance of the API class api_instance = entities_api.EntitiesApi(api_client) id = "/6bUUGjjNSwg0_bs" # str | - filter = "name==someString;type==DatabaseTypeValue" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) # example passing only required values which don't have defaults set try: @@ -4344,14 +4273,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance.delete_entity_data_sources(id) except gooddata_api_client.ApiException as e: print("Exception when calling EntitiesApi->delete_entity_data_sources: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Delete Data Source entity - api_instance.delete_entity_data_sources(id, filter=filter) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->delete_entity_data_sources: %s\n" % e) ``` @@ -4360,7 +4281,6 @@ with gooddata_api_client.ApiClient() as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **str**| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] ### Return type @@ -4410,7 +4330,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance = entities_api.EntitiesApi(api_client) workspace_id = "workspaceId_example" # str | object_id = "objectId_example" # str | - filter = "title==someString;description==someString;visualizationObject.id==321;analyticalDashboard.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) # example passing only required values which don't have defaults set try: @@ -4418,14 +4337,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance.delete_entity_export_definitions(workspace_id, object_id) except gooddata_api_client.ApiException as e: print("Exception when calling EntitiesApi->delete_entity_export_definitions: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Delete an Export Definition - api_instance.delete_entity_export_definitions(workspace_id, object_id, filter=filter) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->delete_entity_export_definitions: %s\n" % e) ``` @@ -4435,7 +4346,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **workspace_id** | **str**| | **object_id** | **str**| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] ### Return type @@ -4558,7 +4468,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance = entities_api.EntitiesApi(api_client) workspace_id = "workspaceId_example" # str | object_id = "objectId_example" # str | - filter = "title==someString;description==someString" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) # example passing only required values which don't have defaults set try: @@ -4566,14 +4475,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance.delete_entity_filter_contexts(workspace_id, object_id) except gooddata_api_client.ApiException as e: print("Exception when calling EntitiesApi->delete_entity_filter_contexts: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Delete a Filter Context - api_instance.delete_entity_filter_contexts(workspace_id, object_id, filter=filter) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->delete_entity_filter_contexts: %s\n" % e) ``` @@ -4583,7 +4484,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **workspace_id** | **str**| | **object_id** | **str**| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] ### Return type @@ -4633,7 +4533,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance = entities_api.EntitiesApi(api_client) workspace_id = "workspaceId_example" # str | object_id = "objectId_example" # str | - filter = "title==someString;description==someString;analyticalDashboard.id==321;user.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) # example passing only required values which don't have defaults set try: @@ -4641,14 +4540,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance.delete_entity_filter_views(workspace_id, object_id) except gooddata_api_client.ApiException as e: print("Exception when calling EntitiesApi->delete_entity_filter_views: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Delete Filter view - api_instance.delete_entity_filter_views(workspace_id, object_id, filter=filter) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->delete_entity_filter_views: %s\n" % e) ``` @@ -4658,7 +4549,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **workspace_id** | **str**| | **object_id** | **str**| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] ### Return type @@ -4782,7 +4672,6 @@ with gooddata_api_client.ApiClient() as api_client: # Create an instance of the API class api_instance = entities_api.EntitiesApi(api_client) id = "/6bUUGjjNSwg0_bs" # str | - filter = "content==JwkSpecificationValue" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) # example passing only required values which don't have defaults set try: @@ -4790,14 +4679,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance.delete_entity_jwks(id) except gooddata_api_client.ApiException as e: print("Exception when calling EntitiesApi->delete_entity_jwks: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Delete Jwk - api_instance.delete_entity_jwks(id, filter=filter) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->delete_entity_jwks: %s\n" % e) ``` @@ -4806,7 +4687,6 @@ with gooddata_api_client.ApiClient() as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **str**| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] ### Return type @@ -5150,7 +5030,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance = entities_api.EntitiesApi(api_client) workspace_id = "workspaceId_example" # str | object_id = "objectId_example" # str | - filter = "title==someString;description==someString;createdBy.id==321;modifiedBy.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) # example passing only required values which don't have defaults set try: @@ -5158,14 +5037,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance.delete_entity_metrics(workspace_id, object_id) except gooddata_api_client.ApiException as e: print("Exception when calling EntitiesApi->delete_entity_metrics: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Delete a Metric - api_instance.delete_entity_metrics(workspace_id, object_id, filter=filter) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->delete_entity_metrics: %s\n" % e) ``` @@ -5175,7 +5046,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **workspace_id** | **str**| | **object_id** | **str**| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] ### Return type @@ -5444,7 +5314,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance = entities_api.EntitiesApi(api_client) workspace_id = "workspaceId_example" # str | object_id = "objectId_example" # str | - filter = "title==someString;description==someString;user.id==321;userGroup.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) # example passing only required values which don't have defaults set try: @@ -5452,14 +5321,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance.delete_entity_user_data_filters(workspace_id, object_id) except gooddata_api_client.ApiException as e: print("Exception when calling EntitiesApi->delete_entity_user_data_filters: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Delete a User Data Filter - api_instance.delete_entity_user_data_filters(workspace_id, object_id, filter=filter) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->delete_entity_user_data_filters: %s\n" % e) ``` @@ -5469,7 +5330,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **workspace_id** | **str**| | **object_id** | **str**| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] ### Return type @@ -5594,7 +5454,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance = entities_api.EntitiesApi(api_client) user_id = "userId_example" # str | id = "/6bUUGjjNSwg0_bs" # str | - filter = "content==JsonNodeValue;type==SettingTypeValue" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) # example passing only required values which don't have defaults set try: @@ -5602,14 +5461,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance.delete_entity_user_settings(user_id, id) except gooddata_api_client.ApiException as e: print("Exception when calling EntitiesApi->delete_entity_user_settings: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Delete a setting for a user - api_instance.delete_entity_user_settings(user_id, id, filter=filter) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->delete_entity_user_settings: %s\n" % e) ``` @@ -5619,7 +5470,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **user_id** | **str**| | **id** | **str**| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] ### Return type @@ -5744,7 +5594,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance = entities_api.EntitiesApi(api_client) workspace_id = "workspaceId_example" # str | object_id = "objectId_example" # str | - filter = "title==someString;description==someString;createdBy.id==321;modifiedBy.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) # example passing only required values which don't have defaults set try: @@ -5752,14 +5601,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance.delete_entity_visualization_objects(workspace_id, object_id) except gooddata_api_client.ApiException as e: print("Exception when calling EntitiesApi->delete_entity_visualization_objects: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Delete a Visualization Object - api_instance.delete_entity_visualization_objects(workspace_id, object_id, filter=filter) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->delete_entity_visualization_objects: %s\n" % e) ``` @@ -5769,7 +5610,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **workspace_id** | **str**| | **object_id** | **str**| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] ### Return type @@ -5819,7 +5659,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance = entities_api.EntitiesApi(api_client) workspace_id = "workspaceId_example" # str | object_id = "objectId_example" # str | - filter = "title==someString;description==someString;workspaceDataFilter.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) # example passing only required values which don't have defaults set try: @@ -5827,14 +5666,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance.delete_entity_workspace_data_filter_settings(workspace_id, object_id) except gooddata_api_client.ApiException as e: print("Exception when calling EntitiesApi->delete_entity_workspace_data_filter_settings: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Delete a Settings for Workspace Data Filter - api_instance.delete_entity_workspace_data_filter_settings(workspace_id, object_id, filter=filter) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->delete_entity_workspace_data_filter_settings: %s\n" % e) ``` @@ -5844,7 +5675,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **workspace_id** | **str**| | **object_id** | **str**| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] ### Return type @@ -5894,7 +5724,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance = entities_api.EntitiesApi(api_client) workspace_id = "workspaceId_example" # str | object_id = "objectId_example" # str | - filter = "title==someString;description==someString" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) # example passing only required values which don't have defaults set try: @@ -5902,14 +5731,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance.delete_entity_workspace_data_filters(workspace_id, object_id) except gooddata_api_client.ApiException as e: print("Exception when calling EntitiesApi->delete_entity_workspace_data_filters: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Delete a Workspace Data Filter - api_instance.delete_entity_workspace_data_filters(workspace_id, object_id, filter=filter) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->delete_entity_workspace_data_filters: %s\n" % e) ``` @@ -5919,7 +5740,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **workspace_id** | **str**| | **object_id** | **str**| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] ### Return type @@ -5969,7 +5789,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance = entities_api.EntitiesApi(api_client) workspace_id = "workspaceId_example" # str | object_id = "objectId_example" # str | - filter = "content==JsonNodeValue;type==SettingTypeValue" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) # example passing only required values which don't have defaults set try: @@ -5977,14 +5796,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance.delete_entity_workspace_settings(workspace_id, object_id) except gooddata_api_client.ApiException as e: print("Exception when calling EntitiesApi->delete_entity_workspace_settings: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Delete a Setting for Workspace - api_instance.delete_entity_workspace_settings(workspace_id, object_id, filter=filter) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->delete_entity_workspace_settings: %s\n" % e) ``` @@ -5994,7 +5805,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **workspace_id** | **str**| | **object_id** | **str**| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] ### Return type diff --git a/gooddata-api-client/docs/ExportDefinitionControllerApi.md b/gooddata-api-client/docs/ExportDefinitionControllerApi.md index 072a63ff2..37c2ebcf1 100644 --- a/gooddata-api-client/docs/ExportDefinitionControllerApi.md +++ b/gooddata-api-client/docs/ExportDefinitionControllerApi.md @@ -146,7 +146,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance = export_definition_controller_api.ExportDefinitionControllerApi(api_client) workspace_id = "workspaceId_example" # str | object_id = "objectId_example" # str | - filter = "title==someString;description==someString;visualizationObject.id==321;analyticalDashboard.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) # example passing only required values which don't have defaults set try: @@ -154,14 +153,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance.delete_entity_export_definitions(workspace_id, object_id) except gooddata_api_client.ApiException as e: print("Exception when calling ExportDefinitionControllerApi->delete_entity_export_definitions: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Delete an Export Definition - api_instance.delete_entity_export_definitions(workspace_id, object_id, filter=filter) - except gooddata_api_client.ApiException as e: - print("Exception when calling ExportDefinitionControllerApi->delete_entity_export_definitions: %s\n" % e) ``` @@ -171,7 +162,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **workspace_id** | **str**| | **object_id** | **str**| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] ### Return type diff --git a/gooddata-api-client/docs/ExportDefinitionsApi.md b/gooddata-api-client/docs/ExportDefinitionsApi.md index 55f17b7b5..43468e8dc 100644 --- a/gooddata-api-client/docs/ExportDefinitionsApi.md +++ b/gooddata-api-client/docs/ExportDefinitionsApi.md @@ -146,7 +146,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance = export_definitions_api.ExportDefinitionsApi(api_client) workspace_id = "workspaceId_example" # str | object_id = "objectId_example" # str | - filter = "title==someString;description==someString;visualizationObject.id==321;analyticalDashboard.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) # example passing only required values which don't have defaults set try: @@ -154,14 +153,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance.delete_entity_export_definitions(workspace_id, object_id) except gooddata_api_client.ApiException as e: print("Exception when calling ExportDefinitionsApi->delete_entity_export_definitions: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Delete an Export Definition - api_instance.delete_entity_export_definitions(workspace_id, object_id, filter=filter) - except gooddata_api_client.ApiException as e: - print("Exception when calling ExportDefinitionsApi->delete_entity_export_definitions: %s\n" % e) ``` @@ -171,7 +162,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **workspace_id** | **str**| | **object_id** | **str**| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] ### Return type diff --git a/gooddata-api-client/docs/FeedbackRequestDto.md b/gooddata-api-client/docs/FeedbackRequestDto.md new file mode 100644 index 000000000..8deddba0b --- /dev/null +++ b/gooddata-api-client/docs/FeedbackRequestDto.md @@ -0,0 +1,12 @@ +# FeedbackRequestDto + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**sentiment** | **str** | | +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/gooddata-api-client/docs/FilterContextApi.md b/gooddata-api-client/docs/FilterContextApi.md index e70416f90..e15c70a98 100644 --- a/gooddata-api-client/docs/FilterContextApi.md +++ b/gooddata-api-client/docs/FilterContextApi.md @@ -138,7 +138,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance = filter_context_api.FilterContextApi(api_client) workspace_id = "workspaceId_example" # str | object_id = "objectId_example" # str | - filter = "title==someString;description==someString" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) # example passing only required values which don't have defaults set try: @@ -146,14 +145,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance.delete_entity_filter_contexts(workspace_id, object_id) except gooddata_api_client.ApiException as e: print("Exception when calling FilterContextApi->delete_entity_filter_contexts: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Delete a Filter Context - api_instance.delete_entity_filter_contexts(workspace_id, object_id, filter=filter) - except gooddata_api_client.ApiException as e: - print("Exception when calling FilterContextApi->delete_entity_filter_contexts: %s\n" % e) ``` @@ -163,7 +154,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **workspace_id** | **str**| | **object_id** | **str**| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] ### Return type diff --git a/gooddata-api-client/docs/FilterContextControllerApi.md b/gooddata-api-client/docs/FilterContextControllerApi.md index 3758102f1..b33732a1b 100644 --- a/gooddata-api-client/docs/FilterContextControllerApi.md +++ b/gooddata-api-client/docs/FilterContextControllerApi.md @@ -138,7 +138,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance = filter_context_controller_api.FilterContextControllerApi(api_client) workspace_id = "workspaceId_example" # str | object_id = "objectId_example" # str | - filter = "title==someString;description==someString" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) # example passing only required values which don't have defaults set try: @@ -146,14 +145,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance.delete_entity_filter_contexts(workspace_id, object_id) except gooddata_api_client.ApiException as e: print("Exception when calling FilterContextControllerApi->delete_entity_filter_contexts: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Delete a Filter Context - api_instance.delete_entity_filter_contexts(workspace_id, object_id, filter=filter) - except gooddata_api_client.ApiException as e: - print("Exception when calling FilterContextControllerApi->delete_entity_filter_contexts: %s\n" % e) ``` @@ -163,7 +154,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **workspace_id** | **str**| | **object_id** | **str**| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] ### Return type diff --git a/gooddata-api-client/docs/FilterViewControllerApi.md b/gooddata-api-client/docs/FilterViewControllerApi.md index c70c925ef..b464f2519 100644 --- a/gooddata-api-client/docs/FilterViewControllerApi.md +++ b/gooddata-api-client/docs/FilterViewControllerApi.md @@ -143,7 +143,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance = filter_view_controller_api.FilterViewControllerApi(api_client) workspace_id = "workspaceId_example" # str | object_id = "objectId_example" # str | - filter = "title==someString;description==someString;analyticalDashboard.id==321;user.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) # example passing only required values which don't have defaults set try: @@ -151,14 +150,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance.delete_entity_filter_views(workspace_id, object_id) except gooddata_api_client.ApiException as e: print("Exception when calling FilterViewControllerApi->delete_entity_filter_views: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Delete Filter view - api_instance.delete_entity_filter_views(workspace_id, object_id, filter=filter) - except gooddata_api_client.ApiException as e: - print("Exception when calling FilterViewControllerApi->delete_entity_filter_views: %s\n" % e) ``` @@ -168,7 +159,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **workspace_id** | **str**| | **object_id** | **str**| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] ### Return type diff --git a/gooddata-api-client/docs/FilterViewsApi.md b/gooddata-api-client/docs/FilterViewsApi.md index 63037f271..16882e1cd 100644 --- a/gooddata-api-client/docs/FilterViewsApi.md +++ b/gooddata-api-client/docs/FilterViewsApi.md @@ -145,7 +145,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance = filter_views_api.FilterViewsApi(api_client) workspace_id = "workspaceId_example" # str | object_id = "objectId_example" # str | - filter = "title==someString;description==someString;analyticalDashboard.id==321;user.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) # example passing only required values which don't have defaults set try: @@ -153,14 +152,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance.delete_entity_filter_views(workspace_id, object_id) except gooddata_api_client.ApiException as e: print("Exception when calling FilterViewsApi->delete_entity_filter_views: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Delete Filter view - api_instance.delete_entity_filter_views(workspace_id, object_id, filter=filter) - except gooddata_api_client.ApiException as e: - print("Exception when calling FilterViewsApi->delete_entity_filter_views: %s\n" % e) ``` @@ -170,7 +161,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **workspace_id** | **str**| | **object_id** | **str**| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] ### Return type diff --git a/gooddata-api-client/docs/GeographicDataApi.md b/gooddata-api-client/docs/GeographicDataApi.md index edec26af8..6ea7909d8 100644 --- a/gooddata-api-client/docs/GeographicDataApi.md +++ b/gooddata-api-client/docs/GeographicDataApi.md @@ -112,7 +112,6 @@ with gooddata_api_client.ApiClient() as api_client: # Create an instance of the API class api_instance = geographic_data_api.GeographicDataApi(api_client) id = "/6bUUGjjNSwg0_bs" # str | - filter = "name==someString;description==someString" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) # example passing only required values which don't have defaults set try: @@ -120,14 +119,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance.delete_entity_custom_geo_collections(id) except gooddata_api_client.ApiException as e: print("Exception when calling GeographicDataApi->delete_entity_custom_geo_collections: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Delete Custom Geo Collection - api_instance.delete_entity_custom_geo_collections(id, filter=filter) - except gooddata_api_client.ApiException as e: - print("Exception when calling GeographicDataApi->delete_entity_custom_geo_collections: %s\n" % e) ``` @@ -136,7 +127,6 @@ with gooddata_api_client.ApiClient() as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **str**| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] ### Return type diff --git a/gooddata-api-client/docs/JWKSApi.md b/gooddata-api-client/docs/JWKSApi.md index 61dcfe193..abae78521 100644 --- a/gooddata-api-client/docs/JWKSApi.md +++ b/gooddata-api-client/docs/JWKSApi.md @@ -115,7 +115,6 @@ with gooddata_api_client.ApiClient() as api_client: # Create an instance of the API class api_instance = jwks_api.JWKSApi(api_client) id = "/6bUUGjjNSwg0_bs" # str | - filter = "content==JwkSpecificationValue" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) # example passing only required values which don't have defaults set try: @@ -123,14 +122,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance.delete_entity_jwks(id) except gooddata_api_client.ApiException as e: print("Exception when calling JWKSApi->delete_entity_jwks: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Delete Jwk - api_instance.delete_entity_jwks(id, filter=filter) - except gooddata_api_client.ApiException as e: - print("Exception when calling JWKSApi->delete_entity_jwks: %s\n" % e) ``` @@ -139,7 +130,6 @@ with gooddata_api_client.ApiClient() as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **str**| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] ### Return type diff --git a/gooddata-api-client/docs/JwkControllerApi.md b/gooddata-api-client/docs/JwkControllerApi.md index ff65fba27..f72c6aec2 100644 --- a/gooddata-api-client/docs/JwkControllerApi.md +++ b/gooddata-api-client/docs/JwkControllerApi.md @@ -115,7 +115,6 @@ with gooddata_api_client.ApiClient() as api_client: # Create an instance of the API class api_instance = jwk_controller_api.JwkControllerApi(api_client) id = "/6bUUGjjNSwg0_bs" # str | - filter = "content==JwkSpecificationValue" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) # example passing only required values which don't have defaults set try: @@ -123,14 +122,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance.delete_entity_jwks(id) except gooddata_api_client.ApiException as e: print("Exception when calling JwkControllerApi->delete_entity_jwks: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Delete Jwk - api_instance.delete_entity_jwks(id, filter=filter) - except gooddata_api_client.ApiException as e: - print("Exception when calling JwkControllerApi->delete_entity_jwks: %s\n" % e) ``` @@ -139,7 +130,6 @@ with gooddata_api_client.ApiClient() as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **str**| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] ### Return type diff --git a/gooddata-api-client/docs/KnowledgeRecommendationsRequestDto.md b/gooddata-api-client/docs/KnowledgeRecommendationsRequestDto.md new file mode 100644 index 000000000..130149686 --- /dev/null +++ b/gooddata-api-client/docs/KnowledgeRecommendationsRequestDto.md @@ -0,0 +1,27 @@ +# KnowledgeRecommendationsRequestDto + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**comparison_type** | **str** | | +**metric_id** | **str** | | +**ai_model** | **str** | | [optional] +**analytical_dashboard_id** | **str** | | [optional] +**analyzed_value** | **float** | | [optional] +**direction** | **str** | | [optional] +**dry_run** | **bool** | | [optional] +**gooddata_host** | **str** | | [optional] +**gooddata_token** | **str** | | [optional] +**limit** | **int** | | [optional] +**max_tokens** | **int** | | [optional] +**min_score** | **float** | | [optional] +**reference_value** | **float** | | [optional] +**temperature** | **float** | | [optional] +**widget_id** | **str** | | [optional] +**widget_name** | **str** | | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/gooddata-api-client/docs/KnowledgeRecommendationsResponseDto.md b/gooddata-api-client/docs/KnowledgeRecommendationsResponseDto.md new file mode 100644 index 000000000..069877f10 --- /dev/null +++ b/gooddata-api-client/docs/KnowledgeRecommendationsResponseDto.md @@ -0,0 +1,14 @@ +# KnowledgeRecommendationsResponseDto + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**message** | **str** | | +**run_id** | **str** | | +**status** | **str** | | +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/gooddata-api-client/docs/MetricControllerApi.md b/gooddata-api-client/docs/MetricControllerApi.md index 304f59e83..7c6866317 100644 --- a/gooddata-api-client/docs/MetricControllerApi.md +++ b/gooddata-api-client/docs/MetricControllerApi.md @@ -144,7 +144,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance = metric_controller_api.MetricControllerApi(api_client) workspace_id = "workspaceId_example" # str | object_id = "objectId_example" # str | - filter = "title==someString;description==someString;createdBy.id==321;modifiedBy.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) # example passing only required values which don't have defaults set try: @@ -152,14 +151,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance.delete_entity_metrics(workspace_id, object_id) except gooddata_api_client.ApiException as e: print("Exception when calling MetricControllerApi->delete_entity_metrics: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Delete a Metric - api_instance.delete_entity_metrics(workspace_id, object_id, filter=filter) - except gooddata_api_client.ApiException as e: - print("Exception when calling MetricControllerApi->delete_entity_metrics: %s\n" % e) ``` @@ -169,7 +160,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **workspace_id** | **str**| | **object_id** | **str**| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] ### Return type diff --git a/gooddata-api-client/docs/MetricsApi.md b/gooddata-api-client/docs/MetricsApi.md index b69cbe77c..16a7861c8 100644 --- a/gooddata-api-client/docs/MetricsApi.md +++ b/gooddata-api-client/docs/MetricsApi.md @@ -144,7 +144,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance = metrics_api.MetricsApi(api_client) workspace_id = "workspaceId_example" # str | object_id = "objectId_example" # str | - filter = "title==someString;description==someString;createdBy.id==321;modifiedBy.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) # example passing only required values which don't have defaults set try: @@ -152,14 +151,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance.delete_entity_metrics(workspace_id, object_id) except gooddata_api_client.ApiException as e: print("Exception when calling MetricsApi->delete_entity_metrics: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Delete a Metric - api_instance.delete_entity_metrics(workspace_id, object_id, filter=filter) - except gooddata_api_client.ApiException as e: - print("Exception when calling MetricsApi->delete_entity_metrics: %s\n" % e) ``` @@ -169,7 +160,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **workspace_id** | **str**| | **object_id** | **str**| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] ### Return type diff --git a/gooddata-api-client/docs/PluginsApi.md b/gooddata-api-client/docs/PluginsApi.md index 898f2ff27..1350b28a2 100644 --- a/gooddata-api-client/docs/PluginsApi.md +++ b/gooddata-api-client/docs/PluginsApi.md @@ -138,7 +138,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance = plugins_api.PluginsApi(api_client) workspace_id = "workspaceId_example" # str | object_id = "objectId_example" # str | - filter = "title==someString;description==someString;createdBy.id==321;modifiedBy.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) # example passing only required values which don't have defaults set try: @@ -146,14 +145,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance.delete_entity_dashboard_plugins(workspace_id, object_id) except gooddata_api_client.ApiException as e: print("Exception when calling PluginsApi->delete_entity_dashboard_plugins: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Delete a Plugin - api_instance.delete_entity_dashboard_plugins(workspace_id, object_id, filter=filter) - except gooddata_api_client.ApiException as e: - print("Exception when calling PluginsApi->delete_entity_dashboard_plugins: %s\n" % e) ``` @@ -163,7 +154,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **workspace_id** | **str**| | **object_id** | **str**| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] ### Return type diff --git a/gooddata-api-client/docs/UserDataFilterControllerApi.md b/gooddata-api-client/docs/UserDataFilterControllerApi.md index 494cf1cff..a07a795f6 100644 --- a/gooddata-api-client/docs/UserDataFilterControllerApi.md +++ b/gooddata-api-client/docs/UserDataFilterControllerApi.md @@ -146,7 +146,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance = user_data_filter_controller_api.UserDataFilterControllerApi(api_client) workspace_id = "workspaceId_example" # str | object_id = "objectId_example" # str | - filter = "title==someString;description==someString;user.id==321;userGroup.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) # example passing only required values which don't have defaults set try: @@ -154,14 +153,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance.delete_entity_user_data_filters(workspace_id, object_id) except gooddata_api_client.ApiException as e: print("Exception when calling UserDataFilterControllerApi->delete_entity_user_data_filters: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Delete a User Data Filter - api_instance.delete_entity_user_data_filters(workspace_id, object_id, filter=filter) - except gooddata_api_client.ApiException as e: - print("Exception when calling UserDataFilterControllerApi->delete_entity_user_data_filters: %s\n" % e) ``` @@ -171,7 +162,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **workspace_id** | **str**| | **object_id** | **str**| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] ### Return type diff --git a/gooddata-api-client/docs/UserSettingControllerApi.md b/gooddata-api-client/docs/UserSettingControllerApi.md index f490be11e..b193d6c4b 100644 --- a/gooddata-api-client/docs/UserSettingControllerApi.md +++ b/gooddata-api-client/docs/UserSettingControllerApi.md @@ -114,7 +114,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance = user_setting_controller_api.UserSettingControllerApi(api_client) user_id = "userId_example" # str | id = "/6bUUGjjNSwg0_bs" # str | - filter = "content==JsonNodeValue;type==SettingTypeValue" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) # example passing only required values which don't have defaults set try: @@ -122,14 +121,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance.delete_entity_user_settings(user_id, id) except gooddata_api_client.ApiException as e: print("Exception when calling UserSettingControllerApi->delete_entity_user_settings: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Delete a setting for a user - api_instance.delete_entity_user_settings(user_id, id, filter=filter) - except gooddata_api_client.ApiException as e: - print("Exception when calling UserSettingControllerApi->delete_entity_user_settings: %s\n" % e) ``` @@ -139,7 +130,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **user_id** | **str**| | **id** | **str**| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] ### Return type diff --git a/gooddata-api-client/docs/UserSettingsApi.md b/gooddata-api-client/docs/UserSettingsApi.md index df298fbd7..87df6749c 100644 --- a/gooddata-api-client/docs/UserSettingsApi.md +++ b/gooddata-api-client/docs/UserSettingsApi.md @@ -114,7 +114,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance = user_settings_api.UserSettingsApi(api_client) user_id = "userId_example" # str | id = "/6bUUGjjNSwg0_bs" # str | - filter = "content==JsonNodeValue;type==SettingTypeValue" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) # example passing only required values which don't have defaults set try: @@ -122,14 +121,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance.delete_entity_user_settings(user_id, id) except gooddata_api_client.ApiException as e: print("Exception when calling UserSettingsApi->delete_entity_user_settings: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Delete a setting for a user - api_instance.delete_entity_user_settings(user_id, id, filter=filter) - except gooddata_api_client.ApiException as e: - print("Exception when calling UserSettingsApi->delete_entity_user_settings: %s\n" % e) ``` @@ -139,7 +130,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **user_id** | **str**| | **id** | **str**| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] ### Return type diff --git a/gooddata-api-client/docs/VisualizationObjectApi.md b/gooddata-api-client/docs/VisualizationObjectApi.md index d4213b6ab..323e74a5f 100644 --- a/gooddata-api-client/docs/VisualizationObjectApi.md +++ b/gooddata-api-client/docs/VisualizationObjectApi.md @@ -139,7 +139,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance = visualization_object_api.VisualizationObjectApi(api_client) workspace_id = "workspaceId_example" # str | object_id = "objectId_example" # str | - filter = "title==someString;description==someString;createdBy.id==321;modifiedBy.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) # example passing only required values which don't have defaults set try: @@ -147,14 +146,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance.delete_entity_visualization_objects(workspace_id, object_id) except gooddata_api_client.ApiException as e: print("Exception when calling VisualizationObjectApi->delete_entity_visualization_objects: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Delete a Visualization Object - api_instance.delete_entity_visualization_objects(workspace_id, object_id, filter=filter) - except gooddata_api_client.ApiException as e: - print("Exception when calling VisualizationObjectApi->delete_entity_visualization_objects: %s\n" % e) ``` @@ -164,7 +155,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **workspace_id** | **str**| | **object_id** | **str**| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] ### Return type diff --git a/gooddata-api-client/docs/VisualizationObjectControllerApi.md b/gooddata-api-client/docs/VisualizationObjectControllerApi.md index cd9e75ea9..849e2158a 100644 --- a/gooddata-api-client/docs/VisualizationObjectControllerApi.md +++ b/gooddata-api-client/docs/VisualizationObjectControllerApi.md @@ -139,7 +139,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance = visualization_object_controller_api.VisualizationObjectControllerApi(api_client) workspace_id = "workspaceId_example" # str | object_id = "objectId_example" # str | - filter = "title==someString;description==someString;createdBy.id==321;modifiedBy.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) # example passing only required values which don't have defaults set try: @@ -147,14 +146,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance.delete_entity_visualization_objects(workspace_id, object_id) except gooddata_api_client.ApiException as e: print("Exception when calling VisualizationObjectControllerApi->delete_entity_visualization_objects: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Delete a Visualization Object - api_instance.delete_entity_visualization_objects(workspace_id, object_id, filter=filter) - except gooddata_api_client.ApiException as e: - print("Exception when calling VisualizationObjectControllerApi->delete_entity_visualization_objects: %s\n" % e) ``` @@ -164,7 +155,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **workspace_id** | **str**| | **object_id** | **str**| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] ### Return type diff --git a/gooddata-api-client/docs/WorkflowDashboardSummaryRequestDto.md b/gooddata-api-client/docs/WorkflowDashboardSummaryRequestDto.md new file mode 100644 index 000000000..7c0fdecd3 --- /dev/null +++ b/gooddata-api-client/docs/WorkflowDashboardSummaryRequestDto.md @@ -0,0 +1,15 @@ +# WorkflowDashboardSummaryRequestDto + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**dashboard_id** | **str** | | +**custom_user_prompt** | **str** | | [optional] +**key_metric_ids** | **[str]** | | [optional] +**reference_quarter** | **str** | | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/gooddata-api-client/docs/WorkflowDashboardSummaryResponseDto.md b/gooddata-api-client/docs/WorkflowDashboardSummaryResponseDto.md new file mode 100644 index 000000000..f23141465 --- /dev/null +++ b/gooddata-api-client/docs/WorkflowDashboardSummaryResponseDto.md @@ -0,0 +1,14 @@ +# WorkflowDashboardSummaryResponseDto + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**message** | **str** | | +**run_id** | **str** | | +**status** | **str** | | +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/gooddata-api-client/docs/WorkflowStatusResponseDto.md b/gooddata-api-client/docs/WorkflowStatusResponseDto.md new file mode 100644 index 000000000..cdb4bd331 --- /dev/null +++ b/gooddata-api-client/docs/WorkflowStatusResponseDto.md @@ -0,0 +1,17 @@ +# WorkflowStatusResponseDto + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**message** | **str** | | +**run_id** | **str** | | +**status** | **str** | | +**current_phase** | **str** | | [optional] +**error** | **str** | | [optional] +**result** | **{str: ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},)}** | | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/gooddata-api-client/docs/WorkspaceDataFilterControllerApi.md b/gooddata-api-client/docs/WorkspaceDataFilterControllerApi.md index 85f4a6655..da155d4f7 100644 --- a/gooddata-api-client/docs/WorkspaceDataFilterControllerApi.md +++ b/gooddata-api-client/docs/WorkspaceDataFilterControllerApi.md @@ -144,7 +144,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance = workspace_data_filter_controller_api.WorkspaceDataFilterControllerApi(api_client) workspace_id = "workspaceId_example" # str | object_id = "objectId_example" # str | - filter = "title==someString;description==someString" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) # example passing only required values which don't have defaults set try: @@ -152,14 +151,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance.delete_entity_workspace_data_filters(workspace_id, object_id) except gooddata_api_client.ApiException as e: print("Exception when calling WorkspaceDataFilterControllerApi->delete_entity_workspace_data_filters: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Delete a Workspace Data Filter - api_instance.delete_entity_workspace_data_filters(workspace_id, object_id, filter=filter) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceDataFilterControllerApi->delete_entity_workspace_data_filters: %s\n" % e) ``` @@ -169,7 +160,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **workspace_id** | **str**| | **object_id** | **str**| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] ### Return type diff --git a/gooddata-api-client/docs/WorkspaceDataFilterSettingControllerApi.md b/gooddata-api-client/docs/WorkspaceDataFilterSettingControllerApi.md index d658c554a..ac85b4d23 100644 --- a/gooddata-api-client/docs/WorkspaceDataFilterSettingControllerApi.md +++ b/gooddata-api-client/docs/WorkspaceDataFilterSettingControllerApi.md @@ -141,7 +141,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance = workspace_data_filter_setting_controller_api.WorkspaceDataFilterSettingControllerApi(api_client) workspace_id = "workspaceId_example" # str | object_id = "objectId_example" # str | - filter = "title==someString;description==someString;workspaceDataFilter.id==321" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) # example passing only required values which don't have defaults set try: @@ -149,14 +148,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance.delete_entity_workspace_data_filter_settings(workspace_id, object_id) except gooddata_api_client.ApiException as e: print("Exception when calling WorkspaceDataFilterSettingControllerApi->delete_entity_workspace_data_filter_settings: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Delete a Settings for Workspace Data Filter - api_instance.delete_entity_workspace_data_filter_settings(workspace_id, object_id, filter=filter) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceDataFilterSettingControllerApi->delete_entity_workspace_data_filter_settings: %s\n" % e) ``` @@ -166,7 +157,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **workspace_id** | **str**| | **object_id** | **str**| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] ### Return type diff --git a/gooddata-api-client/docs/WorkspaceSettingControllerApi.md b/gooddata-api-client/docs/WorkspaceSettingControllerApi.md index 634267afa..996b37d00 100644 --- a/gooddata-api-client/docs/WorkspaceSettingControllerApi.md +++ b/gooddata-api-client/docs/WorkspaceSettingControllerApi.md @@ -129,7 +129,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance = workspace_setting_controller_api.WorkspaceSettingControllerApi(api_client) workspace_id = "workspaceId_example" # str | object_id = "objectId_example" # str | - filter = "content==JsonNodeValue;type==SettingTypeValue" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) # example passing only required values which don't have defaults set try: @@ -137,14 +136,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance.delete_entity_workspace_settings(workspace_id, object_id) except gooddata_api_client.ApiException as e: print("Exception when calling WorkspaceSettingControllerApi->delete_entity_workspace_settings: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Delete a Setting for Workspace - api_instance.delete_entity_workspace_settings(workspace_id, object_id, filter=filter) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspaceSettingControllerApi->delete_entity_workspace_settings: %s\n" % e) ``` @@ -154,7 +145,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **workspace_id** | **str**| | **object_id** | **str**| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] ### Return type diff --git a/gooddata-api-client/docs/WorkspacesSettingsApi.md b/gooddata-api-client/docs/WorkspacesSettingsApi.md index cfc51d37f..5cc0e23a9 100644 --- a/gooddata-api-client/docs/WorkspacesSettingsApi.md +++ b/gooddata-api-client/docs/WorkspacesSettingsApi.md @@ -228,7 +228,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance = workspaces_settings_api.WorkspacesSettingsApi(api_client) workspace_id = "workspaceId_example" # str | object_id = "objectId_example" # str | - filter = "applicationName==someString;content==JsonNodeValue" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) # example passing only required values which don't have defaults set try: @@ -236,14 +235,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance.delete_entity_custom_application_settings(workspace_id, object_id) except gooddata_api_client.ApiException as e: print("Exception when calling WorkspacesSettingsApi->delete_entity_custom_application_settings: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Delete a Custom Application Setting - api_instance.delete_entity_custom_application_settings(workspace_id, object_id, filter=filter) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspacesSettingsApi->delete_entity_custom_application_settings: %s\n" % e) ``` @@ -253,7 +244,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **workspace_id** | **str**| | **object_id** | **str**| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] ### Return type @@ -303,7 +293,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance = workspaces_settings_api.WorkspacesSettingsApi(api_client) workspace_id = "workspaceId_example" # str | object_id = "objectId_example" # str | - filter = "content==JsonNodeValue;type==SettingTypeValue" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) # example passing only required values which don't have defaults set try: @@ -311,14 +300,6 @@ with gooddata_api_client.ApiClient() as api_client: api_instance.delete_entity_workspace_settings(workspace_id, object_id) except gooddata_api_client.ApiException as e: print("Exception when calling WorkspacesSettingsApi->delete_entity_workspace_settings: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Delete a Setting for Workspace - api_instance.delete_entity_workspace_settings(workspace_id, object_id, filter=filter) - except gooddata_api_client.ApiException as e: - print("Exception when calling WorkspacesSettingsApi->delete_entity_workspace_settings: %s\n" % e) ``` @@ -328,7 +309,6 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **workspace_id** | **str**| | **object_id** | **str**| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] ### Return type diff --git a/gooddata-api-client/gooddata_api_client/api/actions_api.py b/gooddata-api-client/gooddata_api_client/api/actions_api.py index d17551513..464277355 100644 --- a/gooddata-api-client/gooddata_api_client/api/actions_api.py +++ b/gooddata-api-client/gooddata_api_client/api/actions_api.py @@ -56,6 +56,8 @@ from gooddata_api_client.model.create_knowledge_document_request_dto import CreateKnowledgeDocumentRequestDto from gooddata_api_client.model.create_knowledge_document_response_dto import CreateKnowledgeDocumentResponseDto from gooddata_api_client.model.dashboard_permissions import DashboardPermissions +from gooddata_api_client.model.dashboard_summary_request_dto import DashboardSummaryRequestDto +from gooddata_api_client.model.dashboard_summary_response_dto import DashboardSummaryResponseDto from gooddata_api_client.model.dashboard_tabular_export_request import DashboardTabularExportRequest from gooddata_api_client.model.data_source_permission_assignment import DataSourcePermissionAssignment from gooddata_api_client.model.data_source_schemata import DataSourceSchemata @@ -69,6 +71,7 @@ from gooddata_api_client.model.entitlements_request import EntitlementsRequest from gooddata_api_client.model.execution_result import ExecutionResult from gooddata_api_client.model.export_response import ExportResponse +from gooddata_api_client.model.feedback_request_dto import FeedbackRequestDto from gooddata_api_client.model.forecast_request import ForecastRequest from gooddata_api_client.model.forecast_result import ForecastResult from gooddata_api_client.model.gd_storage_file import GdStorageFile @@ -90,6 +93,8 @@ from gooddata_api_client.model.key_drivers_response import KeyDriversResponse from gooddata_api_client.model.key_drivers_result import KeyDriversResult from gooddata_api_client.model.knowledge_document_metadata_dto import KnowledgeDocumentMetadataDto +from gooddata_api_client.model.knowledge_recommendations_request_dto import KnowledgeRecommendationsRequestDto +from gooddata_api_client.model.knowledge_recommendations_response_dto import KnowledgeRecommendationsResponseDto from gooddata_api_client.model.list_knowledge_documents_response_dto import ListKnowledgeDocumentsResponseDto from gooddata_api_client.model.list_llm_provider_models_request import ListLlmProviderModelsRequest from gooddata_api_client.model.list_llm_provider_models_response import ListLlmProviderModelsResponse @@ -144,6 +149,9 @@ from gooddata_api_client.model.validate_llm_endpoint_request import ValidateLLMEndpointRequest from gooddata_api_client.model.validate_llm_endpoint_response import ValidateLLMEndpointResponse from gooddata_api_client.model.visual_export_request import VisualExportRequest +from gooddata_api_client.model.workflow_dashboard_summary_request_dto import WorkflowDashboardSummaryRequestDto +from gooddata_api_client.model.workflow_dashboard_summary_response_dto import WorkflowDashboardSummaryResponseDto +from gooddata_api_client.model.workflow_status_response_dto import WorkflowStatusResponseDto from gooddata_api_client.model.workspace_automation_management_bulk_request import WorkspaceAutomationManagementBulkRequest from gooddata_api_client.model.workspace_permission_assignment import WorkspacePermissionAssignment from gooddata_api_client.model.workspace_user_groups import WorkspaceUserGroups @@ -826,6 +834,130 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.cancel_workflow_endpoint = _Endpoint( + settings={ + 'response_type': ({str: (str,)},), + 'auth': [], + 'endpoint_path': '/api/v1/actions/workspaces/{workspaceId}/ai/workflow/{runId}/cancel', + 'operation_id': 'cancel_workflow', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'run_id', + ], + 'required': [ + 'workspace_id', + 'run_id', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + 'workspace_id', + ] + }, + root_map={ + 'validations': { + ('workspace_id',): { + + 'regex': { + 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 + }, + }, + }, + 'allowed_values': { + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'run_id': + (str,), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'run_id': 'runId', + }, + 'location_map': { + 'workspace_id': 'path', + 'run_id': 'path', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [], + }, + api_client=api_client + ) + self.cancel_workflow1_endpoint = _Endpoint( + settings={ + 'response_type': ({str: (str,)},), + 'auth': [], + 'endpoint_path': '/api/v1/actions/workspaces/{workspaceId}/ai/agent/{runId}/cancel', + 'operation_id': 'cancel_workflow1', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'run_id', + ], + 'required': [ + 'workspace_id', + 'run_id', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + 'workspace_id', + ] + }, + root_map={ + 'validations': { + ('workspace_id',): { + + 'regex': { + 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 + }, + }, + }, + 'allowed_values': { + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'run_id': + (str,), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'run_id': 'runId', + }, + 'location_map': { + 'workspace_id': 'path', + 'run_id': 'path', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [], + }, + api_client=api_client + ) self.change_analysis_endpoint = _Endpoint( settings={ 'response_type': (ChangeAnalysisResponse,), @@ -2671,6 +2803,132 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.generate_dashboard_summary_endpoint = _Endpoint( + settings={ + 'response_type': (WorkflowDashboardSummaryResponseDto,), + 'auth': [], + 'endpoint_path': '/api/v1/actions/workspaces/{workspaceId}/ai/workflow/dashboardSummary', + 'operation_id': 'generate_dashboard_summary', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'workflow_dashboard_summary_request_dto', + ], + 'required': [ + 'workspace_id', + 'workflow_dashboard_summary_request_dto', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + 'workspace_id', + ] + }, + root_map={ + 'validations': { + ('workspace_id',): { + + 'regex': { + 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 + }, + }, + }, + 'allowed_values': { + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'workflow_dashboard_summary_request_dto': + (WorkflowDashboardSummaryRequestDto,), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + }, + 'location_map': { + 'workspace_id': 'path', + 'workflow_dashboard_summary_request_dto': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) + self.generate_dashboard_summary1_endpoint = _Endpoint( + settings={ + 'response_type': (DashboardSummaryResponseDto,), + 'auth': [], + 'endpoint_path': '/api/v1/actions/workspaces/{workspaceId}/ai/agent/dashboardSummary', + 'operation_id': 'generate_dashboard_summary1', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'dashboard_summary_request_dto', + ], + 'required': [ + 'workspace_id', + 'dashboard_summary_request_dto', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + 'workspace_id', + ] + }, + root_map={ + 'validations': { + ('workspace_id',): { + + 'regex': { + 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 + }, + }, + }, + 'allowed_values': { + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'dashboard_summary_request_dto': + (DashboardSummaryRequestDto,), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + }, + 'location_map': { + 'workspace_id': 'path', + 'dashboard_summary_request_dto': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) self.generate_description_endpoint = _Endpoint( settings={ 'response_type': (GenerateDescriptionResponse,), @@ -2734,6 +2992,69 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.generate_knowledge_recommendations_endpoint = _Endpoint( + settings={ + 'response_type': (KnowledgeRecommendationsResponseDto,), + 'auth': [], + 'endpoint_path': '/api/v1/actions/workspaces/{workspaceId}/ai/agent/knowledgeRecommendations', + 'operation_id': 'generate_knowledge_recommendations', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'knowledge_recommendations_request_dto', + ], + 'required': [ + 'workspace_id', + 'knowledge_recommendations_request_dto', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + 'workspace_id', + ] + }, + root_map={ + 'validations': { + ('workspace_id',): { + + 'regex': { + 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 + }, + }, + }, + 'allowed_values': { + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'knowledge_recommendations_request_dto': + (KnowledgeRecommendationsRequestDto,), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + }, + 'location_map': { + 'workspace_id': 'path', + 'knowledge_recommendations_request_dto': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) self.generate_logical_model_endpoint = _Endpoint( settings={ 'response_type': (DeclarativeModel,), @@ -3728,100 +4049,224 @@ def __init__(self, api_client=None): ) self.get_tabular_export_endpoint = _Endpoint( settings={ - 'response_type': (file_type,), + 'response_type': (file_type,), + 'auth': [], + 'endpoint_path': '/api/v1/actions/workspaces/{workspaceId}/export/tabular/{exportId}', + 'operation_id': 'get_tabular_export', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'export_id', + ], + 'required': [ + 'workspace_id', + 'export_id', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'export_id': + (str,), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'export_id': 'exportId', + }, + 'location_map': { + 'workspace_id': 'path', + 'export_id': 'path', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/pdf', + 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', + 'application/zip', + 'text/csv', + 'text/html' + ], + 'content_type': [], + }, + api_client=api_client + ) + self.get_translation_tags_endpoint = _Endpoint( + settings={ + 'response_type': ([str],), + 'auth': [], + 'endpoint_path': '/api/v1/actions/workspaces/{workspaceId}/translations', + 'operation_id': 'get_translation_tags', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + ], + 'required': [ + 'workspace_id', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'workspace_id': + (str,), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + }, + 'location_map': { + 'workspace_id': 'path', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [], + }, + api_client=api_client + ) + self.get_workflow_status_endpoint = _Endpoint( + settings={ + 'response_type': (WorkflowStatusResponseDto,), 'auth': [], - 'endpoint_path': '/api/v1/actions/workspaces/{workspaceId}/export/tabular/{exportId}', - 'operation_id': 'get_tabular_export', + 'endpoint_path': '/api/v1/actions/workspaces/{workspaceId}/ai/workflow/{runId}/status', + 'operation_id': 'get_workflow_status', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ 'workspace_id', - 'export_id', + 'run_id', ], 'required': [ 'workspace_id', - 'export_id', + 'run_id', ], 'nullable': [ ], 'enum': [ ], 'validation': [ + 'workspace_id', ] }, root_map={ 'validations': { + ('workspace_id',): { + + 'regex': { + 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 + }, + }, }, 'allowed_values': { }, 'openapi_types': { 'workspace_id': (str,), - 'export_id': + 'run_id': (str,), }, 'attribute_map': { 'workspace_id': 'workspaceId', - 'export_id': 'exportId', + 'run_id': 'runId', }, 'location_map': { 'workspace_id': 'path', - 'export_id': 'path', + 'run_id': 'path', }, 'collection_format_map': { } }, headers_map={ 'accept': [ - 'application/pdf', - 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', - 'application/zip', - 'text/csv', - 'text/html' + 'application/json' ], 'content_type': [], }, api_client=api_client ) - self.get_translation_tags_endpoint = _Endpoint( + self.get_workflow_status1_endpoint = _Endpoint( settings={ - 'response_type': ([str],), + 'response_type': (WorkflowStatusResponseDto,), 'auth': [], - 'endpoint_path': '/api/v1/actions/workspaces/{workspaceId}/translations', - 'operation_id': 'get_translation_tags', + 'endpoint_path': '/api/v1/actions/workspaces/{workspaceId}/ai/agent/{runId}/status', + 'operation_id': 'get_workflow_status1', 'http_method': 'GET', 'servers': None, }, params_map={ 'all': [ 'workspace_id', + 'run_id', ], 'required': [ 'workspace_id', + 'run_id', ], 'nullable': [ ], 'enum': [ ], 'validation': [ + 'workspace_id', ] }, root_map={ 'validations': { + ('workspace_id',): { + + 'regex': { + 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 + }, + }, }, 'allowed_values': { }, 'openapi_types': { 'workspace_id': (str,), + 'run_id': + (str,), }, 'attribute_map': { 'workspace_id': 'workspaceId', + 'run_id': 'runId', }, 'location_map': { 'workspace_id': 'path', + 'run_id': 'path', }, 'collection_format_map': { } @@ -7544,6 +7989,75 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.user_feedback_endpoint = _Endpoint( + settings={ + 'response_type': ({str: (str,)},), + 'auth': [], + 'endpoint_path': '/api/v1/actions/workspaces/{workspaceId}/ai/agent/{runId}/feedback', + 'operation_id': 'user_feedback', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'workspace_id', + 'run_id', + 'feedback_request_dto', + ], + 'required': [ + 'workspace_id', + 'run_id', + 'feedback_request_dto', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + 'workspace_id', + ] + }, + root_map={ + 'validations': { + ('workspace_id',): { + + 'regex': { + 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 + }, + }, + }, + 'allowed_values': { + }, + 'openapi_types': { + 'workspace_id': + (str,), + 'run_id': + (str,), + 'feedback_request_dto': + (FeedbackRequestDto,), + }, + 'attribute_map': { + 'workspace_id': 'workspaceId', + 'run_id': 'runId', + }, + 'location_map': { + 'workspace_id': 'path', + 'run_id': 'path', + 'feedback_request_dto': 'body', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) self.validate_llm_endpoint_endpoint = _Endpoint( settings={ 'response_type': (ValidateLLMEndpointResponse,), @@ -8589,7 +9103,180 @@ def available_assignees( async_req (bool): execute request asynchronously Returns: - AvailableAssignees + AvailableAssignees + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['dashboard_id'] = \ + dashboard_id + return self.available_assignees_endpoint.call_with_http_info(**kwargs) + + def cancel_executions( + self, + workspace_id, + afm_cancel_tokens, + **kwargs + ): + """Applies all the given cancel tokens. # noqa: E501 + + Each cancel token corresponds to one unique execution request for the same result id. If all cancel tokens for the same result id are applied, the execution for this result id is cancelled. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.cancel_executions(workspace_id, afm_cancel_tokens, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): Workspace identifier + afm_cancel_tokens (AfmCancelTokens): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + AfmCancelTokens + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['afm_cancel_tokens'] = \ + afm_cancel_tokens + return self.cancel_executions_endpoint.call_with_http_info(**kwargs) + + def cancel_workflow( + self, + workspace_id, + run_id, + **kwargs + ): + """cancel_workflow # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.cancel_workflow(workspace_id, run_id, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): Workspace identifier + run_id (str): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + {str: (str,)} If the method is called asynchronously, returns the request thread. """ @@ -8620,28 +9307,27 @@ def available_assignees( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['workspace_id'] = \ workspace_id - kwargs['dashboard_id'] = \ - dashboard_id - return self.available_assignees_endpoint.call_with_http_info(**kwargs) + kwargs['run_id'] = \ + run_id + return self.cancel_workflow_endpoint.call_with_http_info(**kwargs) - def cancel_executions( + def cancel_workflow1( self, workspace_id, - afm_cancel_tokens, + run_id, **kwargs ): - """Applies all the given cancel tokens. # noqa: E501 + """cancel_workflow1 # noqa: E501 - Each cancel token corresponds to one unique execution request for the same result id. If all cancel tokens for the same result id are applied, the execution for this result id is cancelled. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.cancel_executions(workspace_id, afm_cancel_tokens, async_req=True) + >>> thread = api.cancel_workflow1(workspace_id, run_id, async_req=True) >>> result = thread.get() Args: workspace_id (str): Workspace identifier - afm_cancel_tokens (AfmCancelTokens): + run_id (str): Keyword Args: _return_http_data_only (bool): response data without head status @@ -8676,7 +9362,7 @@ def cancel_executions( async_req (bool): execute request asynchronously Returns: - AfmCancelTokens + {str: (str,)} If the method is called asynchronously, returns the request thread. """ @@ -8707,9 +9393,9 @@ def cancel_executions( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['workspace_id'] = \ workspace_id - kwargs['afm_cancel_tokens'] = \ - afm_cancel_tokens - return self.cancel_executions_endpoint.call_with_http_info(**kwargs) + kwargs['run_id'] = \ + run_id + return self.cancel_workflow1_endpoint.call_with_http_info(**kwargs) def change_analysis( self, @@ -11240,16 +11926,275 @@ def forecast_result( This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.forecast_result(workspace_id, result_id, async_req=True) + >>> thread = api.forecast_result(workspace_id, result_id, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): Workspace identifier + result_id (str): Result ID + + Keyword Args: + offset (int): [optional] + limit (int): [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + ForecastResult + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['result_id'] = \ + result_id + return self.forecast_result_endpoint.call_with_http_info(**kwargs) + + def generate_dashboard_summary( + self, + workspace_id, + workflow_dashboard_summary_request_dto, + **kwargs + ): + """generate_dashboard_summary # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.generate_dashboard_summary(workspace_id, workflow_dashboard_summary_request_dto, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): Workspace identifier + workflow_dashboard_summary_request_dto (WorkflowDashboardSummaryRequestDto): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + WorkflowDashboardSummaryResponseDto + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['workflow_dashboard_summary_request_dto'] = \ + workflow_dashboard_summary_request_dto + return self.generate_dashboard_summary_endpoint.call_with_http_info(**kwargs) + + def generate_dashboard_summary1( + self, + workspace_id, + dashboard_summary_request_dto, + **kwargs + ): + """generate_dashboard_summary1 # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.generate_dashboard_summary1(workspace_id, dashboard_summary_request_dto, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): Workspace identifier + dashboard_summary_request_dto (DashboardSummaryRequestDto): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + DashboardSummaryResponseDto + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['dashboard_summary_request_dto'] = \ + dashboard_summary_request_dto + return self.generate_dashboard_summary1_endpoint.call_with_http_info(**kwargs) + + def generate_description( + self, + workspace_id, + generate_description_request, + **kwargs + ): + """Generate Description for Analytics Object # noqa: E501 + + Generates a description for the specified analytics object. Returns description and a note with details if generation was not performed. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.generate_description(workspace_id, generate_description_request, async_req=True) >>> result = thread.get() Args: workspace_id (str): Workspace identifier - result_id (str): Result ID + generate_description_request (GenerateDescriptionRequest): Keyword Args: - offset (int): [optional] - limit (int): [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -11282,7 +12227,7 @@ def forecast_result( async_req (bool): execute request asynchronously Returns: - ForecastResult + GenerateDescriptionResponse If the method is called asynchronously, returns the request thread. """ @@ -11313,28 +12258,27 @@ def forecast_result( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['workspace_id'] = \ workspace_id - kwargs['result_id'] = \ - result_id - return self.forecast_result_endpoint.call_with_http_info(**kwargs) + kwargs['generate_description_request'] = \ + generate_description_request + return self.generate_description_endpoint.call_with_http_info(**kwargs) - def generate_description( + def generate_knowledge_recommendations( self, workspace_id, - generate_description_request, + knowledge_recommendations_request_dto, **kwargs ): - """Generate Description for Analytics Object # noqa: E501 + """generate_knowledge_recommendations # noqa: E501 - Generates a description for the specified analytics object. Returns description and a note with details if generation was not performed. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.generate_description(workspace_id, generate_description_request, async_req=True) + >>> thread = api.generate_knowledge_recommendations(workspace_id, knowledge_recommendations_request_dto, async_req=True) >>> result = thread.get() Args: workspace_id (str): Workspace identifier - generate_description_request (GenerateDescriptionRequest): + knowledge_recommendations_request_dto (KnowledgeRecommendationsRequestDto): Keyword Args: _return_http_data_only (bool): response data without head status @@ -11369,7 +12313,7 @@ def generate_description( async_req (bool): execute request asynchronously Returns: - GenerateDescriptionResponse + KnowledgeRecommendationsResponseDto If the method is called asynchronously, returns the request thread. """ @@ -11400,9 +12344,9 @@ def generate_description( kwargs['_request_auths'] = kwargs.get('_request_auths', None) kwargs['workspace_id'] = \ workspace_id - kwargs['generate_description_request'] = \ - generate_description_request - return self.generate_description_endpoint.call_with_http_info(**kwargs) + kwargs['knowledge_recommendations_request_dto'] = \ + knowledge_recommendations_request_dto + return self.generate_knowledge_recommendations_endpoint.call_with_http_info(**kwargs) def generate_logical_model( self, @@ -13036,6 +13980,178 @@ def get_translation_tags( workspace_id return self.get_translation_tags_endpoint.call_with_http_info(**kwargs) + def get_workflow_status( + self, + workspace_id, + run_id, + **kwargs + ): + """get_workflow_status # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_workflow_status(workspace_id, run_id, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): Workspace identifier + run_id (str): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + WorkflowStatusResponseDto + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['run_id'] = \ + run_id + return self.get_workflow_status_endpoint.call_with_http_info(**kwargs) + + def get_workflow_status1( + self, + workspace_id, + run_id, + **kwargs + ): + """get_workflow_status1 # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.get_workflow_status1(workspace_id, run_id, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): Workspace identifier + run_id (str): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + WorkflowStatusResponseDto + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['run_id'] = \ + run_id + return self.get_workflow_status1_endpoint.call_with_http_info(**kwargs) + def import_csv( self, data_source_id, @@ -18702,6 +19818,96 @@ def upsert_document( upsert_knowledge_document_request_dto return self.upsert_document_endpoint.call_with_http_info(**kwargs) + def user_feedback( + self, + workspace_id, + run_id, + feedback_request_dto, + **kwargs + ): + """user_feedback # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.user_feedback(workspace_id, run_id, feedback_request_dto, async_req=True) + >>> result = thread.get() + + Args: + workspace_id (str): Workspace identifier + run_id (str): + feedback_request_dto (FeedbackRequestDto): + + Keyword Args: + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + _request_auths (list): set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + Default is None + async_req (bool): execute request asynchronously + + Returns: + {str: (str,)} + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['_request_auths'] = kwargs.get('_request_auths', None) + kwargs['workspace_id'] = \ + workspace_id + kwargs['run_id'] = \ + run_id + kwargs['feedback_request_dto'] = \ + feedback_request_dto + return self.user_feedback_endpoint.call_with_http_info(**kwargs) + def validate_llm_endpoint( self, validate_llm_endpoint_request, diff --git a/gooddata-api-client/gooddata_api_client/api/analytical_dashboard_controller_api.py b/gooddata-api-client/gooddata_api_client/api/analytical_dashboard_controller_api.py index d8b434ff4..e2782fab8 100644 --- a/gooddata-api-client/gooddata_api_client/api/analytical_dashboard_controller_api.py +++ b/gooddata-api-client/gooddata_api_client/api/analytical_dashboard_controller_api.py @@ -153,7 +153,6 @@ def __init__(self, api_client=None): 'all': [ 'workspace_id', 'object_id', - 'filter', ], 'required': [ 'workspace_id', @@ -176,18 +175,14 @@ def __init__(self, api_client=None): (str,), 'object_id': (str,), - 'filter': - (str,), }, 'attribute_map': { 'workspace_id': 'workspaceId', 'object_id': 'objectId', - 'filter': 'filter', }, 'location_map': { 'workspace_id': 'path', 'object_id': 'path', - 'filter': 'query', }, 'collection_format_map': { } @@ -799,7 +794,6 @@ def delete_entity_analytical_dashboards( object_id (str): Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object diff --git a/gooddata-api-client/gooddata_api_client/api/api_token_controller_api.py b/gooddata-api-client/gooddata_api_client/api/api_token_controller_api.py index db7a27f79..b4b737ccb 100644 --- a/gooddata-api-client/gooddata_api_client/api/api_token_controller_api.py +++ b/gooddata-api-client/gooddata_api_client/api/api_token_controller_api.py @@ -109,7 +109,6 @@ def __init__(self, api_client=None): 'all': [ 'user_id', 'id', - 'filter', ], 'required': [ 'user_id', @@ -139,18 +138,14 @@ def __init__(self, api_client=None): (str,), 'id': (str,), - 'filter': - (str,), }, 'attribute_map': { 'user_id': 'userId', 'id': 'id', - 'filter': 'filter', }, 'location_map': { 'user_id': 'path', 'id': 'path', - 'filter': 'query', }, 'collection_format_map': { } @@ -423,7 +418,6 @@ def delete_entity_api_tokens( id (str): Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object diff --git a/gooddata-api-client/gooddata_api_client/api/api_tokens_api.py b/gooddata-api-client/gooddata_api_client/api/api_tokens_api.py index 06c717db8..219b75840 100644 --- a/gooddata-api-client/gooddata_api_client/api/api_tokens_api.py +++ b/gooddata-api-client/gooddata_api_client/api/api_tokens_api.py @@ -109,7 +109,6 @@ def __init__(self, api_client=None): 'all': [ 'user_id', 'id', - 'filter', ], 'required': [ 'user_id', @@ -139,18 +138,14 @@ def __init__(self, api_client=None): (str,), 'id': (str,), - 'filter': - (str,), }, 'attribute_map': { 'user_id': 'userId', 'id': 'id', - 'filter': 'filter', }, 'location_map': { 'user_id': 'path', 'id': 'path', - 'filter': 'query', }, 'collection_format_map': { } @@ -423,7 +418,6 @@ def delete_entity_api_tokens( id (str): Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object diff --git a/gooddata-api-client/gooddata_api_client/api/attribute_hierarchies_api.py b/gooddata-api-client/gooddata_api_client/api/attribute_hierarchies_api.py index 8e291d7cd..11340aecf 100644 --- a/gooddata-api-client/gooddata_api_client/api/attribute_hierarchies_api.py +++ b/gooddata-api-client/gooddata_api_client/api/attribute_hierarchies_api.py @@ -143,7 +143,6 @@ def __init__(self, api_client=None): 'all': [ 'workspace_id', 'object_id', - 'filter', ], 'required': [ 'workspace_id', @@ -166,18 +165,14 @@ def __init__(self, api_client=None): (str,), 'object_id': (str,), - 'filter': - (str,), }, 'attribute_map': { 'workspace_id': 'workspaceId', 'object_id': 'objectId', - 'filter': 'filter', }, 'location_map': { 'workspace_id': 'path', 'object_id': 'path', - 'filter': 'query', }, 'collection_format_map': { } @@ -757,7 +752,6 @@ def delete_entity_attribute_hierarchies( object_id (str): Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object diff --git a/gooddata-api-client/gooddata_api_client/api/attribute_hierarchy_controller_api.py b/gooddata-api-client/gooddata_api_client/api/attribute_hierarchy_controller_api.py index 9be5c8c0e..adf7c3845 100644 --- a/gooddata-api-client/gooddata_api_client/api/attribute_hierarchy_controller_api.py +++ b/gooddata-api-client/gooddata_api_client/api/attribute_hierarchy_controller_api.py @@ -143,7 +143,6 @@ def __init__(self, api_client=None): 'all': [ 'workspace_id', 'object_id', - 'filter', ], 'required': [ 'workspace_id', @@ -166,18 +165,14 @@ def __init__(self, api_client=None): (str,), 'object_id': (str,), - 'filter': - (str,), }, 'attribute_map': { 'workspace_id': 'workspaceId', 'object_id': 'objectId', - 'filter': 'filter', }, 'location_map': { 'workspace_id': 'path', 'object_id': 'path', - 'filter': 'query', }, 'collection_format_map': { } @@ -757,7 +752,6 @@ def delete_entity_attribute_hierarchies( object_id (str): Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object diff --git a/gooddata-api-client/gooddata_api_client/api/automation_controller_api.py b/gooddata-api-client/gooddata_api_client/api/automation_controller_api.py index 15cbaac6e..872307f5c 100644 --- a/gooddata-api-client/gooddata_api_client/api/automation_controller_api.py +++ b/gooddata-api-client/gooddata_api_client/api/automation_controller_api.py @@ -150,7 +150,6 @@ def __init__(self, api_client=None): 'all': [ 'workspace_id', 'object_id', - 'filter', ], 'required': [ 'workspace_id', @@ -173,18 +172,14 @@ def __init__(self, api_client=None): (str,), 'object_id': (str,), - 'filter': - (str,), }, 'attribute_map': { 'workspace_id': 'workspaceId', 'object_id': 'objectId', - 'filter': 'filter', }, 'location_map': { 'workspace_id': 'path', 'object_id': 'path', - 'filter': 'query', }, 'collection_format_map': { } @@ -792,7 +787,6 @@ def delete_entity_automations( object_id (str): Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object diff --git a/gooddata-api-client/gooddata_api_client/api/automations_api.py b/gooddata-api-client/gooddata_api_client/api/automations_api.py index 82e49ce93..3338eb022 100644 --- a/gooddata-api-client/gooddata_api_client/api/automations_api.py +++ b/gooddata-api-client/gooddata_api_client/api/automations_api.py @@ -156,7 +156,6 @@ def __init__(self, api_client=None): 'all': [ 'workspace_id', 'object_id', - 'filter', ], 'required': [ 'workspace_id', @@ -179,18 +178,14 @@ def __init__(self, api_client=None): (str,), 'object_id': (str,), - 'filter': - (str,), }, 'attribute_map': { 'workspace_id': 'workspaceId', 'object_id': 'objectId', - 'filter': 'filter', }, 'location_map': { 'workspace_id': 'path', 'object_id': 'path', - 'filter': 'query', }, 'collection_format_map': { } @@ -1746,7 +1741,6 @@ def delete_entity_automations( object_id (str): Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object diff --git a/gooddata-api-client/gooddata_api_client/api/custom_application_setting_controller_api.py b/gooddata-api-client/gooddata_api_client/api/custom_application_setting_controller_api.py index a89f8f7f2..af1c41a1c 100644 --- a/gooddata-api-client/gooddata_api_client/api/custom_application_setting_controller_api.py +++ b/gooddata-api-client/gooddata_api_client/api/custom_application_setting_controller_api.py @@ -129,7 +129,6 @@ def __init__(self, api_client=None): 'all': [ 'workspace_id', 'object_id', - 'filter', ], 'required': [ 'workspace_id', @@ -152,18 +151,14 @@ def __init__(self, api_client=None): (str,), 'object_id': (str,), - 'filter': - (str,), }, 'attribute_map': { 'workspace_id': 'workspaceId', 'object_id': 'objectId', - 'filter': 'filter', }, 'location_map': { 'workspace_id': 'path', 'object_id': 'path', - 'filter': 'query', }, 'collection_format_map': { } @@ -682,7 +677,6 @@ def delete_entity_custom_application_settings( object_id (str): Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object diff --git a/gooddata-api-client/gooddata_api_client/api/custom_geo_collection_controller_api.py b/gooddata-api-client/gooddata_api_client/api/custom_geo_collection_controller_api.py index 65abbddec..c82e5df61 100644 --- a/gooddata-api-client/gooddata_api_client/api/custom_geo_collection_controller_api.py +++ b/gooddata-api-client/gooddata_api_client/api/custom_geo_collection_controller_api.py @@ -103,7 +103,6 @@ def __init__(self, api_client=None): params_map={ 'all': [ 'id', - 'filter', ], 'required': [ 'id', @@ -130,16 +129,12 @@ def __init__(self, api_client=None): 'openapi_types': { 'id': (str,), - 'filter': - (str,), }, 'attribute_map': { 'id': 'id', - 'filter': 'filter', }, 'location_map': { 'id': 'path', - 'filter': 'query', }, 'collection_format_map': { } @@ -533,7 +528,6 @@ def delete_entity_custom_geo_collections( id (str): Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object diff --git a/gooddata-api-client/gooddata_api_client/api/dashboard_plugin_controller_api.py b/gooddata-api-client/gooddata_api_client/api/dashboard_plugin_controller_api.py index 1ea10bd41..82877b1f8 100644 --- a/gooddata-api-client/gooddata_api_client/api/dashboard_plugin_controller_api.py +++ b/gooddata-api-client/gooddata_api_client/api/dashboard_plugin_controller_api.py @@ -143,7 +143,6 @@ def __init__(self, api_client=None): 'all': [ 'workspace_id', 'object_id', - 'filter', ], 'required': [ 'workspace_id', @@ -166,18 +165,14 @@ def __init__(self, api_client=None): (str,), 'object_id': (str,), - 'filter': - (str,), }, 'attribute_map': { 'workspace_id': 'workspaceId', 'object_id': 'objectId', - 'filter': 'filter', }, 'location_map': { 'workspace_id': 'path', 'object_id': 'path', - 'filter': 'query', }, 'collection_format_map': { } @@ -753,7 +748,6 @@ def delete_entity_dashboard_plugins( object_id (str): Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object diff --git a/gooddata-api-client/gooddata_api_client/api/dashboards_api.py b/gooddata-api-client/gooddata_api_client/api/dashboards_api.py index 8bb0ae946..fc71cc15a 100644 --- a/gooddata-api-client/gooddata_api_client/api/dashboards_api.py +++ b/gooddata-api-client/gooddata_api_client/api/dashboards_api.py @@ -153,7 +153,6 @@ def __init__(self, api_client=None): 'all': [ 'workspace_id', 'object_id', - 'filter', ], 'required': [ 'workspace_id', @@ -176,18 +175,14 @@ def __init__(self, api_client=None): (str,), 'object_id': (str,), - 'filter': - (str,), }, 'attribute_map': { 'workspace_id': 'workspaceId', 'object_id': 'objectId', - 'filter': 'filter', }, 'location_map': { 'workspace_id': 'path', 'object_id': 'path', - 'filter': 'query', }, 'collection_format_map': { } @@ -799,7 +794,6 @@ def delete_entity_analytical_dashboards( object_id (str): Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object diff --git a/gooddata-api-client/gooddata_api_client/api/data_filters_api.py b/gooddata-api-client/gooddata_api_client/api/data_filters_api.py index 255f93c94..eaeb78182 100644 --- a/gooddata-api-client/gooddata_api_client/api/data_filters_api.py +++ b/gooddata-api-client/gooddata_api_client/api/data_filters_api.py @@ -334,7 +334,6 @@ def __init__(self, api_client=None): 'all': [ 'workspace_id', 'object_id', - 'filter', ], 'required': [ 'workspace_id', @@ -357,18 +356,14 @@ def __init__(self, api_client=None): (str,), 'object_id': (str,), - 'filter': - (str,), }, 'attribute_map': { 'workspace_id': 'workspaceId', 'object_id': 'objectId', - 'filter': 'filter', }, 'location_map': { 'workspace_id': 'path', 'object_id': 'path', - 'filter': 'query', }, 'collection_format_map': { } @@ -392,7 +387,6 @@ def __init__(self, api_client=None): 'all': [ 'workspace_id', 'object_id', - 'filter', ], 'required': [ 'workspace_id', @@ -415,18 +409,14 @@ def __init__(self, api_client=None): (str,), 'object_id': (str,), - 'filter': - (str,), }, 'attribute_map': { 'workspace_id': 'workspaceId', 'object_id': 'objectId', - 'filter': 'filter', }, 'location_map': { 'workspace_id': 'path', 'object_id': 'path', - 'filter': 'query', }, 'collection_format_map': { } @@ -450,7 +440,6 @@ def __init__(self, api_client=None): 'all': [ 'workspace_id', 'object_id', - 'filter', ], 'required': [ 'workspace_id', @@ -473,18 +462,14 @@ def __init__(self, api_client=None): (str,), 'object_id': (str,), - 'filter': - (str,), }, 'attribute_map': { 'workspace_id': 'workspaceId', 'object_id': 'objectId', - 'filter': 'filter', }, 'location_map': { 'workspace_id': 'path', 'object_id': 'path', - 'filter': 'query', }, 'collection_format_map': { } @@ -2256,7 +2241,6 @@ def delete_entity_user_data_filters( object_id (str): Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -2343,7 +2327,6 @@ def delete_entity_workspace_data_filter_settings( object_id (str): Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -2430,7 +2413,6 @@ def delete_entity_workspace_data_filters( object_id (str): Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object diff --git a/gooddata-api-client/gooddata_api_client/api/data_source_controller_api.py b/gooddata-api-client/gooddata_api_client/api/data_source_controller_api.py index 2bad124d5..114258670 100644 --- a/gooddata-api-client/gooddata_api_client/api/data_source_controller_api.py +++ b/gooddata-api-client/gooddata_api_client/api/data_source_controller_api.py @@ -120,7 +120,6 @@ def __init__(self, api_client=None): params_map={ 'all': [ 'id', - 'filter', ], 'required': [ 'id', @@ -147,16 +146,12 @@ def __init__(self, api_client=None): 'openapi_types': { 'id': (str,), - 'filter': - (str,), }, 'attribute_map': { 'id': 'id', - 'filter': 'filter', }, 'location_map': { 'id': 'path', - 'filter': 'query', }, 'collection_format_map': { } @@ -571,7 +566,6 @@ def delete_entity_data_sources( id (str): Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object diff --git a/gooddata-api-client/gooddata_api_client/api/data_source_entity_apis_api.py b/gooddata-api-client/gooddata_api_client/api/data_source_entity_apis_api.py index 6f2c91f7d..dfdd5adb1 100644 --- a/gooddata-api-client/gooddata_api_client/api/data_source_entity_apis_api.py +++ b/gooddata-api-client/gooddata_api_client/api/data_source_entity_apis_api.py @@ -122,7 +122,6 @@ def __init__(self, api_client=None): params_map={ 'all': [ 'id', - 'filter', ], 'required': [ 'id', @@ -149,16 +148,12 @@ def __init__(self, api_client=None): 'openapi_types': { 'id': (str,), - 'filter': - (str,), }, 'attribute_map': { 'id': 'id', - 'filter': 'filter', }, 'location_map': { 'id': 'path', - 'filter': 'query', }, 'collection_format_map': { } @@ -734,7 +729,6 @@ def delete_entity_data_sources( id (str): Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object diff --git a/gooddata-api-client/gooddata_api_client/api/entities_api.py b/gooddata-api-client/gooddata_api_client/api/entities_api.py index 3e4af87d9..861225871 100644 --- a/gooddata-api-client/gooddata_api_client/api/entities_api.py +++ b/gooddata-api-client/gooddata_api_client/api/entities_api.py @@ -2615,7 +2615,6 @@ def __init__(self, api_client=None): 'all': [ 'workspace_id', 'object_id', - 'filter', ], 'required': [ 'workspace_id', @@ -2638,18 +2637,14 @@ def __init__(self, api_client=None): (str,), 'object_id': (str,), - 'filter': - (str,), }, 'attribute_map': { 'workspace_id': 'workspaceId', 'object_id': 'objectId', - 'filter': 'filter', }, 'location_map': { 'workspace_id': 'path', 'object_id': 'path', - 'filter': 'query', }, 'collection_format_map': { } @@ -2673,7 +2668,6 @@ def __init__(self, api_client=None): 'all': [ 'user_id', 'id', - 'filter', ], 'required': [ 'user_id', @@ -2703,18 +2697,14 @@ def __init__(self, api_client=None): (str,), 'id': (str,), - 'filter': - (str,), }, 'attribute_map': { 'user_id': 'userId', 'id': 'id', - 'filter': 'filter', }, 'location_map': { 'user_id': 'path', 'id': 'path', - 'filter': 'query', }, 'collection_format_map': { } @@ -2738,7 +2728,6 @@ def __init__(self, api_client=None): 'all': [ 'workspace_id', 'object_id', - 'filter', ], 'required': [ 'workspace_id', @@ -2761,18 +2750,14 @@ def __init__(self, api_client=None): (str,), 'object_id': (str,), - 'filter': - (str,), }, 'attribute_map': { 'workspace_id': 'workspaceId', 'object_id': 'objectId', - 'filter': 'filter', }, 'location_map': { 'workspace_id': 'path', 'object_id': 'path', - 'filter': 'query', }, 'collection_format_map': { } @@ -2796,7 +2781,6 @@ def __init__(self, api_client=None): 'all': [ 'workspace_id', 'object_id', - 'filter', ], 'required': [ 'workspace_id', @@ -2819,18 +2803,14 @@ def __init__(self, api_client=None): (str,), 'object_id': (str,), - 'filter': - (str,), }, 'attribute_map': { 'workspace_id': 'workspaceId', 'object_id': 'objectId', - 'filter': 'filter', }, 'location_map': { 'workspace_id': 'path', 'object_id': 'path', - 'filter': 'query', }, 'collection_format_map': { } @@ -2972,7 +2952,6 @@ def __init__(self, api_client=None): 'all': [ 'workspace_id', 'object_id', - 'filter', ], 'required': [ 'workspace_id', @@ -2995,18 +2974,14 @@ def __init__(self, api_client=None): (str,), 'object_id': (str,), - 'filter': - (str,), }, 'attribute_map': { 'workspace_id': 'workspaceId', 'object_id': 'objectId', - 'filter': 'filter', }, 'location_map': { 'workspace_id': 'path', 'object_id': 'path', - 'filter': 'query', }, 'collection_format_map': { } @@ -3029,7 +3004,6 @@ def __init__(self, api_client=None): params_map={ 'all': [ 'id', - 'filter', ], 'required': [ 'id', @@ -3056,16 +3030,12 @@ def __init__(self, api_client=None): 'openapi_types': { 'id': (str,), - 'filter': - (str,), }, 'attribute_map': { 'id': 'id', - 'filter': 'filter', }, 'location_map': { 'id': 'path', - 'filter': 'query', }, 'collection_format_map': { } @@ -3089,7 +3059,6 @@ def __init__(self, api_client=None): 'all': [ 'workspace_id', 'object_id', - 'filter', ], 'required': [ 'workspace_id', @@ -3112,18 +3081,14 @@ def __init__(self, api_client=None): (str,), 'object_id': (str,), - 'filter': - (str,), }, 'attribute_map': { 'workspace_id': 'workspaceId', 'object_id': 'objectId', - 'filter': 'filter', }, 'location_map': { 'workspace_id': 'path', 'object_id': 'path', - 'filter': 'query', }, 'collection_format_map': { } @@ -3146,7 +3111,6 @@ def __init__(self, api_client=None): params_map={ 'all': [ 'id', - 'filter', ], 'required': [ 'id', @@ -3173,16 +3137,12 @@ def __init__(self, api_client=None): 'openapi_types': { 'id': (str,), - 'filter': - (str,), }, 'attribute_map': { 'id': 'id', - 'filter': 'filter', }, 'location_map': { 'id': 'path', - 'filter': 'query', }, 'collection_format_map': { } @@ -3206,7 +3166,6 @@ def __init__(self, api_client=None): 'all': [ 'workspace_id', 'object_id', - 'filter', ], 'required': [ 'workspace_id', @@ -3229,18 +3188,14 @@ def __init__(self, api_client=None): (str,), 'object_id': (str,), - 'filter': - (str,), }, 'attribute_map': { 'workspace_id': 'workspaceId', 'object_id': 'objectId', - 'filter': 'filter', }, 'location_map': { 'workspace_id': 'path', 'object_id': 'path', - 'filter': 'query', }, 'collection_format_map': { } @@ -3323,7 +3278,6 @@ def __init__(self, api_client=None): 'all': [ 'workspace_id', 'object_id', - 'filter', ], 'required': [ 'workspace_id', @@ -3346,18 +3300,14 @@ def __init__(self, api_client=None): (str,), 'object_id': (str,), - 'filter': - (str,), }, 'attribute_map': { 'workspace_id': 'workspaceId', 'object_id': 'objectId', - 'filter': 'filter', }, 'location_map': { 'workspace_id': 'path', 'object_id': 'path', - 'filter': 'query', }, 'collection_format_map': { } @@ -3381,7 +3331,6 @@ def __init__(self, api_client=None): 'all': [ 'workspace_id', 'object_id', - 'filter', ], 'required': [ 'workspace_id', @@ -3404,18 +3353,14 @@ def __init__(self, api_client=None): (str,), 'object_id': (str,), - 'filter': - (str,), }, 'attribute_map': { 'workspace_id': 'workspaceId', 'object_id': 'objectId', - 'filter': 'filter', }, 'location_map': { 'workspace_id': 'path', 'object_id': 'path', - 'filter': 'query', }, 'collection_format_map': { } @@ -3497,7 +3442,6 @@ def __init__(self, api_client=None): params_map={ 'all': [ 'id', - 'filter', ], 'required': [ 'id', @@ -3524,16 +3468,12 @@ def __init__(self, api_client=None): 'openapi_types': { 'id': (str,), - 'filter': - (str,), }, 'attribute_map': { 'id': 'id', - 'filter': 'filter', }, 'location_map': { 'id': 'path', - 'filter': 'query', }, 'collection_format_map': { } @@ -3791,7 +3731,6 @@ def __init__(self, api_client=None): 'all': [ 'workspace_id', 'object_id', - 'filter', ], 'required': [ 'workspace_id', @@ -3814,18 +3753,14 @@ def __init__(self, api_client=None): (str,), 'object_id': (str,), - 'filter': - (str,), }, 'attribute_map': { 'workspace_id': 'workspaceId', 'object_id': 'objectId', - 'filter': 'filter', }, 'location_map': { 'workspace_id': 'path', 'object_id': 'path', - 'filter': 'query', }, 'collection_format_map': { } @@ -4026,7 +3961,6 @@ def __init__(self, api_client=None): 'all': [ 'workspace_id', 'object_id', - 'filter', ], 'required': [ 'workspace_id', @@ -4049,18 +3983,14 @@ def __init__(self, api_client=None): (str,), 'object_id': (str,), - 'filter': - (str,), }, 'attribute_map': { 'workspace_id': 'workspaceId', 'object_id': 'objectId', - 'filter': 'filter', }, 'location_map': { 'workspace_id': 'path', 'object_id': 'path', - 'filter': 'query', }, 'collection_format_map': { } @@ -4143,7 +4073,6 @@ def __init__(self, api_client=None): 'all': [ 'user_id', 'id', - 'filter', ], 'required': [ 'user_id', @@ -4173,18 +4102,14 @@ def __init__(self, api_client=None): (str,), 'id': (str,), - 'filter': - (str,), }, 'attribute_map': { 'user_id': 'userId', 'id': 'id', - 'filter': 'filter', }, 'location_map': { 'user_id': 'path', 'id': 'path', - 'filter': 'query', }, 'collection_format_map': { } @@ -4267,7 +4192,6 @@ def __init__(self, api_client=None): 'all': [ 'workspace_id', 'object_id', - 'filter', ], 'required': [ 'workspace_id', @@ -4290,18 +4214,14 @@ def __init__(self, api_client=None): (str,), 'object_id': (str,), - 'filter': - (str,), }, 'attribute_map': { 'workspace_id': 'workspaceId', 'object_id': 'objectId', - 'filter': 'filter', }, 'location_map': { 'workspace_id': 'path', 'object_id': 'path', - 'filter': 'query', }, 'collection_format_map': { } @@ -4325,7 +4245,6 @@ def __init__(self, api_client=None): 'all': [ 'workspace_id', 'object_id', - 'filter', ], 'required': [ 'workspace_id', @@ -4348,18 +4267,14 @@ def __init__(self, api_client=None): (str,), 'object_id': (str,), - 'filter': - (str,), }, 'attribute_map': { 'workspace_id': 'workspaceId', 'object_id': 'objectId', - 'filter': 'filter', }, 'location_map': { 'workspace_id': 'path', 'object_id': 'path', - 'filter': 'query', }, 'collection_format_map': { } @@ -4383,7 +4298,6 @@ def __init__(self, api_client=None): 'all': [ 'workspace_id', 'object_id', - 'filter', ], 'required': [ 'workspace_id', @@ -4406,18 +4320,14 @@ def __init__(self, api_client=None): (str,), 'object_id': (str,), - 'filter': - (str,), }, 'attribute_map': { 'workspace_id': 'workspaceId', 'object_id': 'objectId', - 'filter': 'filter', }, 'location_map': { 'workspace_id': 'path', 'object_id': 'path', - 'filter': 'query', }, 'collection_format_map': { } @@ -4441,7 +4351,6 @@ def __init__(self, api_client=None): 'all': [ 'workspace_id', 'object_id', - 'filter', ], 'required': [ 'workspace_id', @@ -4464,18 +4373,14 @@ def __init__(self, api_client=None): (str,), 'object_id': (str,), - 'filter': - (str,), }, 'attribute_map': { 'workspace_id': 'workspaceId', 'object_id': 'objectId', - 'filter': 'filter', }, 'location_map': { 'workspace_id': 'path', 'object_id': 'path', - 'filter': 'query', }, 'collection_format_map': { } @@ -22741,7 +22646,6 @@ def delete_entity_analytical_dashboards( object_id (str): Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -22828,7 +22732,6 @@ def delete_entity_api_tokens( id (str): Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -22915,7 +22818,6 @@ def delete_entity_attribute_hierarchies( object_id (str): Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -23002,7 +22904,6 @@ def delete_entity_automations( object_id (str): Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -23256,7 +23157,6 @@ def delete_entity_custom_application_settings( object_id (str): Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -23341,7 +23241,6 @@ def delete_entity_custom_geo_collections( id (str): Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -23426,7 +23325,6 @@ def delete_entity_dashboard_plugins( object_id (str): Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -23512,7 +23410,6 @@ def delete_entity_data_sources( id (str): Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -23597,7 +23494,6 @@ def delete_entity_export_definitions( object_id (str): Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -23767,7 +23663,6 @@ def delete_entity_filter_contexts( object_id (str): Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -23854,7 +23749,6 @@ def delete_entity_filter_views( object_id (str): Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -24023,7 +23917,6 @@ def delete_entity_jwks( id (str): Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -24449,7 +24342,6 @@ def delete_entity_metrics( object_id (str): Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -24785,7 +24677,6 @@ def delete_entity_user_data_filters( object_id (str): Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -24956,7 +24847,6 @@ def delete_entity_user_settings( id (str): Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -25127,7 +25017,6 @@ def delete_entity_visualization_objects( object_id (str): Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -25214,7 +25103,6 @@ def delete_entity_workspace_data_filter_settings( object_id (str): Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -25301,7 +25189,6 @@ def delete_entity_workspace_data_filters( object_id (str): Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -25388,7 +25275,6 @@ def delete_entity_workspace_settings( object_id (str): Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object diff --git a/gooddata-api-client/gooddata_api_client/api/export_definition_controller_api.py b/gooddata-api-client/gooddata_api_client/api/export_definition_controller_api.py index 5c98c9104..9e255f495 100644 --- a/gooddata-api-client/gooddata_api_client/api/export_definition_controller_api.py +++ b/gooddata-api-client/gooddata_api_client/api/export_definition_controller_api.py @@ -149,7 +149,6 @@ def __init__(self, api_client=None): 'all': [ 'workspace_id', 'object_id', - 'filter', ], 'required': [ 'workspace_id', @@ -172,18 +171,14 @@ def __init__(self, api_client=None): (str,), 'object_id': (str,), - 'filter': - (str,), }, 'attribute_map': { 'workspace_id': 'workspaceId', 'object_id': 'objectId', - 'filter': 'filter', }, 'location_map': { 'workspace_id': 'path', 'object_id': 'path', - 'filter': 'query', }, 'collection_format_map': { } @@ -783,7 +778,6 @@ def delete_entity_export_definitions( object_id (str): Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object diff --git a/gooddata-api-client/gooddata_api_client/api/export_definitions_api.py b/gooddata-api-client/gooddata_api_client/api/export_definitions_api.py index b40dfa5ca..0cbc42303 100644 --- a/gooddata-api-client/gooddata_api_client/api/export_definitions_api.py +++ b/gooddata-api-client/gooddata_api_client/api/export_definitions_api.py @@ -149,7 +149,6 @@ def __init__(self, api_client=None): 'all': [ 'workspace_id', 'object_id', - 'filter', ], 'required': [ 'workspace_id', @@ -172,18 +171,14 @@ def __init__(self, api_client=None): (str,), 'object_id': (str,), - 'filter': - (str,), }, 'attribute_map': { 'workspace_id': 'workspaceId', 'object_id': 'objectId', - 'filter': 'filter', }, 'location_map': { 'workspace_id': 'path', 'object_id': 'path', - 'filter': 'query', }, 'collection_format_map': { } @@ -783,7 +778,6 @@ def delete_entity_export_definitions( object_id (str): Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object diff --git a/gooddata-api-client/gooddata_api_client/api/filter_context_api.py b/gooddata-api-client/gooddata_api_client/api/filter_context_api.py index 7cd84133e..6f48ffdfa 100644 --- a/gooddata-api-client/gooddata_api_client/api/filter_context_api.py +++ b/gooddata-api-client/gooddata_api_client/api/filter_context_api.py @@ -143,7 +143,6 @@ def __init__(self, api_client=None): 'all': [ 'workspace_id', 'object_id', - 'filter', ], 'required': [ 'workspace_id', @@ -166,18 +165,14 @@ def __init__(self, api_client=None): (str,), 'object_id': (str,), - 'filter': - (str,), }, 'attribute_map': { 'workspace_id': 'workspaceId', 'object_id': 'objectId', - 'filter': 'filter', }, 'location_map': { 'workspace_id': 'path', 'object_id': 'path', - 'filter': 'query', }, 'collection_format_map': { } @@ -753,7 +748,6 @@ def delete_entity_filter_contexts( object_id (str): Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object diff --git a/gooddata-api-client/gooddata_api_client/api/filter_context_controller_api.py b/gooddata-api-client/gooddata_api_client/api/filter_context_controller_api.py index 55f32dbcb..7802e8df8 100644 --- a/gooddata-api-client/gooddata_api_client/api/filter_context_controller_api.py +++ b/gooddata-api-client/gooddata_api_client/api/filter_context_controller_api.py @@ -143,7 +143,6 @@ def __init__(self, api_client=None): 'all': [ 'workspace_id', 'object_id', - 'filter', ], 'required': [ 'workspace_id', @@ -166,18 +165,14 @@ def __init__(self, api_client=None): (str,), 'object_id': (str,), - 'filter': - (str,), }, 'attribute_map': { 'workspace_id': 'workspaceId', 'object_id': 'objectId', - 'filter': 'filter', }, 'location_map': { 'workspace_id': 'path', 'object_id': 'path', - 'filter': 'query', }, 'collection_format_map': { } @@ -753,7 +748,6 @@ def delete_entity_filter_contexts( object_id (str): Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object diff --git a/gooddata-api-client/gooddata_api_client/api/filter_view_controller_api.py b/gooddata-api-client/gooddata_api_client/api/filter_view_controller_api.py index 24085476e..2a01e7622 100644 --- a/gooddata-api-client/gooddata_api_client/api/filter_view_controller_api.py +++ b/gooddata-api-client/gooddata_api_client/api/filter_view_controller_api.py @@ -126,7 +126,6 @@ def __init__(self, api_client=None): 'all': [ 'workspace_id', 'object_id', - 'filter', ], 'required': [ 'workspace_id', @@ -149,18 +148,14 @@ def __init__(self, api_client=None): (str,), 'object_id': (str,), - 'filter': - (str,), }, 'attribute_map': { 'workspace_id': 'workspaceId', 'object_id': 'objectId', - 'filter': 'filter', }, 'location_map': { 'workspace_id': 'path', 'object_id': 'path', - 'filter': 'query', }, 'collection_format_map': { } @@ -721,7 +716,6 @@ def delete_entity_filter_views( object_id (str): Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object diff --git a/gooddata-api-client/gooddata_api_client/api/filter_views_api.py b/gooddata-api-client/gooddata_api_client/api/filter_views_api.py index a809cce10..b992ff264 100644 --- a/gooddata-api-client/gooddata_api_client/api/filter_views_api.py +++ b/gooddata-api-client/gooddata_api_client/api/filter_views_api.py @@ -127,7 +127,6 @@ def __init__(self, api_client=None): 'all': [ 'workspace_id', 'object_id', - 'filter', ], 'required': [ 'workspace_id', @@ -150,18 +149,14 @@ def __init__(self, api_client=None): (str,), 'object_id': (str,), - 'filter': - (str,), }, 'attribute_map': { 'workspace_id': 'workspaceId', 'object_id': 'objectId', - 'filter': 'filter', }, 'location_map': { 'workspace_id': 'path', 'object_id': 'path', - 'filter': 'query', }, 'collection_format_map': { } @@ -836,7 +831,6 @@ def delete_entity_filter_views( object_id (str): Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object diff --git a/gooddata-api-client/gooddata_api_client/api/geographic_data_api.py b/gooddata-api-client/gooddata_api_client/api/geographic_data_api.py index 7f0734f6d..5e0098a0c 100644 --- a/gooddata-api-client/gooddata_api_client/api/geographic_data_api.py +++ b/gooddata-api-client/gooddata_api_client/api/geographic_data_api.py @@ -103,7 +103,6 @@ def __init__(self, api_client=None): params_map={ 'all': [ 'id', - 'filter', ], 'required': [ 'id', @@ -130,16 +129,12 @@ def __init__(self, api_client=None): 'openapi_types': { 'id': (str,), - 'filter': - (str,), }, 'attribute_map': { 'id': 'id', - 'filter': 'filter', }, 'location_map': { 'id': 'path', - 'filter': 'query', }, 'collection_format_map': { } @@ -533,7 +528,6 @@ def delete_entity_custom_geo_collections( id (str): Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object diff --git a/gooddata-api-client/gooddata_api_client/api/jwk_controller_api.py b/gooddata-api-client/gooddata_api_client/api/jwk_controller_api.py index 6fcbfc9cd..894811660 100644 --- a/gooddata-api-client/gooddata_api_client/api/jwk_controller_api.py +++ b/gooddata-api-client/gooddata_api_client/api/jwk_controller_api.py @@ -103,7 +103,6 @@ def __init__(self, api_client=None): params_map={ 'all': [ 'id', - 'filter', ], 'required': [ 'id', @@ -130,16 +129,12 @@ def __init__(self, api_client=None): 'openapi_types': { 'id': (str,), - 'filter': - (str,), }, 'attribute_map': { 'id': 'id', - 'filter': 'filter', }, 'location_map': { 'id': 'path', - 'filter': 'query', }, 'collection_format_map': { } @@ -535,7 +530,6 @@ def delete_entity_jwks( id (str): Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object diff --git a/gooddata-api-client/gooddata_api_client/api/jwks_api.py b/gooddata-api-client/gooddata_api_client/api/jwks_api.py index 4a1dc171c..d3661449c 100644 --- a/gooddata-api-client/gooddata_api_client/api/jwks_api.py +++ b/gooddata-api-client/gooddata_api_client/api/jwks_api.py @@ -103,7 +103,6 @@ def __init__(self, api_client=None): params_map={ 'all': [ 'id', - 'filter', ], 'required': [ 'id', @@ -130,16 +129,12 @@ def __init__(self, api_client=None): 'openapi_types': { 'id': (str,), - 'filter': - (str,), }, 'attribute_map': { 'id': 'id', - 'filter': 'filter', }, 'location_map': { 'id': 'path', - 'filter': 'query', }, 'collection_format_map': { } @@ -535,7 +530,6 @@ def delete_entity_jwks( id (str): Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object diff --git a/gooddata-api-client/gooddata_api_client/api/metric_controller_api.py b/gooddata-api-client/gooddata_api_client/api/metric_controller_api.py index f728d69d5..7b5b05395 100644 --- a/gooddata-api-client/gooddata_api_client/api/metric_controller_api.py +++ b/gooddata-api-client/gooddata_api_client/api/metric_controller_api.py @@ -149,7 +149,6 @@ def __init__(self, api_client=None): 'all': [ 'workspace_id', 'object_id', - 'filter', ], 'required': [ 'workspace_id', @@ -172,18 +171,14 @@ def __init__(self, api_client=None): (str,), 'object_id': (str,), - 'filter': - (str,), }, 'attribute_map': { 'workspace_id': 'workspaceId', 'object_id': 'objectId', - 'filter': 'filter', }, 'location_map': { 'workspace_id': 'path', 'object_id': 'path', - 'filter': 'query', }, 'collection_format_map': { } @@ -783,7 +778,6 @@ def delete_entity_metrics( object_id (str): Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object diff --git a/gooddata-api-client/gooddata_api_client/api/metrics_api.py b/gooddata-api-client/gooddata_api_client/api/metrics_api.py index fbf3be194..7aa682f31 100644 --- a/gooddata-api-client/gooddata_api_client/api/metrics_api.py +++ b/gooddata-api-client/gooddata_api_client/api/metrics_api.py @@ -149,7 +149,6 @@ def __init__(self, api_client=None): 'all': [ 'workspace_id', 'object_id', - 'filter', ], 'required': [ 'workspace_id', @@ -172,18 +171,14 @@ def __init__(self, api_client=None): (str,), 'object_id': (str,), - 'filter': - (str,), }, 'attribute_map': { 'workspace_id': 'workspaceId', 'object_id': 'objectId', - 'filter': 'filter', }, 'location_map': { 'workspace_id': 'path', 'object_id': 'path', - 'filter': 'query', }, 'collection_format_map': { } @@ -783,7 +778,6 @@ def delete_entity_metrics( object_id (str): Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object diff --git a/gooddata-api-client/gooddata_api_client/api/plugins_api.py b/gooddata-api-client/gooddata_api_client/api/plugins_api.py index 28729f57a..bde6a58bc 100644 --- a/gooddata-api-client/gooddata_api_client/api/plugins_api.py +++ b/gooddata-api-client/gooddata_api_client/api/plugins_api.py @@ -143,7 +143,6 @@ def __init__(self, api_client=None): 'all': [ 'workspace_id', 'object_id', - 'filter', ], 'required': [ 'workspace_id', @@ -166,18 +165,14 @@ def __init__(self, api_client=None): (str,), 'object_id': (str,), - 'filter': - (str,), }, 'attribute_map': { 'workspace_id': 'workspaceId', 'object_id': 'objectId', - 'filter': 'filter', }, 'location_map': { 'workspace_id': 'path', 'object_id': 'path', - 'filter': 'query', }, 'collection_format_map': { } @@ -753,7 +748,6 @@ def delete_entity_dashboard_plugins( object_id (str): Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object diff --git a/gooddata-api-client/gooddata_api_client/api/user_data_filter_controller_api.py b/gooddata-api-client/gooddata_api_client/api/user_data_filter_controller_api.py index 528abd445..63130e759 100644 --- a/gooddata-api-client/gooddata_api_client/api/user_data_filter_controller_api.py +++ b/gooddata-api-client/gooddata_api_client/api/user_data_filter_controller_api.py @@ -149,7 +149,6 @@ def __init__(self, api_client=None): 'all': [ 'workspace_id', 'object_id', - 'filter', ], 'required': [ 'workspace_id', @@ -172,18 +171,14 @@ def __init__(self, api_client=None): (str,), 'object_id': (str,), - 'filter': - (str,), }, 'attribute_map': { 'workspace_id': 'workspaceId', 'object_id': 'objectId', - 'filter': 'filter', }, 'location_map': { 'workspace_id': 'path', 'object_id': 'path', - 'filter': 'query', }, 'collection_format_map': { } @@ -783,7 +778,6 @@ def delete_entity_user_data_filters( object_id (str): Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object diff --git a/gooddata-api-client/gooddata_api_client/api/user_setting_controller_api.py b/gooddata-api-client/gooddata_api_client/api/user_setting_controller_api.py index becbbdcba..95fa48f56 100644 --- a/gooddata-api-client/gooddata_api_client/api/user_setting_controller_api.py +++ b/gooddata-api-client/gooddata_api_client/api/user_setting_controller_api.py @@ -109,7 +109,6 @@ def __init__(self, api_client=None): 'all': [ 'user_id', 'id', - 'filter', ], 'required': [ 'user_id', @@ -139,18 +138,14 @@ def __init__(self, api_client=None): (str,), 'id': (str,), - 'filter': - (str,), }, 'attribute_map': { 'user_id': 'userId', 'id': 'id', - 'filter': 'filter', }, 'location_map': { 'user_id': 'path', 'id': 'path', - 'filter': 'query', }, 'collection_format_map': { } @@ -499,7 +494,6 @@ def delete_entity_user_settings( id (str): Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object diff --git a/gooddata-api-client/gooddata_api_client/api/user_settings_api.py b/gooddata-api-client/gooddata_api_client/api/user_settings_api.py index 6f509a075..c918cc4c1 100644 --- a/gooddata-api-client/gooddata_api_client/api/user_settings_api.py +++ b/gooddata-api-client/gooddata_api_client/api/user_settings_api.py @@ -109,7 +109,6 @@ def __init__(self, api_client=None): 'all': [ 'user_id', 'id', - 'filter', ], 'required': [ 'user_id', @@ -139,18 +138,14 @@ def __init__(self, api_client=None): (str,), 'id': (str,), - 'filter': - (str,), }, 'attribute_map': { 'user_id': 'userId', 'id': 'id', - 'filter': 'filter', }, 'location_map': { 'user_id': 'path', 'id': 'path', - 'filter': 'query', }, 'collection_format_map': { } @@ -499,7 +494,6 @@ def delete_entity_user_settings( id (str): Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object diff --git a/gooddata-api-client/gooddata_api_client/api/visualization_object_api.py b/gooddata-api-client/gooddata_api_client/api/visualization_object_api.py index c4a526452..f10f28460 100644 --- a/gooddata-api-client/gooddata_api_client/api/visualization_object_api.py +++ b/gooddata-api-client/gooddata_api_client/api/visualization_object_api.py @@ -149,7 +149,6 @@ def __init__(self, api_client=None): 'all': [ 'workspace_id', 'object_id', - 'filter', ], 'required': [ 'workspace_id', @@ -172,18 +171,14 @@ def __init__(self, api_client=None): (str,), 'object_id': (str,), - 'filter': - (str,), }, 'attribute_map': { 'workspace_id': 'workspaceId', 'object_id': 'objectId', - 'filter': 'filter', }, 'location_map': { 'workspace_id': 'path', 'object_id': 'path', - 'filter': 'query', }, 'collection_format_map': { } @@ -783,7 +778,6 @@ def delete_entity_visualization_objects( object_id (str): Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object diff --git a/gooddata-api-client/gooddata_api_client/api/visualization_object_controller_api.py b/gooddata-api-client/gooddata_api_client/api/visualization_object_controller_api.py index 3008c6c39..f02b2548e 100644 --- a/gooddata-api-client/gooddata_api_client/api/visualization_object_controller_api.py +++ b/gooddata-api-client/gooddata_api_client/api/visualization_object_controller_api.py @@ -149,7 +149,6 @@ def __init__(self, api_client=None): 'all': [ 'workspace_id', 'object_id', - 'filter', ], 'required': [ 'workspace_id', @@ -172,18 +171,14 @@ def __init__(self, api_client=None): (str,), 'object_id': (str,), - 'filter': - (str,), }, 'attribute_map': { 'workspace_id': 'workspaceId', 'object_id': 'objectId', - 'filter': 'filter', }, 'location_map': { 'workspace_id': 'path', 'object_id': 'path', - 'filter': 'query', }, 'collection_format_map': { } @@ -783,7 +778,6 @@ def delete_entity_visualization_objects( object_id (str): Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object diff --git a/gooddata-api-client/gooddata_api_client/api/workspace_data_filter_controller_api.py b/gooddata-api-client/gooddata_api_client/api/workspace_data_filter_controller_api.py index c0996358d..ac71288d0 100644 --- a/gooddata-api-client/gooddata_api_client/api/workspace_data_filter_controller_api.py +++ b/gooddata-api-client/gooddata_api_client/api/workspace_data_filter_controller_api.py @@ -141,7 +141,6 @@ def __init__(self, api_client=None): 'all': [ 'workspace_id', 'object_id', - 'filter', ], 'required': [ 'workspace_id', @@ -164,18 +163,14 @@ def __init__(self, api_client=None): (str,), 'object_id': (str,), - 'filter': - (str,), }, 'attribute_map': { 'workspace_id': 'workspaceId', 'object_id': 'objectId', - 'filter': 'filter', }, 'location_map': { 'workspace_id': 'path', 'object_id': 'path', - 'filter': 'query', }, 'collection_format_map': { } @@ -747,7 +742,6 @@ def delete_entity_workspace_data_filters( object_id (str): Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object diff --git a/gooddata-api-client/gooddata_api_client/api/workspace_data_filter_setting_controller_api.py b/gooddata-api-client/gooddata_api_client/api/workspace_data_filter_setting_controller_api.py index 9c082b22a..22c64e143 100644 --- a/gooddata-api-client/gooddata_api_client/api/workspace_data_filter_setting_controller_api.py +++ b/gooddata-api-client/gooddata_api_client/api/workspace_data_filter_setting_controller_api.py @@ -141,7 +141,6 @@ def __init__(self, api_client=None): 'all': [ 'workspace_id', 'object_id', - 'filter', ], 'required': [ 'workspace_id', @@ -164,18 +163,14 @@ def __init__(self, api_client=None): (str,), 'object_id': (str,), - 'filter': - (str,), }, 'attribute_map': { 'workspace_id': 'workspaceId', 'object_id': 'objectId', - 'filter': 'filter', }, 'location_map': { 'workspace_id': 'path', 'object_id': 'path', - 'filter': 'query', }, 'collection_format_map': { } @@ -747,7 +742,6 @@ def delete_entity_workspace_data_filter_settings( object_id (str): Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object diff --git a/gooddata-api-client/gooddata_api_client/api/workspace_setting_controller_api.py b/gooddata-api-client/gooddata_api_client/api/workspace_setting_controller_api.py index c67a099c1..1c00787f5 100644 --- a/gooddata-api-client/gooddata_api_client/api/workspace_setting_controller_api.py +++ b/gooddata-api-client/gooddata_api_client/api/workspace_setting_controller_api.py @@ -129,7 +129,6 @@ def __init__(self, api_client=None): 'all': [ 'workspace_id', 'object_id', - 'filter', ], 'required': [ 'workspace_id', @@ -152,18 +151,14 @@ def __init__(self, api_client=None): (str,), 'object_id': (str,), - 'filter': - (str,), }, 'attribute_map': { 'workspace_id': 'workspaceId', 'object_id': 'objectId', - 'filter': 'filter', }, 'location_map': { 'workspace_id': 'path', 'object_id': 'path', - 'filter': 'query', }, 'collection_format_map': { } @@ -682,7 +677,6 @@ def delete_entity_workspace_settings( object_id (str): Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object diff --git a/gooddata-api-client/gooddata_api_client/api/workspaces_settings_api.py b/gooddata-api-client/gooddata_api_client/api/workspaces_settings_api.py index 379692311..399234853 100644 --- a/gooddata-api-client/gooddata_api_client/api/workspaces_settings_api.py +++ b/gooddata-api-client/gooddata_api_client/api/workspaces_settings_api.py @@ -211,7 +211,6 @@ def __init__(self, api_client=None): 'all': [ 'workspace_id', 'object_id', - 'filter', ], 'required': [ 'workspace_id', @@ -234,18 +233,14 @@ def __init__(self, api_client=None): (str,), 'object_id': (str,), - 'filter': - (str,), }, 'attribute_map': { 'workspace_id': 'workspaceId', 'object_id': 'objectId', - 'filter': 'filter', }, 'location_map': { 'workspace_id': 'path', 'object_id': 'path', - 'filter': 'query', }, 'collection_format_map': { } @@ -269,7 +264,6 @@ def __init__(self, api_client=None): 'all': [ 'workspace_id', 'object_id', - 'filter', ], 'required': [ 'workspace_id', @@ -292,18 +286,14 @@ def __init__(self, api_client=None): (str,), 'object_id': (str,), - 'filter': - (str,), }, 'attribute_map': { 'workspace_id': 'workspaceId', 'object_id': 'objectId', - 'filter': 'filter', }, 'location_map': { 'workspace_id': 'path', 'object_id': 'path', - 'filter': 'query', }, 'collection_format_map': { } @@ -1425,7 +1415,6 @@ def delete_entity_custom_application_settings( object_id (str): Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -1512,7 +1501,6 @@ def delete_entity_workspace_settings( object_id (str): Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object diff --git a/gooddata-api-client/gooddata_api_client/model/attribute_header_attribute_header.py b/gooddata-api-client/gooddata_api_client/model/attribute_header_attribute_header.py index 67e185fcf..2b67440aa 100644 --- a/gooddata-api-client/gooddata_api_client/model/attribute_header_attribute_header.py +++ b/gooddata-api-client/gooddata_api_client/model/attribute_header_attribute_header.py @@ -94,6 +94,7 @@ class AttributeHeaderAttributeHeader(ModelNormal): 'GEO_AREA': "GEO_AREA", 'GEO_ICON': "GEO_ICON", 'IMAGE': "IMAGE", + 'HYPERLOGLOG': "HYPERLOGLOG", }, } diff --git a/gooddata-api-client/gooddata_api_client/model/column_override.py b/gooddata-api-client/gooddata_api_client/model/column_override.py index d989eacbb..f124e637c 100644 --- a/gooddata-api-client/gooddata_api_client/model/column_override.py +++ b/gooddata-api-client/gooddata_api_client/model/column_override.py @@ -65,6 +65,7 @@ class ColumnOverride(ModelNormal): 'GEO_AREA': "GEO_AREA", 'GEO_ICON': "GEO_ICON", 'IMAGE': "IMAGE", + 'HYPERLOGLOG': "HYPERLOGLOG", }, ('ldm_type_override',): { 'FACT': "FACT", diff --git a/gooddata-api-client/gooddata_api_client/model/dashboard_arbitrary_attribute_filter.py b/gooddata-api-client/gooddata_api_client/model/dashboard_arbitrary_attribute_filter.py new file mode 100644 index 000000000..87088c98e --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/dashboard_arbitrary_attribute_filter.py @@ -0,0 +1,276 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + +def lazy_import(): + from gooddata_api_client.model.dashboard_arbitrary_attribute_filter_arbitrary_attribute_filter import DashboardArbitraryAttributeFilterArbitraryAttributeFilter + globals()['DashboardArbitraryAttributeFilterArbitraryAttributeFilter'] = DashboardArbitraryAttributeFilterArbitraryAttributeFilter + + +class DashboardArbitraryAttributeFilter(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'arbitrary_attribute_filter': (DashboardArbitraryAttributeFilterArbitraryAttributeFilter,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'arbitrary_attribute_filter': 'arbitraryAttributeFilter', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, arbitrary_attribute_filter, *args, **kwargs): # noqa: E501 + """DashboardArbitraryAttributeFilter - a model defined in OpenAPI + + Args: + arbitrary_attribute_filter (DashboardArbitraryAttributeFilterArbitraryAttributeFilter): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.arbitrary_attribute_filter = arbitrary_attribute_filter + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, arbitrary_attribute_filter, *args, **kwargs): # noqa: E501 + """DashboardArbitraryAttributeFilter - a model defined in OpenAPI + + Args: + arbitrary_attribute_filter (DashboardArbitraryAttributeFilterArbitraryAttributeFilter): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.arbitrary_attribute_filter = arbitrary_attribute_filter + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/dashboard_arbitrary_attribute_filter_arbitrary_attribute_filter.py b/gooddata-api-client/gooddata_api_client/model/dashboard_arbitrary_attribute_filter_arbitrary_attribute_filter.py new file mode 100644 index 000000000..0b36582d0 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/dashboard_arbitrary_attribute_filter_arbitrary_attribute_filter.py @@ -0,0 +1,308 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + +def lazy_import(): + from gooddata_api_client.model.attribute_filter_by_date import AttributeFilterByDate + from gooddata_api_client.model.attribute_filter_parent import AttributeFilterParent + from gooddata_api_client.model.identifier_ref import IdentifierRef + globals()['AttributeFilterByDate'] = AttributeFilterByDate + globals()['AttributeFilterParent'] = AttributeFilterParent + globals()['IdentifierRef'] = IdentifierRef + + +class DashboardArbitraryAttributeFilterArbitraryAttributeFilter(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'display_form': (IdentifierRef,), # noqa: E501 + 'negative_selection': (bool,), # noqa: E501 + 'values': ([str],), # noqa: E501 + 'filter_elements_by': ([AttributeFilterParent],), # noqa: E501 + 'filter_elements_by_date': ([AttributeFilterByDate],), # noqa: E501 + 'local_identifier': (str,), # noqa: E501 + 'title': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'display_form': 'displayForm', # noqa: E501 + 'negative_selection': 'negativeSelection', # noqa: E501 + 'values': 'values', # noqa: E501 + 'filter_elements_by': 'filterElementsBy', # noqa: E501 + 'filter_elements_by_date': 'filterElementsByDate', # noqa: E501 + 'local_identifier': 'localIdentifier', # noqa: E501 + 'title': 'title', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, display_form, negative_selection, values, *args, **kwargs): # noqa: E501 + """DashboardArbitraryAttributeFilterArbitraryAttributeFilter - a model defined in OpenAPI + + Args: + display_form (IdentifierRef): + negative_selection (bool): + values ([str]): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + filter_elements_by ([AttributeFilterParent]): [optional] # noqa: E501 + filter_elements_by_date ([AttributeFilterByDate]): [optional] # noqa: E501 + local_identifier (str): [optional] # noqa: E501 + title (str): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.display_form = display_form + self.negative_selection = negative_selection + self.values = values + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, display_form, negative_selection, values, *args, **kwargs): # noqa: E501 + """DashboardArbitraryAttributeFilterArbitraryAttributeFilter - a model defined in OpenAPI + + Args: + display_form (IdentifierRef): + negative_selection (bool): + values ([str]): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + filter_elements_by ([AttributeFilterParent]): [optional] # noqa: E501 + filter_elements_by_date ([AttributeFilterByDate]): [optional] # noqa: E501 + local_identifier (str): [optional] # noqa: E501 + title (str): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.display_form = display_form + self.negative_selection = negative_selection + self.values = values + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/dashboard_filter.py b/gooddata-api-client/gooddata_api_client/model/dashboard_filter.py index 27b551ddd..954ad7c7b 100644 --- a/gooddata-api-client/gooddata_api_client/model/dashboard_filter.py +++ b/gooddata-api-client/gooddata_api_client/model/dashboard_filter.py @@ -31,14 +31,22 @@ def lazy_import(): + from gooddata_api_client.model.dashboard_arbitrary_attribute_filter import DashboardArbitraryAttributeFilter + from gooddata_api_client.model.dashboard_arbitrary_attribute_filter_arbitrary_attribute_filter import DashboardArbitraryAttributeFilterArbitraryAttributeFilter from gooddata_api_client.model.dashboard_attribute_filter import DashboardAttributeFilter from gooddata_api_client.model.dashboard_attribute_filter_attribute_filter import DashboardAttributeFilterAttributeFilter from gooddata_api_client.model.dashboard_date_filter import DashboardDateFilter from gooddata_api_client.model.dashboard_date_filter_date_filter import DashboardDateFilterDateFilter + from gooddata_api_client.model.dashboard_match_attribute_filter import DashboardMatchAttributeFilter + from gooddata_api_client.model.dashboard_match_attribute_filter_match_attribute_filter import DashboardMatchAttributeFilterMatchAttributeFilter + globals()['DashboardArbitraryAttributeFilter'] = DashboardArbitraryAttributeFilter + globals()['DashboardArbitraryAttributeFilterArbitraryAttributeFilter'] = DashboardArbitraryAttributeFilterArbitraryAttributeFilter globals()['DashboardAttributeFilter'] = DashboardAttributeFilter globals()['DashboardAttributeFilterAttributeFilter'] = DashboardAttributeFilterAttributeFilter globals()['DashboardDateFilter'] = DashboardDateFilter globals()['DashboardDateFilterDateFilter'] = DashboardDateFilterDateFilter + globals()['DashboardMatchAttributeFilter'] = DashboardMatchAttributeFilter + globals()['DashboardMatchAttributeFilterMatchAttributeFilter'] = DashboardMatchAttributeFilterMatchAttributeFilter class DashboardFilter(ModelComposed): @@ -96,6 +104,8 @@ def openapi_types(): return { 'attribute_filter': (DashboardAttributeFilterAttributeFilter,), # noqa: E501 'date_filter': (DashboardDateFilterDateFilter,), # noqa: E501 + 'arbitrary_attribute_filter': (DashboardArbitraryAttributeFilterArbitraryAttributeFilter,), # noqa: E501 + 'match_attribute_filter': (DashboardMatchAttributeFilterMatchAttributeFilter,), # noqa: E501 } @cached_property @@ -106,6 +116,8 @@ def discriminator(): attribute_map = { 'attribute_filter': 'attributeFilter', # noqa: E501 'date_filter': 'dateFilter', # noqa: E501 + 'arbitrary_attribute_filter': 'arbitraryAttributeFilter', # noqa: E501 + 'match_attribute_filter': 'matchAttributeFilter', # noqa: E501 } read_only_vars = { @@ -149,6 +161,8 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) attribute_filter (DashboardAttributeFilterAttributeFilter): [optional] # noqa: E501 date_filter (DashboardDateFilterDateFilter): [optional] # noqa: E501 + arbitrary_attribute_filter (DashboardArbitraryAttributeFilterArbitraryAttributeFilter): [optional] # noqa: E501 + match_attribute_filter (DashboardMatchAttributeFilterMatchAttributeFilter): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -254,6 +268,8 @@ def __init__(self, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) attribute_filter (DashboardAttributeFilterAttributeFilter): [optional] # noqa: E501 date_filter (DashboardDateFilterDateFilter): [optional] # noqa: E501 + arbitrary_attribute_filter (DashboardArbitraryAttributeFilterArbitraryAttributeFilter): [optional] # noqa: E501 + match_attribute_filter (DashboardMatchAttributeFilterMatchAttributeFilter): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -325,7 +341,9 @@ def _composed_schemas(): 'allOf': [ ], 'oneOf': [ + DashboardArbitraryAttributeFilter, DashboardAttributeFilter, DashboardDateFilter, + DashboardMatchAttributeFilter, ], } diff --git a/gooddata-api-client/gooddata_api_client/model/dashboard_match_attribute_filter.py b/gooddata-api-client/gooddata_api_client/model/dashboard_match_attribute_filter.py new file mode 100644 index 000000000..20ef292ca --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/dashboard_match_attribute_filter.py @@ -0,0 +1,276 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + +def lazy_import(): + from gooddata_api_client.model.dashboard_match_attribute_filter_match_attribute_filter import DashboardMatchAttributeFilterMatchAttributeFilter + globals()['DashboardMatchAttributeFilterMatchAttributeFilter'] = DashboardMatchAttributeFilterMatchAttributeFilter + + +class DashboardMatchAttributeFilter(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'match_attribute_filter': (DashboardMatchAttributeFilterMatchAttributeFilter,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'match_attribute_filter': 'matchAttributeFilter', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, match_attribute_filter, *args, **kwargs): # noqa: E501 + """DashboardMatchAttributeFilter - a model defined in OpenAPI + + Args: + match_attribute_filter (DashboardMatchAttributeFilterMatchAttributeFilter): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.match_attribute_filter = match_attribute_filter + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, match_attribute_filter, *args, **kwargs): # noqa: E501 + """DashboardMatchAttributeFilter - a model defined in OpenAPI + + Args: + match_attribute_filter (DashboardMatchAttributeFilterMatchAttributeFilter): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.match_attribute_filter = match_attribute_filter + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/dashboard_match_attribute_filter_match_attribute_filter.py b/gooddata-api-client/gooddata_api_client/model/dashboard_match_attribute_filter_match_attribute_filter.py new file mode 100644 index 000000000..3ece87906 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/dashboard_match_attribute_filter_match_attribute_filter.py @@ -0,0 +1,313 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + +def lazy_import(): + from gooddata_api_client.model.identifier_ref import IdentifierRef + globals()['IdentifierRef'] = IdentifierRef + + +class DashboardMatchAttributeFilterMatchAttributeFilter(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + ('operator',): { + 'CONTAINS': "contains", + 'STARTSWITH': "startsWith", + 'ENDSWITH': "endsWith", + }, + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'case_sensitive': (bool,), # noqa: E501 + 'display_form': (IdentifierRef,), # noqa: E501 + 'literal': (str,), # noqa: E501 + 'negative_selection': (bool,), # noqa: E501 + 'operator': (str,), # noqa: E501 + 'local_identifier': (str,), # noqa: E501 + 'title': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'case_sensitive': 'caseSensitive', # noqa: E501 + 'display_form': 'displayForm', # noqa: E501 + 'literal': 'literal', # noqa: E501 + 'negative_selection': 'negativeSelection', # noqa: E501 + 'operator': 'operator', # noqa: E501 + 'local_identifier': 'localIdentifier', # noqa: E501 + 'title': 'title', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, case_sensitive, display_form, literal, negative_selection, operator, *args, **kwargs): # noqa: E501 + """DashboardMatchAttributeFilterMatchAttributeFilter - a model defined in OpenAPI + + Args: + case_sensitive (bool): + display_form (IdentifierRef): + literal (str): + negative_selection (bool): + operator (str): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + local_identifier (str): [optional] # noqa: E501 + title (str): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.case_sensitive = case_sensitive + self.display_form = display_form + self.literal = literal + self.negative_selection = negative_selection + self.operator = operator + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, case_sensitive, display_form, literal, negative_selection, operator, *args, **kwargs): # noqa: E501 + """DashboardMatchAttributeFilterMatchAttributeFilter - a model defined in OpenAPI + + Args: + case_sensitive (bool): + display_form (IdentifierRef): + literal (str): + negative_selection (bool): + operator (str): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + local_identifier (str): [optional] # noqa: E501 + title (str): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.case_sensitive = case_sensitive + self.display_form = display_form + self.literal = literal + self.negative_selection = negative_selection + self.operator = operator + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/dashboard_summary_request_dto.py b/gooddata-api-client/gooddata_api_client/model/dashboard_summary_request_dto.py new file mode 100644 index 000000000..386f145b2 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/dashboard_summary_request_dto.py @@ -0,0 +1,302 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class DashboardSummaryRequestDto(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'dashboard_id': (str,), # noqa: E501 + 'ai_model': (str,), # noqa: E501 + 'custom_user_prompt': (str,), # noqa: E501 + 'dry_run': (bool,), # noqa: E501 + 'gooddata_host': (str,), # noqa: E501 + 'gooddata_token': (str,), # noqa: E501 + 'key_metric_ids': ([str],), # noqa: E501 + 'reference_quarter': (str,), # noqa: E501 + 'temperature': (float,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'dashboard_id': 'dashboardId', # noqa: E501 + 'ai_model': 'aiModel', # noqa: E501 + 'custom_user_prompt': 'customUserPrompt', # noqa: E501 + 'dry_run': 'dryRun', # noqa: E501 + 'gooddata_host': 'gooddataHost', # noqa: E501 + 'gooddata_token': 'gooddataToken', # noqa: E501 + 'key_metric_ids': 'keyMetricIds', # noqa: E501 + 'reference_quarter': 'referenceQuarter', # noqa: E501 + 'temperature': 'temperature', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, dashboard_id, *args, **kwargs): # noqa: E501 + """DashboardSummaryRequestDto - a model defined in OpenAPI + + Args: + dashboard_id (str): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + ai_model (str): [optional] # noqa: E501 + custom_user_prompt (str): [optional] # noqa: E501 + dry_run (bool): [optional] # noqa: E501 + gooddata_host (str): [optional] # noqa: E501 + gooddata_token (str): [optional] # noqa: E501 + key_metric_ids ([str]): [optional] # noqa: E501 + reference_quarter (str): [optional] # noqa: E501 + temperature (float): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.dashboard_id = dashboard_id + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, dashboard_id, *args, **kwargs): # noqa: E501 + """DashboardSummaryRequestDto - a model defined in OpenAPI + + Args: + dashboard_id (str): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + ai_model (str): [optional] # noqa: E501 + custom_user_prompt (str): [optional] # noqa: E501 + dry_run (bool): [optional] # noqa: E501 + gooddata_host (str): [optional] # noqa: E501 + gooddata_token (str): [optional] # noqa: E501 + key_metric_ids ([str]): [optional] # noqa: E501 + reference_quarter (str): [optional] # noqa: E501 + temperature (float): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.dashboard_id = dashboard_id + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/dashboard_summary_response_dto.py b/gooddata-api-client/gooddata_api_client/model/dashboard_summary_response_dto.py new file mode 100644 index 000000000..a97798c58 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/dashboard_summary_response_dto.py @@ -0,0 +1,282 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class DashboardSummaryResponseDto(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'message': (str,), # noqa: E501 + 'run_id': (str,), # noqa: E501 + 'status': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'message': 'message', # noqa: E501 + 'run_id': 'runId', # noqa: E501 + 'status': 'status', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, message, run_id, status, *args, **kwargs): # noqa: E501 + """DashboardSummaryResponseDto - a model defined in OpenAPI + + Args: + message (str): + run_id (str): + status (str): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.message = message + self.run_id = run_id + self.status = status + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, message, run_id, status, *args, **kwargs): # noqa: E501 + """DashboardSummaryResponseDto - a model defined in OpenAPI + + Args: + message (str): + run_id (str): + status (str): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.message = message + self.run_id = run_id + self.status = status + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_label.py b/gooddata-api-client/gooddata_api_client/model/declarative_label.py index f53b792c6..836f75515 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_label.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_label.py @@ -80,6 +80,7 @@ class DeclarativeLabel(ModelNormal): 'GEO_AREA': "GEO_AREA", 'GEO_ICON': "GEO_ICON", 'IMAGE': "IMAGE", + 'HYPERLOGLOG': "HYPERLOGLOG", }, } diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_setting.py b/gooddata-api-client/gooddata_api_client/model/declarative_setting.py index f939ceb71..1b7e57947 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_setting.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_setting.py @@ -72,6 +72,7 @@ class DeclarativeSetting(ModelNormal): 'METADATA_LOCALE': "METADATA_LOCALE", 'FORMAT_LOCALE': "FORMAT_LOCALE", 'MAPBOX_TOKEN': "MAPBOX_TOKEN", + 'GEO_ICON_SHEET': "GEO_ICON_SHEET", 'AG_GRID_TOKEN': "AG_GRID_TOKEN", 'WEEK_START': "WEEK_START", 'FISCAL_YEAR': "FISCAL_YEAR", diff --git a/gooddata-api-client/gooddata_api_client/model/feedback_request_dto.py b/gooddata-api-client/gooddata_api_client/model/feedback_request_dto.py new file mode 100644 index 000000000..5949e8809 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/feedback_request_dto.py @@ -0,0 +1,274 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class FeedbackRequestDto(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + ('sentiment',): { + 'POSITIVE': "POSITIVE", + 'NEGATIVE': "NEGATIVE", + }, + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'sentiment': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'sentiment': 'sentiment', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, sentiment, *args, **kwargs): # noqa: E501 + """FeedbackRequestDto - a model defined in OpenAPI + + Args: + sentiment (str): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.sentiment = sentiment + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, sentiment, *args, **kwargs): # noqa: E501 + """FeedbackRequestDto - a model defined in OpenAPI + + Args: + sentiment (str): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.sentiment = sentiment + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_label_out_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_label_out_attributes.py index f6ad600b6..8c6d83909 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_label_out_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_label_out_attributes.py @@ -80,6 +80,7 @@ class JsonApiLabelOutAttributes(ModelNormal): 'GEO_AREA': "GEO_AREA", 'GEO_ICON': "GEO_ICON", 'IMAGE': "IMAGE", + 'HYPERLOGLOG': "HYPERLOGLOG", }, } diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_in_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_in_attributes.py index 3839580ad..0231b1760 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_in_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_organization_setting_in_attributes.py @@ -68,6 +68,7 @@ class JsonApiOrganizationSettingInAttributes(ModelNormal): 'METADATA_LOCALE': "METADATA_LOCALE", 'FORMAT_LOCALE': "FORMAT_LOCALE", 'MAPBOX_TOKEN': "MAPBOX_TOKEN", + 'GEO_ICON_SHEET': "GEO_ICON_SHEET", 'AG_GRID_TOKEN': "AG_GRID_TOKEN", 'WEEK_START': "WEEK_START", 'FISCAL_YEAR': "FISCAL_YEAR", diff --git a/gooddata-api-client/gooddata_api_client/model/key_drivers_dimension.py b/gooddata-api-client/gooddata_api_client/model/key_drivers_dimension.py index b82cb63e5..9fe93c8c3 100644 --- a/gooddata-api-client/gooddata_api_client/model/key_drivers_dimension.py +++ b/gooddata-api-client/gooddata_api_client/model/key_drivers_dimension.py @@ -92,6 +92,7 @@ class KeyDriversDimension(ModelNormal): 'GEO_AREA': "GEO_AREA", 'GEO_ICON': "GEO_ICON", 'IMAGE': "IMAGE", + 'HYPERLOGLOG': "HYPERLOGLOG", }, } diff --git a/gooddata-api-client/gooddata_api_client/model/knowledge_recommendations_request_dto.py b/gooddata-api-client/gooddata_api_client/model/knowledge_recommendations_request_dto.py new file mode 100644 index 000000000..2d6575437 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/knowledge_recommendations_request_dto.py @@ -0,0 +1,341 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class KnowledgeRecommendationsRequestDto(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + ('comparison_type',): { + 'MONTH': "MONTH", + 'QUARTER': "QUARTER", + 'YEAR': "YEAR", + }, + ('direction',): { + 'INCREASED': "INCREASED", + 'DECREASED': "DECREASED", + }, + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'comparison_type': (str,), # noqa: E501 + 'metric_id': (str,), # noqa: E501 + 'ai_model': (str,), # noqa: E501 + 'analytical_dashboard_id': (str,), # noqa: E501 + 'analyzed_value': (float,), # noqa: E501 + 'direction': (str,), # noqa: E501 + 'dry_run': (bool,), # noqa: E501 + 'gooddata_host': (str,), # noqa: E501 + 'gooddata_token': (str,), # noqa: E501 + 'limit': (int,), # noqa: E501 + 'max_tokens': (int,), # noqa: E501 + 'min_score': (float,), # noqa: E501 + 'reference_value': (float,), # noqa: E501 + 'temperature': (float,), # noqa: E501 + 'widget_id': (str,), # noqa: E501 + 'widget_name': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'comparison_type': 'comparisonType', # noqa: E501 + 'metric_id': 'metricId', # noqa: E501 + 'ai_model': 'aiModel', # noqa: E501 + 'analytical_dashboard_id': 'analyticalDashboardId', # noqa: E501 + 'analyzed_value': 'analyzedValue', # noqa: E501 + 'direction': 'direction', # noqa: E501 + 'dry_run': 'dryRun', # noqa: E501 + 'gooddata_host': 'gooddataHost', # noqa: E501 + 'gooddata_token': 'gooddataToken', # noqa: E501 + 'limit': 'limit', # noqa: E501 + 'max_tokens': 'maxTokens', # noqa: E501 + 'min_score': 'minScore', # noqa: E501 + 'reference_value': 'referenceValue', # noqa: E501 + 'temperature': 'temperature', # noqa: E501 + 'widget_id': 'widgetId', # noqa: E501 + 'widget_name': 'widgetName', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, comparison_type, metric_id, *args, **kwargs): # noqa: E501 + """KnowledgeRecommendationsRequestDto - a model defined in OpenAPI + + Args: + comparison_type (str): + metric_id (str): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + ai_model (str): [optional] # noqa: E501 + analytical_dashboard_id (str): [optional] # noqa: E501 + analyzed_value (float): [optional] # noqa: E501 + direction (str): [optional] # noqa: E501 + dry_run (bool): [optional] # noqa: E501 + gooddata_host (str): [optional] # noqa: E501 + gooddata_token (str): [optional] # noqa: E501 + limit (int): [optional] # noqa: E501 + max_tokens (int): [optional] # noqa: E501 + min_score (float): [optional] # noqa: E501 + reference_value (float): [optional] # noqa: E501 + temperature (float): [optional] # noqa: E501 + widget_id (str): [optional] # noqa: E501 + widget_name (str): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.comparison_type = comparison_type + self.metric_id = metric_id + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, comparison_type, metric_id, *args, **kwargs): # noqa: E501 + """KnowledgeRecommendationsRequestDto - a model defined in OpenAPI + + Args: + comparison_type (str): + metric_id (str): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + ai_model (str): [optional] # noqa: E501 + analytical_dashboard_id (str): [optional] # noqa: E501 + analyzed_value (float): [optional] # noqa: E501 + direction (str): [optional] # noqa: E501 + dry_run (bool): [optional] # noqa: E501 + gooddata_host (str): [optional] # noqa: E501 + gooddata_token (str): [optional] # noqa: E501 + limit (int): [optional] # noqa: E501 + max_tokens (int): [optional] # noqa: E501 + min_score (float): [optional] # noqa: E501 + reference_value (float): [optional] # noqa: E501 + temperature (float): [optional] # noqa: E501 + widget_id (str): [optional] # noqa: E501 + widget_name (str): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.comparison_type = comparison_type + self.metric_id = metric_id + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/knowledge_recommendations_response_dto.py b/gooddata-api-client/gooddata_api_client/model/knowledge_recommendations_response_dto.py new file mode 100644 index 000000000..5b02ecc7d --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/knowledge_recommendations_response_dto.py @@ -0,0 +1,282 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class KnowledgeRecommendationsResponseDto(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'message': (str,), # noqa: E501 + 'run_id': (str,), # noqa: E501 + 'status': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'message': 'message', # noqa: E501 + 'run_id': 'runId', # noqa: E501 + 'status': 'status', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, message, run_id, status, *args, **kwargs): # noqa: E501 + """KnowledgeRecommendationsResponseDto - a model defined in OpenAPI + + Args: + message (str): + run_id (str): + status (str): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.message = message + self.run_id = run_id + self.status = status + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, message, run_id, status, *args, **kwargs): # noqa: E501 + """KnowledgeRecommendationsResponseDto - a model defined in OpenAPI + + Args: + message (str): + run_id (str): + status (str): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.message = message + self.run_id = run_id + self.status = status + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/resolved_setting.py b/gooddata-api-client/gooddata_api_client/model/resolved_setting.py index 9cb6b0a59..6249dd180 100644 --- a/gooddata-api-client/gooddata_api_client/model/resolved_setting.py +++ b/gooddata-api-client/gooddata_api_client/model/resolved_setting.py @@ -72,6 +72,7 @@ class ResolvedSetting(ModelNormal): 'METADATA_LOCALE': "METADATA_LOCALE", 'FORMAT_LOCALE': "FORMAT_LOCALE", 'MAPBOX_TOKEN': "MAPBOX_TOKEN", + 'GEO_ICON_SHEET': "GEO_ICON_SHEET", 'AG_GRID_TOKEN': "AG_GRID_TOKEN", 'WEEK_START': "WEEK_START", 'FISCAL_YEAR': "FISCAL_YEAR", diff --git a/gooddata-api-client/gooddata_api_client/model/workflow_dashboard_summary_request_dto.py b/gooddata-api-client/gooddata_api_client/model/workflow_dashboard_summary_request_dto.py new file mode 100644 index 000000000..eb643f277 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/workflow_dashboard_summary_request_dto.py @@ -0,0 +1,282 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class WorkflowDashboardSummaryRequestDto(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'dashboard_id': (str,), # noqa: E501 + 'custom_user_prompt': (str,), # noqa: E501 + 'key_metric_ids': ([str],), # noqa: E501 + 'reference_quarter': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'dashboard_id': 'dashboardId', # noqa: E501 + 'custom_user_prompt': 'customUserPrompt', # noqa: E501 + 'key_metric_ids': 'keyMetricIds', # noqa: E501 + 'reference_quarter': 'referenceQuarter', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, dashboard_id, *args, **kwargs): # noqa: E501 + """WorkflowDashboardSummaryRequestDto - a model defined in OpenAPI + + Args: + dashboard_id (str): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + custom_user_prompt (str): [optional] # noqa: E501 + key_metric_ids ([str]): [optional] # noqa: E501 + reference_quarter (str): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.dashboard_id = dashboard_id + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, dashboard_id, *args, **kwargs): # noqa: E501 + """WorkflowDashboardSummaryRequestDto - a model defined in OpenAPI + + Args: + dashboard_id (str): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + custom_user_prompt (str): [optional] # noqa: E501 + key_metric_ids ([str]): [optional] # noqa: E501 + reference_quarter (str): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.dashboard_id = dashboard_id + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/workflow_dashboard_summary_response_dto.py b/gooddata-api-client/gooddata_api_client/model/workflow_dashboard_summary_response_dto.py new file mode 100644 index 000000000..5229d4594 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/workflow_dashboard_summary_response_dto.py @@ -0,0 +1,282 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class WorkflowDashboardSummaryResponseDto(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'message': (str,), # noqa: E501 + 'run_id': (str,), # noqa: E501 + 'status': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'message': 'message', # noqa: E501 + 'run_id': 'runId', # noqa: E501 + 'status': 'status', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, message, run_id, status, *args, **kwargs): # noqa: E501 + """WorkflowDashboardSummaryResponseDto - a model defined in OpenAPI + + Args: + message (str): + run_id (str): + status (str): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.message = message + self.run_id = run_id + self.status = status + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, message, run_id, status, *args, **kwargs): # noqa: E501 + """WorkflowDashboardSummaryResponseDto - a model defined in OpenAPI + + Args: + message (str): + run_id (str): + status (str): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.message = message + self.run_id = run_id + self.status = status + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/model/workflow_status_response_dto.py b/gooddata-api-client/gooddata_api_client/model/workflow_status_response_dto.py new file mode 100644 index 000000000..430622df2 --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/workflow_status_response_dto.py @@ -0,0 +1,294 @@ +""" + OpenAPI definition + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: v0 + Contact: support@gooddata.com + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from gooddata_api_client.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from gooddata_api_client.exceptions import ApiAttributeError + + + +class WorkflowStatusResponseDto(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'message': (str,), # noqa: E501 + 'run_id': (str,), # noqa: E501 + 'status': (str,), # noqa: E501 + 'current_phase': (str,), # noqa: E501 + 'error': (str,), # noqa: E501 + 'result': ({str: ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},)},), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'message': 'message', # noqa: E501 + 'run_id': 'runId', # noqa: E501 + 'status': 'status', # noqa: E501 + 'current_phase': 'currentPhase', # noqa: E501 + 'error': 'error', # noqa: E501 + 'result': 'result', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, message, run_id, status, *args, **kwargs): # noqa: E501 + """WorkflowStatusResponseDto - a model defined in OpenAPI + + Args: + message (str): + run_id (str): + status (str): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + current_phase (str): [optional] # noqa: E501 + error (str): [optional] # noqa: E501 + result ({str: ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},)}): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', True) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.message = message + self.run_id = run_id + self.status = status + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, message, run_id, status, *args, **kwargs): # noqa: E501 + """WorkflowStatusResponseDto - a model defined in OpenAPI + + Args: + message (str): + run_id (str): + status (str): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + current_phase (str): [optional] # noqa: E501 + error (str): [optional] # noqa: E501 + result ({str: ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},)}): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + for arg in args: + if isinstance(arg, dict): + kwargs.update(arg) + else: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.message = message + self.run_id = run_id + self.status = status + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/gooddata-api-client/gooddata_api_client/models/__init__.py b/gooddata-api-client/gooddata_api_client/models/__init__.py index 7ff60d913..771b9ac78 100644 --- a/gooddata-api-client/gooddata_api_client/models/__init__.py +++ b/gooddata-api-client/gooddata_api_client/models/__init__.py @@ -199,6 +199,8 @@ from gooddata_api_client.model.custom_label import CustomLabel from gooddata_api_client.model.custom_metric import CustomMetric from gooddata_api_client.model.custom_override import CustomOverride +from gooddata_api_client.model.dashboard_arbitrary_attribute_filter import DashboardArbitraryAttributeFilter +from gooddata_api_client.model.dashboard_arbitrary_attribute_filter_arbitrary_attribute_filter import DashboardArbitraryAttributeFilterArbitraryAttributeFilter from gooddata_api_client.model.dashboard_attribute_filter import DashboardAttributeFilter from gooddata_api_client.model.dashboard_attribute_filter_attribute_filter import DashboardAttributeFilterAttributeFilter from gooddata_api_client.model.dashboard_context import DashboardContext @@ -207,9 +209,13 @@ from gooddata_api_client.model.dashboard_date_filter_date_filter import DashboardDateFilterDateFilter from gooddata_api_client.model.dashboard_export_settings import DashboardExportSettings from gooddata_api_client.model.dashboard_filter import DashboardFilter +from gooddata_api_client.model.dashboard_match_attribute_filter import DashboardMatchAttributeFilter +from gooddata_api_client.model.dashboard_match_attribute_filter_match_attribute_filter import DashboardMatchAttributeFilterMatchAttributeFilter from gooddata_api_client.model.dashboard_permissions import DashboardPermissions from gooddata_api_client.model.dashboard_permissions_assignment import DashboardPermissionsAssignment from gooddata_api_client.model.dashboard_slides_template import DashboardSlidesTemplate +from gooddata_api_client.model.dashboard_summary_request_dto import DashboardSummaryRequestDto +from gooddata_api_client.model.dashboard_summary_response_dto import DashboardSummaryResponseDto from gooddata_api_client.model.dashboard_tabular_export_request import DashboardTabularExportRequest from gooddata_api_client.model.dashboard_tabular_export_request_v2 import DashboardTabularExportRequestV2 from gooddata_api_client.model.data_column_locator import DataColumnLocator @@ -356,6 +362,7 @@ from gooddata_api_client.model.fact_identifier import FactIdentifier from gooddata_api_client.model.failed_operation import FailedOperation from gooddata_api_client.model.failed_operation_all_of import FailedOperationAllOf +from gooddata_api_client.model.feedback_request_dto import FeedbackRequestDto from gooddata_api_client.model.file import File from gooddata_api_client.model.filter import Filter from gooddata_api_client.model.filter_by import FilterBy @@ -1005,6 +1012,8 @@ from gooddata_api_client.model.key_drivers_response import KeyDriversResponse from gooddata_api_client.model.key_drivers_result import KeyDriversResult from gooddata_api_client.model.knowledge_document_metadata_dto import KnowledgeDocumentMetadataDto +from gooddata_api_client.model.knowledge_recommendations_request_dto import KnowledgeRecommendationsRequestDto +from gooddata_api_client.model.knowledge_recommendations_response_dto import KnowledgeRecommendationsResponseDto from gooddata_api_client.model.knowledge_search_result_dto import KnowledgeSearchResultDto from gooddata_api_client.model.label_identifier import LabelIdentifier from gooddata_api_client.model.list_database_instances_response import ListDatabaseInstancesResponse @@ -1248,6 +1257,9 @@ from gooddata_api_client.model.what_if_scenario_item import WhatIfScenarioItem from gooddata_api_client.model.widget_descriptor import WidgetDescriptor from gooddata_api_client.model.widget_slides_template import WidgetSlidesTemplate +from gooddata_api_client.model.workflow_dashboard_summary_request_dto import WorkflowDashboardSummaryRequestDto +from gooddata_api_client.model.workflow_dashboard_summary_response_dto import WorkflowDashboardSummaryResponseDto +from gooddata_api_client.model.workflow_status_response_dto import WorkflowStatusResponseDto from gooddata_api_client.model.workspace_automation_identifier import WorkspaceAutomationIdentifier from gooddata_api_client.model.workspace_automation_management_bulk_request import WorkspaceAutomationManagementBulkRequest from gooddata_api_client.model.workspace_cache_settings import WorkspaceCacheSettings diff --git a/schemas/gooddata-afm-client.json b/schemas/gooddata-afm-client.json index 824144199..9f9076c1b 100644 --- a/schemas/gooddata-afm-client.json +++ b/schemas/gooddata-afm-client.json @@ -840,7 +840,8 @@ "GEO_LATITUDE", "GEO_AREA", "GEO_ICON", - "IMAGE" + "IMAGE", + "HYPERLOGLOG" ], "type": "string" } @@ -2036,6 +2037,64 @@ ], "type": "object" }, + "DashboardSummaryRequestDto": { + "properties": { + "aiModel": { + "type": "string" + }, + "customUserPrompt": { + "type": "string" + }, + "dashboardId": { + "type": "string" + }, + "dryRun": { + "type": "boolean" + }, + "gooddataHost": { + "type": "string" + }, + "gooddataToken": { + "type": "string" + }, + "keyMetricIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "referenceQuarter": { + "type": "string" + }, + "temperature": { + "format": "double", + "type": "number" + } + }, + "required": [ + "dashboardId" + ], + "type": "object" + }, + "DashboardSummaryResponseDto": { + "properties": { + "message": { + "type": "string" + }, + "runId": { + "type": "string" + }, + "status": { + "type": "string" + } + }, + "required": [ + "message", + "runId", + "status" + ], + "type": "object" + }, "DataColumnLocator": { "description": "Mapping from dimension items (either 'localIdentifier' from 'AttributeItem', or \"measureGroup\") to their respective values. This effectively specifies the path (location) of the data column used for sorting. Therefore values for all dimension items must be specified.", "example": { @@ -2783,6 +2842,21 @@ ], "type": "object" }, + "FeedbackRequestDto": { + "properties": { + "sentiment": { + "enum": [ + "POSITIVE", + "NEGATIVE" + ], + "type": "string" + } + }, + "required": [ + "sentiment" + ], + "type": "object" + }, "Filter": { "description": "List of filters to be applied to the new visualization", "type": "object" @@ -3280,7 +3354,8 @@ "GEO_LATITUDE", "GEO_AREA", "GEO_ICON", - "IMAGE" + "IMAGE", + "HYPERLOGLOG" ], "type": "string" } @@ -3397,6 +3472,97 @@ ], "type": "object" }, + "KnowledgeRecommendationsRequestDto": { + "properties": { + "aiModel": { + "type": "string" + }, + "analyticalDashboardId": { + "type": "string" + }, + "analyzedValue": { + "format": "double", + "type": "number" + }, + "comparisonType": { + "enum": [ + "MONTH", + "QUARTER", + "YEAR" + ], + "type": "string" + }, + "direction": { + "enum": [ + "INCREASED", + "DECREASED" + ], + "type": "string" + }, + "dryRun": { + "type": "boolean" + }, + "gooddataHost": { + "type": "string" + }, + "gooddataToken": { + "type": "string" + }, + "limit": { + "format": "int32", + "type": "integer" + }, + "maxTokens": { + "format": "int32", + "type": "integer" + }, + "metricId": { + "type": "string" + }, + "minScore": { + "format": "double", + "type": "number" + }, + "referenceValue": { + "format": "double", + "type": "number" + }, + "temperature": { + "format": "double", + "type": "number" + }, + "widgetId": { + "type": "string" + }, + "widgetName": { + "type": "string" + } + }, + "required": [ + "comparisonType", + "metricId" + ], + "type": "object" + }, + "KnowledgeRecommendationsResponseDto": { + "properties": { + "message": { + "type": "string" + }, + "runId": { + "type": "string" + }, + "status": { + "type": "string" + } + }, + "required": [ + "message", + "runId", + "status" + ], + "type": "object" + }, "KnowledgeSearchResultDto": { "properties": { "chunkIndex": { @@ -6340,6 +6506,79 @@ "widgetType" ], "type": "object" + }, + "WorkflowDashboardSummaryRequestDto": { + "properties": { + "customUserPrompt": { + "type": "string" + }, + "dashboardId": { + "type": "string" + }, + "keyMetricIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "referenceQuarter": { + "type": "string" + } + }, + "required": [ + "dashboardId" + ], + "type": "object" + }, + "WorkflowDashboardSummaryResponseDto": { + "properties": { + "message": { + "type": "string" + }, + "runId": { + "type": "string" + }, + "status": { + "type": "string" + } + }, + "required": [ + "message", + "runId", + "status" + ], + "type": "object" + }, + "WorkflowStatusResponseDto": { + "properties": { + "currentPhase": { + "type": "string" + }, + "error": { + "type": "string" + }, + "message": { + "type": "string" + }, + "result": { + "additionalProperties": { + "type": "object" + }, + "type": "object" + }, + "runId": { + "type": "string" + }, + "status": { + "type": "string" + } + }, + "required": [ + "message", + "runId", + "status" + ], + "type": "object" } } }, @@ -6567,6 +6806,226 @@ ] } }, + "/api/v1/actions/workspaces/{workspaceId}/ai/agent/dashboardSummary": { + "post": { + "operationId": "generateDashboardSummary_1", + "parameters": [ + { + "description": "Workspace identifier", + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DashboardSummaryRequestDto" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DashboardSummaryResponseDto" + } + } + }, + "description": "OK" + } + }, + "tags": [ + "actions" + ] + } + }, + "/api/v1/actions/workspaces/{workspaceId}/ai/agent/knowledgeRecommendations": { + "post": { + "operationId": "generateKnowledgeRecommendations", + "parameters": [ + { + "description": "Workspace identifier", + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/KnowledgeRecommendationsRequestDto" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/KnowledgeRecommendationsResponseDto" + } + } + }, + "description": "OK" + } + }, + "tags": [ + "actions" + ] + } + }, + "/api/v1/actions/workspaces/{workspaceId}/ai/agent/{runId}/cancel": { + "post": { + "operationId": "cancelWorkflow_1", + "parameters": [ + { + "description": "Workspace identifier", + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", + "type": "string" + } + }, + { + "in": "path", + "name": "runId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + } + }, + "description": "OK" + } + }, + "tags": [ + "actions" + ] + } + }, + "/api/v1/actions/workspaces/{workspaceId}/ai/agent/{runId}/feedback": { + "post": { + "operationId": "userFeedback", + "parameters": [ + { + "description": "Workspace identifier", + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", + "type": "string" + } + }, + { + "in": "path", + "name": "runId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/FeedbackRequestDto" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + } + }, + "description": "OK" + } + }, + "tags": [ + "actions" + ] + } + }, + "/api/v1/actions/workspaces/{workspaceId}/ai/agent/{runId}/status": { + "get": { + "operationId": "getWorkflowStatus_1", + "parameters": [ + { + "description": "Workspace identifier", + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", + "type": "string" + } + }, + { + "in": "path", + "name": "runId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WorkflowStatusResponseDto" + } + } + }, + "description": "OK" + } + }, + "tags": [ + "actions" + ] + } + }, "/api/v1/actions/workspaces/{workspaceId}/ai/analyticsCatalog/createdBy": { "get": { "description": "Returns a list of Users who created any object for this workspace", @@ -7561,6 +8020,131 @@ ] } }, + "/api/v1/actions/workspaces/{workspaceId}/ai/workflow/dashboardSummary": { + "post": { + "operationId": "generateDashboardSummary", + "parameters": [ + { + "description": "Workspace identifier", + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WorkflowDashboardSummaryRequestDto" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WorkflowDashboardSummaryResponseDto" + } + } + }, + "description": "OK" + } + }, + "tags": [ + "actions" + ] + } + }, + "/api/v1/actions/workspaces/{workspaceId}/ai/workflow/{runId}/cancel": { + "post": { + "operationId": "cancelWorkflow", + "parameters": [ + { + "description": "Workspace identifier", + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", + "type": "string" + } + }, + { + "in": "path", + "name": "runId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + } + }, + "description": "OK" + } + }, + "tags": [ + "actions" + ] + } + }, + "/api/v1/actions/workspaces/{workspaceId}/ai/workflow/{runId}/status": { + "get": { + "operationId": "getWorkflowStatus", + "parameters": [ + { + "description": "Workspace identifier", + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", + "type": "string" + } + }, + { + "in": "path", + "name": "runId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WorkflowStatusResponseDto" + } + } + }, + "description": "OK" + } + }, + "tags": [ + "actions" + ] + } + }, "/api/v1/actions/workspaces/{workspaceId}/execution/afm/cancel": { "post": { "description": "Each cancel token corresponds to one unique execution request for the same result id. If all cancel tokens for the same result id are applied, the execution for this result id is cancelled.", diff --git a/schemas/gooddata-api-client.json b/schemas/gooddata-api-client.json index 87964df0e..2c6e0adf9 100644 --- a/schemas/gooddata-api-client.json +++ b/schemas/gooddata-api-client.json @@ -5894,7 +5894,8 @@ "GEO_LATITUDE", "GEO_AREA", "GEO_ICON", - "IMAGE" + "IMAGE", + "HYPERLOGLOG" ], "type": "string" } @@ -7036,7 +7037,8 @@ "GEO_LATITUDE", "GEO_AREA", "GEO_ICON", - "IMAGE" + "IMAGE", + "HYPERLOGLOG" ], "example": "HYPERLINK", "type": "string" @@ -7855,6 +7857,54 @@ }, "type": "object" }, + "DashboardArbitraryAttributeFilter": { + "properties": { + "arbitraryAttributeFilter": { + "properties": { + "displayForm": { + "$ref": "#/components/schemas/IdentifierRef" + }, + "filterElementsBy": { + "items": { + "$ref": "#/components/schemas/AttributeFilterParent" + }, + "type": "array" + }, + "filterElementsByDate": { + "items": { + "$ref": "#/components/schemas/AttributeFilterByDate" + }, + "type": "array" + }, + "localIdentifier": { + "type": "string" + }, + "negativeSelection": { + "type": "boolean" + }, + "title": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "displayForm", + "negativeSelection", + "values" + ], + "type": "object" + } + }, + "required": [ + "arbitraryAttributeFilter" + ], + "type": "object" + }, "DashboardAttributeFilter": { "properties": { "attributeFilter": { @@ -8085,7 +8135,59 @@ }, { "$ref": "#/components/schemas/DashboardDateFilter" + }, + { + "$ref": "#/components/schemas/DashboardArbitraryAttributeFilter" + }, + { + "$ref": "#/components/schemas/DashboardMatchAttributeFilter" + } + ], + "type": "object" + }, + "DashboardMatchAttributeFilter": { + "properties": { + "matchAttributeFilter": { + "properties": { + "caseSensitive": { + "type": "boolean" + }, + "displayForm": { + "$ref": "#/components/schemas/IdentifierRef" + }, + "literal": { + "type": "string" + }, + "localIdentifier": { + "type": "string" + }, + "negativeSelection": { + "type": "boolean" + }, + "operator": { + "enum": [ + "contains", + "startsWith", + "endsWith" + ], + "type": "string" + }, + "title": { + "type": "string" + } + }, + "required": [ + "caseSensitive", + "displayForm", + "literal", + "negativeSelection", + "operator" + ], + "type": "object" } + }, + "required": [ + "matchAttributeFilter" ], "type": "object" }, @@ -8178,6 +8280,64 @@ ], "type": "object" }, + "DashboardSummaryRequestDto": { + "properties": { + "aiModel": { + "type": "string" + }, + "customUserPrompt": { + "type": "string" + }, + "dashboardId": { + "type": "string" + }, + "dryRun": { + "type": "boolean" + }, + "gooddataHost": { + "type": "string" + }, + "gooddataToken": { + "type": "string" + }, + "keyMetricIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "referenceQuarter": { + "type": "string" + }, + "temperature": { + "format": "double", + "type": "number" + } + }, + "required": [ + "dashboardId" + ], + "type": "object" + }, + "DashboardSummaryResponseDto": { + "properties": { + "message": { + "type": "string" + }, + "runId": { + "type": "string" + }, + "status": { + "type": "string" + } + }, + "required": [ + "message", + "runId", + "status" + ], + "type": "object" + }, "DashboardTabularExportRequest": { "description": "Export request object describing the export properties for dashboard tabular exports.", "properties": { @@ -10538,7 +10698,8 @@ "GEO_LATITUDE", "GEO_AREA", "GEO_ICON", - "IMAGE" + "IMAGE", + "HYPERLOGLOG" ], "type": "string" } @@ -11294,6 +11455,7 @@ "METADATA_LOCALE", "FORMAT_LOCALE", "MAPBOX_TOKEN", + "GEO_ICON_SHEET", "AG_GRID_TOKEN", "WEEK_START", "FISCAL_YEAR", @@ -13256,6 +13418,21 @@ ], "type": "object" }, + "FeedbackRequestDto": { + "properties": { + "sentiment": { + "enum": [ + "POSITIVE", + "NEGATIVE" + ], + "type": "string" + } + }, + "required": [ + "sentiment" + ], + "type": "object" + }, "File": { "properties": { "any": { @@ -23793,7 +23970,8 @@ "GEO_LATITUDE", "GEO_AREA", "GEO_ICON", - "IMAGE" + "IMAGE", + "HYPERLOGLOG" ], "type": "string" } @@ -26705,6 +26883,7 @@ "METADATA_LOCALE", "FORMAT_LOCALE", "MAPBOX_TOKEN", + "GEO_ICON_SHEET", "AG_GRID_TOKEN", "WEEK_START", "FISCAL_YEAR", @@ -26804,6 +26983,7 @@ "METADATA_LOCALE", "FORMAT_LOCALE", "MAPBOX_TOKEN", + "GEO_ICON_SHEET", "AG_GRID_TOKEN", "WEEK_START", "FISCAL_YEAR", @@ -26943,6 +27123,7 @@ "METADATA_LOCALE", "FORMAT_LOCALE", "MAPBOX_TOKEN", + "GEO_ICON_SHEET", "AG_GRID_TOKEN", "WEEK_START", "FISCAL_YEAR", @@ -28448,6 +28629,7 @@ "METADATA_LOCALE", "FORMAT_LOCALE", "MAPBOX_TOKEN", + "GEO_ICON_SHEET", "AG_GRID_TOKEN", "WEEK_START", "FISCAL_YEAR", @@ -28547,6 +28729,7 @@ "METADATA_LOCALE", "FORMAT_LOCALE", "MAPBOX_TOKEN", + "GEO_ICON_SHEET", "AG_GRID_TOKEN", "WEEK_START", "FISCAL_YEAR", @@ -30802,6 +30985,7 @@ "METADATA_LOCALE", "FORMAT_LOCALE", "MAPBOX_TOKEN", + "GEO_ICON_SHEET", "AG_GRID_TOKEN", "WEEK_START", "FISCAL_YEAR", @@ -30901,6 +31085,7 @@ "METADATA_LOCALE", "FORMAT_LOCALE", "MAPBOX_TOKEN", + "GEO_ICON_SHEET", "AG_GRID_TOKEN", "WEEK_START", "FISCAL_YEAR", @@ -31066,6 +31251,7 @@ "METADATA_LOCALE", "FORMAT_LOCALE", "MAPBOX_TOKEN", + "GEO_ICON_SHEET", "AG_GRID_TOKEN", "WEEK_START", "FISCAL_YEAR", @@ -31165,6 +31351,7 @@ "METADATA_LOCALE", "FORMAT_LOCALE", "MAPBOX_TOKEN", + "GEO_ICON_SHEET", "AG_GRID_TOKEN", "WEEK_START", "FISCAL_YEAR", @@ -31306,7 +31493,8 @@ "GEO_LATITUDE", "GEO_AREA", "GEO_ICON", - "IMAGE" + "IMAGE", + "HYPERLOGLOG" ], "type": "string" } @@ -31423,6 +31611,97 @@ ], "type": "object" }, + "KnowledgeRecommendationsRequestDto": { + "properties": { + "aiModel": { + "type": "string" + }, + "analyticalDashboardId": { + "type": "string" + }, + "analyzedValue": { + "format": "double", + "type": "number" + }, + "comparisonType": { + "enum": [ + "MONTH", + "QUARTER", + "YEAR" + ], + "type": "string" + }, + "direction": { + "enum": [ + "INCREASED", + "DECREASED" + ], + "type": "string" + }, + "dryRun": { + "type": "boolean" + }, + "gooddataHost": { + "type": "string" + }, + "gooddataToken": { + "type": "string" + }, + "limit": { + "format": "int32", + "type": "integer" + }, + "maxTokens": { + "format": "int32", + "type": "integer" + }, + "metricId": { + "type": "string" + }, + "minScore": { + "format": "double", + "type": "number" + }, + "referenceValue": { + "format": "double", + "type": "number" + }, + "temperature": { + "format": "double", + "type": "number" + }, + "widgetId": { + "type": "string" + }, + "widgetName": { + "type": "string" + } + }, + "required": [ + "comparisonType", + "metricId" + ], + "type": "object" + }, + "KnowledgeRecommendationsResponseDto": { + "properties": { + "message": { + "type": "string" + }, + "runId": { + "type": "string" + }, + "status": { + "type": "string" + } + }, + "required": [ + "message", + "runId", + "status" + ], + "type": "object" + }, "KnowledgeSearchResultDto": { "properties": { "chunkIndex": { @@ -34129,6 +34408,7 @@ "METADATA_LOCALE", "FORMAT_LOCALE", "MAPBOX_TOKEN", + "GEO_ICON_SHEET", "AG_GRID_TOKEN", "WEEK_START", "FISCAL_YEAR", @@ -37230,6 +37510,79 @@ ], "type": "object" }, + "WorkflowDashboardSummaryRequestDto": { + "properties": { + "customUserPrompt": { + "type": "string" + }, + "dashboardId": { + "type": "string" + }, + "keyMetricIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "referenceQuarter": { + "type": "string" + } + }, + "required": [ + "dashboardId" + ], + "type": "object" + }, + "WorkflowDashboardSummaryResponseDto": { + "properties": { + "message": { + "type": "string" + }, + "runId": { + "type": "string" + }, + "status": { + "type": "string" + } + }, + "required": [ + "message", + "runId", + "status" + ], + "type": "object" + }, + "WorkflowStatusResponseDto": { + "properties": { + "currentPhase": { + "type": "string" + }, + "error": { + "type": "string" + }, + "message": { + "type": "string" + }, + "result": { + "additionalProperties": { + "type": "object" + }, + "type": "object" + }, + "runId": { + "type": "string" + }, + "status": { + "type": "string" + } + }, + "required": [ + "message", + "runId", + "status" + ], + "type": "object" + }, "WorkspaceAutomationIdentifier": { "properties": { "id": { @@ -40100,6 +40453,226 @@ ] } }, + "/api/v1/actions/workspaces/{workspaceId}/ai/agent/dashboardSummary": { + "post": { + "operationId": "generateDashboardSummary_1", + "parameters": [ + { + "description": "Workspace identifier", + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DashboardSummaryRequestDto" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DashboardSummaryResponseDto" + } + } + }, + "description": "OK" + } + }, + "tags": [ + "actions" + ] + } + }, + "/api/v1/actions/workspaces/{workspaceId}/ai/agent/knowledgeRecommendations": { + "post": { + "operationId": "generateKnowledgeRecommendations", + "parameters": [ + { + "description": "Workspace identifier", + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/KnowledgeRecommendationsRequestDto" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/KnowledgeRecommendationsResponseDto" + } + } + }, + "description": "OK" + } + }, + "tags": [ + "actions" + ] + } + }, + "/api/v1/actions/workspaces/{workspaceId}/ai/agent/{runId}/cancel": { + "post": { + "operationId": "cancelWorkflow_1", + "parameters": [ + { + "description": "Workspace identifier", + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", + "type": "string" + } + }, + { + "in": "path", + "name": "runId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + } + }, + "description": "OK" + } + }, + "tags": [ + "actions" + ] + } + }, + "/api/v1/actions/workspaces/{workspaceId}/ai/agent/{runId}/feedback": { + "post": { + "operationId": "userFeedback", + "parameters": [ + { + "description": "Workspace identifier", + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", + "type": "string" + } + }, + { + "in": "path", + "name": "runId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/FeedbackRequestDto" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + } + }, + "description": "OK" + } + }, + "tags": [ + "actions" + ] + } + }, + "/api/v1/actions/workspaces/{workspaceId}/ai/agent/{runId}/status": { + "get": { + "operationId": "getWorkflowStatus_1", + "parameters": [ + { + "description": "Workspace identifier", + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", + "type": "string" + } + }, + { + "in": "path", + "name": "runId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WorkflowStatusResponseDto" + } + } + }, + "description": "OK" + } + }, + "tags": [ + "actions" + ] + } + }, "/api/v1/actions/workspaces/{workspaceId}/ai/analyticsCatalog/createdBy": { "get": { "description": "Returns a list of Users who created any object for this workspace", @@ -41094,6 +41667,131 @@ ] } }, + "/api/v1/actions/workspaces/{workspaceId}/ai/workflow/dashboardSummary": { + "post": { + "operationId": "generateDashboardSummary", + "parameters": [ + { + "description": "Workspace identifier", + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WorkflowDashboardSummaryRequestDto" + } + } + }, + "required": true + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WorkflowDashboardSummaryResponseDto" + } + } + }, + "description": "OK" + } + }, + "tags": [ + "actions" + ] + } + }, + "/api/v1/actions/workspaces/{workspaceId}/ai/workflow/{runId}/cancel": { + "post": { + "operationId": "cancelWorkflow", + "parameters": [ + { + "description": "Workspace identifier", + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", + "type": "string" + } + }, + { + "in": "path", + "name": "runId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + } + } + }, + "description": "OK" + } + }, + "tags": [ + "actions" + ] + } + }, + "/api/v1/actions/workspaces/{workspaceId}/ai/workflow/{runId}/status": { + "get": { + "operationId": "getWorkflowStatus", + "parameters": [ + { + "description": "Workspace identifier", + "in": "path", + "name": "workspaceId", + "required": true, + "schema": { + "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$", + "type": "string" + } + }, + { + "in": "path", + "name": "runId", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/WorkflowStatusResponseDto" + } + } + }, + "description": "OK" + } + }, + "tags": [ + "actions" + ] + } + }, "/api/v1/actions/workspaces/{workspaceId}/analyticalDashboards/{dashboardId}/availableAssignees": { "get": { "operationId": "availableAssignees", @@ -46234,15 +46932,6 @@ "parameters": [ { "$ref": "#/components/parameters/idPathParameter" - }, - { - "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "name==someString;description==someString", - "in": "query", - "name": "filter", - "schema": { - "type": "string" - } } ], "responses": { @@ -46712,15 +47401,6 @@ "parameters": [ { "$ref": "#/components/parameters/idPathParameter" - }, - { - "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "name==someString;type==DatabaseTypeValue", - "in": "query", - "name": "filter", - "schema": { - "type": "string" - } } ], "responses": { @@ -47781,15 +48461,6 @@ "parameters": [ { "$ref": "#/components/parameters/idPathParameter" - }, - { - "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "content==JwkSpecificationValue", - "in": "query", - "name": "filter", - "schema": { - "type": "string" - } } ], "responses": { @@ -50892,15 +51563,6 @@ }, { "$ref": "#/components/parameters/idPathParameter" - }, - { - "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "bearerToken==someString", - "in": "query", - "name": "filter", - "schema": { - "type": "string" - } } ], "responses": { @@ -51107,15 +51769,6 @@ }, { "$ref": "#/components/parameters/idPathParameter" - }, - { - "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "content==JsonNodeValue;type==SettingTypeValue", - "in": "query", - "name": "filter", - "schema": { - "type": "string" - } } ], "responses": { @@ -52383,15 +53036,6 @@ "schema": { "type": "string" } - }, - { - "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;description==someString;createdBy.id==321;modifiedBy.id==321", - "in": "query", - "name": "filter", - "schema": { - "type": "string" - } } ], "responses": { @@ -53070,15 +53714,6 @@ "schema": { "type": "string" } - }, - { - "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;description==someString;createdBy.id==321;modifiedBy.id==321", - "in": "query", - "name": "filter", - "schema": { - "type": "string" - } } ], "responses": { @@ -54244,15 +54879,6 @@ "schema": { "type": "string" } - }, - { - "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;description==someString;notificationChannel.id==321;analyticalDashboard.id==321", - "in": "query", - "name": "filter", - "schema": { - "type": "string" - } } ], "responses": { @@ -54879,15 +55505,6 @@ "schema": { "type": "string" } - }, - { - "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "applicationName==someString;content==JsonNodeValue", - "in": "query", - "name": "filter", - "schema": { - "type": "string" - } } ], "responses": { @@ -55457,15 +56074,6 @@ "schema": { "type": "string" } - }, - { - "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;description==someString;createdBy.id==321;modifiedBy.id==321", - "in": "query", - "name": "filter", - "schema": { - "type": "string" - } } ], "responses": { @@ -56554,15 +57162,6 @@ "schema": { "type": "string" } - }, - { - "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;description==someString;visualizationObject.id==321;analyticalDashboard.id==321", - "in": "query", - "name": "filter", - "schema": { - "type": "string" - } } ], "responses": { @@ -57645,15 +58244,6 @@ "schema": { "type": "string" } - }, - { - "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;description==someString", - "in": "query", - "name": "filter", - "schema": { - "type": "string" - } } ], "responses": { @@ -58283,15 +58873,6 @@ "schema": { "type": "string" } - }, - { - "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;description==someString;analyticalDashboard.id==321;user.id==321", - "in": "query", - "name": "filter", - "schema": { - "type": "string" - } } ], "responses": { @@ -60576,15 +61157,6 @@ "schema": { "type": "string" } - }, - { - "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;description==someString;createdBy.id==321;modifiedBy.id==321", - "in": "query", - "name": "filter", - "schema": { - "type": "string" - } } ], "responses": { @@ -61265,15 +61837,6 @@ "schema": { "type": "string" } - }, - { - "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;description==someString;user.id==321;userGroup.id==321", - "in": "query", - "name": "filter", - "schema": { - "type": "string" - } } ], "responses": { @@ -61954,15 +62517,6 @@ "schema": { "type": "string" } - }, - { - "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;description==someString;createdBy.id==321;modifiedBy.id==321", - "in": "query", - "name": "filter", - "schema": { - "type": "string" - } } ], "responses": { @@ -62629,15 +63183,6 @@ "schema": { "type": "string" } - }, - { - "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;description==someString;workspaceDataFilter.id==321", - "in": "query", - "name": "filter", - "schema": { - "type": "string" - } } ], "responses": { @@ -63283,15 +63828,6 @@ "schema": { "type": "string" } - }, - { - "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;description==someString", - "in": "query", - "name": "filter", - "schema": { - "type": "string" - } } ], "responses": { @@ -63891,15 +64427,6 @@ "schema": { "type": "string" } - }, - { - "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "content==JsonNodeValue;type==SettingTypeValue", - "in": "query", - "name": "filter", - "schema": { - "type": "string" - } } ], "responses": { diff --git a/schemas/gooddata-automation-client.json b/schemas/gooddata-automation-client.json index 48bea2bed..ecdb1c50c 100644 --- a/schemas/gooddata-automation-client.json +++ b/schemas/gooddata-automation-client.json @@ -1310,6 +1310,54 @@ }, "type": "object" }, + "DashboardArbitraryAttributeFilter": { + "properties": { + "arbitraryAttributeFilter": { + "properties": { + "displayForm": { + "$ref": "#/components/schemas/IdentifierRef" + }, + "filterElementsBy": { + "items": { + "$ref": "#/components/schemas/AttributeFilterParent" + }, + "type": "array" + }, + "filterElementsByDate": { + "items": { + "$ref": "#/components/schemas/AttributeFilterByDate" + }, + "type": "array" + }, + "localIdentifier": { + "type": "string" + }, + "negativeSelection": { + "type": "boolean" + }, + "title": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "displayForm", + "negativeSelection", + "values" + ], + "type": "object" + } + }, + "required": [ + "arbitraryAttributeFilter" + ], + "type": "object" + }, "DashboardAttributeFilter": { "properties": { "attributeFilter": { @@ -1509,7 +1557,59 @@ }, { "$ref": "#/components/schemas/DashboardDateFilter" + }, + { + "$ref": "#/components/schemas/DashboardArbitraryAttributeFilter" + }, + { + "$ref": "#/components/schemas/DashboardMatchAttributeFilter" + } + ], + "type": "object" + }, + "DashboardMatchAttributeFilter": { + "properties": { + "matchAttributeFilter": { + "properties": { + "caseSensitive": { + "type": "boolean" + }, + "displayForm": { + "$ref": "#/components/schemas/IdentifierRef" + }, + "literal": { + "type": "string" + }, + "localIdentifier": { + "type": "string" + }, + "negativeSelection": { + "type": "boolean" + }, + "operator": { + "enum": [ + "contains", + "startsWith", + "endsWith" + ], + "type": "string" + }, + "title": { + "type": "string" + } + }, + "required": [ + "caseSensitive", + "displayForm", + "literal", + "negativeSelection", + "operator" + ], + "type": "object" } + }, + "required": [ + "matchAttributeFilter" ], "type": "object" }, diff --git a/schemas/gooddata-export-client.json b/schemas/gooddata-export-client.json index 8d7a87f61..8ffa607e9 100644 --- a/schemas/gooddata-export-client.json +++ b/schemas/gooddata-export-client.json @@ -763,6 +763,54 @@ }, "type": "object" }, + "DashboardArbitraryAttributeFilter": { + "properties": { + "arbitraryAttributeFilter": { + "properties": { + "displayForm": { + "$ref": "#/components/schemas/IdentifierRef" + }, + "filterElementsBy": { + "items": { + "$ref": "#/components/schemas/AttributeFilterParent" + }, + "type": "array" + }, + "filterElementsByDate": { + "items": { + "$ref": "#/components/schemas/AttributeFilterByDate" + }, + "type": "array" + }, + "localIdentifier": { + "type": "string" + }, + "negativeSelection": { + "type": "boolean" + }, + "title": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "displayForm", + "negativeSelection", + "values" + ], + "type": "object" + } + }, + "required": [ + "arbitraryAttributeFilter" + ], + "type": "object" + }, "DashboardAttributeFilter": { "properties": { "attributeFilter": { @@ -962,10 +1010,62 @@ }, { "$ref": "#/components/schemas/DashboardDateFilter" + }, + { + "$ref": "#/components/schemas/DashboardArbitraryAttributeFilter" + }, + { + "$ref": "#/components/schemas/DashboardMatchAttributeFilter" } ], "type": "object" }, + "DashboardMatchAttributeFilter": { + "properties": { + "matchAttributeFilter": { + "properties": { + "caseSensitive": { + "type": "boolean" + }, + "displayForm": { + "$ref": "#/components/schemas/IdentifierRef" + }, + "literal": { + "type": "string" + }, + "localIdentifier": { + "type": "string" + }, + "negativeSelection": { + "type": "boolean" + }, + "operator": { + "enum": [ + "contains", + "startsWith", + "endsWith" + ], + "type": "string" + }, + "title": { + "type": "string" + } + }, + "required": [ + "caseSensitive", + "displayForm", + "literal", + "negativeSelection", + "operator" + ], + "type": "object" + } + }, + "required": [ + "matchAttributeFilter" + ], + "type": "object" + }, "DashboardTabularExportRequest": { "description": "Export request object describing the export properties for dashboard tabular exports.", "properties": { diff --git a/schemas/gooddata-metadata-client.json b/schemas/gooddata-metadata-client.json index 5bdf9e057..ba47b3525 100644 --- a/schemas/gooddata-metadata-client.json +++ b/schemas/gooddata-metadata-client.json @@ -5575,7 +5575,8 @@ "GEO_LATITUDE", "GEO_AREA", "GEO_ICON", - "IMAGE" + "IMAGE", + "HYPERLOGLOG" ], "example": "HYPERLINK", "type": "string" @@ -5866,6 +5867,54 @@ }, "type": "object" }, + "DashboardArbitraryAttributeFilter": { + "properties": { + "arbitraryAttributeFilter": { + "properties": { + "displayForm": { + "$ref": "#/components/schemas/IdentifierRef" + }, + "filterElementsBy": { + "items": { + "$ref": "#/components/schemas/AttributeFilterParent" + }, + "type": "array" + }, + "filterElementsByDate": { + "items": { + "$ref": "#/components/schemas/AttributeFilterByDate" + }, + "type": "array" + }, + "localIdentifier": { + "type": "string" + }, + "negativeSelection": { + "type": "boolean" + }, + "title": { + "type": "string" + }, + "values": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "displayForm", + "negativeSelection", + "values" + ], + "type": "object" + } + }, + "required": [ + "arbitraryAttributeFilter" + ], + "type": "object" + }, "DashboardAttributeFilter": { "properties": { "attributeFilter": { @@ -6065,10 +6114,62 @@ }, { "$ref": "#/components/schemas/DashboardDateFilter" + }, + { + "$ref": "#/components/schemas/DashboardArbitraryAttributeFilter" + }, + { + "$ref": "#/components/schemas/DashboardMatchAttributeFilter" } ], "type": "object" }, + "DashboardMatchAttributeFilter": { + "properties": { + "matchAttributeFilter": { + "properties": { + "caseSensitive": { + "type": "boolean" + }, + "displayForm": { + "$ref": "#/components/schemas/IdentifierRef" + }, + "literal": { + "type": "string" + }, + "localIdentifier": { + "type": "string" + }, + "negativeSelection": { + "type": "boolean" + }, + "operator": { + "enum": [ + "contains", + "startsWith", + "endsWith" + ], + "type": "string" + }, + "title": { + "type": "string" + } + }, + "required": [ + "caseSensitive", + "displayForm", + "literal", + "negativeSelection", + "operator" + ], + "type": "object" + } + }, + "required": [ + "matchAttributeFilter" + ], + "type": "object" + }, "DashboardPermissions": { "properties": { "rules": { @@ -8277,7 +8378,8 @@ "GEO_LATITUDE", "GEO_AREA", "GEO_ICON", - "IMAGE" + "IMAGE", + "HYPERLOGLOG" ], "type": "string" } @@ -9033,6 +9135,7 @@ "METADATA_LOCALE", "FORMAT_LOCALE", "MAPBOX_TOKEN", + "GEO_ICON_SHEET", "AG_GRID_TOKEN", "WEEK_START", "FISCAL_YEAR", @@ -20241,7 +20344,8 @@ "GEO_LATITUDE", "GEO_AREA", "GEO_ICON", - "IMAGE" + "IMAGE", + "HYPERLOGLOG" ], "type": "string" } @@ -23153,6 +23257,7 @@ "METADATA_LOCALE", "FORMAT_LOCALE", "MAPBOX_TOKEN", + "GEO_ICON_SHEET", "AG_GRID_TOKEN", "WEEK_START", "FISCAL_YEAR", @@ -23252,6 +23357,7 @@ "METADATA_LOCALE", "FORMAT_LOCALE", "MAPBOX_TOKEN", + "GEO_ICON_SHEET", "AG_GRID_TOKEN", "WEEK_START", "FISCAL_YEAR", @@ -23391,6 +23497,7 @@ "METADATA_LOCALE", "FORMAT_LOCALE", "MAPBOX_TOKEN", + "GEO_ICON_SHEET", "AG_GRID_TOKEN", "WEEK_START", "FISCAL_YEAR", @@ -24896,6 +25003,7 @@ "METADATA_LOCALE", "FORMAT_LOCALE", "MAPBOX_TOKEN", + "GEO_ICON_SHEET", "AG_GRID_TOKEN", "WEEK_START", "FISCAL_YEAR", @@ -24995,6 +25103,7 @@ "METADATA_LOCALE", "FORMAT_LOCALE", "MAPBOX_TOKEN", + "GEO_ICON_SHEET", "AG_GRID_TOKEN", "WEEK_START", "FISCAL_YEAR", @@ -27250,6 +27359,7 @@ "METADATA_LOCALE", "FORMAT_LOCALE", "MAPBOX_TOKEN", + "GEO_ICON_SHEET", "AG_GRID_TOKEN", "WEEK_START", "FISCAL_YEAR", @@ -27349,6 +27459,7 @@ "METADATA_LOCALE", "FORMAT_LOCALE", "MAPBOX_TOKEN", + "GEO_ICON_SHEET", "AG_GRID_TOKEN", "WEEK_START", "FISCAL_YEAR", @@ -27514,6 +27625,7 @@ "METADATA_LOCALE", "FORMAT_LOCALE", "MAPBOX_TOKEN", + "GEO_ICON_SHEET", "AG_GRID_TOKEN", "WEEK_START", "FISCAL_YEAR", @@ -27613,6 +27725,7 @@ "METADATA_LOCALE", "FORMAT_LOCALE", "MAPBOX_TOKEN", + "GEO_ICON_SHEET", "AG_GRID_TOKEN", "WEEK_START", "FISCAL_YEAR", @@ -29105,6 +29218,7 @@ "METADATA_LOCALE", "FORMAT_LOCALE", "MAPBOX_TOKEN", + "GEO_ICON_SHEET", "AG_GRID_TOKEN", "WEEK_START", "FISCAL_YEAR", @@ -33976,15 +34090,6 @@ "parameters": [ { "$ref": "#/components/parameters/idPathParameter" - }, - { - "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "name==someString;description==someString", - "in": "query", - "name": "filter", - "schema": { - "type": "string" - } } ], "responses": { @@ -34454,15 +34559,6 @@ "parameters": [ { "$ref": "#/components/parameters/idPathParameter" - }, - { - "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "name==someString;type==DatabaseTypeValue", - "in": "query", - "name": "filter", - "schema": { - "type": "string" - } } ], "responses": { @@ -35523,15 +35619,6 @@ "parameters": [ { "$ref": "#/components/parameters/idPathParameter" - }, - { - "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "content==JwkSpecificationValue", - "in": "query", - "name": "filter", - "schema": { - "type": "string" - } } ], "responses": { @@ -38634,15 +38721,6 @@ }, { "$ref": "#/components/parameters/idPathParameter" - }, - { - "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "bearerToken==someString", - "in": "query", - "name": "filter", - "schema": { - "type": "string" - } } ], "responses": { @@ -38849,15 +38927,6 @@ }, { "$ref": "#/components/parameters/idPathParameter" - }, - { - "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "content==JsonNodeValue;type==SettingTypeValue", - "in": "query", - "name": "filter", - "schema": { - "type": "string" - } } ], "responses": { @@ -40125,15 +40194,6 @@ "schema": { "type": "string" } - }, - { - "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;description==someString;createdBy.id==321;modifiedBy.id==321", - "in": "query", - "name": "filter", - "schema": { - "type": "string" - } } ], "responses": { @@ -40812,15 +40872,6 @@ "schema": { "type": "string" } - }, - { - "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;description==someString;createdBy.id==321;modifiedBy.id==321", - "in": "query", - "name": "filter", - "schema": { - "type": "string" - } } ], "responses": { @@ -41986,15 +42037,6 @@ "schema": { "type": "string" } - }, - { - "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;description==someString;notificationChannel.id==321;analyticalDashboard.id==321", - "in": "query", - "name": "filter", - "schema": { - "type": "string" - } } ], "responses": { @@ -42621,15 +42663,6 @@ "schema": { "type": "string" } - }, - { - "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "applicationName==someString;content==JsonNodeValue", - "in": "query", - "name": "filter", - "schema": { - "type": "string" - } } ], "responses": { @@ -43199,15 +43232,6 @@ "schema": { "type": "string" } - }, - { - "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;description==someString;createdBy.id==321;modifiedBy.id==321", - "in": "query", - "name": "filter", - "schema": { - "type": "string" - } } ], "responses": { @@ -44296,15 +44320,6 @@ "schema": { "type": "string" } - }, - { - "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;description==someString;visualizationObject.id==321;analyticalDashboard.id==321", - "in": "query", - "name": "filter", - "schema": { - "type": "string" - } } ], "responses": { @@ -45387,15 +45402,6 @@ "schema": { "type": "string" } - }, - { - "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;description==someString", - "in": "query", - "name": "filter", - "schema": { - "type": "string" - } } ], "responses": { @@ -46025,15 +46031,6 @@ "schema": { "type": "string" } - }, - { - "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;description==someString;analyticalDashboard.id==321;user.id==321", - "in": "query", - "name": "filter", - "schema": { - "type": "string" - } } ], "responses": { @@ -48318,15 +48315,6 @@ "schema": { "type": "string" } - }, - { - "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;description==someString;createdBy.id==321;modifiedBy.id==321", - "in": "query", - "name": "filter", - "schema": { - "type": "string" - } } ], "responses": { @@ -49007,15 +48995,6 @@ "schema": { "type": "string" } - }, - { - "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;description==someString;user.id==321;userGroup.id==321", - "in": "query", - "name": "filter", - "schema": { - "type": "string" - } } ], "responses": { @@ -49696,15 +49675,6 @@ "schema": { "type": "string" } - }, - { - "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;description==someString;createdBy.id==321;modifiedBy.id==321", - "in": "query", - "name": "filter", - "schema": { - "type": "string" - } } ], "responses": { @@ -50371,15 +50341,6 @@ "schema": { "type": "string" } - }, - { - "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;description==someString;workspaceDataFilter.id==321", - "in": "query", - "name": "filter", - "schema": { - "type": "string" - } } ], "responses": { @@ -51025,15 +50986,6 @@ "schema": { "type": "string" } - }, - { - "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "title==someString;description==someString", - "in": "query", - "name": "filter", - "schema": { - "type": "string" - } } ], "responses": { @@ -51633,15 +51585,6 @@ "schema": { "type": "string" } - }, - { - "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "content==JsonNodeValue;type==SettingTypeValue", - "in": "query", - "name": "filter", - "schema": { - "type": "string" - } } ], "responses": { diff --git a/schemas/gooddata-result-client.json b/schemas/gooddata-result-client.json index c60f7cbe2..fa9a37fd0 100644 --- a/schemas/gooddata-result-client.json +++ b/schemas/gooddata-result-client.json @@ -1494,7 +1494,7 @@ "servers": [ { "description": "Generated server url", - "url": "http://localhost:3000" + "url": "https://internal-testing.staging.stg11.panther.intgdc.com" }, { "description": "GoodData.CN endpoint", From 5f3eea1453f77b6b0677a8bce4731c927d058b5c Mon Sep 17 00:00:00 2001 From: Dan Homola Date: Wed, 18 Mar 2026 14:55:40 +0100 Subject: [PATCH 2/4] feat: add MatchAttributeFilter to compute model This reflects the filter type recently added on the backend. Support it also in the compute_to_sdk_converter JIRA: CQ-2005 risk: low --- .../gooddata-sdk/src/gooddata_sdk/__init__.py | 1 + .../compute/compute_to_sdk_converter.py | 11 ++ .../src/gooddata_sdk/compute/model/filter.py | 106 +++++++++++++++- .../compute/test_compute_to_sdk_converter.py | 55 +++++++++ ...se_sensitive_contains_filter.snapshot.json | 11 ++ ...ntains_filter_using_local_id.snapshot.json | 11 ++ ...tains_filter_using_object_id.snapshot.json | 14 +++ .../match_ends_with_filter.snapshot.json | 11 ++ .../match_starts_with_filter.snapshot.json | 11 ++ ...sensitive_starts_with_filter.snapshot.json | 11 ++ .../negated_contains_filter.snapshot.json | 11 ++ .../negated_ends_with_filter.snapshot.json | 11 ++ .../negated_starts_with_filter.snapshot.json | 11 ++ .../compute_model/test_attribute_filters.py | 114 +++++++++++++++++- .../tests/export/test_export_service.py | 1 - 15 files changed, 387 insertions(+), 3 deletions(-) create mode 100644 packages/gooddata-sdk/tests/compute_model/attribute_filters/case_sensitive_contains_filter.snapshot.json create mode 100644 packages/gooddata-sdk/tests/compute_model/attribute_filters/match_contains_filter_using_local_id.snapshot.json create mode 100644 packages/gooddata-sdk/tests/compute_model/attribute_filters/match_contains_filter_using_object_id.snapshot.json create mode 100644 packages/gooddata-sdk/tests/compute_model/attribute_filters/match_ends_with_filter.snapshot.json create mode 100644 packages/gooddata-sdk/tests/compute_model/attribute_filters/match_starts_with_filter.snapshot.json create mode 100644 packages/gooddata-sdk/tests/compute_model/attribute_filters/negated_case_sensitive_starts_with_filter.snapshot.json create mode 100644 packages/gooddata-sdk/tests/compute_model/attribute_filters/negated_contains_filter.snapshot.json create mode 100644 packages/gooddata-sdk/tests/compute_model/attribute_filters/negated_ends_with_filter.snapshot.json create mode 100644 packages/gooddata-sdk/tests/compute_model/attribute_filters/negated_starts_with_filter.snapshot.json diff --git a/packages/gooddata-sdk/src/gooddata_sdk/__init__.py b/packages/gooddata-sdk/src/gooddata_sdk/__init__.py index d268f9ebf..75175e0af 100644 --- a/packages/gooddata-sdk/src/gooddata_sdk/__init__.py +++ b/packages/gooddata-sdk/src/gooddata_sdk/__init__.py @@ -278,6 +278,7 @@ CompoundMetricValueFilter, Filter, InlineFilter, + MatchAttributeFilter, MetricValueComparisonCondition, MetricValueFilter, MetricValueRangeCondition, diff --git a/packages/gooddata-sdk/src/gooddata_sdk/compute/compute_to_sdk_converter.py b/packages/gooddata-sdk/src/gooddata_sdk/compute/compute_to_sdk_converter.py index 0ce15f2e4..c1e2a0345 100644 --- a/packages/gooddata-sdk/src/gooddata_sdk/compute/compute_to_sdk_converter.py +++ b/packages/gooddata-sdk/src/gooddata_sdk/compute/compute_to_sdk_converter.py @@ -10,6 +10,7 @@ CompoundMetricValueFilter, Filter, InlineFilter, + MatchAttributeFilter, MetricValueComparisonCondition, MetricValueFilter, MetricValueRangeCondition, @@ -75,6 +76,16 @@ def convert_filter(filter_dict: dict[str, Any]) -> Filter: f = filter_dict["negativeAttributeFilter"] return NegativeAttributeFilter(label=ref_extract(f["label"]), values=f["notIn"]["values"]) + if "matchAttributeFilter" in filter_dict: + f = filter_dict["matchAttributeFilter"] + return MatchAttributeFilter( + label=ref_extract(f["label"]), + match_type=f["matchType"], + literal=f["literal"], + case_sensitive=f.get("caseSensitive", False), + negate=f.get("negate", False), + ) + if "relativeDateFilter" in filter_dict: f = filter_dict["relativeDateFilter"] diff --git a/packages/gooddata-sdk/src/gooddata_sdk/compute/model/filter.py b/packages/gooddata-sdk/src/gooddata_sdk/compute/model/filter.py index 2cc061b47..12e35e811 100644 --- a/packages/gooddata-sdk/src/gooddata_sdk/compute/model/filter.py +++ b/packages/gooddata-sdk/src/gooddata_sdk/compute/model/filter.py @@ -21,6 +21,7 @@ from gooddata_api_client.models import ( CompoundMeasureValueFilterCompoundMeasureValueFilter as CompoundMeasureValueFilterBody, ) +from gooddata_api_client.models import MatchAttributeFilterMatchAttributeFilter as MatchAttributeFilterBody from gooddata_api_client.models import NegativeAttributeFilterNegativeAttributeFilter as NegativeAttributeFilterBody from gooddata_api_client.models import PositiveAttributeFilterPositiveAttributeFilter as PositiveAttributeFilterBody from gooddata_api_client.models import RangeMeasureValueFilterRangeMeasureValueFilter as RangeMeasureValueFilterBody @@ -152,6 +153,109 @@ def description(self, labels: dict[str, str], format_locale: str | None = None) return f"{labels.get(label_id, label_id)}: {values}" +# mapping between the allowed match operators and their human-readable descriptions +_ATTRIBUTE_MATCH_OPERATORS: dict[str, str] = { + "STARTS_WITH": "starts with", + "ENDS_WITH": "ends with", + "CONTAINS": "contains", +} + + +class MatchAttributeFilter(Filter): + def __init__( + self, + label: Union[ObjId, str, Attribute], + literal: str, + match_type: str, + negate: bool = False, + case_sensitive: bool = False, + ) -> None: + super().__init__() + + self._label = _extract_id_or_local_id(label) + self._literal = literal + + if match_type not in _ATTRIBUTE_MATCH_OPERATORS: + raise ValueError( + f"Match type must be one of {', '.join(_ATTRIBUTE_MATCH_OPERATORS.keys())}, got: {match_type}" + ) + + self._match_type = match_type + self._negate = negate + self._case_sensitive = case_sensitive + + @property + def label(self) -> Union[ObjId, str]: + return self._label + + @label.setter + def label(self, label: Union[ObjId, str]) -> None: + self._label = label + + @property + def literal(self) -> str: + return self._literal + + @literal.setter + def literal(self, literal: str) -> None: + self._literal = literal + + @property + def match_type(self) -> str: + return self._match_type + + @match_type.setter + def match_type(self, match_type: str) -> None: + self._match_type = match_type + + @property + def negate(self) -> bool: + return self._negate + + @negate.setter + def negate(self, negate: bool) -> None: + self._negate = negate + + @property + def case_sensitive(self) -> bool: + return self._case_sensitive + + @case_sensitive.setter + def case_sensitive(self, case_sensitive: bool) -> None: + self._case_sensitive = case_sensitive + + def is_noop(self) -> bool: + return (not self._negate) and (not self._literal) + + def as_api_model(self) -> afm_models.MatchAttributeFilter: + label_id = _to_identifier(self._label) + body = MatchAttributeFilterBody( + label=label_id, + literal=self._literal, + match_type=self._match_type, + negate=self._negate, + case_sensitive=self._case_sensitive, + ) + return afm_models.MatchAttributeFilter(body) + + def description(self, labels: dict[str, str], format_locale: str | None = None) -> str: + label_id = self.label.id if isinstance(self.label, ObjId) else self.label + prefix = "not " if self._negate else "" + return ( + f"{labels.get(label_id, label_id)}: {prefix}{_ATTRIBUTE_MATCH_OPERATORS[self._match_type]} {self.literal}" + ) + + def __eq__(self, other: object) -> bool: + return ( + isinstance(other, MatchAttributeFilter) + and self._label == other._label + and self._literal == other._literal + and self._match_type == other._match_type + and self._negate == other._negate + and self._case_sensitive == other._case_sensitive + ) + + _GRANULARITY: set[str] = { "YEAR", "QUARTER", @@ -557,7 +661,7 @@ def as_api_model(self) -> Union[afm_models.ComparisonMeasureValueFilter, afm_mod def description(self, labels: dict[str, str], format_locale: str | None = None) -> str: metric_id = self.metric.id if isinstance(self.metric, ObjId) else self.metric if self.operator in ["BETWEEN", "NOT_BETWEEN"] and len(self.values) == 2: - not_between = "not" if self.operator == "NOT_BETWEEN" else "" + not_between = "not " if self.operator == "NOT_BETWEEN" else "" values = cast(tuple[float, float], self.values) return f"{labels.get(metric_id, metric_id)}: {not_between}between {values[0]} - {values[1]}" else: diff --git a/packages/gooddata-sdk/tests/compute/test_compute_to_sdk_converter.py b/packages/gooddata-sdk/tests/compute/test_compute_to_sdk_converter.py index 2ee2d5b2e..d8794285e 100644 --- a/packages/gooddata-sdk/tests/compute/test_compute_to_sdk_converter.py +++ b/packages/gooddata-sdk/tests/compute/test_compute_to_sdk_converter.py @@ -8,6 +8,7 @@ CompoundMetricValueFilter, ComputeToSdkConverter, InlineFilter, + MatchAttributeFilter, MetricValueComparisonCondition, MetricValueFilter, MetricValueRangeCondition, @@ -88,6 +89,60 @@ def test_negative_attribute_filter_conversion(): assert result.values == ["val1", "val2"] +def test_match_attribute_filter_conversion(): + filter_dict = json.loads( + """ + { + "matchAttributeFilter": { + "label": { + "identifier": { "id": "attribute1", "type": "label" } + }, + "matchType": "CONTAINS", + "literal": "search term", + "caseSensitive": false, + "negate": false + } + } + """ + ) + + result = ComputeToSdkConverter.convert_filter(filter_dict) + + assert isinstance(result, MatchAttributeFilter) + assert result.label.id == "attribute1" + assert result.match_type == "CONTAINS" + assert result.literal == "search term" + assert result.case_sensitive is False + assert result.negate is False + + +def test_match_attribute_filter_negated_case_sensitive(): + filter_dict = json.loads( + """ + { + "matchAttributeFilter": { + "label": { + "identifier": { "id": "product_name", "type": "label" } + }, + "matchType": "STARTS_WITH", + "literal": "Premium", + "caseSensitive": true, + "negate": true + } + } + """ + ) + + result = ComputeToSdkConverter.convert_filter(filter_dict) + + assert isinstance(result, MatchAttributeFilter) + assert result.label.id == "product_name" + assert result.match_type == "STARTS_WITH" + assert result.literal == "Premium" + assert result.case_sensitive is True + assert result.negate is True + + def test_relative_date_filter_conversion(): filter_dict = json.loads( """ diff --git a/packages/gooddata-sdk/tests/compute_model/attribute_filters/case_sensitive_contains_filter.snapshot.json b/packages/gooddata-sdk/tests/compute_model/attribute_filters/case_sensitive_contains_filter.snapshot.json new file mode 100644 index 000000000..cf4964180 --- /dev/null +++ b/packages/gooddata-sdk/tests/compute_model/attribute_filters/case_sensitive_contains_filter.snapshot.json @@ -0,0 +1,11 @@ +{ + "match_attribute_filter": { + "case_sensitive": true, + "label": { + "local_identifier": "local_id" + }, + "literal": "Foo", + "match_type": "CONTAINS", + "negate": false + } +} \ No newline at end of file diff --git a/packages/gooddata-sdk/tests/compute_model/attribute_filters/match_contains_filter_using_local_id.snapshot.json b/packages/gooddata-sdk/tests/compute_model/attribute_filters/match_contains_filter_using_local_id.snapshot.json new file mode 100644 index 000000000..d75311df6 --- /dev/null +++ b/packages/gooddata-sdk/tests/compute_model/attribute_filters/match_contains_filter_using_local_id.snapshot.json @@ -0,0 +1,11 @@ +{ + "match_attribute_filter": { + "case_sensitive": false, + "label": { + "local_identifier": "local_id" + }, + "literal": "foo", + "match_type": "CONTAINS", + "negate": false + } +} \ No newline at end of file diff --git a/packages/gooddata-sdk/tests/compute_model/attribute_filters/match_contains_filter_using_object_id.snapshot.json b/packages/gooddata-sdk/tests/compute_model/attribute_filters/match_contains_filter_using_object_id.snapshot.json new file mode 100644 index 000000000..208b9b640 --- /dev/null +++ b/packages/gooddata-sdk/tests/compute_model/attribute_filters/match_contains_filter_using_object_id.snapshot.json @@ -0,0 +1,14 @@ +{ + "match_attribute_filter": { + "case_sensitive": false, + "label": { + "identifier": { + "id": "label.id", + "type": "label" + } + }, + "literal": "bar", + "match_type": "CONTAINS", + "negate": false + } +} \ No newline at end of file diff --git a/packages/gooddata-sdk/tests/compute_model/attribute_filters/match_ends_with_filter.snapshot.json b/packages/gooddata-sdk/tests/compute_model/attribute_filters/match_ends_with_filter.snapshot.json new file mode 100644 index 000000000..9fb3b7236 --- /dev/null +++ b/packages/gooddata-sdk/tests/compute_model/attribute_filters/match_ends_with_filter.snapshot.json @@ -0,0 +1,11 @@ +{ + "match_attribute_filter": { + "case_sensitive": false, + "label": { + "local_identifier": "local_id" + }, + "literal": "suffix", + "match_type": "ENDS_WITH", + "negate": false + } +} \ No newline at end of file diff --git a/packages/gooddata-sdk/tests/compute_model/attribute_filters/match_starts_with_filter.snapshot.json b/packages/gooddata-sdk/tests/compute_model/attribute_filters/match_starts_with_filter.snapshot.json new file mode 100644 index 000000000..19f32c5fd --- /dev/null +++ b/packages/gooddata-sdk/tests/compute_model/attribute_filters/match_starts_with_filter.snapshot.json @@ -0,0 +1,11 @@ +{ + "match_attribute_filter": { + "case_sensitive": false, + "label": { + "local_identifier": "local_id" + }, + "literal": "prefix", + "match_type": "STARTS_WITH", + "negate": false + } +} \ No newline at end of file diff --git a/packages/gooddata-sdk/tests/compute_model/attribute_filters/negated_case_sensitive_starts_with_filter.snapshot.json b/packages/gooddata-sdk/tests/compute_model/attribute_filters/negated_case_sensitive_starts_with_filter.snapshot.json new file mode 100644 index 000000000..a2b6ade2c --- /dev/null +++ b/packages/gooddata-sdk/tests/compute_model/attribute_filters/negated_case_sensitive_starts_with_filter.snapshot.json @@ -0,0 +1,11 @@ +{ + "match_attribute_filter": { + "case_sensitive": true, + "label": { + "local_identifier": "local_id" + }, + "literal": "Pre", + "match_type": "STARTS_WITH", + "negate": true + } +} \ No newline at end of file diff --git a/packages/gooddata-sdk/tests/compute_model/attribute_filters/negated_contains_filter.snapshot.json b/packages/gooddata-sdk/tests/compute_model/attribute_filters/negated_contains_filter.snapshot.json new file mode 100644 index 000000000..d884574f5 --- /dev/null +++ b/packages/gooddata-sdk/tests/compute_model/attribute_filters/negated_contains_filter.snapshot.json @@ -0,0 +1,11 @@ +{ + "match_attribute_filter": { + "case_sensitive": false, + "label": { + "local_identifier": "local_id" + }, + "literal": "foo", + "match_type": "CONTAINS", + "negate": true + } +} \ No newline at end of file diff --git a/packages/gooddata-sdk/tests/compute_model/attribute_filters/negated_ends_with_filter.snapshot.json b/packages/gooddata-sdk/tests/compute_model/attribute_filters/negated_ends_with_filter.snapshot.json new file mode 100644 index 000000000..180e3bfe3 --- /dev/null +++ b/packages/gooddata-sdk/tests/compute_model/attribute_filters/negated_ends_with_filter.snapshot.json @@ -0,0 +1,11 @@ +{ + "match_attribute_filter": { + "case_sensitive": false, + "label": { + "local_identifier": "local_id" + }, + "literal": "suffix", + "match_type": "ENDS_WITH", + "negate": true + } +} \ No newline at end of file diff --git a/packages/gooddata-sdk/tests/compute_model/attribute_filters/negated_starts_with_filter.snapshot.json b/packages/gooddata-sdk/tests/compute_model/attribute_filters/negated_starts_with_filter.snapshot.json new file mode 100644 index 000000000..f914256c3 --- /dev/null +++ b/packages/gooddata-sdk/tests/compute_model/attribute_filters/negated_starts_with_filter.snapshot.json @@ -0,0 +1,11 @@ +{ + "match_attribute_filter": { + "case_sensitive": false, + "label": { + "local_identifier": "local_id" + }, + "literal": "prefix", + "match_type": "STARTS_WITH", + "negate": true + } +} \ No newline at end of file diff --git a/packages/gooddata-sdk/tests/compute_model/test_attribute_filters.py b/packages/gooddata-sdk/tests/compute_model/test_attribute_filters.py index 2e85fb899..e36fb8dea 100644 --- a/packages/gooddata-sdk/tests/compute_model/test_attribute_filters.py +++ b/packages/gooddata-sdk/tests/compute_model/test_attribute_filters.py @@ -5,7 +5,7 @@ import os import pytest -from gooddata_sdk import NegativeAttributeFilter, ObjId, PositiveAttributeFilter +from gooddata_sdk import MatchAttributeFilter, NegativeAttributeFilter, ObjId, PositiveAttributeFilter _current_dir = os.path.dirname(os.path.abspath(__file__)) @@ -76,3 +76,115 @@ def test_empty_positive_filter_is_not_noop(): f = PositiveAttributeFilter(label="test") assert f.is_noop() is False + + +test_match_filters = [ + [ + "match contains filter using local id", + MatchAttributeFilter(label="local_id", literal="foo", match_type="CONTAINS"), + "Local ID: contains foo", + ], + [ + "match contains filter using object id", + MatchAttributeFilter(label=ObjId(type="label", id="label.id"), literal="bar", match_type="CONTAINS"), + "Label ID: contains bar", + ], + [ + "match starts with filter", + MatchAttributeFilter(label="local_id", literal="prefix", match_type="STARTS_WITH"), + "Local ID: starts with prefix", + ], + [ + "match ends with filter", + MatchAttributeFilter(label="local_id", literal="suffix", match_type="ENDS_WITH"), + "Local ID: ends with suffix", + ], + [ + "negated contains filter", + MatchAttributeFilter(label="local_id", literal="foo", match_type="CONTAINS", negate=True), + "Local ID: not contains foo", + ], + [ + "negated starts with filter", + MatchAttributeFilter(label="local_id", literal="prefix", match_type="STARTS_WITH", negate=True), + "Local ID: not starts with prefix", + ], + [ + "negated ends with filter", + MatchAttributeFilter(label="local_id", literal="suffix", match_type="ENDS_WITH", negate=True), + "Local ID: not ends with suffix", + ], + [ + "case sensitive contains filter", + MatchAttributeFilter(label="local_id", literal="Foo", match_type="CONTAINS", case_sensitive=True), + "Local ID: contains Foo", + ], + [ + "negated case sensitive starts with filter", + MatchAttributeFilter( + label="local_id", literal="Pre", match_type="STARTS_WITH", negate=True, case_sensitive=True + ), + "Local ID: not starts with Pre", + ], +] + + +@pytest.mark.parametrize("scenario,filter", [sublist[:2] for sublist in test_match_filters]) +def test_match_attribute_filters_to_api_model(scenario, filter, snapshot): + # it is essential to define snapshot dir using absolute path, otherwise snapshots cannot be found when + # running in tox + snapshot.snapshot_dir = os.path.join(_current_dir, "attribute_filters") + + snapshot.assert_match( + json.dumps(filter.as_api_model().to_dict(), indent=4, sort_keys=True), + _scenario_to_snapshot_name(scenario), + ) + + +@pytest.mark.parametrize("scenario,filter,description", test_match_filters) +def test_match_attribute_filters_description(scenario, filter, description): + assert filter.description(description_labels) == description + + +def test_match_filter_empty_literal_is_noop(): + f = MatchAttributeFilter(label="test", literal="", match_type="CONTAINS") + assert f.is_noop() is True + + +def test_match_filter_non_empty_literal_is_not_noop(): + f = MatchAttributeFilter(label="test", literal="foo", match_type="CONTAINS") + assert f.is_noop() is False + + +def test_negated_match_filter_empty_literal_is_not_noop(): + f = MatchAttributeFilter(label="test", literal="", match_type="CONTAINS", negate=True) + assert f.is_noop() is False + + +def test_match_filter_invalid_match_type(): + with pytest.raises(ValueError, match="Match type must be one of"): + MatchAttributeFilter(label="test", literal="foo", match_type="INVALID") + + +def test_match_filter_equality(): + f1 = MatchAttributeFilter(label="test", literal="foo", match_type="CONTAINS") + f2 = MatchAttributeFilter(label="test", literal="foo", match_type="CONTAINS") + assert f1 == f2 + + +def test_match_filter_inequality_different_match_type(): + f1 = MatchAttributeFilter(label="test", literal="foo", match_type="CONTAINS") + f2 = MatchAttributeFilter(label="test", literal="foo", match_type="STARTS_WITH") + assert f1 != f2 + + +def test_match_filter_inequality_different_negate(): + f1 = MatchAttributeFilter(label="test", literal="foo", match_type="CONTAINS") + f2 = MatchAttributeFilter(label="test", literal="foo", match_type="CONTAINS", negate=True) + assert f1 != f2 + + +def test_match_filter_inequality_different_case_sensitive(): + f1 = MatchAttributeFilter(label="test", literal="foo", match_type="CONTAINS") + f2 = MatchAttributeFilter(label="test", literal="foo", match_type="CONTAINS", case_sensitive=True) + assert f1 != f2 diff --git a/packages/gooddata-sdk/tests/export/test_export_service.py b/packages/gooddata-sdk/tests/export/test_export_service.py index bf5e96c35..705ae305b 100644 --- a/packages/gooddata-sdk/tests/export/test_export_service.py +++ b/packages/gooddata-sdk/tests/export/test_export_service.py @@ -7,7 +7,6 @@ from pathlib import Path import pytest - from gooddata_sdk import ( Attribute, ExecutionDefinition, From 32e8a28958e5e2ec7eeaf2cf0f78ba9c865fae5e Mon Sep 17 00:00:00 2001 From: Dan Homola Date: Wed, 18 Mar 2026 16:02:05 +0100 Subject: [PATCH 3/4] feat: add MatchAttributeFilter to visualization model This reflects the filter type recently added on the backend. Support it also in the visualization_to_sdk_converter. JIRA: CQ-2005 risk: low --- .../compute/visualization_to_sdk_converter.py | 17 +++++ .../src/gooddata_sdk/visualization.py | 16 +++++ .../with_match_attribute_filter.json | 68 +++++++++++++++++++ .../with_match_attribute_filter.snapshot.json | 46 +++++++++++++ 4 files changed, 147 insertions(+) create mode 100644 packages/gooddata-sdk/tests/visualization/resources/with_match_attribute_filter.json create mode 100644 packages/gooddata-sdk/tests/visualization/snapshots/with_match_attribute_filter.snapshot.json diff --git a/packages/gooddata-sdk/src/gooddata_sdk/compute/visualization_to_sdk_converter.py b/packages/gooddata-sdk/src/gooddata_sdk/compute/visualization_to_sdk_converter.py index 66152233d..8ea85b252 100644 --- a/packages/gooddata-sdk/src/gooddata_sdk/compute/visualization_to_sdk_converter.py +++ b/packages/gooddata-sdk/src/gooddata_sdk/compute/visualization_to_sdk_converter.py @@ -8,6 +8,7 @@ AllTimeDateFilter, BoundedFilter, Filter, + MatchAttributeFilter, NegativeAttributeFilter, PositiveAttributeFilter, RelativeDateFilter, @@ -43,6 +44,10 @@ def convert_filter(filter_dict: dict[str, Any]) -> Filter: - using: str - The identifier of the attribute/dataset to filter on - include: list[str] (optional) - Values to include in positive filter - exclude: list[str] (optional) - Values to exclude in negative filter + - literal: str (optional) - Literal value for match attribute filter + - matchType: str (optional) - Match type (STARTS_WITH, ENDS_WITH, CONTAINS) + - negate: bool (optional) - Whether to negate the match + - caseSensitive: bool (optional) - Whether match is case-sensitive - from: str (optional) - Start date/shift for date filters - to: str (optional) - End date/shift for date filters - granularity: str (optional) - Time granularity for relative date filters @@ -50,6 +55,7 @@ def convert_filter(filter_dict: dict[str, Any]) -> Filter: Filter: One of: - PositiveAttributeFilter: When include values specified - NegativeAttributeFilter: When exclude values specified + - MatchAttributeFilter: When literal and matchType specified - RelativeDateFilter: When granularity and from/to shifts specified - AbsoluteDateFilter: When from/to dates specified - AllTimeDateFilter: When no date range specified @@ -61,10 +67,21 @@ def convert_filter(filter_dict: dict[str, Any]) -> Filter: _to = filter_dict.get("to") granularity = filter_dict.get("granularity") + literal = filter_dict.get("literal") + match_type = filter_dict.get("matchType") + if include is not None: return PositiveAttributeFilter(label=ObjId(using, "label"), values=include) elif exclude is not None: return NegativeAttributeFilter(label=ObjId(using, "label"), values=exclude) + elif literal is not None and match_type is not None: + return MatchAttributeFilter( + label=ObjId(using, "label"), + match_type=match_type, + literal=literal, + negate=filter_dict.get("negate", False), + case_sensitive=filter_dict.get("caseSensitive", False), + ) elif granularity is not None and _from is not None and _to is not None: bounded_filter = None if "boundedFilter" in filter_dict: diff --git a/packages/gooddata-sdk/src/gooddata_sdk/visualization.py b/packages/gooddata-sdk/src/gooddata_sdk/visualization.py index 6b00da4db..424ee91ff 100644 --- a/packages/gooddata-sdk/src/gooddata_sdk/visualization.py +++ b/packages/gooddata-sdk/src/gooddata_sdk/visualization.py @@ -15,6 +15,7 @@ AllTimeDateFilter, BoundedFilter, Filter, + MatchAttributeFilter, MetricValueFilter, NegativeAttributeFilter, PositiveAttributeFilter, @@ -80,6 +81,12 @@ "change": "CHANGE", } +_MATCH_OPERATOR_CONVERSION = { + "contains": "CONTAINS", + "startsWith": "STARTS_WITH", + "endsWith": "ENDS_WITH", +} + class BucketType(Enum): """ @@ -178,6 +185,15 @@ def _convert_filter_to_computable(filter_obj: dict[str, Any]) -> Filter: not_in_values = f["notIn"]["values"] if "values" in f["notIn"] else f["notIn"]["uris"] return NegativeAttributeFilter(label=ref_extract(f["displayForm"]), values=not_in_values) + elif "matchAttributeFilter" in filter_obj: + f = filter_obj["matchAttributeFilter"] + return MatchAttributeFilter( + label=ref_extract(f["label"]), + match_type=_MATCH_OPERATOR_CONVERSION[f["operator"]], + literal=f["literal"], + negate=f.get("negativeSelection", False), + case_sensitive=f.get("caseSensitive", False), + ) elif "relativeDateFilter" in filter_obj: f = filter_obj["relativeDateFilter"] diff --git a/packages/gooddata-sdk/tests/visualization/resources/with_match_attribute_filter.json b/packages/gooddata-sdk/tests/visualization/resources/with_match_attribute_filter.json new file mode 100644 index 000000000..4d8466090 --- /dev/null +++ b/packages/gooddata-sdk/tests/visualization/resources/with_match_attribute_filter.json @@ -0,0 +1,68 @@ +{ + "buckets": [ + { + "items": [ + { + "measure": { + "definition": { + "measureDefinition": { + "item": { + "identifier": { + "id": "aangOxLSeztu", + "type": "metric" + } + } + } + }, + "localIdentifier": "m_aangOxLSeztu" + } + } + ], + "localIdentifier": "measures" + }, + { + "items": [ + { + "attribute": { + "displayForm": { + "identifier": { + "id": "label.opportunity.id.name", + "type": "label" + } + }, + "localIdentifier": "a_label.opportunity.id.name" + } + } + ], + "localIdentifier": "view" + }, + { + "items": [], + "localIdentifier": "stack" + } + ], + "filters": [ + { + "matchAttributeFilter": { + "label": { + "identifier": { + "id": "label.opportunity.id.name", + "type": "label" + } + }, + "operator": "contains", + "literal": "search term", + "negativeSelection": false, + "caseSensitive": true + } + } + ], + "identifier": "AreaChart.a97be468994b89529a3efba0a264a799", + "properties": { + "controls": {} + }, + "sorts": [], + "title": "AreaChart - with match attribute filter", + "uri": "AreaChart.a97be468994b89529a3efba0a264a799", + "visualizationUrl": "local:area" +} diff --git a/packages/gooddata-sdk/tests/visualization/snapshots/with_match_attribute_filter.snapshot.json b/packages/gooddata-sdk/tests/visualization/snapshots/with_match_attribute_filter.snapshot.json new file mode 100644 index 000000000..7ae57a244 --- /dev/null +++ b/packages/gooddata-sdk/tests/visualization/snapshots/with_match_attribute_filter.snapshot.json @@ -0,0 +1,46 @@ +{ + "attributes": [ + { + "label": { + "identifier": { + "id": "label.opportunity.id.name", + "type": "label" + } + }, + "local_identifier": "a_label.opportunity.id.name" + } + ], + "filters": [ + { + "match_attribute_filter": { + "case_sensitive": true, + "label": { + "identifier": { + "id": "label.opportunity.id.name", + "type": "label" + } + }, + "literal": "search term", + "match_type": "CONTAINS", + "negate": false + } + } + ], + "measures": [ + { + "definition": { + "measure": { + "compute_ratio": false, + "filters": [], + "item": { + "identifier": { + "id": "aangOxLSeztu", + "type": "metric" + } + } + } + }, + "local_identifier": "m_aangOxLSeztu" + } + ] +} \ No newline at end of file From cabf28e4fda032203ea34eec0fd9bf7595a09b0f Mon Sep 17 00:00:00 2001 From: Dan Homola Date: Wed, 18 Mar 2026 16:18:04 +0100 Subject: [PATCH 4/4] feat: add MatchAttributeFilter to ExecutionContext This reflects the filter type recently added on the backend. JIRA: CQ-2005 risk: low --- .../execution-context/filter.json | 38 +++++++++++++++++ .../src/gooddata_flexconnect/__init__.py | 1 + .../function/execution_context.py | 42 +++++++++++++++++++ .../tests/json_schemas/test_filter_schema.py | 15 +++++++ 4 files changed, 96 insertions(+) diff --git a/packages/gooddata-flexconnect/json_schemas/execution-context/filter.json b/packages/gooddata-flexconnect/json_schemas/execution-context/filter.json index 99e735536..174a370bb 100644 --- a/packages/gooddata-flexconnect/json_schemas/execution-context/filter.json +++ b/packages/gooddata-flexconnect/json_schemas/execution-context/filter.json @@ -59,6 +59,44 @@ "values" ] }, + { + "type": "object", + "description": "Filter for matching label values using a literal string pattern.", + "properties": { + "filterType": { + "const": "matchAttributeFilter" + }, + "labelIdentifier": { + "type": "string", + "description": "Identifier of the label used." + }, + "matchType": { + "type": "string", + "enum": ["CONTAINS", "STARTS_WITH", "ENDS_WITH"], + "description": "The type of string match to apply." + }, + "literal": { + "type": "string", + "description": "The literal value to match against." + }, + "negate": { + "type": "boolean", + "default": false, + "description": "Whether to negate the match." + }, + "caseSensitive": { + "type": "boolean", + "default": false, + "description": "Whether the match is case-sensitive." + } + }, + "required": [ + "filterType", + "labelIdentifier", + "matchType", + "literal" + ] + }, { "type": "object", "description": "Filter for relative date ranges.", diff --git a/packages/gooddata-flexconnect/src/gooddata_flexconnect/__init__.py b/packages/gooddata-flexconnect/src/gooddata_flexconnect/__init__.py index 3a9c3ed91..0df349b08 100644 --- a/packages/gooddata-flexconnect/src/gooddata_flexconnect/__init__.py +++ b/packages/gooddata-flexconnect/src/gooddata_flexconnect/__init__.py @@ -11,6 +11,7 @@ ExecutionContextAttribute, ExecutionContextAttributeSorting, ExecutionContextFilter, + ExecutionContextMatchAttributeFilter, ExecutionContextNegativeAttributeFilter, ExecutionContextPositiveAttributeFilter, ExecutionContextRelativeDateFilter, diff --git a/packages/gooddata-flexconnect/src/gooddata_flexconnect/function/execution_context.py b/packages/gooddata-flexconnect/src/gooddata_flexconnect/function/execution_context.py index b142cda16..8be5cf0dc 100644 --- a/packages/gooddata-flexconnect/src/gooddata_flexconnect/function/execution_context.py +++ b/packages/gooddata-flexconnect/src/gooddata_flexconnect/function/execution_context.py @@ -176,6 +176,38 @@ class ExecutionContextNegativeAttributeFilter: """ +@dataclass +class ExecutionContextMatchAttributeFilter: + """ + Information about the match attribute filter. + """ + + label_identifier: str + """ + Identifier of the label used. + """ + + literal: str + """ + Value to filter by. + """ + + match_type: str + """ + Match type of the filter. + """ + + negate: bool + """ + Whether the filter should keep values NOT matching the literal. + """ + + case_sensitive: bool + """ + Whether the matching should be made in a case-sensitive way. + """ + + @dataclass class ExecutionContextRelativeDateFilter: """ @@ -228,6 +260,7 @@ class ExecutionContextAbsoluteDateFilter: ExecutionContextFilter: TypeAlias = Union[ ExecutionContextPositiveAttributeFilter, ExecutionContextNegativeAttributeFilter, + ExecutionContextMatchAttributeFilter, ExecutionContextRelativeDateFilter, ExecutionContextAbsoluteDateFilter, ] @@ -564,6 +597,15 @@ def _dict_to_filter(d: dict) -> ExecutionContextFilter: if filter_type == "negativeAttributeFilter": return ExecutionContextNegativeAttributeFilter(label_identifier=d["labelIdentifier"], values=d["values"]) + if filter_type == "matchAttributeFilter": + return ExecutionContextMatchAttributeFilter( + label_identifier=d["labelIdentifier"], + literal=d["literal"], + match_type=d["matchType"], + negate=d.get("negate", False), + case_sensitive=d.get("caseSensitive", False), + ) + if filter_type == "relativeDateFilter": return ExecutionContextRelativeDateFilter( dataset_identifier=d["datasetIdentifier"], diff --git a/packages/gooddata-flexconnect/tests/json_schemas/test_filter_schema.py b/packages/gooddata-flexconnect/tests/json_schemas/test_filter_schema.py index c056df0ec..82e601c38 100644 --- a/packages/gooddata-flexconnect/tests/json_schemas/test_filter_schema.py +++ b/packages/gooddata-flexconnect/tests/json_schemas/test_filter_schema.py @@ -16,6 +16,12 @@ "labelIdentifier": "attribute1", "values": ["id1", "id2", "id3", None], }, + { + "filterType": "matchAttributeFilter", + "labelIdentifier": "attribute1", + "literal": "foo", + "matchType": "CONTAINS", + }, { "filterType": "relativeDateFilter", "from": -5, @@ -42,6 +48,15 @@ def test_valid_filter_schema(value, get_validator): {"filterType": "negativeAttributeFilter", "labelIdentifier": "attribute1"}, # missing values {"filterType": "relativeDateFilter", "from": -5, "to": 0, "granularity": "DAY"}, # missing datasetIdentifier {"filterType": "absoluteDateFilter", "from": "2021-01-01", "to": "2021-12-31"}, # missing datasetIdentifier + # missing match type + {"filterType": "matchAttributeFilter", "labelIdentifier": "attribute1", "literal": "foo"}, + # invalid match type + { + "filterType": "matchAttributeFilter", + "labelIdentifier": "attribute1", + "literal": "foo", + "matchType": "INVALID", + }, ], ) def test_invalid_filter_schema(value, get_validator):