From 2c5633ef739a97e18c8435640161bd811647ddc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Je=C5=A1ke?= Date: Thu, 19 Nov 2026 14:39:12 +0100 Subject: [PATCH 1/2] chore(gooddata-api-client): regenerate against staging The dashboard filter that references a DATE_RANGE parameter is now deployed on staging as dashboardParameterizedDateFilter. Without it the client's DashboardFilter oneOf rejects any automation whose dashboard export overrides a filter with a parameter, so reading the workspace's declarative automations fails. Regenerating from the staging spec adds DashboardParameterizedDateFilter and makes DashboardFilter accept it. The spec is taken whole, so the regeneration also brings in drift that nothing in the SDK models yet: - author fields and listings on publisher document and page templates; - per-workspace localization statistics with a nullable workspace name; - pageTemplate and documentTemplate in EntityIdentifier and DependentEntitiesNode types; - integer forecast bounds; - the EXPERIMENTAL label dropped from execution parameters. jira: F1-3069 risk: low Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01PVUCUDEAhEusJErcYVZ8je --- gooddata-api-client/.openapi-generator/FILES | 4 + gooddata-api-client/README.md | 2 + gooddata-api-client/docs/AFM.md | 2 +- gooddata-api-client/docs/ActionsApi.md | 2 +- gooddata-api-client/docs/ComputationApi.md | 2 +- gooddata-api-client/docs/DashboardFilter.md | 1 + .../docs/DashboardParameterizedDateFilter.md | 12 + ...eFilterDashboardParameterizedDateFilter.md | 15 + .../docs/DocumentTemplateControllerApi.md | 10 +- gooddata-api-client/docs/ElementsRequest.md | 2 +- gooddata-api-client/docs/EntitiesApi.md | 20 +- ...JsonApiPublisherDocumentPageTemplateOut.md | 2 +- ...ublisherDocumentPageTemplateOutDocument.md | 2 +- ...ApiPublisherDocumentPageTemplateOutList.md | 2 +- ...blisherDocumentPageTemplateOutWithLinks.md | 2 +- .../JsonApiPublisherDocumentTemplateOut.md | 2 +- ...ApiPublisherDocumentTemplateOutDocument.md | 2 +- ...JsonApiPublisherDocumentTemplateOutList.md | 2 +- ...piPublisherDocumentTemplateOutWithLinks.md | 2 +- .../docs/LocalizationMetadataStatistics.md | 2 +- .../docs/LocalizationStatisticsWorkspace.md | 4 +- .../docs/PageTemplateControllerApi.md | 10 +- gooddata-api-client/docs/ParameterItem.md | 2 +- .../docs/PublisherDocumentsApi.md | 20 +- .../api/document_template_controller_api.py | 20 ++ .../gooddata_api_client/api/entities_api.py | 40 +++ .../api/page_template_controller_api.py | 20 ++ .../api/publisher_documents_api.py | 40 +++ .../gooddata_api_client/model/afm.py | 4 +- .../model/dashboard_filter.py | 9 + .../dashboard_parameterized_date_filter.py | 276 +++++++++++++++++ ...ter_dashboard_parameterized_date_filter.py | 293 ++++++++++++++++++ .../model/dependent_entities_node.py | 2 + .../model/elements_request.py | 4 +- .../model/entity_identifier.py | 2 + .../model/forecast_request.py | 4 +- ...pi_publisher_document_page_template_out.py | 10 +- ...her_document_page_template_out_document.py | 10 +- ...blisher_document_page_template_out_list.py | 10 +- ...r_document_page_template_out_with_links.py | 10 +- ...son_api_publisher_document_template_out.py | 10 +- ...ublisher_document_template_out_document.py | 10 +- ...pi_publisher_document_template_out_list.py | 10 +- ...lisher_document_template_out_with_links.py | 10 +- .../model/localization_metadata_statistics.py | 4 +- .../localization_statistics_workspace.py | 14 +- .../gooddata_api_client/models/__init__.py | 2 + schemas/gooddata-afm-client.json | 14 +- schemas/gooddata-api-client.json | 238 +++++++++++--- schemas/gooddata-automation-client.json | 40 ++- schemas/gooddata-export-client.json | 40 ++- schemas/gooddata-metadata-client.json | 228 ++++++++++++-- 52 files changed, 1322 insertions(+), 178 deletions(-) create mode 100644 gooddata-api-client/docs/DashboardParameterizedDateFilter.md create mode 100644 gooddata-api-client/docs/DashboardParameterizedDateFilterDashboardParameterizedDateFilter.md create mode 100644 gooddata-api-client/gooddata_api_client/model/dashboard_parameterized_date_filter.py create mode 100644 gooddata-api-client/gooddata_api_client/model/dashboard_parameterized_date_filter_dashboard_parameterized_date_filter.py diff --git a/gooddata-api-client/.openapi-generator/FILES b/gooddata-api-client/.openapi-generator/FILES index 8479a6719b..ecc10a8a00 100644 --- a/gooddata-api-client/.openapi-generator/FILES +++ b/gooddata-api-client/.openapi-generator/FILES @@ -235,6 +235,8 @@ docs/DashboardMatchAttributeFilter.md docs/DashboardMatchAttributeFilterMatchAttributeFilter.md docs/DashboardMeasureValueFilter.md docs/DashboardMeasureValueFilterDashboardMeasureValueFilter.md +docs/DashboardParameterizedDateFilter.md +docs/DashboardParameterizedDateFilterDashboardParameterizedDateFilter.md docs/DashboardPermissions.md docs/DashboardPermissionsAssignment.md docs/DashboardPluginControllerApi.md @@ -2146,6 +2148,8 @@ 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_measure_value_filter.py gooddata_api_client/model/dashboard_measure_value_filter_dashboard_measure_value_filter.py +gooddata_api_client/model/dashboard_parameterized_date_filter.py +gooddata_api_client/model/dashboard_parameterized_date_filter_dashboard_parameterized_date_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 diff --git a/gooddata-api-client/README.md b/gooddata-api-client/README.md index 6af4596aa7..b820139643 100644 --- a/gooddata-api-client/README.md +++ b/gooddata-api-client/README.md @@ -1792,6 +1792,8 @@ Class | Method | HTTP request | Description - [DashboardMatchAttributeFilterMatchAttributeFilter](docs/DashboardMatchAttributeFilterMatchAttributeFilter.md) - [DashboardMeasureValueFilter](docs/DashboardMeasureValueFilter.md) - [DashboardMeasureValueFilterDashboardMeasureValueFilter](docs/DashboardMeasureValueFilterDashboardMeasureValueFilter.md) + - [DashboardParameterizedDateFilter](docs/DashboardParameterizedDateFilter.md) + - [DashboardParameterizedDateFilterDashboardParameterizedDateFilter](docs/DashboardParameterizedDateFilterDashboardParameterizedDateFilter.md) - [DashboardPermissions](docs/DashboardPermissions.md) - [DashboardPermissionsAssignment](docs/DashboardPermissionsAssignment.md) - [DashboardSlidesTemplate](docs/DashboardSlidesTemplate.md) diff --git a/gooddata-api-client/docs/AFM.md b/gooddata-api-client/docs/AFM.md index e15f4881c2..c073bf5f96 100644 --- a/gooddata-api-client/docs/AFM.md +++ b/gooddata-api-client/docs/AFM.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes **measures** | [**[MeasureItem]**](MeasureItem.md) | Metrics to be computed. | **aux_measures** | [**[MeasureItem]**](MeasureItem.md) | Metrics to be referenced from other AFM objects (e.g. filters) but not included in the result. | [optional] **measure_definition_overrides** | [**[MetricDefinitionOverride]**](MetricDefinitionOverride.md) | (EXPERIMENTAL) Override definitions of catalog metrics for this request. Allows substituting a catalog metric's MAQL definition without modifying the stored definition. | [optional] -**parameters** | [**[ParameterItem]**](ParameterItem.md) | (EXPERIMENTAL) Parameter values to use for this execution. | [optional] +**parameters** | [**[ParameterItem]**](ParameterItem.md) | Parameter values to use for this execution. | [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/ActionsApi.md b/gooddata-api-client/docs/ActionsApi.md index c68d41f1e0..54686db6bd 100644 --- a/gooddata-api-client/docs/ActionsApi.md +++ b/gooddata-api-client/docs/ActionsApi.md @@ -1848,7 +1848,7 @@ with gooddata_api_client.ApiClient() as api_client: elements_request = ElementsRequest( cache_id="cache_id_example", complement_filter=False, - data_sampling_percentage=100.0, + data_sampling_percentage=100, depends_on=[ ElementsRequestDependsOnInner(None), ], diff --git a/gooddata-api-client/docs/ComputationApi.md b/gooddata-api-client/docs/ComputationApi.md index b6a0d1436a..5250491e13 100644 --- a/gooddata-api-client/docs/ComputationApi.md +++ b/gooddata-api-client/docs/ComputationApi.md @@ -395,7 +395,7 @@ with gooddata_api_client.ApiClient() as api_client: elements_request = ElementsRequest( cache_id="cache_id_example", complement_filter=False, - data_sampling_percentage=100.0, + data_sampling_percentage=100, depends_on=[ ElementsRequestDependsOnInner(None), ], diff --git a/gooddata-api-client/docs/DashboardFilter.md b/gooddata-api-client/docs/DashboardFilter.md index 862d22186e..0506869653 100644 --- a/gooddata-api-client/docs/DashboardFilter.md +++ b/gooddata-api-client/docs/DashboardFilter.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **attribute_filter** | [**DashboardAttributeFilterAttributeFilter**](DashboardAttributeFilterAttributeFilter.md) | | [optional] **date_filter** | [**DashboardDateFilterDateFilter**](DashboardDateFilterDateFilter.md) | | [optional] +**dashboard_parameterized_date_filter** | [**DashboardParameterizedDateFilterDashboardParameterizedDateFilter**](DashboardParameterizedDateFilterDashboardParameterizedDateFilter.md) | | [optional] **arbitrary_attribute_filter** | [**DashboardArbitraryAttributeFilterArbitraryAttributeFilter**](DashboardArbitraryAttributeFilterArbitraryAttributeFilter.md) | | [optional] **match_attribute_filter** | [**DashboardMatchAttributeFilterMatchAttributeFilter**](DashboardMatchAttributeFilterMatchAttributeFilter.md) | | [optional] **dashboard_measure_value_filter** | [**DashboardMeasureValueFilterDashboardMeasureValueFilter**](DashboardMeasureValueFilterDashboardMeasureValueFilter.md) | | [optional] diff --git a/gooddata-api-client/docs/DashboardParameterizedDateFilter.md b/gooddata-api-client/docs/DashboardParameterizedDateFilter.md new file mode 100644 index 0000000000..471d7aa612 --- /dev/null +++ b/gooddata-api-client/docs/DashboardParameterizedDateFilter.md @@ -0,0 +1,12 @@ +# DashboardParameterizedDateFilter + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**dashboard_parameterized_date_filter** | [**DashboardParameterizedDateFilterDashboardParameterizedDateFilter**](DashboardParameterizedDateFilterDashboardParameterizedDateFilter.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/DashboardParameterizedDateFilterDashboardParameterizedDateFilter.md b/gooddata-api-client/docs/DashboardParameterizedDateFilterDashboardParameterizedDateFilter.md new file mode 100644 index 0000000000..eda867ec3d --- /dev/null +++ b/gooddata-api-client/docs/DashboardParameterizedDateFilterDashboardParameterizedDateFilter.md @@ -0,0 +1,15 @@ +# DashboardParameterizedDateFilterDashboardParameterizedDateFilter + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**parameter** | [**IdentifierRef**](IdentifierRef.md) | | +**data_set** | [**IdentifierRef**](IdentifierRef.md) | | [optional] +**empty_value_handling** | **str** | | [optional] +**local_identifier** | **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/DocumentTemplateControllerApi.md b/gooddata-api-client/docs/DocumentTemplateControllerApi.md index 77d5b4a804..d6b4aa093c 100644 --- a/gooddata-api-client/docs/DocumentTemplateControllerApi.md +++ b/gooddata-api-client/docs/DocumentTemplateControllerApi.md @@ -200,7 +200,7 @@ with gooddata_api_client.ApiClient() as api_client: ), ) # JsonApiPublisherDocumentTemplatePostOptionalIdDocument | include = [ - "createdBy,modifiedBy", + "createdBy,modifiedBy,visualizationObjects,labels,datasets,metrics", ] # [str] | Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. (optional) meta_include = [ "metaInclude=origin,all", @@ -350,7 +350,7 @@ with gooddata_api_client.ApiClient() as api_client: origin = "ALL" # str | (optional) if omitted the server will use the default value of "ALL" filter = "version==someString;title==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) include = [ - "createdBy,modifiedBy", + "createdBy,modifiedBy,visualizationObjects,labels,datasets,metrics", ] # [str] | Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. (optional) page = 0 # int | Zero-based page index (0..N) (optional) if omitted the server will use the default value of 0 size = 20 # int | The size of the page to be returned (optional) if omitted the server will use the default value of 20 @@ -446,7 +446,7 @@ with gooddata_api_client.ApiClient() as api_client: object_id = "objectId_example" # str | filter = "version==someString;title==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) include = [ - "createdBy,modifiedBy", + "createdBy,modifiedBy,visualizationObjects,labels,datasets,metrics", ] # [str] | Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. (optional) x_gdc_validate_relations = False # bool | (optional) if omitted the server will use the default value of False meta_include = [ @@ -695,7 +695,7 @@ with gooddata_api_client.ApiClient() as api_client: ) # JsonApiPublisherDocumentTemplatePatchDocument | filter = "version==someString;title==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) include = [ - "createdBy,modifiedBy", + "createdBy,modifiedBy,visualizationObjects,labels,datasets,metrics", ] # [str] | Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. (optional) # example passing only required values which don't have defaults set @@ -939,7 +939,7 @@ with gooddata_api_client.ApiClient() as api_client: ) # JsonApiPublisherDocumentTemplateInDocument | filter = "version==someString;title==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) include = [ - "createdBy,modifiedBy", + "createdBy,modifiedBy,visualizationObjects,labels,datasets,metrics", ] # [str] | Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. (optional) # example passing only required values which don't have defaults set diff --git a/gooddata-api-client/docs/ElementsRequest.md b/gooddata-api-client/docs/ElementsRequest.md index 5105f7f509..f5ef510b7d 100644 --- a/gooddata-api-client/docs/ElementsRequest.md +++ b/gooddata-api-client/docs/ElementsRequest.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **label** | **str** | Requested label. | **cache_id** | **str** | If specified, the element data will be taken from the result with the same cacheId if it is available. | [optional] **complement_filter** | **bool** | Inverse filters: * ```false``` - return items matching ```patternFilter``` and ```exactFilter``` * ```true``` - return items not matching ```patternFilter``` and ```exactFilter``` | [optional] if omitted the server will use the default value of False -**data_sampling_percentage** | **float** | Specifies percentage of source table data scanned during the computation. This field is deprecated and is no longer used during the elements computation. | [optional] if omitted the server will use the default value of 100.0 +**data_sampling_percentage** | **float** | Specifies percentage of source table data scanned during the computation. This field is deprecated and is no longer used during the elements computation. | [optional] if omitted the server will use the default value of 100 **depends_on** | [**[ElementsRequestDependsOnInner]**](ElementsRequestDependsOnInner.md) | Return only items that are not filtered-out by the parent filters. | [optional] **exact_filter** | **[str, none_type]** | Return only items, whose ```label``` title exactly matches one of ```filter```. | [optional] **exclude_primary_label** | **bool** | Excludes items from the result that differ only by primary label * ```false``` - return items with distinct primary label * ```true``` - return items with distinct requested label | [optional] if omitted the server will use the default value of False diff --git a/gooddata-api-client/docs/EntitiesApi.md b/gooddata-api-client/docs/EntitiesApi.md index 7e1312b792..abbe0a6383 100644 --- a/gooddata-api-client/docs/EntitiesApi.md +++ b/gooddata-api-client/docs/EntitiesApi.md @@ -2134,7 +2134,7 @@ with gooddata_api_client.ApiClient() as api_client: ), ) # JsonApiPublisherDocumentTemplatePostOptionalIdDocument | include = [ - "createdBy,modifiedBy", + "createdBy,modifiedBy,visualizationObjects,labels,datasets,metrics", ] # [str] | Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. (optional) meta_include = [ "metaInclude=origin,all", @@ -3922,7 +3922,7 @@ with gooddata_api_client.ApiClient() as api_client: ), ) # JsonApiPublisherDocumentPageTemplatePostOptionalIdDocument | include = [ - "createdBy,modifiedBy", + "createdBy,modifiedBy,visualizationObjects,labels,datasets,metrics", ] # [str] | Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. (optional) meta_include = [ "metaInclude=origin,all", @@ -10485,7 +10485,7 @@ with gooddata_api_client.ApiClient() as api_client: origin = "ALL" # str | (optional) if omitted the server will use the default value of "ALL" filter = "version==someString;title==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) include = [ - "createdBy,modifiedBy", + "createdBy,modifiedBy,visualizationObjects,labels,datasets,metrics", ] # [str] | Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. (optional) page = 0 # int | Zero-based page index (0..N) (optional) if omitted the server will use the default value of 0 size = 20 # int | The size of the page to be returned (optional) if omitted the server will use the default value of 20 @@ -12331,7 +12331,7 @@ with gooddata_api_client.ApiClient() as api_client: origin = "ALL" # str | (optional) if omitted the server will use the default value of "ALL" filter = "version==someString;title==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) include = [ - "createdBy,modifiedBy", + "createdBy,modifiedBy,visualizationObjects,labels,datasets,metrics", ] # [str] | Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. (optional) page = 0 # int | Zero-based page index (0..N) (optional) if omitted the server will use the default value of 0 size = 20 # int | The size of the page to be returned (optional) if omitted the server will use the default value of 20 @@ -15742,7 +15742,7 @@ with gooddata_api_client.ApiClient() as api_client: object_id = "objectId_example" # str | filter = "version==someString;title==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) include = [ - "createdBy,modifiedBy", + "createdBy,modifiedBy,visualizationObjects,labels,datasets,metrics", ] # [str] | Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. (optional) x_gdc_validate_relations = False # bool | (optional) if omitted the server will use the default value of False meta_include = [ @@ -17554,7 +17554,7 @@ with gooddata_api_client.ApiClient() as api_client: object_id = "objectId_example" # str | filter = "version==someString;title==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) include = [ - "createdBy,modifiedBy", + "createdBy,modifiedBy,visualizationObjects,labels,datasets,metrics", ] # [str] | Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. (optional) x_gdc_validate_relations = False # bool | (optional) if omitted the server will use the default value of False meta_include = [ @@ -21187,7 +21187,7 @@ with gooddata_api_client.ApiClient() as api_client: ) # JsonApiPublisherDocumentTemplatePatchDocument | filter = "version==someString;title==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) include = [ - "createdBy,modifiedBy", + "createdBy,modifiedBy,visualizationObjects,labels,datasets,metrics", ] # [str] | Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. (optional) # example passing only required values which don't have defaults set @@ -23263,7 +23263,7 @@ with gooddata_api_client.ApiClient() as api_client: ) # JsonApiPublisherDocumentPageTemplatePatchDocument | filter = "version==someString;title==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) include = [ - "createdBy,modifiedBy", + "createdBy,modifiedBy,visualizationObjects,labels,datasets,metrics", ] # [str] | Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. (optional) # example passing only required values which don't have defaults set @@ -29322,7 +29322,7 @@ with gooddata_api_client.ApiClient() as api_client: ) # JsonApiPublisherDocumentTemplateInDocument | filter = "version==someString;title==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) include = [ - "createdBy,modifiedBy", + "createdBy,modifiedBy,visualizationObjects,labels,datasets,metrics", ] # [str] | Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. (optional) # example passing only required values which don't have defaults set @@ -31300,7 +31300,7 @@ with gooddata_api_client.ApiClient() as api_client: ) # JsonApiPublisherDocumentPageTemplateInDocument | filter = "version==someString;title==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) include = [ - "createdBy,modifiedBy", + "createdBy,modifiedBy,visualizationObjects,labels,datasets,metrics", ] # [str] | Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. (optional) # example passing only required values which don't have defaults set diff --git a/gooddata-api-client/docs/JsonApiPublisherDocumentPageTemplateOut.md b/gooddata-api-client/docs/JsonApiPublisherDocumentPageTemplateOut.md index 1cabf0209e..af6bb7b104 100644 --- a/gooddata-api-client/docs/JsonApiPublisherDocumentPageTemplateOut.md +++ b/gooddata-api-client/docs/JsonApiPublisherDocumentPageTemplateOut.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **id** | **str** | API identifier of an object | **type** | **str** | Object type | defaults to "pageTemplate" **meta** | [**JsonApiAggregatedFactOutMeta**](JsonApiAggregatedFactOutMeta.md) | | [optional] -**relationships** | [**JsonApiDashboardPluginOutRelationships**](JsonApiDashboardPluginOutRelationships.md) | | [optional] +**relationships** | [**JsonApiPublisherDocumentOutRelationships**](JsonApiPublisherDocumentOutRelationships.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/JsonApiPublisherDocumentPageTemplateOutDocument.md b/gooddata-api-client/docs/JsonApiPublisherDocumentPageTemplateOutDocument.md index b088df5150..cbd42bdf33 100644 --- a/gooddata-api-client/docs/JsonApiPublisherDocumentPageTemplateOutDocument.md +++ b/gooddata-api-client/docs/JsonApiPublisherDocumentPageTemplateOutDocument.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **data** | [**JsonApiPublisherDocumentPageTemplateOut**](JsonApiPublisherDocumentPageTemplateOut.md) | | -**included** | [**[JsonApiUserIdentifierOutWithLinks]**](JsonApiUserIdentifierOutWithLinks.md) | Included resources | [optional] +**included** | [**[JsonApiPublisherDocumentOutIncludes]**](JsonApiPublisherDocumentOutIncludes.md) | Included resources | [optional] **links** | [**ObjectLinks**](ObjectLinks.md) | | [optional] **meta** | [**JsonApiAgentOutDocumentMeta**](JsonApiAgentOutDocumentMeta.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] diff --git a/gooddata-api-client/docs/JsonApiPublisherDocumentPageTemplateOutList.md b/gooddata-api-client/docs/JsonApiPublisherDocumentPageTemplateOutList.md index cd517aa717..db40cbeee2 100644 --- a/gooddata-api-client/docs/JsonApiPublisherDocumentPageTemplateOutList.md +++ b/gooddata-api-client/docs/JsonApiPublisherDocumentPageTemplateOutList.md @@ -6,7 +6,7 @@ A JSON:API document with a list of resources Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **data** | [**[JsonApiPublisherDocumentPageTemplateOutWithLinks]**](JsonApiPublisherDocumentPageTemplateOutWithLinks.md) | | -**included** | [**[JsonApiUserIdentifierOutWithLinks]**](JsonApiUserIdentifierOutWithLinks.md) | Included resources | [optional] +**included** | [**[JsonApiPublisherDocumentOutIncludes]**](JsonApiPublisherDocumentOutIncludes.md) | Included resources | [optional] **links** | [**ListLinks**](ListLinks.md) | | [optional] **meta** | [**JsonApiAgentOutListMeta**](JsonApiAgentOutListMeta.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] diff --git a/gooddata-api-client/docs/JsonApiPublisherDocumentPageTemplateOutWithLinks.md b/gooddata-api-client/docs/JsonApiPublisherDocumentPageTemplateOutWithLinks.md index af549a5014..c70da0829a 100644 --- a/gooddata-api-client/docs/JsonApiPublisherDocumentPageTemplateOutWithLinks.md +++ b/gooddata-api-client/docs/JsonApiPublisherDocumentPageTemplateOutWithLinks.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **id** | **str** | API identifier of an object | **type** | **str** | Object type | defaults to "pageTemplate" **meta** | [**JsonApiAggregatedFactOutMeta**](JsonApiAggregatedFactOutMeta.md) | | [optional] -**relationships** | [**JsonApiDashboardPluginOutRelationships**](JsonApiDashboardPluginOutRelationships.md) | | [optional] +**relationships** | [**JsonApiPublisherDocumentOutRelationships**](JsonApiPublisherDocumentOutRelationships.md) | | [optional] **links** | [**ObjectLinks**](ObjectLinks.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] diff --git a/gooddata-api-client/docs/JsonApiPublisherDocumentTemplateOut.md b/gooddata-api-client/docs/JsonApiPublisherDocumentTemplateOut.md index 91d470f8a0..5bcb2ad17b 100644 --- a/gooddata-api-client/docs/JsonApiPublisherDocumentTemplateOut.md +++ b/gooddata-api-client/docs/JsonApiPublisherDocumentTemplateOut.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **id** | **str** | API identifier of an object | **type** | **str** | Object type | defaults to "documentTemplate" **meta** | [**JsonApiAggregatedFactOutMeta**](JsonApiAggregatedFactOutMeta.md) | | [optional] -**relationships** | [**JsonApiDashboardPluginOutRelationships**](JsonApiDashboardPluginOutRelationships.md) | | [optional] +**relationships** | [**JsonApiPublisherDocumentOutRelationships**](JsonApiPublisherDocumentOutRelationships.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/JsonApiPublisherDocumentTemplateOutDocument.md b/gooddata-api-client/docs/JsonApiPublisherDocumentTemplateOutDocument.md index 31fbd6efd8..8873cc4be5 100644 --- a/gooddata-api-client/docs/JsonApiPublisherDocumentTemplateOutDocument.md +++ b/gooddata-api-client/docs/JsonApiPublisherDocumentTemplateOutDocument.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **data** | [**JsonApiPublisherDocumentTemplateOut**](JsonApiPublisherDocumentTemplateOut.md) | | -**included** | [**[JsonApiUserIdentifierOutWithLinks]**](JsonApiUserIdentifierOutWithLinks.md) | Included resources | [optional] +**included** | [**[JsonApiPublisherDocumentOutIncludes]**](JsonApiPublisherDocumentOutIncludes.md) | Included resources | [optional] **links** | [**ObjectLinks**](ObjectLinks.md) | | [optional] **meta** | [**JsonApiAgentOutDocumentMeta**](JsonApiAgentOutDocumentMeta.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] diff --git a/gooddata-api-client/docs/JsonApiPublisherDocumentTemplateOutList.md b/gooddata-api-client/docs/JsonApiPublisherDocumentTemplateOutList.md index 353a19e9e1..1906c994b7 100644 --- a/gooddata-api-client/docs/JsonApiPublisherDocumentTemplateOutList.md +++ b/gooddata-api-client/docs/JsonApiPublisherDocumentTemplateOutList.md @@ -6,7 +6,7 @@ A JSON:API document with a list of resources Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **data** | [**[JsonApiPublisherDocumentTemplateOutWithLinks]**](JsonApiPublisherDocumentTemplateOutWithLinks.md) | | -**included** | [**[JsonApiUserIdentifierOutWithLinks]**](JsonApiUserIdentifierOutWithLinks.md) | Included resources | [optional] +**included** | [**[JsonApiPublisherDocumentOutIncludes]**](JsonApiPublisherDocumentOutIncludes.md) | Included resources | [optional] **links** | [**ListLinks**](ListLinks.md) | | [optional] **meta** | [**JsonApiAgentOutListMeta**](JsonApiAgentOutListMeta.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] diff --git a/gooddata-api-client/docs/JsonApiPublisherDocumentTemplateOutWithLinks.md b/gooddata-api-client/docs/JsonApiPublisherDocumentTemplateOutWithLinks.md index 35662e3aab..d11b4750f6 100644 --- a/gooddata-api-client/docs/JsonApiPublisherDocumentTemplateOutWithLinks.md +++ b/gooddata-api-client/docs/JsonApiPublisherDocumentTemplateOutWithLinks.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **id** | **str** | API identifier of an object | **type** | **str** | Object type | defaults to "documentTemplate" **meta** | [**JsonApiAggregatedFactOutMeta**](JsonApiAggregatedFactOutMeta.md) | | [optional] -**relationships** | [**JsonApiDashboardPluginOutRelationships**](JsonApiDashboardPluginOutRelationships.md) | | [optional] +**relationships** | [**JsonApiPublisherDocumentOutRelationships**](JsonApiPublisherDocumentOutRelationships.md) | | [optional] **links** | [**ObjectLinks**](ObjectLinks.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] diff --git a/gooddata-api-client/docs/LocalizationMetadataStatistics.md b/gooddata-api-client/docs/LocalizationMetadataStatistics.md index 4d20b3c291..e7a68468d4 100644 --- a/gooddata-api-client/docs/LocalizationMetadataStatistics.md +++ b/gooddata-api-client/docs/LocalizationMetadataStatistics.md @@ -6,7 +6,7 @@ Translations of titles, descriptions, tags and free-form texts of workspace obje Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **locales** | [**[LocalizationStatisticsLocale]**](LocalizationStatisticsLocale.md) | | -**workspaces** | [**[LocalizationStatisticsWorkspace]**](LocalizationStatisticsWorkspace.md) | (BETA) Translation counts of the workspace and each parent workspace that the user can see, root first. Present only with `includeCoverage=true` on the workspace endpoint. | [optional] +**workspaces** | [**[LocalizationStatisticsWorkspace]**](LocalizationStatisticsWorkspace.md) | (BETA) Translation counts of the workspace and each parent workspace, root first. Present only with `includeCoverage=true` on the workspace endpoint. | [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/LocalizationStatisticsWorkspace.md b/gooddata-api-client/docs/LocalizationStatisticsWorkspace.md index 935d8c678f..7a1a35f557 100644 --- a/gooddata-api-client/docs/LocalizationStatisticsWorkspace.md +++ b/gooddata-api-client/docs/LocalizationStatisticsWorkspace.md @@ -1,14 +1,14 @@ # LocalizationStatisticsWorkspace -Metadata texts of one workspace. A row counts only the texts that the workspace owns. A child workspace sums its row and the rows of its parents. +Metadata texts of one workspace. A row counts only the texts that the workspace owns. A parent's row counts only the texts that the workspaces below it inherit. A child workspace sums its row and the rows of its parents. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **str** | Workspace ID. | **locales** | [**[LocalizationStatisticsTranslatedLocale]**](LocalizationStatisticsTranslatedLocale.md) | Every language of `metadata.locales`, sorted, with 0 where nothing is translated. | -**name** | **str** | Workspace name. | **total** | **int** | Titles, descriptions, tags and free-form texts the workspace owns. Blank texts are not counted. | +**name** | **str, none_type** | Workspace name. Null for a parent that the user has no permission on. The name stays when the user can see the workspace right below it. | [optional] **parent_id** | **str, none_type** | Parent workspace ID, null for a root workspace. | [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] diff --git a/gooddata-api-client/docs/PageTemplateControllerApi.md b/gooddata-api-client/docs/PageTemplateControllerApi.md index 9dc86644ee..521f4cd3ad 100644 --- a/gooddata-api-client/docs/PageTemplateControllerApi.md +++ b/gooddata-api-client/docs/PageTemplateControllerApi.md @@ -95,7 +95,7 @@ with gooddata_api_client.ApiClient() as api_client: ), ) # JsonApiPublisherDocumentPageTemplatePostOptionalIdDocument | include = [ - "createdBy,modifiedBy", + "createdBy,modifiedBy,visualizationObjects,labels,datasets,metrics", ] # [str] | Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. (optional) meta_include = [ "metaInclude=origin,all", @@ -247,7 +247,7 @@ with gooddata_api_client.ApiClient() as api_client: origin = "ALL" # str | (optional) if omitted the server will use the default value of "ALL" filter = "version==someString;title==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) include = [ - "createdBy,modifiedBy", + "createdBy,modifiedBy,visualizationObjects,labels,datasets,metrics", ] # [str] | Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. (optional) page = 0 # int | Zero-based page index (0..N) (optional) if omitted the server will use the default value of 0 size = 20 # int | The size of the page to be returned (optional) if omitted the server will use the default value of 20 @@ -343,7 +343,7 @@ with gooddata_api_client.ApiClient() as api_client: object_id = "objectId_example" # str | filter = "version==someString;title==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) include = [ - "createdBy,modifiedBy", + "createdBy,modifiedBy,visualizationObjects,labels,datasets,metrics", ] # [str] | Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. (optional) x_gdc_validate_relations = False # bool | (optional) if omitted the server will use the default value of False meta_include = [ @@ -487,7 +487,7 @@ with gooddata_api_client.ApiClient() as api_client: ) # JsonApiPublisherDocumentPageTemplatePatchDocument | filter = "version==someString;title==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) include = [ - "createdBy,modifiedBy", + "createdBy,modifiedBy,visualizationObjects,labels,datasets,metrics", ] # [str] | Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. (optional) # example passing only required values which don't have defaults set @@ -626,7 +626,7 @@ with gooddata_api_client.ApiClient() as api_client: ) # JsonApiPublisherDocumentPageTemplateInDocument | filter = "version==someString;title==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) include = [ - "createdBy,modifiedBy", + "createdBy,modifiedBy,visualizationObjects,labels,datasets,metrics", ] # [str] | Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. (optional) # example passing only required values which don't have defaults set diff --git a/gooddata-api-client/docs/ParameterItem.md b/gooddata-api-client/docs/ParameterItem.md index 5b400f2e59..0baf2e6f8a 100644 --- a/gooddata-api-client/docs/ParameterItem.md +++ b/gooddata-api-client/docs/ParameterItem.md @@ -1,6 +1,6 @@ # ParameterItem -(EXPERIMENTAL) Parameter value for this execution. +Parameter value for this execution. ## Properties Name | Type | Description | Notes diff --git a/gooddata-api-client/docs/PublisherDocumentsApi.md b/gooddata-api-client/docs/PublisherDocumentsApi.md index f639b72d4b..b77c43cf9b 100644 --- a/gooddata-api-client/docs/PublisherDocumentsApi.md +++ b/gooddata-api-client/docs/PublisherDocumentsApi.md @@ -213,7 +213,7 @@ with gooddata_api_client.ApiClient() as api_client: ), ) # JsonApiPublisherDocumentTemplatePostOptionalIdDocument | include = [ - "createdBy,modifiedBy", + "createdBy,modifiedBy,visualizationObjects,labels,datasets,metrics", ] # [str] | Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. (optional) meta_include = [ "metaInclude=origin,all", @@ -597,7 +597,7 @@ with gooddata_api_client.ApiClient() as api_client: ), ) # JsonApiPublisherDocumentPageTemplatePostOptionalIdDocument | include = [ - "createdBy,modifiedBy", + "createdBy,modifiedBy,visualizationObjects,labels,datasets,metrics", ] # [str] | Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. (optional) meta_include = [ "metaInclude=origin,all", @@ -877,7 +877,7 @@ with gooddata_api_client.ApiClient() as api_client: origin = "ALL" # str | (optional) if omitted the server will use the default value of "ALL" filter = "version==someString;title==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) include = [ - "createdBy,modifiedBy", + "createdBy,modifiedBy,visualizationObjects,labels,datasets,metrics", ] # [str] | Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. (optional) page = 0 # int | Zero-based page index (0..N) (optional) if omitted the server will use the default value of 0 size = 20 # int | The size of the page to be returned (optional) if omitted the server will use the default value of 20 @@ -1071,7 +1071,7 @@ with gooddata_api_client.ApiClient() as api_client: origin = "ALL" # str | (optional) if omitted the server will use the default value of "ALL" filter = "version==someString;title==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) include = [ - "createdBy,modifiedBy", + "createdBy,modifiedBy,visualizationObjects,labels,datasets,metrics", ] # [str] | Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. (optional) page = 0 # int | Zero-based page index (0..N) (optional) if omitted the server will use the default value of 0 size = 20 # int | The size of the page to be returned (optional) if omitted the server will use the default value of 20 @@ -1167,7 +1167,7 @@ with gooddata_api_client.ApiClient() as api_client: object_id = "objectId_example" # str | filter = "version==someString;title==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) include = [ - "createdBy,modifiedBy", + "createdBy,modifiedBy,visualizationObjects,labels,datasets,metrics", ] # [str] | Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. (optional) x_gdc_validate_relations = False # bool | (optional) if omitted the server will use the default value of False meta_include = [ @@ -1343,7 +1343,7 @@ with gooddata_api_client.ApiClient() as api_client: object_id = "objectId_example" # str | filter = "version==someString;title==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) include = [ - "createdBy,modifiedBy", + "createdBy,modifiedBy,visualizationObjects,labels,datasets,metrics", ] # [str] | Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. (optional) x_gdc_validate_relations = False # bool | (optional) if omitted the server will use the default value of False meta_include = [ @@ -1592,7 +1592,7 @@ with gooddata_api_client.ApiClient() as api_client: ) # JsonApiPublisherDocumentTemplatePatchDocument | filter = "version==someString;title==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) include = [ - "createdBy,modifiedBy", + "createdBy,modifiedBy,visualizationObjects,labels,datasets,metrics", ] # [str] | Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. (optional) # example passing only required values which don't have defaults set @@ -1976,7 +1976,7 @@ with gooddata_api_client.ApiClient() as api_client: ) # JsonApiPublisherDocumentPageTemplatePatchDocument | filter = "version==someString;title==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) include = [ - "createdBy,modifiedBy", + "createdBy,modifiedBy,visualizationObjects,labels,datasets,metrics", ] # [str] | Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. (optional) # example passing only required values which don't have defaults set @@ -2319,7 +2319,7 @@ with gooddata_api_client.ApiClient() as api_client: ) # JsonApiPublisherDocumentTemplateInDocument | filter = "version==someString;title==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) include = [ - "createdBy,modifiedBy", + "createdBy,modifiedBy,visualizationObjects,labels,datasets,metrics", ] # [str] | Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. (optional) # example passing only required values which don't have defaults set @@ -2703,7 +2703,7 @@ with gooddata_api_client.ApiClient() as api_client: ) # JsonApiPublisherDocumentPageTemplateInDocument | filter = "version==someString;title==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) include = [ - "createdBy,modifiedBy", + "createdBy,modifiedBy,visualizationObjects,labels,datasets,metrics", ] # [str] | Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL). __WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together. (optional) # example passing only required values which don't have defaults set diff --git a/gooddata-api-client/gooddata_api_client/api/document_template_controller_api.py b/gooddata-api-client/gooddata_api_client/api/document_template_controller_api.py index dcedde89b5..adb37f86b6 100644 --- a/gooddata-api-client/gooddata_api_client/api/document_template_controller_api.py +++ b/gooddata-api-client/gooddata_api_client/api/document_template_controller_api.py @@ -80,6 +80,10 @@ def __init__(self, api_client=None): ('include',): { "USERIDENTIFIERS": "userIdentifiers", + "VISUALIZATIONOBJECTS": "visualizationObjects", + "LABELS": "labels", + "DATASETS": "datasets", + "METRICS": "metrics", "CREATEDBY": "createdBy", "MODIFIEDBY": "modifiedBy", "ALL": "ALL" @@ -233,6 +237,10 @@ def __init__(self, api_client=None): ('include',): { "USERIDENTIFIERS": "userIdentifiers", + "VISUALIZATIONOBJECTS": "visualizationObjects", + "LABELS": "labels", + "DATASETS": "datasets", + "METRICS": "metrics", "CREATEDBY": "createdBy", "MODIFIEDBY": "modifiedBy", "ALL": "ALL" @@ -344,6 +352,10 @@ def __init__(self, api_client=None): ('include',): { "USERIDENTIFIERS": "userIdentifiers", + "VISUALIZATIONOBJECTS": "visualizationObjects", + "LABELS": "labels", + "DATASETS": "datasets", + "METRICS": "metrics", "CREATEDBY": "createdBy", "MODIFIEDBY": "modifiedBy", "ALL": "ALL" @@ -436,6 +448,10 @@ def __init__(self, api_client=None): ('include',): { "USERIDENTIFIERS": "userIdentifiers", + "VISUALIZATIONOBJECTS": "visualizationObjects", + "LABELS": "labels", + "DATASETS": "datasets", + "METRICS": "metrics", "CREATEDBY": "createdBy", "MODIFIEDBY": "modifiedBy", "ALL": "ALL" @@ -519,6 +535,10 @@ def __init__(self, api_client=None): ('include',): { "USERIDENTIFIERS": "userIdentifiers", + "VISUALIZATIONOBJECTS": "visualizationObjects", + "LABELS": "labels", + "DATASETS": "datasets", + "METRICS": "metrics", "CREATEDBY": "createdBy", "MODIFIEDBY": "modifiedBy", "ALL": "ALL" 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 b1362a0077..af6396246b 100644 --- a/gooddata-api-client/gooddata_api_client/api/entities_api.py +++ b/gooddata-api-client/gooddata_api_client/api/entities_api.py @@ -1319,6 +1319,10 @@ def __init__(self, api_client=None): ('include',): { "USERIDENTIFIERS": "userIdentifiers", + "VISUALIZATIONOBJECTS": "visualizationObjects", + "LABELS": "labels", + "DATASETS": "datasets", + "METRICS": "metrics", "CREATEDBY": "createdBy", "MODIFIEDBY": "modifiedBy", "ALL": "ALL" @@ -2481,6 +2485,10 @@ def __init__(self, api_client=None): ('include',): { "USERIDENTIFIERS": "userIdentifiers", + "VISUALIZATIONOBJECTS": "visualizationObjects", + "LABELS": "labels", + "DATASETS": "datasets", + "METRICS": "metrics", "CREATEDBY": "createdBy", "MODIFIEDBY": "modifiedBy", "ALL": "ALL" @@ -8443,6 +8451,10 @@ def __init__(self, api_client=None): ('include',): { "USERIDENTIFIERS": "userIdentifiers", + "VISUALIZATIONOBJECTS": "visualizationObjects", + "LABELS": "labels", + "DATASETS": "datasets", + "METRICS": "metrics", "CREATEDBY": "createdBy", "MODIFIEDBY": "modifiedBy", "ALL": "ALL" @@ -10608,6 +10620,10 @@ def __init__(self, api_client=None): ('include',): { "USERIDENTIFIERS": "userIdentifiers", + "VISUALIZATIONOBJECTS": "visualizationObjects", + "LABELS": "labels", + "DATASETS": "datasets", + "METRICS": "metrics", "CREATEDBY": "createdBy", "MODIFIEDBY": "modifiedBy", "ALL": "ALL" @@ -14307,6 +14323,10 @@ def __init__(self, api_client=None): ('include',): { "USERIDENTIFIERS": "userIdentifiers", + "VISUALIZATIONOBJECTS": "visualizationObjects", + "LABELS": "labels", + "DATASETS": "datasets", + "METRICS": "metrics", "CREATEDBY": "createdBy", "MODIFIEDBY": "modifiedBy", "ALL": "ALL" @@ -16093,6 +16113,10 @@ def __init__(self, api_client=None): ('include',): { "USERIDENTIFIERS": "userIdentifiers", + "VISUALIZATIONOBJECTS": "visualizationObjects", + "LABELS": "labels", + "DATASETS": "datasets", + "METRICS": "metrics", "CREATEDBY": "createdBy", "MODIFIEDBY": "modifiedBy", "ALL": "ALL" @@ -18970,6 +18994,10 @@ def __init__(self, api_client=None): ('include',): { "USERIDENTIFIERS": "userIdentifiers", + "VISUALIZATIONOBJECTS": "visualizationObjects", + "LABELS": "labels", + "DATASETS": "datasets", + "METRICS": "metrics", "CREATEDBY": "createdBy", "MODIFIEDBY": "modifiedBy", "ALL": "ALL" @@ -20412,6 +20440,10 @@ def __init__(self, api_client=None): ('include',): { "USERIDENTIFIERS": "userIdentifiers", + "VISUALIZATIONOBJECTS": "visualizationObjects", + "LABELS": "labels", + "DATASETS": "datasets", + "METRICS": "metrics", "CREATEDBY": "createdBy", "MODIFIEDBY": "modifiedBy", "ALL": "ALL" @@ -24692,6 +24724,10 @@ def __init__(self, api_client=None): ('include',): { "USERIDENTIFIERS": "userIdentifiers", + "VISUALIZATIONOBJECTS": "visualizationObjects", + "LABELS": "labels", + "DATASETS": "datasets", + "METRICS": "metrics", "CREATEDBY": "createdBy", "MODIFIEDBY": "modifiedBy", "ALL": "ALL" @@ -26053,6 +26089,10 @@ def __init__(self, api_client=None): ('include',): { "USERIDENTIFIERS": "userIdentifiers", + "VISUALIZATIONOBJECTS": "visualizationObjects", + "LABELS": "labels", + "DATASETS": "datasets", + "METRICS": "metrics", "CREATEDBY": "createdBy", "MODIFIEDBY": "modifiedBy", "ALL": "ALL" diff --git a/gooddata-api-client/gooddata_api_client/api/page_template_controller_api.py b/gooddata-api-client/gooddata_api_client/api/page_template_controller_api.py index 26466e7b7a..906d8ae47b 100644 --- a/gooddata-api-client/gooddata_api_client/api/page_template_controller_api.py +++ b/gooddata-api-client/gooddata_api_client/api/page_template_controller_api.py @@ -80,6 +80,10 @@ def __init__(self, api_client=None): ('include',): { "USERIDENTIFIERS": "userIdentifiers", + "VISUALIZATIONOBJECTS": "visualizationObjects", + "LABELS": "labels", + "DATASETS": "datasets", + "METRICS": "metrics", "CREATEDBY": "createdBy", "MODIFIEDBY": "modifiedBy", "ALL": "ALL" @@ -233,6 +237,10 @@ def __init__(self, api_client=None): ('include',): { "USERIDENTIFIERS": "userIdentifiers", + "VISUALIZATIONOBJECTS": "visualizationObjects", + "LABELS": "labels", + "DATASETS": "datasets", + "METRICS": "metrics", "CREATEDBY": "createdBy", "MODIFIEDBY": "modifiedBy", "ALL": "ALL" @@ -344,6 +352,10 @@ def __init__(self, api_client=None): ('include',): { "USERIDENTIFIERS": "userIdentifiers", + "VISUALIZATIONOBJECTS": "visualizationObjects", + "LABELS": "labels", + "DATASETS": "datasets", + "METRICS": "metrics", "CREATEDBY": "createdBy", "MODIFIEDBY": "modifiedBy", "ALL": "ALL" @@ -436,6 +448,10 @@ def __init__(self, api_client=None): ('include',): { "USERIDENTIFIERS": "userIdentifiers", + "VISUALIZATIONOBJECTS": "visualizationObjects", + "LABELS": "labels", + "DATASETS": "datasets", + "METRICS": "metrics", "CREATEDBY": "createdBy", "MODIFIEDBY": "modifiedBy", "ALL": "ALL" @@ -519,6 +535,10 @@ def __init__(self, api_client=None): ('include',): { "USERIDENTIFIERS": "userIdentifiers", + "VISUALIZATIONOBJECTS": "visualizationObjects", + "LABELS": "labels", + "DATASETS": "datasets", + "METRICS": "metrics", "CREATEDBY": "createdBy", "MODIFIEDBY": "modifiedBy", "ALL": "ALL" diff --git a/gooddata-api-client/gooddata_api_client/api/publisher_documents_api.py b/gooddata-api-client/gooddata_api_client/api/publisher_documents_api.py index b104692c10..8e60f8ce8b 100644 --- a/gooddata-api-client/gooddata_api_client/api/publisher_documents_api.py +++ b/gooddata-api-client/gooddata_api_client/api/publisher_documents_api.py @@ -91,6 +91,10 @@ def __init__(self, api_client=None): ('include',): { "USERIDENTIFIERS": "userIdentifiers", + "VISUALIZATIONOBJECTS": "visualizationObjects", + "LABELS": "labels", + "DATASETS": "datasets", + "METRICS": "metrics", "CREATEDBY": "createdBy", "MODIFIEDBY": "modifiedBy", "ALL": "ALL" @@ -273,6 +277,10 @@ def __init__(self, api_client=None): ('include',): { "USERIDENTIFIERS": "userIdentifiers", + "VISUALIZATIONOBJECTS": "visualizationObjects", + "LABELS": "labels", + "DATASETS": "datasets", + "METRICS": "metrics", "CREATEDBY": "createdBy", "MODIFIEDBY": "modifiedBy", "ALL": "ALL" @@ -532,6 +540,10 @@ def __init__(self, api_client=None): ('include',): { "USERIDENTIFIERS": "userIdentifiers", + "VISUALIZATIONOBJECTS": "visualizationObjects", + "LABELS": "labels", + "DATASETS": "datasets", + "METRICS": "metrics", "CREATEDBY": "createdBy", "MODIFIEDBY": "modifiedBy", "ALL": "ALL" @@ -776,6 +788,10 @@ def __init__(self, api_client=None): ('include',): { "USERIDENTIFIERS": "userIdentifiers", + "VISUALIZATIONOBJECTS": "visualizationObjects", + "LABELS": "labels", + "DATASETS": "datasets", + "METRICS": "metrics", "CREATEDBY": "createdBy", "MODIFIEDBY": "modifiedBy", "ALL": "ALL" @@ -887,6 +903,10 @@ def __init__(self, api_client=None): ('include',): { "USERIDENTIFIERS": "userIdentifiers", + "VISUALIZATIONOBJECTS": "visualizationObjects", + "LABELS": "labels", + "DATASETS": "datasets", + "METRICS": "metrics", "CREATEDBY": "createdBy", "MODIFIEDBY": "modifiedBy", "ALL": "ALL" @@ -1085,6 +1105,10 @@ def __init__(self, api_client=None): ('include',): { "USERIDENTIFIERS": "userIdentifiers", + "VISUALIZATIONOBJECTS": "visualizationObjects", + "LABELS": "labels", + "DATASETS": "datasets", + "METRICS": "metrics", "CREATEDBY": "createdBy", "MODIFIEDBY": "modifiedBy", "ALL": "ALL" @@ -1177,6 +1201,10 @@ def __init__(self, api_client=None): ('include',): { "USERIDENTIFIERS": "userIdentifiers", + "VISUALIZATIONOBJECTS": "visualizationObjects", + "LABELS": "labels", + "DATASETS": "datasets", + "METRICS": "metrics", "CREATEDBY": "createdBy", "MODIFIEDBY": "modifiedBy", "ALL": "ALL" @@ -1347,6 +1375,10 @@ def __init__(self, api_client=None): ('include',): { "USERIDENTIFIERS": "userIdentifiers", + "VISUALIZATIONOBJECTS": "visualizationObjects", + "LABELS": "labels", + "DATASETS": "datasets", + "METRICS": "metrics", "CREATEDBY": "createdBy", "MODIFIEDBY": "modifiedBy", "ALL": "ALL" @@ -1504,6 +1536,10 @@ def __init__(self, api_client=None): ('include',): { "USERIDENTIFIERS": "userIdentifiers", + "VISUALIZATIONOBJECTS": "visualizationObjects", + "LABELS": "labels", + "DATASETS": "datasets", + "METRICS": "metrics", "CREATEDBY": "createdBy", "MODIFIEDBY": "modifiedBy", "ALL": "ALL" @@ -1674,6 +1710,10 @@ def __init__(self, api_client=None): ('include',): { "USERIDENTIFIERS": "userIdentifiers", + "VISUALIZATIONOBJECTS": "visualizationObjects", + "LABELS": "labels", + "DATASETS": "datasets", + "METRICS": "metrics", "CREATEDBY": "createdBy", "MODIFIEDBY": "modifiedBy", "ALL": "ALL" diff --git a/gooddata-api-client/gooddata_api_client/model/afm.py b/gooddata-api-client/gooddata_api_client/model/afm.py index 59915a33ad..8635835f81 100644 --- a/gooddata-api-client/gooddata_api_client/model/afm.py +++ b/gooddata-api-client/gooddata_api_client/model/afm.py @@ -166,7 +166,7 @@ def _from_openapi_data(cls, attributes, filters, measures, *args, **kwargs): # _visited_composed_classes = (Animal,) aux_measures ([MeasureItem]): Metrics to be referenced from other AFM objects (e.g. filters) but not included in the result.. [optional] # noqa: E501 measure_definition_overrides ([MetricDefinitionOverride]): (EXPERIMENTAL) Override definitions of catalog metrics for this request. Allows substituting a catalog metric's MAQL definition without modifying the stored definition.. [optional] # noqa: E501 - parameters ([ParameterItem]): (EXPERIMENTAL) Parameter values to use for this execution.. [optional] # noqa: E501 + parameters ([ParameterItem]): Parameter values to use for this execution.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -262,7 +262,7 @@ def __init__(self, attributes, filters, measures, *args, **kwargs): # noqa: E50 _visited_composed_classes = (Animal,) aux_measures ([MeasureItem]): Metrics to be referenced from other AFM objects (e.g. filters) but not included in the result.. [optional] # noqa: E501 measure_definition_overrides ([MetricDefinitionOverride]): (EXPERIMENTAL) Override definitions of catalog metrics for this request. Allows substituting a catalog metric's MAQL definition without modifying the stored definition.. [optional] # noqa: E501 - parameters ([ParameterItem]): (EXPERIMENTAL) Parameter values to use for this execution.. [optional] # noqa: E501 + parameters ([ParameterItem]): Parameter values to use for this execution.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) 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 38ecddfc25..33e0fb57a8 100644 --- a/gooddata-api-client/gooddata_api_client/model/dashboard_filter.py +++ b/gooddata-api-client/gooddata_api_client/model/dashboard_filter.py @@ -41,6 +41,8 @@ def lazy_import(): from gooddata_api_client.model.dashboard_match_attribute_filter_match_attribute_filter import DashboardMatchAttributeFilterMatchAttributeFilter from gooddata_api_client.model.dashboard_measure_value_filter import DashboardMeasureValueFilter from gooddata_api_client.model.dashboard_measure_value_filter_dashboard_measure_value_filter import DashboardMeasureValueFilterDashboardMeasureValueFilter + from gooddata_api_client.model.dashboard_parameterized_date_filter import DashboardParameterizedDateFilter + from gooddata_api_client.model.dashboard_parameterized_date_filter_dashboard_parameterized_date_filter import DashboardParameterizedDateFilterDashboardParameterizedDateFilter globals()['DashboardArbitraryAttributeFilter'] = DashboardArbitraryAttributeFilter globals()['DashboardArbitraryAttributeFilterArbitraryAttributeFilter'] = DashboardArbitraryAttributeFilterArbitraryAttributeFilter globals()['DashboardAttributeFilter'] = DashboardAttributeFilter @@ -51,6 +53,8 @@ def lazy_import(): globals()['DashboardMatchAttributeFilterMatchAttributeFilter'] = DashboardMatchAttributeFilterMatchAttributeFilter globals()['DashboardMeasureValueFilter'] = DashboardMeasureValueFilter globals()['DashboardMeasureValueFilterDashboardMeasureValueFilter'] = DashboardMeasureValueFilterDashboardMeasureValueFilter + globals()['DashboardParameterizedDateFilter'] = DashboardParameterizedDateFilter + globals()['DashboardParameterizedDateFilterDashboardParameterizedDateFilter'] = DashboardParameterizedDateFilterDashboardParameterizedDateFilter class DashboardFilter(ModelComposed): @@ -108,6 +112,7 @@ def openapi_types(): return { 'attribute_filter': (DashboardAttributeFilterAttributeFilter,), # noqa: E501 'date_filter': (DashboardDateFilterDateFilter,), # noqa: E501 + 'dashboard_parameterized_date_filter': (DashboardParameterizedDateFilterDashboardParameterizedDateFilter,), # noqa: E501 'arbitrary_attribute_filter': (DashboardArbitraryAttributeFilterArbitraryAttributeFilter,), # noqa: E501 'match_attribute_filter': (DashboardMatchAttributeFilterMatchAttributeFilter,), # noqa: E501 'dashboard_measure_value_filter': (DashboardMeasureValueFilterDashboardMeasureValueFilter,), # noqa: E501 @@ -121,6 +126,7 @@ def discriminator(): attribute_map = { 'attribute_filter': 'attributeFilter', # noqa: E501 'date_filter': 'dateFilter', # noqa: E501 + 'dashboard_parameterized_date_filter': 'dashboardParameterizedDateFilter', # noqa: E501 'arbitrary_attribute_filter': 'arbitraryAttributeFilter', # noqa: E501 'match_attribute_filter': 'matchAttributeFilter', # noqa: E501 'dashboard_measure_value_filter': 'dashboardMeasureValueFilter', # noqa: E501 @@ -167,6 +173,7 @@ 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 + dashboard_parameterized_date_filter (DashboardParameterizedDateFilterDashboardParameterizedDateFilter): [optional] # noqa: E501 arbitrary_attribute_filter (DashboardArbitraryAttributeFilterArbitraryAttributeFilter): [optional] # noqa: E501 match_attribute_filter (DashboardMatchAttributeFilterMatchAttributeFilter): [optional] # noqa: E501 dashboard_measure_value_filter (DashboardMeasureValueFilterDashboardMeasureValueFilter): [optional] # noqa: E501 @@ -275,6 +282,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) attribute_filter (DashboardAttributeFilterAttributeFilter): [optional] # noqa: E501 date_filter (DashboardDateFilterDateFilter): [optional] # noqa: E501 + dashboard_parameterized_date_filter (DashboardParameterizedDateFilterDashboardParameterizedDateFilter): [optional] # noqa: E501 arbitrary_attribute_filter (DashboardArbitraryAttributeFilterArbitraryAttributeFilter): [optional] # noqa: E501 match_attribute_filter (DashboardMatchAttributeFilterMatchAttributeFilter): [optional] # noqa: E501 dashboard_measure_value_filter (DashboardMeasureValueFilterDashboardMeasureValueFilter): [optional] # noqa: E501 @@ -354,5 +362,6 @@ def _composed_schemas(): DashboardDateFilter, DashboardMatchAttributeFilter, DashboardMeasureValueFilter, + DashboardParameterizedDateFilter, ], } diff --git a/gooddata-api-client/gooddata_api_client/model/dashboard_parameterized_date_filter.py b/gooddata-api-client/gooddata_api_client/model/dashboard_parameterized_date_filter.py new file mode 100644 index 0000000000..5dfbe450de --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/dashboard_parameterized_date_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_parameterized_date_filter_dashboard_parameterized_date_filter import DashboardParameterizedDateFilterDashboardParameterizedDateFilter + globals()['DashboardParameterizedDateFilterDashboardParameterizedDateFilter'] = DashboardParameterizedDateFilterDashboardParameterizedDateFilter + + +class DashboardParameterizedDateFilter(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 { + 'dashboard_parameterized_date_filter': (DashboardParameterizedDateFilterDashboardParameterizedDateFilter,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'dashboard_parameterized_date_filter': 'dashboardParameterizedDateFilter', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, dashboard_parameterized_date_filter, *args, **kwargs): # noqa: E501 + """DashboardParameterizedDateFilter - a model defined in OpenAPI + + Args: + dashboard_parameterized_date_filter (DashboardParameterizedDateFilterDashboardParameterizedDateFilter): + + 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.dashboard_parameterized_date_filter = dashboard_parameterized_date_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, dashboard_parameterized_date_filter, *args, **kwargs): # noqa: E501 + """DashboardParameterizedDateFilter - a model defined in OpenAPI + + Args: + dashboard_parameterized_date_filter (DashboardParameterizedDateFilterDashboardParameterizedDateFilter): + + 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.dashboard_parameterized_date_filter = dashboard_parameterized_date_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_parameterized_date_filter_dashboard_parameterized_date_filter.py b/gooddata-api-client/gooddata_api_client/model/dashboard_parameterized_date_filter_dashboard_parameterized_date_filter.py new file mode 100644 index 0000000000..5d5c0c69bd --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/dashboard_parameterized_date_filter_dashboard_parameterized_date_filter.py @@ -0,0 +1,293 @@ +""" + 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 DashboardParameterizedDateFilterDashboardParameterizedDateFilter(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 = { + ('empty_value_handling',): { + 'INCLUDE': "include", + 'EXCLUDE': "exclude", + 'ONLY': "only", + }, + } + + 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 { + 'parameter': (IdentifierRef,), # noqa: E501 + 'data_set': (IdentifierRef,), # noqa: E501 + 'empty_value_handling': (str,), # noqa: E501 + 'local_identifier': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'parameter': 'parameter', # noqa: E501 + 'data_set': 'dataSet', # noqa: E501 + 'empty_value_handling': 'emptyValueHandling', # noqa: E501 + 'local_identifier': 'localIdentifier', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, parameter, *args, **kwargs): # noqa: E501 + """DashboardParameterizedDateFilterDashboardParameterizedDateFilter - a model defined in OpenAPI + + Args: + parameter (IdentifierRef): + + 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,) + data_set (IdentifierRef): [optional] # noqa: E501 + empty_value_handling (str): [optional] # noqa: E501 + local_identifier (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.parameter = parameter + 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, parameter, *args, **kwargs): # noqa: E501 + """DashboardParameterizedDateFilterDashboardParameterizedDateFilter - a model defined in OpenAPI + + Args: + parameter (IdentifierRef): + + 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,) + data_set (IdentifierRef): [optional] # noqa: E501 + empty_value_handling (str): [optional] # noqa: E501 + local_identifier (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.parameter = parameter + 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/dependent_entities_node.py b/gooddata-api-client/gooddata_api_client/model/dependent_entities_node.py index 613eb1ee74..beeaf2fb10 100644 --- a/gooddata-api-client/gooddata_api_client/model/dependent_entities_node.py +++ b/gooddata-api-client/gooddata_api_client/model/dependent_entities_node.py @@ -74,7 +74,9 @@ class DependentEntitiesNode(ModelNormal): 'VISUALIZATIONOBJECT': "visualizationObject", 'FILTERCONTEXT': "filterContext", 'FILTERVIEW': "filterView", + 'PAGETEMPLATE': "pageTemplate", 'DOCUMENT': "document", + 'DOCUMENTTEMPLATE': "documentTemplate", }, } diff --git a/gooddata-api-client/gooddata_api_client/model/elements_request.py b/gooddata-api-client/gooddata_api_client/model/elements_request.py index 803c5ef885..9ec2706b60 100644 --- a/gooddata-api-client/gooddata_api_client/model/elements_request.py +++ b/gooddata-api-client/gooddata_api_client/model/elements_request.py @@ -187,7 +187,7 @@ def _from_openapi_data(cls, label, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) cache_id (str): If specified, the element data will be taken from the result with the same cacheId if it is available.. [optional] # noqa: E501 complement_filter (bool): Inverse filters: * ```false``` - return items matching ```patternFilter``` and ```exactFilter``` * ```true``` - return items not matching ```patternFilter``` and ```exactFilter```. [optional] if omitted the server will use the default value of False # noqa: E501 - data_sampling_percentage (float): Specifies percentage of source table data scanned during the computation. This field is deprecated and is no longer used during the elements computation.. [optional] if omitted the server will use the default value of 100.0 # noqa: E501 + data_sampling_percentage (float): Specifies percentage of source table data scanned during the computation. This field is deprecated and is no longer used during the elements computation.. [optional] if omitted the server will use the default value of 100 # noqa: E501 depends_on ([ElementsRequestDependsOnInner]): Return only items that are not filtered-out by the parent filters.. [optional] # noqa: E501 exact_filter ([str, none_type]): Return only items, whose ```label``` title exactly matches one of ```filter```.. [optional] # noqa: E501 exclude_primary_label (bool): Excludes items from the result that differ only by primary label * ```false``` - return items with distinct primary label * ```true``` - return items with distinct requested label. [optional] if omitted the server will use the default value of False # noqa: E501 @@ -288,7 +288,7 @@ def __init__(self, label, *args, **kwargs): # noqa: E501 _visited_composed_classes = (Animal,) cache_id (str): If specified, the element data will be taken from the result with the same cacheId if it is available.. [optional] # noqa: E501 complement_filter (bool): Inverse filters: * ```false``` - return items matching ```patternFilter``` and ```exactFilter``` * ```true``` - return items not matching ```patternFilter``` and ```exactFilter```. [optional] if omitted the server will use the default value of False # noqa: E501 - data_sampling_percentage (float): Specifies percentage of source table data scanned during the computation. This field is deprecated and is no longer used during the elements computation.. [optional] if omitted the server will use the default value of 100.0 # noqa: E501 + data_sampling_percentage (float): Specifies percentage of source table data scanned during the computation. This field is deprecated and is no longer used during the elements computation.. [optional] if omitted the server will use the default value of 100 # noqa: E501 depends_on ([ElementsRequestDependsOnInner]): Return only items that are not filtered-out by the parent filters.. [optional] # noqa: E501 exact_filter ([str, none_type]): Return only items, whose ```label``` title exactly matches one of ```filter```.. [optional] # noqa: E501 exclude_primary_label (bool): Excludes items from the result that differ only by primary label * ```false``` - return items with distinct primary label * ```true``` - return items with distinct requested label. [optional] if omitted the server will use the default value of False # noqa: E501 diff --git a/gooddata-api-client/gooddata_api_client/model/entity_identifier.py b/gooddata-api-client/gooddata_api_client/model/entity_identifier.py index d310536633..d206f4cbae 100644 --- a/gooddata-api-client/gooddata_api_client/model/entity_identifier.py +++ b/gooddata-api-client/gooddata_api_client/model/entity_identifier.py @@ -74,7 +74,9 @@ class EntityIdentifier(ModelNormal): 'VISUALIZATIONOBJECT': "visualizationObject", 'FILTERCONTEXT': "filterContext", 'FILTERVIEW': "filterView", + 'PAGETEMPLATE': "pageTemplate", 'DOCUMENT': "document", + 'DOCUMENTTEMPLATE': "documentTemplate", }, } diff --git a/gooddata-api-client/gooddata_api_client/model/forecast_request.py b/gooddata-api-client/gooddata_api_client/model/forecast_request.py index 24e847cca2..a11a360db5 100644 --- a/gooddata-api-client/gooddata_api_client/model/forecast_request.py +++ b/gooddata-api-client/gooddata_api_client/model/forecast_request.py @@ -60,8 +60,8 @@ class ForecastRequest(ModelNormal): validations = { ('confidence_level',): { - 'exclusive_maximum''inclusive_maximum': 1.0, - 'exclusive_minimum''inclusive_minimum': 0.0, + 'exclusive_maximum''inclusive_maximum': 1, + 'exclusive_minimum''inclusive_minimum': 0, }, } diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_publisher_document_page_template_out.py b/gooddata-api-client/gooddata_api_client/model/json_api_publisher_document_page_template_out.py index 21ee61c4c7..a727496625 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_publisher_document_page_template_out.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_publisher_document_page_template_out.py @@ -32,10 +32,10 @@ def lazy_import(): from gooddata_api_client.model.json_api_aggregated_fact_out_meta import JsonApiAggregatedFactOutMeta - from gooddata_api_client.model.json_api_dashboard_plugin_out_relationships import JsonApiDashboardPluginOutRelationships + from gooddata_api_client.model.json_api_publisher_document_out_relationships import JsonApiPublisherDocumentOutRelationships from gooddata_api_client.model.json_api_publisher_document_page_template_out_attributes import JsonApiPublisherDocumentPageTemplateOutAttributes globals()['JsonApiAggregatedFactOutMeta'] = JsonApiAggregatedFactOutMeta - globals()['JsonApiDashboardPluginOutRelationships'] = JsonApiDashboardPluginOutRelationships + globals()['JsonApiPublisherDocumentOutRelationships'] = JsonApiPublisherDocumentOutRelationships globals()['JsonApiPublisherDocumentPageTemplateOutAttributes'] = JsonApiPublisherDocumentPageTemplateOutAttributes @@ -104,7 +104,7 @@ def openapi_types(): 'id': (str,), # noqa: E501 'type': (str,), # noqa: E501 'meta': (JsonApiAggregatedFactOutMeta,), # noqa: E501 - 'relationships': (JsonApiDashboardPluginOutRelationships,), # noqa: E501 + 'relationships': (JsonApiPublisherDocumentOutRelationships,), # noqa: E501 } @cached_property @@ -167,7 +167,7 @@ def _from_openapi_data(cls, attributes, id, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) meta (JsonApiAggregatedFactOutMeta): [optional] # noqa: E501 - relationships (JsonApiDashboardPluginOutRelationships): [optional] # noqa: E501 + relationships (JsonApiPublisherDocumentOutRelationships): [optional] # noqa: E501 """ type = kwargs.get('type', "pageTemplate") @@ -263,7 +263,7 @@ def __init__(self, attributes, id, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) meta (JsonApiAggregatedFactOutMeta): [optional] # noqa: E501 - relationships (JsonApiDashboardPluginOutRelationships): [optional] # noqa: E501 + relationships (JsonApiPublisherDocumentOutRelationships): [optional] # noqa: E501 """ type = kwargs.get('type', "pageTemplate") diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_publisher_document_page_template_out_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_publisher_document_page_template_out_document.py index 468f567ff6..7632ec1a5c 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_publisher_document_page_template_out_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_publisher_document_page_template_out_document.py @@ -32,12 +32,12 @@ def lazy_import(): from gooddata_api_client.model.json_api_agent_out_document_meta import JsonApiAgentOutDocumentMeta + from gooddata_api_client.model.json_api_publisher_document_out_includes import JsonApiPublisherDocumentOutIncludes from gooddata_api_client.model.json_api_publisher_document_page_template_out import JsonApiPublisherDocumentPageTemplateOut - from gooddata_api_client.model.json_api_user_identifier_out_with_links import JsonApiUserIdentifierOutWithLinks from gooddata_api_client.model.object_links import ObjectLinks globals()['JsonApiAgentOutDocumentMeta'] = JsonApiAgentOutDocumentMeta + globals()['JsonApiPublisherDocumentOutIncludes'] = JsonApiPublisherDocumentOutIncludes globals()['JsonApiPublisherDocumentPageTemplateOut'] = JsonApiPublisherDocumentPageTemplateOut - globals()['JsonApiUserIdentifierOutWithLinks'] = JsonApiUserIdentifierOutWithLinks globals()['ObjectLinks'] = ObjectLinks @@ -97,7 +97,7 @@ def openapi_types(): lazy_import() return { 'data': (JsonApiPublisherDocumentPageTemplateOut,), # noqa: E501 - 'included': ([JsonApiUserIdentifierOutWithLinks],), # noqa: E501 + 'included': ([JsonApiPublisherDocumentOutIncludes],), # noqa: E501 'links': (ObjectLinks,), # noqa: E501 'meta': (JsonApiAgentOutDocumentMeta,), # noqa: E501 } @@ -158,7 +158,7 @@ def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - included ([JsonApiUserIdentifierOutWithLinks]): Included resources. [optional] # noqa: E501 + included ([JsonApiPublisherDocumentOutIncludes]): Included resources. [optional] # noqa: E501 links (ObjectLinks): [optional] # noqa: E501 meta (JsonApiAgentOutDocumentMeta): [optional] # noqa: E501 """ @@ -250,7 +250,7 @@ def __init__(self, data, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - included ([JsonApiUserIdentifierOutWithLinks]): Included resources. [optional] # noqa: E501 + included ([JsonApiPublisherDocumentOutIncludes]): Included resources. [optional] # noqa: E501 links (ObjectLinks): [optional] # noqa: E501 meta (JsonApiAgentOutDocumentMeta): [optional] # noqa: E501 """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_publisher_document_page_template_out_list.py b/gooddata-api-client/gooddata_api_client/model/json_api_publisher_document_page_template_out_list.py index 3a2e0bea15..a1ebe0199a 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_publisher_document_page_template_out_list.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_publisher_document_page_template_out_list.py @@ -32,12 +32,12 @@ def lazy_import(): from gooddata_api_client.model.json_api_agent_out_list_meta import JsonApiAgentOutListMeta + from gooddata_api_client.model.json_api_publisher_document_out_includes import JsonApiPublisherDocumentOutIncludes from gooddata_api_client.model.json_api_publisher_document_page_template_out_with_links import JsonApiPublisherDocumentPageTemplateOutWithLinks - from gooddata_api_client.model.json_api_user_identifier_out_with_links import JsonApiUserIdentifierOutWithLinks from gooddata_api_client.model.list_links import ListLinks globals()['JsonApiAgentOutListMeta'] = JsonApiAgentOutListMeta + globals()['JsonApiPublisherDocumentOutIncludes'] = JsonApiPublisherDocumentOutIncludes globals()['JsonApiPublisherDocumentPageTemplateOutWithLinks'] = JsonApiPublisherDocumentPageTemplateOutWithLinks - globals()['JsonApiUserIdentifierOutWithLinks'] = JsonApiUserIdentifierOutWithLinks globals()['ListLinks'] = ListLinks @@ -99,7 +99,7 @@ def openapi_types(): lazy_import() return { 'data': ([JsonApiPublisherDocumentPageTemplateOutWithLinks],), # noqa: E501 - 'included': ([JsonApiUserIdentifierOutWithLinks],), # noqa: E501 + 'included': ([JsonApiPublisherDocumentOutIncludes],), # noqa: E501 'links': (ListLinks,), # noqa: E501 'meta': (JsonApiAgentOutListMeta,), # noqa: E501 } @@ -160,7 +160,7 @@ def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - included ([JsonApiUserIdentifierOutWithLinks]): Included resources. [optional] # noqa: E501 + included ([JsonApiPublisherDocumentOutIncludes]): Included resources. [optional] # noqa: E501 links (ListLinks): [optional] # noqa: E501 meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ @@ -252,7 +252,7 @@ def __init__(self, data, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - included ([JsonApiUserIdentifierOutWithLinks]): Included resources. [optional] # noqa: E501 + included ([JsonApiPublisherDocumentOutIncludes]): Included resources. [optional] # noqa: E501 links (ListLinks): [optional] # noqa: E501 meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_publisher_document_page_template_out_with_links.py b/gooddata-api-client/gooddata_api_client/model/json_api_publisher_document_page_template_out_with_links.py index fb0745caae..d409c849f5 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_publisher_document_page_template_out_with_links.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_publisher_document_page_template_out_with_links.py @@ -32,13 +32,13 @@ def lazy_import(): from gooddata_api_client.model.json_api_aggregated_fact_out_meta import JsonApiAggregatedFactOutMeta - from gooddata_api_client.model.json_api_dashboard_plugin_out_relationships import JsonApiDashboardPluginOutRelationships + from gooddata_api_client.model.json_api_publisher_document_out_relationships import JsonApiPublisherDocumentOutRelationships from gooddata_api_client.model.json_api_publisher_document_page_template_out import JsonApiPublisherDocumentPageTemplateOut from gooddata_api_client.model.json_api_publisher_document_page_template_out_attributes import JsonApiPublisherDocumentPageTemplateOutAttributes from gooddata_api_client.model.object_links import ObjectLinks from gooddata_api_client.model.object_links_container import ObjectLinksContainer globals()['JsonApiAggregatedFactOutMeta'] = JsonApiAggregatedFactOutMeta - globals()['JsonApiDashboardPluginOutRelationships'] = JsonApiDashboardPluginOutRelationships + globals()['JsonApiPublisherDocumentOutRelationships'] = JsonApiPublisherDocumentOutRelationships globals()['JsonApiPublisherDocumentPageTemplateOut'] = JsonApiPublisherDocumentPageTemplateOut globals()['JsonApiPublisherDocumentPageTemplateOutAttributes'] = JsonApiPublisherDocumentPageTemplateOutAttributes globals()['ObjectLinks'] = ObjectLinks @@ -110,7 +110,7 @@ def openapi_types(): 'id': (str,), # noqa: E501 'type': (str,), # noqa: E501 'meta': (JsonApiAggregatedFactOutMeta,), # noqa: E501 - 'relationships': (JsonApiDashboardPluginOutRelationships,), # noqa: E501 + 'relationships': (JsonApiPublisherDocumentOutRelationships,), # noqa: E501 'links': (ObjectLinks,), # noqa: E501 } @@ -171,7 +171,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) meta (JsonApiAggregatedFactOutMeta): [optional] # noqa: E501 - relationships (JsonApiDashboardPluginOutRelationships): [optional] # noqa: E501 + relationships (JsonApiPublisherDocumentOutRelationships): [optional] # noqa: E501 links (ObjectLinks): [optional] # noqa: E501 """ @@ -281,7 +281,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) meta (JsonApiAggregatedFactOutMeta): [optional] # noqa: E501 - relationships (JsonApiDashboardPluginOutRelationships): [optional] # noqa: E501 + relationships (JsonApiPublisherDocumentOutRelationships): [optional] # noqa: E501 links (ObjectLinks): [optional] # noqa: E501 """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_publisher_document_template_out.py b/gooddata-api-client/gooddata_api_client/model/json_api_publisher_document_template_out.py index e29f444b2c..b2531d21a1 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_publisher_document_template_out.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_publisher_document_template_out.py @@ -32,10 +32,10 @@ def lazy_import(): from gooddata_api_client.model.json_api_aggregated_fact_out_meta import JsonApiAggregatedFactOutMeta - from gooddata_api_client.model.json_api_dashboard_plugin_out_relationships import JsonApiDashboardPluginOutRelationships + from gooddata_api_client.model.json_api_publisher_document_out_relationships import JsonApiPublisherDocumentOutRelationships from gooddata_api_client.model.json_api_publisher_document_template_out_attributes import JsonApiPublisherDocumentTemplateOutAttributes globals()['JsonApiAggregatedFactOutMeta'] = JsonApiAggregatedFactOutMeta - globals()['JsonApiDashboardPluginOutRelationships'] = JsonApiDashboardPluginOutRelationships + globals()['JsonApiPublisherDocumentOutRelationships'] = JsonApiPublisherDocumentOutRelationships globals()['JsonApiPublisherDocumentTemplateOutAttributes'] = JsonApiPublisherDocumentTemplateOutAttributes @@ -104,7 +104,7 @@ def openapi_types(): 'id': (str,), # noqa: E501 'type': (str,), # noqa: E501 'meta': (JsonApiAggregatedFactOutMeta,), # noqa: E501 - 'relationships': (JsonApiDashboardPluginOutRelationships,), # noqa: E501 + 'relationships': (JsonApiPublisherDocumentOutRelationships,), # noqa: E501 } @cached_property @@ -167,7 +167,7 @@ def _from_openapi_data(cls, attributes, id, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) meta (JsonApiAggregatedFactOutMeta): [optional] # noqa: E501 - relationships (JsonApiDashboardPluginOutRelationships): [optional] # noqa: E501 + relationships (JsonApiPublisherDocumentOutRelationships): [optional] # noqa: E501 """ type = kwargs.get('type', "documentTemplate") @@ -263,7 +263,7 @@ def __init__(self, attributes, id, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) meta (JsonApiAggregatedFactOutMeta): [optional] # noqa: E501 - relationships (JsonApiDashboardPluginOutRelationships): [optional] # noqa: E501 + relationships (JsonApiPublisherDocumentOutRelationships): [optional] # noqa: E501 """ type = kwargs.get('type', "documentTemplate") diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_publisher_document_template_out_document.py b/gooddata-api-client/gooddata_api_client/model/json_api_publisher_document_template_out_document.py index e370f50cd3..156282dc91 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_publisher_document_template_out_document.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_publisher_document_template_out_document.py @@ -32,12 +32,12 @@ def lazy_import(): from gooddata_api_client.model.json_api_agent_out_document_meta import JsonApiAgentOutDocumentMeta + from gooddata_api_client.model.json_api_publisher_document_out_includes import JsonApiPublisherDocumentOutIncludes from gooddata_api_client.model.json_api_publisher_document_template_out import JsonApiPublisherDocumentTemplateOut - from gooddata_api_client.model.json_api_user_identifier_out_with_links import JsonApiUserIdentifierOutWithLinks from gooddata_api_client.model.object_links import ObjectLinks globals()['JsonApiAgentOutDocumentMeta'] = JsonApiAgentOutDocumentMeta + globals()['JsonApiPublisherDocumentOutIncludes'] = JsonApiPublisherDocumentOutIncludes globals()['JsonApiPublisherDocumentTemplateOut'] = JsonApiPublisherDocumentTemplateOut - globals()['JsonApiUserIdentifierOutWithLinks'] = JsonApiUserIdentifierOutWithLinks globals()['ObjectLinks'] = ObjectLinks @@ -97,7 +97,7 @@ def openapi_types(): lazy_import() return { 'data': (JsonApiPublisherDocumentTemplateOut,), # noqa: E501 - 'included': ([JsonApiUserIdentifierOutWithLinks],), # noqa: E501 + 'included': ([JsonApiPublisherDocumentOutIncludes],), # noqa: E501 'links': (ObjectLinks,), # noqa: E501 'meta': (JsonApiAgentOutDocumentMeta,), # noqa: E501 } @@ -158,7 +158,7 @@ def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - included ([JsonApiUserIdentifierOutWithLinks]): Included resources. [optional] # noqa: E501 + included ([JsonApiPublisherDocumentOutIncludes]): Included resources. [optional] # noqa: E501 links (ObjectLinks): [optional] # noqa: E501 meta (JsonApiAgentOutDocumentMeta): [optional] # noqa: E501 """ @@ -250,7 +250,7 @@ def __init__(self, data, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - included ([JsonApiUserIdentifierOutWithLinks]): Included resources. [optional] # noqa: E501 + included ([JsonApiPublisherDocumentOutIncludes]): Included resources. [optional] # noqa: E501 links (ObjectLinks): [optional] # noqa: E501 meta (JsonApiAgentOutDocumentMeta): [optional] # noqa: E501 """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_publisher_document_template_out_list.py b/gooddata-api-client/gooddata_api_client/model/json_api_publisher_document_template_out_list.py index 27d40261bc..ff0bd3a785 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_publisher_document_template_out_list.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_publisher_document_template_out_list.py @@ -32,12 +32,12 @@ def lazy_import(): from gooddata_api_client.model.json_api_agent_out_list_meta import JsonApiAgentOutListMeta + from gooddata_api_client.model.json_api_publisher_document_out_includes import JsonApiPublisherDocumentOutIncludes from gooddata_api_client.model.json_api_publisher_document_template_out_with_links import JsonApiPublisherDocumentTemplateOutWithLinks - from gooddata_api_client.model.json_api_user_identifier_out_with_links import JsonApiUserIdentifierOutWithLinks from gooddata_api_client.model.list_links import ListLinks globals()['JsonApiAgentOutListMeta'] = JsonApiAgentOutListMeta + globals()['JsonApiPublisherDocumentOutIncludes'] = JsonApiPublisherDocumentOutIncludes globals()['JsonApiPublisherDocumentTemplateOutWithLinks'] = JsonApiPublisherDocumentTemplateOutWithLinks - globals()['JsonApiUserIdentifierOutWithLinks'] = JsonApiUserIdentifierOutWithLinks globals()['ListLinks'] = ListLinks @@ -99,7 +99,7 @@ def openapi_types(): lazy_import() return { 'data': ([JsonApiPublisherDocumentTemplateOutWithLinks],), # noqa: E501 - 'included': ([JsonApiUserIdentifierOutWithLinks],), # noqa: E501 + 'included': ([JsonApiPublisherDocumentOutIncludes],), # noqa: E501 'links': (ListLinks,), # noqa: E501 'meta': (JsonApiAgentOutListMeta,), # noqa: E501 } @@ -160,7 +160,7 @@ def _from_openapi_data(cls, data, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - included ([JsonApiUserIdentifierOutWithLinks]): Included resources. [optional] # noqa: E501 + included ([JsonApiPublisherDocumentOutIncludes]): Included resources. [optional] # noqa: E501 links (ListLinks): [optional] # noqa: E501 meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ @@ -252,7 +252,7 @@ def __init__(self, data, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - included ([JsonApiUserIdentifierOutWithLinks]): Included resources. [optional] # noqa: E501 + included ([JsonApiPublisherDocumentOutIncludes]): Included resources. [optional] # noqa: E501 links (ListLinks): [optional] # noqa: E501 meta (JsonApiAgentOutListMeta): [optional] # noqa: E501 """ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_publisher_document_template_out_with_links.py b/gooddata-api-client/gooddata_api_client/model/json_api_publisher_document_template_out_with_links.py index 1b604b1db6..43640168ab 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_publisher_document_template_out_with_links.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_publisher_document_template_out_with_links.py @@ -32,13 +32,13 @@ def lazy_import(): from gooddata_api_client.model.json_api_aggregated_fact_out_meta import JsonApiAggregatedFactOutMeta - from gooddata_api_client.model.json_api_dashboard_plugin_out_relationships import JsonApiDashboardPluginOutRelationships + from gooddata_api_client.model.json_api_publisher_document_out_relationships import JsonApiPublisherDocumentOutRelationships from gooddata_api_client.model.json_api_publisher_document_template_out import JsonApiPublisherDocumentTemplateOut from gooddata_api_client.model.json_api_publisher_document_template_out_attributes import JsonApiPublisherDocumentTemplateOutAttributes from gooddata_api_client.model.object_links import ObjectLinks from gooddata_api_client.model.object_links_container import ObjectLinksContainer globals()['JsonApiAggregatedFactOutMeta'] = JsonApiAggregatedFactOutMeta - globals()['JsonApiDashboardPluginOutRelationships'] = JsonApiDashboardPluginOutRelationships + globals()['JsonApiPublisherDocumentOutRelationships'] = JsonApiPublisherDocumentOutRelationships globals()['JsonApiPublisherDocumentTemplateOut'] = JsonApiPublisherDocumentTemplateOut globals()['JsonApiPublisherDocumentTemplateOutAttributes'] = JsonApiPublisherDocumentTemplateOutAttributes globals()['ObjectLinks'] = ObjectLinks @@ -110,7 +110,7 @@ def openapi_types(): 'id': (str,), # noqa: E501 'type': (str,), # noqa: E501 'meta': (JsonApiAggregatedFactOutMeta,), # noqa: E501 - 'relationships': (JsonApiDashboardPluginOutRelationships,), # noqa: E501 + 'relationships': (JsonApiPublisherDocumentOutRelationships,), # noqa: E501 'links': (ObjectLinks,), # noqa: E501 } @@ -171,7 +171,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) meta (JsonApiAggregatedFactOutMeta): [optional] # noqa: E501 - relationships (JsonApiDashboardPluginOutRelationships): [optional] # noqa: E501 + relationships (JsonApiPublisherDocumentOutRelationships): [optional] # noqa: E501 links (ObjectLinks): [optional] # noqa: E501 """ @@ -281,7 +281,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) meta (JsonApiAggregatedFactOutMeta): [optional] # noqa: E501 - relationships (JsonApiDashboardPluginOutRelationships): [optional] # noqa: E501 + relationships (JsonApiPublisherDocumentOutRelationships): [optional] # noqa: E501 links (ObjectLinks): [optional] # noqa: E501 """ diff --git a/gooddata-api-client/gooddata_api_client/model/localization_metadata_statistics.py b/gooddata-api-client/gooddata_api_client/model/localization_metadata_statistics.py index 77504f99b3..d989a0e075 100644 --- a/gooddata-api-client/gooddata_api_client/model/localization_metadata_statistics.py +++ b/gooddata-api-client/gooddata_api_client/model/localization_metadata_statistics.py @@ -148,7 +148,7 @@ def _from_openapi_data(cls, locales, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - workspaces ([LocalizationStatisticsWorkspace]): (BETA) Translation counts of the workspace and each parent workspace that the user can see, root first. Present only with `includeCoverage=true` on the workspace endpoint.. [optional] # noqa: E501 + workspaces ([LocalizationStatisticsWorkspace]): (BETA) Translation counts of the workspace and each parent workspace, root first. Present only with `includeCoverage=true` on the workspace endpoint.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -238,7 +238,7 @@ def __init__(self, locales, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - workspaces ([LocalizationStatisticsWorkspace]): (BETA) Translation counts of the workspace and each parent workspace that the user can see, root first. Present only with `includeCoverage=true` on the workspace endpoint.. [optional] # noqa: E501 + workspaces ([LocalizationStatisticsWorkspace]): (BETA) Translation counts of the workspace and each parent workspace, root first. Present only with `includeCoverage=true` on the workspace endpoint.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/gooddata-api-client/gooddata_api_client/model/localization_statistics_workspace.py b/gooddata-api-client/gooddata_api_client/model/localization_statistics_workspace.py index 0183347819..dcedc6acbf 100644 --- a/gooddata-api-client/gooddata_api_client/model/localization_statistics_workspace.py +++ b/gooddata-api-client/gooddata_api_client/model/localization_statistics_workspace.py @@ -90,8 +90,8 @@ def openapi_types(): return { 'id': (str,), # noqa: E501 'locales': ([LocalizationStatisticsTranslatedLocale],), # noqa: E501 - 'name': (str,), # noqa: E501 'total': (int,), # noqa: E501 + 'name': (str, none_type,), # noqa: E501 'parent_id': (str, none_type,), # noqa: E501 } @@ -103,8 +103,8 @@ def discriminator(): attribute_map = { 'id': 'id', # noqa: E501 'locales': 'locales', # noqa: E501 - 'name': 'name', # noqa: E501 'total': 'total', # noqa: E501 + 'name': 'name', # noqa: E501 'parent_id': 'parentId', # noqa: E501 } @@ -115,13 +115,12 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, id, locales, name, total, *args, **kwargs): # noqa: E501 + def _from_openapi_data(cls, id, locales, total, *args, **kwargs): # noqa: E501 """LocalizationStatisticsWorkspace - a model defined in OpenAPI Args: id (str): Workspace ID. locales ([LocalizationStatisticsTranslatedLocale]): Every language of `metadata.locales`, sorted, with 0 where nothing is translated. - name (str): Workspace name. total (int): Titles, descriptions, tags and free-form texts the workspace owns. Blank texts are not counted. Keyword Args: @@ -155,6 +154,7 @@ def _from_openapi_data(cls, id, locales, name, total, *args, **kwargs): # noqa: Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + name (str, none_type): Workspace name. Null for a parent that the user has no permission on. The name stays when the user can see the workspace right below it.. [optional] # noqa: E501 parent_id (str, none_type): Parent workspace ID, null for a root workspace.. [optional] # noqa: E501 """ @@ -189,7 +189,6 @@ def _from_openapi_data(cls, id, locales, name, total, *args, **kwargs): # noqa: self.id = id self.locales = locales - self.name = name self.total = total for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ @@ -211,13 +210,12 @@ def _from_openapi_data(cls, id, locales, name, total, *args, **kwargs): # noqa: ]) @convert_js_args_to_python_args - def __init__(self, id, locales, name, total, *args, **kwargs): # noqa: E501 + def __init__(self, id, locales, total, *args, **kwargs): # noqa: E501 """LocalizationStatisticsWorkspace - a model defined in OpenAPI Args: id (str): Workspace ID. locales ([LocalizationStatisticsTranslatedLocale]): Every language of `metadata.locales`, sorted, with 0 where nothing is translated. - name (str): Workspace name. total (int): Titles, descriptions, tags and free-form texts the workspace owns. Blank texts are not counted. Keyword Args: @@ -251,6 +249,7 @@ def __init__(self, id, locales, name, total, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + name (str, none_type): Workspace name. Null for a parent that the user has no permission on. The name stays when the user can see the workspace right below it.. [optional] # noqa: E501 parent_id (str, none_type): Parent workspace ID, null for a root workspace.. [optional] # noqa: E501 """ @@ -283,7 +282,6 @@ def __init__(self, id, locales, name, total, *args, **kwargs): # noqa: E501 self.id = id self.locales = locales - self.name = name self.total = total for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ diff --git a/gooddata-api-client/gooddata_api_client/models/__init__.py b/gooddata-api-client/gooddata_api_client/models/__init__.py index ef0b6287c0..aeac65b88c 100644 --- a/gooddata-api-client/gooddata_api_client/models/__init__.py +++ b/gooddata-api-client/gooddata_api_client/models/__init__.py @@ -209,6 +209,8 @@ from gooddata_api_client.model.dashboard_match_attribute_filter_match_attribute_filter import DashboardMatchAttributeFilterMatchAttributeFilter from gooddata_api_client.model.dashboard_measure_value_filter import DashboardMeasureValueFilter from gooddata_api_client.model.dashboard_measure_value_filter_dashboard_measure_value_filter import DashboardMeasureValueFilterDashboardMeasureValueFilter +from gooddata_api_client.model.dashboard_parameterized_date_filter import DashboardParameterizedDateFilter +from gooddata_api_client.model.dashboard_parameterized_date_filter_dashboard_parameterized_date_filter import DashboardParameterizedDateFilterDashboardParameterizedDateFilter 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 diff --git a/schemas/gooddata-afm-client.json b/schemas/gooddata-afm-client.json index abc8b047d3..84eaa74e95 100644 --- a/schemas/gooddata-afm-client.json +++ b/schemas/gooddata-afm-client.json @@ -40,7 +40,7 @@ "type": "array" }, "parameters": { - "description": "(EXPERIMENTAL) Parameter values to use for this execution.", + "description": "Parameter values to use for this execution.", "items": { "$ref": "#/components/schemas/ParameterItem" }, @@ -1991,7 +1991,7 @@ "type": "boolean" }, "dataSamplingPercentage": { - "default": 100.0, + "default": 100, "deprecated": true, "description": "Specifies percentage of source table data scanned during the computation. This field is deprecated and is no longer used during the elements computation.", "format": "float", @@ -2209,7 +2209,7 @@ "description": "A multi-dimensional array of computed results. The most common one being a 2-dimensional array. The arrays can be composed of Double or null values.", "example": [ [ - 1.0, + 1, 2.5 ], [ @@ -2285,7 +2285,7 @@ "description": "A multi-dimensional array of computed results. The most common one being a 2-dimensional array. The arrays can be composed of Double or null values.", "example": [ [ - 1.0, + 1, 2.5 ], [ @@ -2898,8 +2898,8 @@ "exclusiveMaximum": true, "exclusiveMinimum": true, "format": "float", - "maximum": 1.0, - "minimum": 0.0, + "maximum": 1, + "minimum": 0, "type": "number" }, "forecastPeriod": { @@ -4366,7 +4366,7 @@ }, "ParameterItem": { "additionalProperties": true, - "description": "(EXPERIMENTAL) Parameter value for this execution.", + "description": "Parameter value for this execution.", "properties": { "parameter": { "$ref": "#/components/schemas/AfmObjectIdentifierParameter" diff --git a/schemas/gooddata-api-client.json b/schemas/gooddata-api-client.json index e810e789d3..1cba6dbee1 100644 --- a/schemas/gooddata-api-client.json +++ b/schemas/gooddata-api-client.json @@ -85,7 +85,7 @@ "type": "array" }, "parameters": { - "description": "(EXPERIMENTAL) Parameter values to use for this execution.", + "description": "Parameter values to use for this execution.", "items": { "$ref": "#/components/schemas/ParameterItem" }, @@ -4742,6 +4742,9 @@ { "$ref": "#/components/schemas/DashboardDateFilter" }, + { + "$ref": "#/components/schemas/DashboardParameterizedDateFilter" + }, { "$ref": "#/components/schemas/DashboardArbitraryAttributeFilter" }, @@ -4837,6 +4840,39 @@ ], "type": "object" }, + "DashboardParameterizedDateFilter": { + "properties": { + "dashboardParameterizedDateFilter": { + "properties": { + "dataSet": { + "$ref": "#/components/schemas/IdentifierRef" + }, + "emptyValueHandling": { + "enum": [ + "include", + "exclude", + "only" + ], + "type": "string" + }, + "localIdentifier": { + "type": "string" + }, + "parameter": { + "$ref": "#/components/schemas/IdentifierRef" + } + }, + "required": [ + "parameter" + ], + "type": "object" + } + }, + "required": [ + "dashboardParameterizedDateFilter" + ], + "type": "object" + }, "DashboardPermissions": { "properties": { "rules": { @@ -10464,7 +10500,9 @@ "visualizationObject", "filterContext", "filterView", - "document" + "pageTemplate", + "document", + "documentTemplate" ], "example": "metric", "type": "string" @@ -10676,7 +10714,7 @@ "type": "boolean" }, "dataSamplingPercentage": { - "default": 100.0, + "default": 100, "deprecated": true, "description": "Specifies percentage of source table data scanned during the computation. This field is deprecated and is no longer used during the elements computation.", "format": "float", @@ -10932,7 +10970,9 @@ "visualizationObject", "filterContext", "filterView", - "document" + "pageTemplate", + "document", + "documentTemplate" ], "example": "metric", "type": "string" @@ -11069,7 +11109,7 @@ "description": "A multi-dimensional array of computed results. The most common one being a 2-dimensional array. The arrays can be composed of Double or null values.", "example": [ [ - 1.0, + 1, 2.5 ], [ @@ -11145,7 +11185,7 @@ "description": "A multi-dimensional array of computed results. The most common one being a 2-dimensional array. The arrays can be composed of Double or null values.", "example": [ [ - 1.0, + 1, 2.5 ], [ @@ -12093,8 +12133,8 @@ "exclusiveMaximum": true, "exclusiveMinimum": true, "format": "float", - "maximum": 1.0, - "minimum": 0.0, + "maximum": 1, + "minimum": 0, "type": "number" }, "forecastPeriod": { @@ -24536,7 +24576,7 @@ }, "analyzedValue": { "description": "Metric value in the analyzed period (the observed value that triggered the anomaly)", - "example": 2.6E+9 + "example": 2600000000 }, "areRelationsValid": { "type": "boolean" @@ -24588,7 +24628,7 @@ }, "referenceValue": { "description": "Metric value in the reference period", - "example": 2.4E+9 + "example": 2400000000 }, "sourceCount": { "description": "Number of source documents used for generation", @@ -24710,7 +24750,7 @@ }, "analyzedValue": { "description": "Metric value in the analyzed period (the observed value that triggered the anomaly)", - "example": 2.6E+9 + "example": 2600000000 }, "areRelationsValid": { "type": "boolean" @@ -24766,7 +24806,7 @@ }, "referenceValue": { "description": "Metric value in the reference period", - "example": 2.4E+9 + "example": 2400000000 }, "sourceCount": { "description": "Number of source documents used for generation", @@ -24997,7 +25037,7 @@ }, "analyzedValue": { "description": "Metric value in the analyzed period (the observed value that triggered the anomaly)", - "example": 2.6E+9 + "example": 2600000000 }, "areRelationsValid": { "type": "boolean" @@ -25049,7 +25089,7 @@ }, "referenceValue": { "description": "Metric value in the reference period", - "example": 2.4E+9 + "example": 2400000000 }, "sourceCount": { "description": "Number of source documents used for generation", @@ -25163,7 +25203,7 @@ }, "analyzedValue": { "description": "Metric value in the analyzed period (the observed value that triggered the anomaly)", - "example": 2.6E+9 + "example": 2600000000 }, "areRelationsValid": { "type": "boolean" @@ -25215,7 +25255,7 @@ }, "referenceValue": { "description": "Metric value in the reference period", - "example": 2.4E+9 + "example": 2400000000 }, "sourceCount": { "description": "Number of source documents used for generation", @@ -30881,6 +30921,39 @@ ], "type": "object" }, + "datasets": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiDatasetToManyLinkage" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "labels": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiLabelToManyLinkage" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "metrics": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiMetricToManyLinkage" + } + }, + "required": [ + "data" + ], + "type": "object" + }, "modifiedBy": { "properties": { "data": { @@ -30891,6 +30964,17 @@ "data" ], "type": "object" + }, + "visualizationObjects": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiVisualizationObjectToManyLinkage" + } + }, + "required": [ + "data" + ], + "type": "object" } }, "type": "object" @@ -30919,7 +31003,7 @@ "included": { "description": "Included resources", "items": { - "$ref": "#/components/schemas/JsonApiUserIdentifierOutWithLinks" + "$ref": "#/components/schemas/JsonApiPublisherDocumentOutIncludes" }, "type": "array", "uniqueItems": true @@ -30959,7 +31043,7 @@ "included": { "description": "Included resources", "items": { - "$ref": "#/components/schemas/JsonApiUserIdentifierOutWithLinks" + "$ref": "#/components/schemas/JsonApiPublisherDocumentOutIncludes" }, "type": "array", "uniqueItems": true @@ -32484,6 +32568,39 @@ ], "type": "object" }, + "datasets": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiDatasetToManyLinkage" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "labels": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiLabelToManyLinkage" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "metrics": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiMetricToManyLinkage" + } + }, + "required": [ + "data" + ], + "type": "object" + }, "modifiedBy": { "properties": { "data": { @@ -32494,6 +32611,17 @@ "data" ], "type": "object" + }, + "visualizationObjects": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiVisualizationObjectToManyLinkage" + } + }, + "required": [ + "data" + ], + "type": "object" } }, "type": "object" @@ -32522,7 +32650,7 @@ "included": { "description": "Included resources", "items": { - "$ref": "#/components/schemas/JsonApiUserIdentifierOutWithLinks" + "$ref": "#/components/schemas/JsonApiPublisherDocumentOutIncludes" }, "type": "array", "uniqueItems": true @@ -32562,7 +32690,7 @@ "included": { "description": "Included resources", "items": { - "$ref": "#/components/schemas/JsonApiUserIdentifierOutWithLinks" + "$ref": "#/components/schemas/JsonApiPublisherDocumentOutIncludes" }, "type": "array", "uniqueItems": true @@ -43127,7 +43255,7 @@ "type": "array" }, "workspaces": { - "description": "(BETA) Translation counts of the workspace and each parent workspace that the user can see, root first. Present only with `includeCoverage=true` on the workspace endpoint.", + "description": "(BETA) Translation counts of the workspace and each parent workspace, root first. Present only with `includeCoverage=true` on the workspace endpoint.", "items": { "$ref": "#/components/schemas/LocalizationStatisticsWorkspace" }, @@ -43303,7 +43431,7 @@ "type": "object" }, "LocalizationStatisticsWorkspace": { - "description": "Metadata texts of one workspace. A row counts only the texts that the workspace owns. A child workspace sums its row and the rows of its parents.", + "description": "Metadata texts of one workspace. A row counts only the texts that the workspace owns. A parent's row counts only the texts that the workspaces below it inherit. A child workspace sums its row and the rows of its parents.", "properties": { "id": { "description": "Workspace ID.", @@ -43318,8 +43446,9 @@ "type": "array" }, "name": { - "description": "Workspace name.", + "description": "Workspace name. Null for a parent that the user has no permission on. The name stays when the user can see the workspace right below it.", "example": "Bergmann", + "nullable": true, "type": "string" }, "parentId": { @@ -43338,7 +43467,6 @@ "required": [ "id", "locales", - "name", "total" ], "type": "object" @@ -44868,7 +44996,7 @@ }, "ParameterItem": { "additionalProperties": true, - "description": "(EXPERIMENTAL) Parameter value for this execution.", + "description": "Parameter value for this execution.", "properties": { "parameter": { "$ref": "#/components/schemas/AfmObjectIdentifierParameter" @@ -76554,7 +76682,7 @@ }, { "description": "Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL).\n\n__WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.", - "example": "createdBy,modifiedBy", + "example": "createdBy,modifiedBy,visualizationObjects,labels,datasets,metrics", "explode": false, "in": "query", "name": "include", @@ -76563,6 +76691,10 @@ "items": { "enum": [ "userIdentifiers", + "visualizationObjects", + "labels", + "datasets", + "metrics", "createdBy", "modifiedBy", "ALL" @@ -76658,7 +76790,7 @@ }, { "description": "Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL).\n\n__WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.", - "example": "createdBy,modifiedBy", + "example": "createdBy,modifiedBy,visualizationObjects,labels,datasets,metrics", "explode": false, "in": "query", "name": "include", @@ -76667,6 +76799,10 @@ "items": { "enum": [ "userIdentifiers", + "visualizationObjects", + "labels", + "datasets", + "metrics", "createdBy", "modifiedBy", "ALL" @@ -76815,7 +76951,7 @@ }, { "description": "Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL).\n\n__WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.", - "example": "createdBy,modifiedBy", + "example": "createdBy,modifiedBy,visualizationObjects,labels,datasets,metrics", "explode": false, "in": "query", "name": "include", @@ -76824,6 +76960,10 @@ "items": { "enum": [ "userIdentifiers", + "visualizationObjects", + "labels", + "datasets", + "metrics", "createdBy", "modifiedBy", "ALL" @@ -76926,7 +77066,7 @@ }, { "description": "Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL).\n\n__WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.", - "example": "createdBy,modifiedBy", + "example": "createdBy,modifiedBy,visualizationObjects,labels,datasets,metrics", "explode": false, "in": "query", "name": "include", @@ -76935,6 +77075,10 @@ "items": { "enum": [ "userIdentifiers", + "visualizationObjects", + "labels", + "datasets", + "metrics", "createdBy", "modifiedBy", "ALL" @@ -77021,7 +77165,7 @@ }, { "description": "Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL).\n\n__WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.", - "example": "createdBy,modifiedBy", + "example": "createdBy,modifiedBy,visualizationObjects,labels,datasets,metrics", "explode": false, "in": "query", "name": "include", @@ -77030,6 +77174,10 @@ "items": { "enum": [ "userIdentifiers", + "visualizationObjects", + "labels", + "datasets", + "metrics", "createdBy", "modifiedBy", "ALL" @@ -82759,7 +82907,7 @@ }, { "description": "Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL).\n\n__WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.", - "example": "createdBy,modifiedBy", + "example": "createdBy,modifiedBy,visualizationObjects,labels,datasets,metrics", "explode": false, "in": "query", "name": "include", @@ -82768,6 +82916,10 @@ "items": { "enum": [ "userIdentifiers", + "visualizationObjects", + "labels", + "datasets", + "metrics", "createdBy", "modifiedBy", "ALL" @@ -82863,7 +83015,7 @@ }, { "description": "Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL).\n\n__WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.", - "example": "createdBy,modifiedBy", + "example": "createdBy,modifiedBy,visualizationObjects,labels,datasets,metrics", "explode": false, "in": "query", "name": "include", @@ -82872,6 +83024,10 @@ "items": { "enum": [ "userIdentifiers", + "visualizationObjects", + "labels", + "datasets", + "metrics", "createdBy", "modifiedBy", "ALL" @@ -83020,7 +83176,7 @@ }, { "description": "Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL).\n\n__WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.", - "example": "createdBy,modifiedBy", + "example": "createdBy,modifiedBy,visualizationObjects,labels,datasets,metrics", "explode": false, "in": "query", "name": "include", @@ -83029,6 +83185,10 @@ "items": { "enum": [ "userIdentifiers", + "visualizationObjects", + "labels", + "datasets", + "metrics", "createdBy", "modifiedBy", "ALL" @@ -83131,7 +83291,7 @@ }, { "description": "Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL).\n\n__WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.", - "example": "createdBy,modifiedBy", + "example": "createdBy,modifiedBy,visualizationObjects,labels,datasets,metrics", "explode": false, "in": "query", "name": "include", @@ -83140,6 +83300,10 @@ "items": { "enum": [ "userIdentifiers", + "visualizationObjects", + "labels", + "datasets", + "metrics", "createdBy", "modifiedBy", "ALL" @@ -83226,7 +83390,7 @@ }, { "description": "Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL).\n\n__WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.", - "example": "createdBy,modifiedBy", + "example": "createdBy,modifiedBy,visualizationObjects,labels,datasets,metrics", "explode": false, "in": "query", "name": "include", @@ -83235,6 +83399,10 @@ "items": { "enum": [ "userIdentifiers", + "visualizationObjects", + "labels", + "datasets", + "metrics", "createdBy", "modifiedBy", "ALL" diff --git a/schemas/gooddata-automation-client.json b/schemas/gooddata-automation-client.json index 898c3ee713..b3f6cb08c1 100644 --- a/schemas/gooddata-automation-client.json +++ b/schemas/gooddata-automation-client.json @@ -40,7 +40,7 @@ "type": "array" }, "parameters": { - "description": "(EXPERIMENTAL) Parameter values to use for this execution.", + "description": "Parameter values to use for this execution.", "items": { "$ref": "#/components/schemas/ParameterItem" }, @@ -2248,6 +2248,9 @@ { "$ref": "#/components/schemas/DashboardDateFilter" }, + { + "$ref": "#/components/schemas/DashboardParameterizedDateFilter" + }, { "$ref": "#/components/schemas/DashboardArbitraryAttributeFilter" }, @@ -2343,6 +2346,39 @@ ], "type": "object" }, + "DashboardParameterizedDateFilter": { + "properties": { + "dashboardParameterizedDateFilter": { + "properties": { + "dataSet": { + "$ref": "#/components/schemas/IdentifierRef" + }, + "emptyValueHandling": { + "enum": [ + "include", + "exclude", + "only" + ], + "type": "string" + }, + "localIdentifier": { + "type": "string" + }, + "parameter": { + "$ref": "#/components/schemas/IdentifierRef" + } + }, + "required": [ + "parameter" + ], + "type": "object" + } + }, + "required": [ + "dashboardParameterizedDateFilter" + ], + "type": "object" + }, "DashboardTabularExportRequestV2": { "description": "Export request object describing the export properties for dashboard tabular exports (v2 with dashboardId).", "properties": { @@ -3244,7 +3280,7 @@ }, "ParameterItem": { "additionalProperties": true, - "description": "(EXPERIMENTAL) Parameter value for this execution.", + "description": "Parameter value for this execution.", "properties": { "parameter": { "$ref": "#/components/schemas/AfmObjectIdentifierParameter" diff --git a/schemas/gooddata-export-client.json b/schemas/gooddata-export-client.json index e87fb53c0b..0d883cd8d0 100644 --- a/schemas/gooddata-export-client.json +++ b/schemas/gooddata-export-client.json @@ -40,7 +40,7 @@ "type": "array" }, "parameters": { - "description": "(EXPERIMENTAL) Parameter values to use for this execution.", + "description": "Parameter values to use for this execution.", "items": { "$ref": "#/components/schemas/ParameterItem" }, @@ -1705,6 +1705,9 @@ { "$ref": "#/components/schemas/DashboardDateFilter" }, + { + "$ref": "#/components/schemas/DashboardParameterizedDateFilter" + }, { "$ref": "#/components/schemas/DashboardArbitraryAttributeFilter" }, @@ -1800,6 +1803,39 @@ ], "type": "object" }, + "DashboardParameterizedDateFilter": { + "properties": { + "dashboardParameterizedDateFilter": { + "properties": { + "dataSet": { + "$ref": "#/components/schemas/IdentifierRef" + }, + "emptyValueHandling": { + "enum": [ + "include", + "exclude", + "only" + ], + "type": "string" + }, + "localIdentifier": { + "type": "string" + }, + "parameter": { + "$ref": "#/components/schemas/IdentifierRef" + } + }, + "required": [ + "parameter" + ], + "type": "object" + } + }, + "required": [ + "dashboardParameterizedDateFilter" + ], + "type": "object" + }, "DashboardTabularExportRequest": { "description": "Export request object describing the export properties for dashboard tabular exports.", "properties": { @@ -2347,7 +2383,7 @@ }, "ParameterItem": { "additionalProperties": true, - "description": "(EXPERIMENTAL) Parameter value for this execution.", + "description": "Parameter value for this execution.", "properties": { "parameter": { "$ref": "#/components/schemas/AfmObjectIdentifierParameter" diff --git a/schemas/gooddata-metadata-client.json b/schemas/gooddata-metadata-client.json index 17d3f6a32e..7918f44f3d 100644 --- a/schemas/gooddata-metadata-client.json +++ b/schemas/gooddata-metadata-client.json @@ -85,7 +85,7 @@ "type": "array" }, "parameters": { - "description": "(EXPERIMENTAL) Parameter values to use for this execution.", + "description": "Parameter values to use for this execution.", "items": { "$ref": "#/components/schemas/ParameterItem" }, @@ -2998,6 +2998,9 @@ { "$ref": "#/components/schemas/DashboardDateFilter" }, + { + "$ref": "#/components/schemas/DashboardParameterizedDateFilter" + }, { "$ref": "#/components/schemas/DashboardArbitraryAttributeFilter" }, @@ -3093,6 +3096,39 @@ ], "type": "object" }, + "DashboardParameterizedDateFilter": { + "properties": { + "dashboardParameterizedDateFilter": { + "properties": { + "dataSet": { + "$ref": "#/components/schemas/IdentifierRef" + }, + "emptyValueHandling": { + "enum": [ + "include", + "exclude", + "only" + ], + "type": "string" + }, + "localIdentifier": { + "type": "string" + }, + "parameter": { + "$ref": "#/components/schemas/IdentifierRef" + } + }, + "required": [ + "parameter" + ], + "type": "object" + } + }, + "required": [ + "dashboardParameterizedDateFilter" + ], + "type": "object" + }, "DashboardPermissions": { "properties": { "rules": { @@ -8447,7 +8483,9 @@ "visualizationObject", "filterContext", "filterView", - "document" + "pageTemplate", + "document", + "documentTemplate" ], "example": "metric", "type": "string" @@ -8571,7 +8609,9 @@ "visualizationObject", "filterContext", "filterView", - "document" + "pageTemplate", + "document", + "documentTemplate" ], "example": "metric", "type": "string" @@ -20780,7 +20820,7 @@ }, "analyzedValue": { "description": "Metric value in the analyzed period (the observed value that triggered the anomaly)", - "example": 2.6E+9 + "example": 2600000000 }, "areRelationsValid": { "type": "boolean" @@ -20832,7 +20872,7 @@ }, "referenceValue": { "description": "Metric value in the reference period", - "example": 2.4E+9 + "example": 2400000000 }, "sourceCount": { "description": "Number of source documents used for generation", @@ -20954,7 +20994,7 @@ }, "analyzedValue": { "description": "Metric value in the analyzed period (the observed value that triggered the anomaly)", - "example": 2.6E+9 + "example": 2600000000 }, "areRelationsValid": { "type": "boolean" @@ -21010,7 +21050,7 @@ }, "referenceValue": { "description": "Metric value in the reference period", - "example": 2.4E+9 + "example": 2400000000 }, "sourceCount": { "description": "Number of source documents used for generation", @@ -21241,7 +21281,7 @@ }, "analyzedValue": { "description": "Metric value in the analyzed period (the observed value that triggered the anomaly)", - "example": 2.6E+9 + "example": 2600000000 }, "areRelationsValid": { "type": "boolean" @@ -21293,7 +21333,7 @@ }, "referenceValue": { "description": "Metric value in the reference period", - "example": 2.4E+9 + "example": 2400000000 }, "sourceCount": { "description": "Number of source documents used for generation", @@ -21407,7 +21447,7 @@ }, "analyzedValue": { "description": "Metric value in the analyzed period (the observed value that triggered the anomaly)", - "example": 2.6E+9 + "example": 2600000000 }, "areRelationsValid": { "type": "boolean" @@ -21459,7 +21499,7 @@ }, "referenceValue": { "description": "Metric value in the reference period", - "example": 2.4E+9 + "example": 2400000000 }, "sourceCount": { "description": "Number of source documents used for generation", @@ -26978,6 +27018,39 @@ ], "type": "object" }, + "datasets": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiDatasetToManyLinkage" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "labels": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiLabelToManyLinkage" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "metrics": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiMetricToManyLinkage" + } + }, + "required": [ + "data" + ], + "type": "object" + }, "modifiedBy": { "properties": { "data": { @@ -26988,6 +27061,17 @@ "data" ], "type": "object" + }, + "visualizationObjects": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiVisualizationObjectToManyLinkage" + } + }, + "required": [ + "data" + ], + "type": "object" } }, "type": "object" @@ -27016,7 +27100,7 @@ "included": { "description": "Included resources", "items": { - "$ref": "#/components/schemas/JsonApiUserIdentifierOutWithLinks" + "$ref": "#/components/schemas/JsonApiPublisherDocumentOutIncludes" }, "type": "array", "uniqueItems": true @@ -27056,7 +27140,7 @@ "included": { "description": "Included resources", "items": { - "$ref": "#/components/schemas/JsonApiUserIdentifierOutWithLinks" + "$ref": "#/components/schemas/JsonApiPublisherDocumentOutIncludes" }, "type": "array", "uniqueItems": true @@ -28581,6 +28665,39 @@ ], "type": "object" }, + "datasets": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiDatasetToManyLinkage" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "labels": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiLabelToManyLinkage" + } + }, + "required": [ + "data" + ], + "type": "object" + }, + "metrics": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiMetricToManyLinkage" + } + }, + "required": [ + "data" + ], + "type": "object" + }, "modifiedBy": { "properties": { "data": { @@ -28591,6 +28708,17 @@ "data" ], "type": "object" + }, + "visualizationObjects": { + "properties": { + "data": { + "$ref": "#/components/schemas/JsonApiVisualizationObjectToManyLinkage" + } + }, + "required": [ + "data" + ], + "type": "object" } }, "type": "object" @@ -28619,7 +28747,7 @@ "included": { "description": "Included resources", "items": { - "$ref": "#/components/schemas/JsonApiUserIdentifierOutWithLinks" + "$ref": "#/components/schemas/JsonApiPublisherDocumentOutIncludes" }, "type": "array", "uniqueItems": true @@ -28659,7 +28787,7 @@ "included": { "description": "Included resources", "items": { - "$ref": "#/components/schemas/JsonApiUserIdentifierOutWithLinks" + "$ref": "#/components/schemas/JsonApiPublisherDocumentOutIncludes" }, "type": "array", "uniqueItems": true @@ -38998,7 +39126,7 @@ "type": "array" }, "workspaces": { - "description": "(BETA) Translation counts of the workspace and each parent workspace that the user can see, root first. Present only with `includeCoverage=true` on the workspace endpoint.", + "description": "(BETA) Translation counts of the workspace and each parent workspace, root first. Present only with `includeCoverage=true` on the workspace endpoint.", "items": { "$ref": "#/components/schemas/LocalizationStatisticsWorkspace" }, @@ -39174,7 +39302,7 @@ "type": "object" }, "LocalizationStatisticsWorkspace": { - "description": "Metadata texts of one workspace. A row counts only the texts that the workspace owns. A child workspace sums its row and the rows of its parents.", + "description": "Metadata texts of one workspace. A row counts only the texts that the workspace owns. A parent's row counts only the texts that the workspaces below it inherit. A child workspace sums its row and the rows of its parents.", "properties": { "id": { "description": "Workspace ID.", @@ -39189,8 +39317,9 @@ "type": "array" }, "name": { - "description": "Workspace name.", + "description": "Workspace name. Null for a parent that the user has no permission on. The name stays when the user can see the workspace right below it.", "example": "Bergmann", + "nullable": true, "type": "string" }, "parentId": { @@ -39209,7 +39338,6 @@ "required": [ "id", "locales", - "name", "total" ], "type": "object" @@ -40076,7 +40204,7 @@ }, "ParameterItem": { "additionalProperties": true, - "description": "(EXPERIMENTAL) Parameter value for this execution.", + "description": "Parameter value for this execution.", "properties": { "parameter": { "$ref": "#/components/schemas/AfmObjectIdentifierParameter" @@ -63808,7 +63936,7 @@ }, { "description": "Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL).\n\n__WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.", - "example": "createdBy,modifiedBy", + "example": "createdBy,modifiedBy,visualizationObjects,labels,datasets,metrics", "explode": false, "in": "query", "name": "include", @@ -63817,6 +63945,10 @@ "items": { "enum": [ "userIdentifiers", + "visualizationObjects", + "labels", + "datasets", + "metrics", "createdBy", "modifiedBy", "ALL" @@ -63912,7 +64044,7 @@ }, { "description": "Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL).\n\n__WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.", - "example": "createdBy,modifiedBy", + "example": "createdBy,modifiedBy,visualizationObjects,labels,datasets,metrics", "explode": false, "in": "query", "name": "include", @@ -63921,6 +64053,10 @@ "items": { "enum": [ "userIdentifiers", + "visualizationObjects", + "labels", + "datasets", + "metrics", "createdBy", "modifiedBy", "ALL" @@ -64069,7 +64205,7 @@ }, { "description": "Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL).\n\n__WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.", - "example": "createdBy,modifiedBy", + "example": "createdBy,modifiedBy,visualizationObjects,labels,datasets,metrics", "explode": false, "in": "query", "name": "include", @@ -64078,6 +64214,10 @@ "items": { "enum": [ "userIdentifiers", + "visualizationObjects", + "labels", + "datasets", + "metrics", "createdBy", "modifiedBy", "ALL" @@ -64180,7 +64320,7 @@ }, { "description": "Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL).\n\n__WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.", - "example": "createdBy,modifiedBy", + "example": "createdBy,modifiedBy,visualizationObjects,labels,datasets,metrics", "explode": false, "in": "query", "name": "include", @@ -64189,6 +64329,10 @@ "items": { "enum": [ "userIdentifiers", + "visualizationObjects", + "labels", + "datasets", + "metrics", "createdBy", "modifiedBy", "ALL" @@ -64275,7 +64419,7 @@ }, { "description": "Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL).\n\n__WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.", - "example": "createdBy,modifiedBy", + "example": "createdBy,modifiedBy,visualizationObjects,labels,datasets,metrics", "explode": false, "in": "query", "name": "include", @@ -64284,6 +64428,10 @@ "items": { "enum": [ "userIdentifiers", + "visualizationObjects", + "labels", + "datasets", + "metrics", "createdBy", "modifiedBy", "ALL" @@ -70013,7 +70161,7 @@ }, { "description": "Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL).\n\n__WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.", - "example": "createdBy,modifiedBy", + "example": "createdBy,modifiedBy,visualizationObjects,labels,datasets,metrics", "explode": false, "in": "query", "name": "include", @@ -70022,6 +70170,10 @@ "items": { "enum": [ "userIdentifiers", + "visualizationObjects", + "labels", + "datasets", + "metrics", "createdBy", "modifiedBy", "ALL" @@ -70117,7 +70269,7 @@ }, { "description": "Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL).\n\n__WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.", - "example": "createdBy,modifiedBy", + "example": "createdBy,modifiedBy,visualizationObjects,labels,datasets,metrics", "explode": false, "in": "query", "name": "include", @@ -70126,6 +70278,10 @@ "items": { "enum": [ "userIdentifiers", + "visualizationObjects", + "labels", + "datasets", + "metrics", "createdBy", "modifiedBy", "ALL" @@ -70274,7 +70430,7 @@ }, { "description": "Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL).\n\n__WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.", - "example": "createdBy,modifiedBy", + "example": "createdBy,modifiedBy,visualizationObjects,labels,datasets,metrics", "explode": false, "in": "query", "name": "include", @@ -70283,6 +70439,10 @@ "items": { "enum": [ "userIdentifiers", + "visualizationObjects", + "labels", + "datasets", + "metrics", "createdBy", "modifiedBy", "ALL" @@ -70385,7 +70545,7 @@ }, { "description": "Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL).\n\n__WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.", - "example": "createdBy,modifiedBy", + "example": "createdBy,modifiedBy,visualizationObjects,labels,datasets,metrics", "explode": false, "in": "query", "name": "include", @@ -70394,6 +70554,10 @@ "items": { "enum": [ "userIdentifiers", + "visualizationObjects", + "labels", + "datasets", + "metrics", "createdBy", "modifiedBy", "ALL" @@ -70480,7 +70644,7 @@ }, { "description": "Array of included collections or individual relationships. Includes are separated by commas (e.g. include=entity1s,entity2s). Collection include represents the inclusion of every relationship between this entity and the given collection. Relationship include represents the inclusion of the particular relationships only. If single parameter \"ALL\" is present, all possible includes are used (include=ALL).\n\n__WARNING:__ Individual include types (collection, relationship or ALL) cannot be combined together.", - "example": "createdBy,modifiedBy", + "example": "createdBy,modifiedBy,visualizationObjects,labels,datasets,metrics", "explode": false, "in": "query", "name": "include", @@ -70489,6 +70653,10 @@ "items": { "enum": [ "userIdentifiers", + "visualizationObjects", + "labels", + "datasets", + "metrics", "createdBy", "modifiedBy", "ALL" From 1df6ff3648ed0839049d010d645fdb162702bf46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Je=C5=A1ke?= Date: Thu, 19 Nov 2026 14:39:14 +0100 Subject: [PATCH 2/2] test(gooddata-sdk): cover date range parameters in declarative reads The analytics parameter round trips ran only with a NUMBER parameter, so they are now parametrized over NUMBER and DATE_RANGE. A new test reads a declarative automation whose dashboard export overrides a filter with dashboardParameterizedDateFilter, the way get_declarative_automations reads it, and checks the filter survives. Against the previous client that read failed with no oneOf match. jira: F1-3069 risk: nonprod Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01PVUCUDEAhEusJErcYVZ8je --- .../test_declarative_analytics_parameters.py | 67 +++++++++++++++---- 1 file changed, 54 insertions(+), 13 deletions(-) diff --git a/packages/gooddata-sdk/tests/catalog/unit_tests/test_declarative_analytics_parameters.py b/packages/gooddata-sdk/tests/catalog/unit_tests/test_declarative_analytics_parameters.py index e6632e28b3..a912ecad1b 100644 --- a/packages/gooddata-sdk/tests/catalog/unit_tests/test_declarative_analytics_parameters.py +++ b/packages/gooddata-sdk/tests/catalog/unit_tests/test_declarative_analytics_parameters.py @@ -11,42 +11,83 @@ from __future__ import annotations +import json from pathlib import Path +from types import SimpleNamespace -from gooddata_sdk import CatalogDeclarativeAnalytics +import pytest +from gooddata_api_client.api_client import ApiClient +from gooddata_api_client.model.declarative_automation import DeclarativeAutomation +from gooddata_sdk import CatalogDeclarativeAnalytics, CatalogDeclarativeAutomation from gooddata_sdk.catalog.workspace.declarative_model.workspace.analytics_model.analytics_model import ( CatalogDeclarativeAnalyticsLayer, ) -_PARAMETER = { +_NUMBER_PARAMETER = { "id": "discount-rate", "title": "Discount Rate", "content": {"type": "NUMBER", "defaultValue": 0.5}, } -_LAYOUT = {"analytics": {"parameters": [_PARAMETER]}} +_DATE_RANGE_PARAMETER = { + "id": "fiscal-year", + "title": "Fiscal Year", + "content": {"type": "DATE_RANGE", "defaultValue": {"granularity": "MONTH", "from": "2025-08", "to": "2026-07"}}, +} +_PARAMETERS = pytest.mark.parametrize( + "parameter", [_NUMBER_PARAMETER, _DATE_RANGE_PARAMETER], ids=["number", "date-range"] +) -def test_declarative_analytics_parameters_survive_round_trip() -> None: - analytics = CatalogDeclarativeAnalytics.from_dict(_LAYOUT) +@_PARAMETERS +def test_declarative_analytics_parameters_survive_round_trip(parameter: dict) -> None: + analytics = CatalogDeclarativeAnalytics.from_dict({"analytics": {"parameters": [parameter]}}) # The typed wrapper must actually capture the parameter as a declarative # parameter (id/title/content), not the data-source name/value shape. params = analytics.analytics.parameters assert len(params) == 1 - assert params[0].id == "discount-rate" - assert params[0].title == "Discount Rate" - assert params[0].content["type"] == "NUMBER" + assert params[0].id == parameter["id"] + assert params[0].title == parameter["title"] + assert params[0].content["type"] == parameter["content"]["type"] # The api round-trip must preserve it verbatim - neither dropped nor mangled. round_tripped = analytics.to_api().to_dict(camel_case=True) - assert round_tripped["analytics"]["parameters"] == [_PARAMETER] + assert round_tripped["analytics"]["parameters"] == [parameter] -def test_declarative_analytics_parameters_survive_disk_round_trip(tmp_path: Path) -> None: - layer = CatalogDeclarativeAnalyticsLayer.from_dict({"parameters": [_PARAMETER]}) +@_PARAMETERS +def test_declarative_analytics_parameters_survive_disk_round_trip(parameter: dict, tmp_path: Path) -> None: + layer = CatalogDeclarativeAnalyticsLayer.from_dict({"parameters": [parameter]}) layer.store_to_disk(tmp_path) reloaded = CatalogDeclarativeAnalyticsLayer.load_from_disk(tmp_path) - assert [p.id for p in reloaded.parameters] == ["discount-rate"] - assert reloaded.parameters[0].content["type"] == "NUMBER" + assert [p.to_dict(camel_case=True) for p in reloaded.parameters] == [parameter] + + +def test_declarative_automation_with_a_parameterized_dashboard_filter_reads_from_the_api() -> None: + dashboard_filter = { + "dashboardParameterizedDateFilter": { + "parameter": {"identifier": {"id": "fiscal-year", "type": "parameter"}}, + "localIdentifier": "fiscal-year-filter", + } + } + body = { + "id": "monthly-export", + "dashboardTabularExports": [ + { + "requestPayload": { + "dashboardId": "sales", + "fileName": "sales", + "format": "XLSX", + "dashboardFiltersOverride": [dashboard_filter], + } + } + ], + } + + api_client = ApiClient() + automation = api_client.deserialize(SimpleNamespace(data=json.dumps(body)), (DeclarativeAutomation,), True) + + assert api_client.sanitize_for_serialization(automation) == body + assert CatalogDeclarativeAutomation.from_dict(automation.to_dict()).id == "monthly-export"